Documentation

GaudisCrypt.Logic.ECSimGlob

EasyCrypt's sim with glob equalities: the call rule #

EC's sim works with a set of equal variables and globs: a call of the same procedure M on both sides keeps glob M equal (it is in the set), and the other variables of the set, which M does not touch, unchanged. prhlStmt_seq_call_glob is that step for a region R kept equal (M inside it: prhlProc_glob_module) and a frame Fr of M on each side (what M keeps: Module.Proc.frame_lens, frame_glob). sim (Logic/ECSim.lean) uses it at a call when the judgment's precondition keeps a region R equal containing the callee.