Skip to content

refactor: drop unused triple_ratio_bound_bundle wrappers (re-merge of #4669) - #4671

Merged
phasetr merged 3 commits into
mainfrom
refactor/drop-triple-ratio-bound-bundles-redo
Jul 23, 2026
Merged

refactor: drop unused triple_ratio_bound_bundle wrappers (re-merge of #4669)#4671
phasetr merged 3 commits into
mainfrom
refactor/drop-triple-ratio-bound-bundles-redo

Conversation

@phasetr

@phasetr phasetr commented Jul 23, 2026

Copy link
Copy Markdown
Owner

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

phasetr and others added 3 commits July 23, 2026 08:28
Placeholder for deletion of 8 unused wrapper declarations.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…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
phasetr merged commit cc5dce8 into main Jul 23, 2026
2 checks passed
@phasetr
phasetr deleted the refactor/drop-triple-ratio-bound-bundles-redo branch July 23, 2026 01:26
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.

refactor: round-10 drop triple_ratio_bound_bundle wrappers

1 participant