Skip to content

fix(meta): tractatus-ontology register TractatusOntologySpectrum.lean orphan#21915

Open
rjwalters wants to merge 1 commit into
mainfrom
fix/mechanic-tractatus-ontology-spectrum
Open

fix(meta): tractatus-ontology register TractatusOntologySpectrum.lean orphan#21915
rjwalters wants to merge 1 commit into
mainfrom
fix/mechanic-tractatus-ontology-spectrum

Conversation

@rjwalters
Copy link
Copy Markdown
Owner

Fix

Registers orphaned companion file Proofs/TractatusOntologySpectrum.lean (307 LOC, 0 axioms, 0 sorries, 19 theorems, 4 definitions) to slug tractatus-ontology by adding it to both meta.additionalFiles (string form) and leanFile.additionalFiles (rich-object form, matching the existing TractatusQuantifiers.lean schema convention).

Evidence

Before: File present at proofs/Proofs/TractatusOntologySpectrum.lean was not listed in any meta.json's additionalFiles — orphan to the gallery.

After: Both meta.additionalFiles and leanFile.additionalFiles arrays in src/data/proofs/tractatus-ontology/meta.json now include the file (alphabetically before TractatusQuantifiers.lean).

Parentage confirmation:

  • import Proofs.TractatusOntology (line 1) — true companion, not a sibling proof.
  • Same namespace Tractatus as parent — extends parent's API.
  • Docstring header (line 4): "Tractatus World-Model Spectrum (S2-α)"
  • Self-declared role (lines 6-7): "Companion to TractatusOntology.lean addressing the open question tractatus-ontology-oq-06" — installs the refinement preorder on WorldModel S, proves freeModel S is its maximum, and provides evaluation / tautology / contradiction pullback along refinements.

Audit metrics unchanged: companion is 0 axioms, 0 sorries — slug's status: axiomatized, axiomCount: 1, sorries: 0 remain accurate.


Automated fix by lean-mechanic agent.

… orphan companion

Adds Proofs/TractatusOntologySpectrum.lean to both meta.additionalFiles
(string form) and leanFile.additionalFiles (rich-object form, matching
the existing TractatusQuantifiers.lean schema).

File evidence:
- 307 LOC, 0 axioms, 0 sorries, 19 theorems, 4 definitions
- Namespace: Tractatus (same as parent — extends parent's API)
- Imports: Proofs.TractatusOntology (true companion, not a sibling proof)
- Docstring header: "Tractatus World-Model Spectrum (S2-α)"
- Self-declared role: "Companion to TractatusOntology.lean addressing the
  open question tractatus-ontology-oq-06" — installs the refinement
  preorder on WorldModel S, proves freeModel S is its maximum element,
  and provides evaluation/tautology/contradiction pullback along refinements

Slug audit metrics unchanged: status `axiomatized`, axiomCount 1, sorries 0
remain accurate (companion is 0/0).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
rjwalters added a commit that referenced this pull request Jun 1, 2026
…phans (#21921)

Two companion .lean files exist in proofs/Proofs/ but were unregistered
in src/data/proofs/tractatus-ontology/meta.json — surfacing as orphans
in the companion-suffix scan and breaking gallery↔Lean coverage:

- Proofs/TractatusOntologyHorn.lean (130 LOC; 5 defs, 2 theorems,
  0 axioms, 0 sorries) — T1a tier of tractatus-ontology-oq-06:
  generic `HornModel S cs` constructor over a list of Horn clauses,
  single-clause `Equiv` with `ConstrainedWorld`, generic Horn-tier
  independence-failure theorem, weatherModel as a single-clause
  HornModel instance.
- Proofs/TractatusOntologyEquiv.lean (137 LOC; 4 defs, 2 theorems,
  0 axioms, 0 sorries) — T1b tier: `EquivModel S cs` constructor for
  biconditional-constrained worlds, structural iso witnessing
  T1b ⊆ T1a-symmetric (cs ++ cs.map Prod.swap), refinement into T1a,
  biconditional-tier independence-failure theorem.

Sibling of #21915 (Spectrum); same namespace `Tractatus`, no axioms,
no sorries. Mirrors entries into both `meta.additionalFiles` (string
form, auditor-visible) and `leanFile.additionalFiles` (rich-object
schema, matching existing TractatusQuantifiers entry).

Metadata-only — no Lean code changed. Parent-file axiomCount/sorries
counts unchanged.

Co-authored-by: Robb Walters <r.j.walters@gmail.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant