Bistro Research
Proof Atlas › E:proof-atlas-2-4
Partial

Recursor elimination and branch contexts

Imported record: produced before this platform existed
Checked
Reportednot signedReported by its author. Nothing has checked it.
Explained
Not yetNot explained yet. The text here is its author's own summary: no other person has confirmed they can follow why it holds.
Proof Atlas · proof-atlas-2-4Partial

Question · Which constructions (applications, introductions, local definitions, eliminations) can be shown with their checked types, so that a reader…

Reported by the maintainer from the blog's evidence index; not re-run on this platform.

Checked

  • Reported: yes
  • Re-run: no
  • Lean: no
  • Signed: no

Explained · not yet: no reader has checked an explanation

What could be wrong · A general readable notation for arbitrary elimination remains incomplete. (still open)

bistroresearch.com
Test

Implementation and structural check recorded in the blog's evidence index.

Finding

Reported by the maintainer from the blog's evidence index; not re-run on this platform. **Show case elimination** adds a rule view for a complete native recursor core. It separates the major premise, motives, minor premises, parameters, indices and result. Each minor premise is associated with its constructor through the compiled reduction rule. A branch frame shows the actual source lambda inputs and body when those exact judgments have been recorded. Domains use the context before their binder; bodies use the extended context. A function without recorded source lambdas retains its checked function type and an explicit missing-body notice. Classification uses native ConstantInfo.recInfo, not a name suffix. The first wrapper adapter accepts a complete bijection of source inputs, with optional literal η-forwarding of functions. For example, Or.casesOn forwards its major premise before the branches, whereas Or.rec takes the major premise last. Its branches are forwarded as fun h => branch h. The extractor records the original compiled wrapper body, universe instantiations, source-slot permutation and η-prefix lengths. Independent checks recover those mappings from the serialized body and reject capture, repeated source-slot mappings and reordered inputs inside an η-forwarding prefix. Arbitrary wrapper computations are outside this adapter. A constructor reduction's body must call its recorded minor premise. That minor's declared result must refer to the recorded constructor. These structural checks supplement the native kernel checks of the rule expressions, projected core, argument domains and result conversion. Kernel conversion alone is insufficient for source provenance: a fresh control confirms that two distinct proof constants of the same proposition are def

What “checked” means
  • Reported The author says so. Nothing ties this number to a check.
  • Re-executed A stored script printed this value again. That does not show the method is sound.
  • Replicated Independent people reached this value with different scripts.
  • Machine-proved A theorem the Lean kernel accepted.

No choice saved yet: optional storage is off. Changing it here takes effect at once. Every cookie we use