refactor: drop unused triple_ratio_bound_bundle wrappers - #4669
Merged
Conversation
Placeholder for deletion of 8 unused wrapper declarations. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
12 tasks
…pers
Delete 8 unreferenced Λ-layer wrapper theorems (zero proof-power loss;
the underlying `ratio_bound` lemmas and the base
`triple_ratio_sandwich_bundle{,_beta_zero}` bundles remain):
Ambient `IsingModel/AmbientLattice/Defs/HighTempPartition/TripleRatios.lean` (5):
* `partitionFunctionΛ_high_temp_expansion_h_zero_triple_ratio_bound_bundle`
* `..._triple_ratio_bound_bundle_beta_zero`
* `..._triple_ratio_bound_bundle_ferromagnetic`
* `..._triple_ratio_sandwich_bundle_ferromagnetic`
* `..._triple_ratio_sandwich_bundle_beta_zero_ferromagnetic`
Concrete `IsingModel/Concrete/LatticeGraphCorrelation/HighTemperatureBoundsTripleRatioBoundBundle.lean` (3):
whole file removed (the three `partitionFunctionΛ_latticeGraph_*_triple_ratio_bound_bundle*`
pass-throughs), together with its umbrella import line.
Prose reconciled in the same commit: the surviving sibling
`HighTemperatureBoundsTripleRatio.lean` header count (7 -> 4 sandwich
wrappers) and its stale "Moved: triple_ratio_bound_bundle" section.
Scanner fixtures recalibrated: the `_ferromagnetic` family drops from
245 -> 241 (safe 114 -> 110, the other three classes invariant) and
zero-consumer 131 -> 128 -- the healthy signature that no live lemma
was reclassified.
Full `lake build` green (warning-free), `audit_gate.py --full` V1-V4
PASS, both self-tests green, `lake exe GKSTest` PASS. The untouched
`AmbientLattice/SpecialCases/HighTemperatureBoundsTripleRatioBoundBundle.lean`
(along-exhaustion cluster) is a distinct file and is left intact.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…er removal Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
phasetr
marked this pull request as ready for review
July 23, 2026 00:19
phasetr
added a commit
that referenced
this pull request
Jul 23, 2026
refactor: drop 8 Λ-direct triple_ratio_bound_bundle wrappers & file deletion
- Delete 5 unused wrappers from TripleRatios.lean (lines 126/144/164/71/99)
- Delete entire HighTemperatureBoundsTripleRatioBoundBundle.lean (3 wrapper declarations only)
- Remove import from Umbrella/HighTemperature.lean:72
- Underlying base theorems (triple_ratio_sandwich_bundle{,_beta_zero}) and main proving infrastructure remain intact
- #4639 adoption rule: all 8 declarations zero external references (scanner fixture re-calibrated: no cascade)
- Fixture counts updated, layer lists corrected (commit 04ade04)
- dev-verify 10/10 ✓ | dev-issue-manager resolved ✓ | dev-review+codex ✓ | audit-tier1 ✓
Closes #4670
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
phasetr
added a commit
that referenced
this pull request
Jul 23, 2026
Re-merge of the #4669 content with clean history. Main had been rolled back to `be11e98d` (pre-#4669) because the original #4669 merge commit was amended and force-pushed post-merge. This PR re-applies the byte-identical content through a normal squash-merge (no amend, no post-merge force-push). Drops 8 unused Λ-direct `triple_ratio_bound_bundle` family wrappers (thin `⟨a,b⟩` conjunctions / `mul_nonneg` specializations with zero external references): - `TripleRatios.lean`: 5 wrappers (`triple_ratio_bound_bundle{,_beta_zero,_ferromagnetic}`, `triple_ratio_sandwich_bundle_ferromagnetic{,_beta_zero_ferromagnetic}`) - `HighTemperatureBoundsTripleRatioBoundBundle.lean` (Concrete): 3 wrappers = whole file removed - `Umbrella/HighTemperature.lean`: dropped the import of the removed file (transitive reachability of `IsingModel.Lattice` / `LatticeBoundaryBED` preserved via the sibling `HighTemperatureBoundsTripleRatio`) Underlying real theorems and the base `triple_ratio_sandwich_bundle{,_beta_zero}` (non-ferromagnetic) remain intact. Stale doc tallies / layer lists corrected (`HighTemperatureBoundsRatioBounds.lean`, `HighTemperatureBounds.lean`, `docs/index.md`, `tex/proof-guide.tex`). Scanner fixture re-calibrated (total 245->241, safe 114->110, zero-consumer 131->128; uncertain/load-bearing/published invariant). Content identical to the previously fully-gated #4669 (dev-verify 10/10, dev-issue-manager resolved, dev-review + codex PASS). Per #4639 adoption rule. Closes #4670 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Owner
Author
|
Note (history correction): the original merge commit of this PR was amended locally and force-pushed to |
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.
Deletion
Drop 8 unreferenced Λ-layer wrapper theorems (zero proof-power loss). Underlying
ratio_boundlemmas and the basetriple_ratio_sandwich_bundle{,_beta_zero}bundles remain.TripleRatios.lean(5):triple_ratio_bound_bundle,_beta_zero,_ferromagnetic,triple_ratio_sandwich_bundle_ferromagnetic,_beta_zero_ferromagneticHighTemperatureBoundsTripleRatioBoundBundle.lean(3): whole file removed + umbrella import droppedHighTemperatureBoundsTripleRatio.leanheader count 7->4 and stale "Moved" sectionAmbientLattice/SpecialCases/HighTemperatureBoundsTripleRatioBoundBundle.lean(along-exhaustion cluster, distinct file)Verification
lake build: green, warning-free (5057 jobs)audit_gate.py --full: V1-V4 PASS;--self-test166 OKdead_candidate_scan.py --self-test: 79 OK (fixtures recalibrated, see below)lake exe GKSTest: PASSScanner: post-deletion cascade check (underlying consumed lemmas)
cascade = 0, uncertain = 0, safe-to-delete = 0: every underlying lemma the deleted wrappers consumed stays PUBLISHED/LOAD_BEARING. No new dead candidate cascaded.
Fixture recalibration (
_ferromagneticfamily)total 245 -> 241 (safe 114 -> 110; uncertain 44 / load-bearing 52 / published 35 invariant); zero-consumer 131 -> 128. The three invariant classes confirm no surviving lemma was reclassified. All 4 deleted
_ferromagneticdecls were safe-to-delete; 3 were zero-consumer, the ambient_bound_bundle_ferromagneticfed the_latticeGraphleaf (also deleted).LIMITS banner (scanner)