Documentation

GaudisCrypt.Logic.ECTransProc

EasyCrypt's transitivity on procedures #

equiv_trans (N.f) (P₁ ==> Q₁) (P₂ ==> Q₂)   -- EC's `transitivity N.f (P₁ ==> Q₁) (P₂ ==> Q₂)`

On equiv[ p₁ ~ p₂ : P ==> Q ]: through the middle procedure N.f, the judgments equiv[ p₁ ~ N.f : P₁ ==> Q₁ ] and equiv[ N.f ~ p₂ : P₂ ==> Q₂ ] (the rule prhlProc_trans_ec of Logic/ECTrans.lean). Goals in EC's order: hP (the precondition gives the middle procedure's argument and memory), hQ (the postconditions compose), then the two judgments h₁, h₂; hP and hQ are closed when trivial (EC's => //).

EC's transitivity N.f (P₁ ==> Q₁) (P₂ ==> Q₂) on a judgment about two procedures: see the module docstring.

Equations
  • One or more equations did not get rendered due to their size.
Instances For