EasyCrypt's goal selectors: on_goals #
on_goals 1, 3 => auto -- EC's `1,3: auto`
on_goals 2..-2 => tac -- EC's `2..-2: tac` (a range; negative positions from the end)
on_goals -1 => tac -- EC's `-1: tac`
EC applies a tactic to the goals at the given positions (from 1; -k the k-th from the end)
and leaves the others where they are; the goals each run leaves take its place. Batteries'
on_goal n does it for one goal; EC's last first / first last are Lean's rotate_right /
rotate_left.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- GaudisCrypt.ECGoals.ecGoalSel_ = Lean.ParserDescr.node `GaudisCrypt.ECGoals.ecGoalSel_ 1022 (Lean.ParserDescr.const `num)
Instances For
Equations
- GaudisCrypt.ECGoals.«ecGoalSel-_» = Lean.ParserDescr.node `GaudisCrypt.ECGoals.«ecGoalSel-_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "-") (Lean.ParserDescr.const `num))
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The positions (from 0) that a selector picks among n goals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
EC's goal selectors i, j, a..b: tac: see the module docstring.
Equations
- One or more equations did not get rendered due to their size.