The simp set runWith_norm #
Declares the simp set runWith_norm, in a file of its own because an attribute cannot be used in
the file declaring it. CslibFrontier.Languages.Probabilistic.Oracle.Norm tags its lemmas.
Main definitions #
runWith_norm: a priority-ordered simp set that rewrites statefulProbOracleComp.runWithand statelessOracleComp.evalWithexecutions over concrete program syntax and handler compositions without unfolding black-box adversary runs insideStateT.run.
The simp set runWith_norm normalizes stateful ProbOracleComp.runWith and stateless
OracleComp.evalWith executions over concrete oracle-program syntax and handler compositions.
It is priority-ordered and is not claimed to be confluent: where a run-folding, handler-composition
or lift rule and a syntax-stepping rule match the same term, the former takes precedence.
It omits OracleComp.interpret_bind and StateT.run_bind so closed runs
ProbComp.eval ((OracleComp.interpret …).run s) fold to ProbOracleComp.runWith before stepping
program syntax, preserving black-box adversary calls.