Documentation

CslibFrontier.Tactic.CertificatePreparation

Preparing goals for certificate composition #

The efficiency tactics polytime, ppt, logspace and space share this preparation before proof search: unfold only the program names supplied by the caller, inline literal lets in the goal and local encoding lets, and expose the fun_prop certificates stored in local structures and conjunctions. Program values and resource invariants stay explicit; preparation does not add a computation rule or change a bound.

Main definitions #

Prepare a certificate goal: unfold the hinted definitions, inline literal lets in the goal, unfold local encoding lets, and expose certificates stored in fields of local structures. Inlining does not unfold named programs or change their certificate lookup.