Documentation

LeanPool.PointwiseComposition.CategoricalRiceShapiro.Evaluator.PersistenceInduction

Supporting results for pointwise provable equality.

The conditional induction principle for certificate persistence #

For a standard index q, write C(s, q, u, y) for the raw evaluator certificate evalnCertificateFormula at ![s, q, u, y], and P_q(s) for โˆ€ t u y, s โ‰ค t โ†’ C(s, q, u, y) โ†’ C(t, q, u, y).

persistenceFormula q is an explicit arithmetic formula in one variable, and persistenceFormula_eval_iff proves that it defines P_q in every model of ๐ˆ๐Ž๐ฉ๐ž๐ง. models_inductionScheme_univ proves that a model of ๐๐€ satisfies the full induction scheme that ๐๐€ contains. certificate_persistence_of_stage_induction applies successor induction from that scheme to persistenceFormula q: from P_q(0) and โˆ€ s, P_q(s) โ†’ P_q(s + 1) it derives P_q(s) for every s.

The successor premise is a hypothesis of that theorem. The stage-zero premise is proved here, by evalnCertificateFormula_natCode_persist_of_stage_zero, for every standard index and independently of its constructor number: at stage 0 no evaluator history has a row, so the source certificate is refutable and the implication holds vacuously.

The file proves no conditional persistence case at a constructor number. The constructor-6 cases and the full tag-6 theorem are in Evaluator.PrimitiveRecursionPersistence; persistence for every standard index, which needs the external induction on the index, is not proved anywhere in the library.

The persistence predicate at the standard index q, as an arithmetic formula in the source stage: โˆ€ t u y, s โ‰ค t โ†’ C(s, q, u, y) โ†’ C(t, q, u, y).

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Conditional internal induction for certificate persistence at a fixed standard index q. The base and successor premises are explicit; this is not a proof of persistence. The induction is the successor induction of ๐๐€ applied to persistenceFormula q.

    The stage-zero premise #

    At stage 0 no evaluator history has a row, so no certificate holds there and the premise is vacuous. Its conclusion is the hzero hypothesis of certificate_persistence_of_stage_induction verbatim.

    The theory assumptions are ๐๐€ and ๐๐€โป. The second is an elaboration requirement of the statement, since the standard-index cast ((q : โ„•) : M) needs it; it is no additional strength, ๐๐€ proving every axiom of ๐๐€โป. Wherever ๐ˆ๐Ž๐ฉ๐ž๐ง is in scope the instance is synthesized and the argument is invisible.

    Stage-zero persistence. For a standard index q, a certificate at stage 0 persists to every stage t, vacuously: at stage 0 the certificate is refutable. The proof uses no persistence theorem, no induction, no constructor-number hypothesis and no smaller-index hypothesis, so the theorem holds at every standard index.