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

Checked local-definition substitution

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-6Partial

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. The let rule represents let x : A := v; b as two source premises and one computed result. The declared type and value belong to Γ, before the binder. The body belongs to the context Γ, x : A := v, which retains the local definition. One ζ step produces the capture-avoiding substitution b[v/x]. Other lets and beta redexes remain unchanged. Every premise has an exact source occurrence route. The result uses a separate computed-term namespace with explicit links to the original Γ; it does not acquire source occurrences or additional inferred judgments for its descendants. The native extractor checks the declared domain's sort, the value at its declared type, the body in its local-definition context, the substituted body type, and the result at the selected term's type. Kernel conversion alone is insufficient to identify a transformation of proof terms because of proof irrelevance. A separate serialized-DAG algorithm must reproduce the exact native substitution result, including binder names, metadata and retained lets. The occurrence identity size(result) = size(body) + references(x, body) × (size(value) − 1) is checked separately using the scoped reference counter. Counts include type annotations. The released AI-source sample supplies **48 native checked let steps in seven declarations**, one exact representative occurrence for every stored let node. The independent substitution matches all 48 complete result graphs. Nineteen selected judgments overlap the primary type inventory and agree. The audit checks **281 representative computed cuts, 57 independently resolved scope links and 556 changed-record controls**. The largest result contains 92,227 stored nodes and 45,769,074 expan

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