Attach a binder-name hint without changing the underlying function.
Equations
Instances For
tla_revert h₁ h₂ ... moves assumptions back into the proof-mode goal.
If hp : p is a temporal hypothesis and the current goal is q, then
tla_revert hp
removes hp from the proof-mode context and changes the goal to p → q.
Lean locals can also be reverted: a proof hP : P becomes a pure implication
⌞P⌟ → q, while a non-Prop local such as n : Nat becomes a universal
quantifier in the goal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
tla_revert_all moves every temporal hypothesis back into the proof-mode goal.
For example, if the proof-mode context contains hp : p, hq : q, and the
goal is r, then
tla_revert_all
leaves an empty temporal context and changes the goal to p → q → r.
Lean-local variables and pure assumptions are not reverted; use tla_revert
with explicit names for those.
Equations
- TLA.ProofMode.tlaRevertAllTac = Lean.ParserDescr.node `TLA.ProofMode.tlaRevertAllTac 1024 (Lean.ParserDescr.nonReservedSymbol "tla_revert_all" false)