EC's auto on the strict skip #
ec_auto -- EC's `auto` on a Hoare triple, a `phoare` judgment or a relational judgment;
-- on a goal about values, `ec_close` (`Logic/ECProgress.lean`)
wp over the code from the end (on a relational judgment also rnd on the samplings, as
equiv_auto); when the code is used up, ec_skip (Logic/ReadNorm.lean): the implication in
read normal form, every read a value, an error if a state survives; then what EC's auto
closes by itself. When the code is not used up (a call, a loop), the judgment is left there, as
hoare_auto/phoare_auto/equiv_auto leave it.
The difference to those three: one normalizer on every path, and no goal silently left about the
states. They are unchanged; proofs move to ec_auto one file at a time
(notes/SHA3/TacticReview.md, step 3).
Is the code of the judgment g used up (skip, on both sides of a relational one)?
Equations
- One or more equations did not get rendered due to their size.
Instances For
EC's auto, strict: see the module docstring.
Equations
- tacticEc_auto = Lean.ParserDescr.node `tacticEc_auto 1024 (Lean.ParserDescr.nonReservedSymbol "ec_auto" false)
Instances For
ec_intro: introduce the values a strict skip generalized (the goal's leading binders
that are not hypotheses) under their own names (x, x₁, rnCount, …), so that the proof refers
to them by name. The hypotheses stay in the goal (intro h, rintro ⟨h₁, h₂⟩).
Equations
- tacticEc_intro = Lean.ParserDescr.node `tacticEc_intro 1024 (Lean.ParserDescr.nonReservedSymbol "ec_intro" false)