Documentation

GaudisCrypt.Logic.ECCloseTest

Golden tests of the closers (Logic/ECClose.lean) #

Each test pins what a closer step leaves (see Logic/ECAutoTest.lean for the format; scripts/update_golden.py refreshes the expected text). The goals are stated over lenses x, y into a state and uninterpreted predicates, the shape the judgment tactics leave: reads x.get σ, frames x.get τ = x.get σ, tests decide … = true.

subst_reads #

subst_frames #

mp_hyps, subst_named #

auto_prep #

auto_close, auto_progress, smt_close #

A predicate of this file (EC's pred).

Equations
Instances For
    noncomputable def GaudisCrypt.ECCloseTest.P0 :
    ℕ → ℝ

    Functions the closer does not see through (the probabilities of a sequence of games).

    Equations
    Instances For
      noncomputable def GaudisCrypt.ECCloseTest.P1 :
      ℕ → ℝ

      Functions the closer does not see through (the probabilities of a sequence of games).

      Equations
      Instances For

        Functions the closer does not see through (the probabilities of a sequence of games).

        Equations
        Instances For
          noncomputable def GaudisCrypt.ECCloseTest.P2 :
          ℕ → ℝ

          Functions the closer does not see through (the probabilities of a sequence of games).

          Equations
          Instances For

            Functions the closer does not see through (the probabilities of a sequence of games).

            Equations
            Instances For

              Functions the closer does not see through (the probabilities of a sequence of games).

              Equations
              Instances For
                theorem GaudisCrypt.ECCloseTest.pr_0_1 (n : ℕ) (_h : 0 < n) :
                P0 n ≤ P1 n + Bad1 n
                theorem GaudisCrypt.ECCloseTest.pr_2 (n : ℕ) (_h : 0 < n) :
                P2 n = 1 / 2

                A theory's operator with its axiom (EC's op p : { real | 0%r < p < 1%r } as in01_p).

                Instances

                  The steps on reads #