Golden tests of the program-step rules on code without calls #
sp, wp, skip, if, rcondt/rcondf, case, seq, conseq, while, splitwhile,
unroll, rnd: each test pins the goals a rule leaves (count, order, tags, conditions and code),
as trace_state prints them (see Logic/ECAutoTest.lean for the format;
scripts/update_golden.py refreshes the expected text). The conditions use uninterpreted
predicates.
Equations
- GaudisCrypt.ECRulesTest.rCount = GaudisCrypt.varLens (GaudisCrypt.VariableName.mk "GaudisCrypt.ECRulesTest.rCount" ℤ)
Instances For
instance
GaudisCrypt.ECRulesTest.instIsGlobalVarIntRCountMk :
rCount.IsGlobalVar (VariableName.mk "GaudisCrypt.ECRulesTest.rCount" ℤ)