Motivation
PR #4648 (drop three duplicated Lee-Yang subdomain declarations) reported one cascade: deleting
one_mem_leeYangSubdomain' exposed the canonical one_mem_leeYangSubdomain (Locus.lean:385) as
reference-0 (its only consumer in the repository was the duplicate that PR #4648 removed).
Re-scanning the surrounding module for siblings found four more reference-0 declarations that
predate #4648:
one_mem_leeYangSubdomain (IsingModel/ComplexAnalyticity/Locus.lean:385)
one_mem_leeYangDomain (IsingModel/ComplexAnalyticity/Locus.lean:390)
leeYangSubdomain_eq_inter_preimage (IsingModel/ComplexAnalyticity/Locus.lean:377)
leeYangSubdomain_one_eq (IsingModel/ComplexAnalyticity/Locus.lean:395)
Ioi_subset_leeYangDomain_real_preimage (IsingModel/ComplexAnalyticity/RealAxis.lean:79)
scripts/dead_candidate_scan.py classifies all five as safe-to-delete: zero published-result,
zero load-bearing, zero uncertain. rg over docs/, tex/proof-guide.tex, README.md confirms
none of the five names is cited anywhere; the docs/index.md Lee-Yang subdomain row (line ~534)
lists only leeYangSubdomain + abs_spinSum_le + exp_neg_beta_hamiltonian_re_pos +
partitionFunctionComplex_re_pos_of_leeYangSubdomain + _mem_slitPlane_of_leeYangSubdomain +
freeEnergyComplex_analyticAt_h_of_leeYangSubdomain as the published result set for this
subdomain — none of the five candidates above is among them. one_mem_leeYangSubdomain's doc
comment ("Convenient for downstream arguments needing a basepoint") is the decorative
"would-be-convenient" style lean-coding-conventions flags for removal, not a cited result.
Scope
Decoration removal within the existing Lee-Yang subdomain module (IsingModel/ComplexAnalyticity/)
under the same standing authorization as #4599/#4601/#4638/#4641/#4648 (reference-0 cleanup of
GJ-adjacent scaffolding, not a new refactor initiative). This is a continuation of an
already-authorized pattern, not new scope.
Proposal
Acceptance criteria
Related
Motivation
PR #4648 (drop three duplicated Lee-Yang subdomain declarations) reported one cascade: deleting
one_mem_leeYangSubdomain'exposed the canonicalone_mem_leeYangSubdomain(Locus.lean:385) asreference-0 (its only consumer in the repository was the duplicate that PR #4648 removed).
Re-scanning the surrounding module for siblings found four more reference-0 declarations that
predate #4648:
one_mem_leeYangSubdomain(IsingModel/ComplexAnalyticity/Locus.lean:385)one_mem_leeYangDomain(IsingModel/ComplexAnalyticity/Locus.lean:390)leeYangSubdomain_eq_inter_preimage(IsingModel/ComplexAnalyticity/Locus.lean:377)leeYangSubdomain_one_eq(IsingModel/ComplexAnalyticity/Locus.lean:395)Ioi_subset_leeYangDomain_real_preimage(IsingModel/ComplexAnalyticity/RealAxis.lean:79)scripts/dead_candidate_scan.pyclassifies all five assafe-to-delete: zero published-result,zero load-bearing, zero uncertain.
rgoverdocs/,tex/proof-guide.tex,README.mdconfirmsnone of the five names is cited anywhere; the
docs/index.mdLee-Yang subdomain row (line ~534)lists only
leeYangSubdomain+abs_spinSum_le+exp_neg_beta_hamiltonian_re_pos+partitionFunctionComplex_re_pos_of_leeYangSubdomain+_mem_slitPlane_of_leeYangSubdomain+freeEnergyComplex_analyticAt_h_of_leeYangSubdomainas the published result set for thissubdomain — none of the five candidates above is among them.
one_mem_leeYangSubdomain's doccomment ("Convenient for downstream arguments needing a basepoint") is the decorative
"would-be-convenient" style
lean-coding-conventionsflags for removal, not a cited result.Scope
Decoration removal within the existing Lee-Yang subdomain module (
IsingModel/ComplexAnalyticity/)under the same standing authorization as #4599/#4601/#4638/#4641/#4648 (reference-0 cleanup of
GJ-adjacent scaffolding, not a new refactor initiative). This is a continuation of an
already-authorized pattern, not new scope.
Proposal
scripts/dead_candidate_scan.py(textual +--leancross-check) against these five namesimmediately before deletion (re-verify at current HEAD; do not rely on this issue's scan alone).
safe-to-deletewith no cascade onto a load-bearing sibling.LIMITS:banner) in the PR body.Acceptance criteria
safe-to-deleteat PR HEAD--leancross-check pasteddocs/index.md/tex/proof-guide.tex/README.mdfor any deleted namelake buildwarning-freescripts/audit_gate.py --fullV1-V4 passlake exe GKSTestpassRelated