Documentation

Lean.Elab.Tactic.Do.Internal.VCGen.RuleCache

VCGenM-level cache wrappers around the SymM rule constructors in VCGen.RuleConstruction.

Cached version of spec rule construction.

Both Triple/āŠ‘ wp and equality entries go through tryMkBackwardRuleFromSpec, which normalizes an equality spec to āŠ‘ wp form using the supplied wp metadata before building the rule.

Cache key: (proof key, instWP, excessArgs.size).

Instances For

    Cached version of mkBackwardRuleForSplit.

    Cache key: (splitter name, instWP, excessArgs.size).

    Instances For

      Cached construction of a lattice-split backward rule for the operator heading rhs. On a cache miss the rewrite and terminal sets are assembled from the built-in seeds and the operator's @[frameproc] contributions (fp?); a cache hit skips that work.

      Cache key: the head … cā‚™ prefix built from the constant arguments (which the rule bakes in verbatim) and the argument count (which fixes the schematic operand and state count).

      Instances For

        Cached version of mkFrameBackwardRule.

        Cache key: (instWP, excessArgs.size) (the operator is determined by the monad).

        Instances For