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
- GaudisCrypt.ECCloseTest.both a b = (0 ≤ a ∧ 0 ≤ b)
Instances For
Functions the closer does not see through (the probabilities of a sequence of games).
Equations
- GaudisCrypt.ECCloseTest.P0 x✝ = 1 / 2
Instances For
Functions the closer does not see through (the probabilities of a sequence of games).
Equations
- GaudisCrypt.ECCloseTest.P1 x✝ = 1 / 2
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
- GaudisCrypt.ECCloseTest.P2 x✝ = 1 / 2
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).