fix(meta): tractatus-ontology register TractatusOntologySpectrum.lean orphan#21915
Open
rjwalters wants to merge 1 commit into
Open
fix(meta): tractatus-ontology register TractatusOntologySpectrum.lean orphan#21915rjwalters wants to merge 1 commit into
rjwalters wants to merge 1 commit into
Conversation
… 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>
4 tasks
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix
Registers orphaned companion file
Proofs/TractatusOntologySpectrum.lean(307 LOC, 0 axioms, 0 sorries, 19 theorems, 4 definitions) to slugtractatus-ontologyby adding it to bothmeta.additionalFiles(string form) andleanFile.additionalFiles(rich-object form, matching the existing TractatusQuantifiers.lean schema convention).Evidence
Before: File present at
proofs/Proofs/TractatusOntologySpectrum.leanwas not listed in anymeta.json'sadditionalFiles— orphan to the gallery.After: Both
meta.additionalFilesandleanFile.additionalFilesarrays insrc/data/proofs/tractatus-ontology/meta.jsonnow include the file (alphabetically beforeTractatusQuantifiers.lean).Parentage confirmation:
import Proofs.TractatusOntology(line 1) — true companion, not a sibling proof.Tractatusas parent — extends parent's API.WorldModel S, provesfreeModel Sis 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: 0remain accurate.Automated fix by lean-mechanic agent.