EasyCrypt's relational call (: P ==> Q) and exfalso #
equiv_call (_ : P ==> Q) -- EC's `call (: P ==> Q)`: the callees' judgment, a new goal
equiv_exfalso -- EC's `exfalso`: the precondition is contradictory
EC's call (: P ==> Q) on the last statements x₁ <@ M₁(e₁) and x₂ <@ M₂(e₂) of the two
sides asks for the judgment equiv[ M₁ ~ M₂ : P ==> Q ] (first goal), and before the calls for
P at the arguments and, for every results and globals Q relates, the postcondition — where
what the callees do not touch keeps its value (EC's memories past a call). That frame is found
as EC finds it: the variables and glob regions the postcondition reads that a callee stays out
of (fp_disjoint, Module.Proc.frame_lens, Module.Proc.frame_glob); the rule is
prhlStmt_seq_call_frame.
EC's exfalso on a procedure judgment: a contradictory precondition.
The module M of the last statement x <- call M.procedure (e) of s.
Equations
- One or more equations did not get rendered due to their size.
Instances For
EC's call (: P ==> Q): see the module docstring. Goals: the callees' judgment
(callee), then the code before the calls.
Equations
- One or more equations did not get rendered due to their size.
Instances For
EC's exfalso on a relational judgment: the goal is that the precondition is
contradictory, ∀ …, pre → False.
Equations
- tacticEquiv_exfalso = Lean.ParserDescr.node `tacticEquiv_exfalso 1024 (Lean.ParserDescr.nonReservedSymbol "equiv_exfalso" false)