Skip to content

cleanup(#4480): FltRegularBernoulli Furtwaengler/ArtinHasse/DworkCoeffLeadingTermCongruence.lean — simpa best-API trim - #4749

Merged
CBirkbeck merged 1 commit into
mainfrom
cleanup/4480
Jun 24, 2026
Merged

cleanup(#4480): FltRegularBernoulli Furtwaengler/ArtinHasse/DworkCoeffLeadingTermCongruence.lean — simpa best-API trim#4749
CBirkbeck merged 1 commit into
mainfrom
cleanup/4480

Conversation

@CBirkbeck

Copy link
Copy Markdown
Owner

Full /cleanup (statement-preserving; no EXISTING statement token changed — only one proof-internal simpa line differs; every signature token-identical; no instance binders removed; no new helpers). sorryAx STEP-0 GATE PASSED: all 7 decls in BernoulliRegular.Furtwaengler [propext, Classical.choice, Quot.sound] — not OSKR-tainted (upstream ArtinHasse/Dwork infrastructure). (1) Best-mathlib-API / simp-set trim (×1): L145 in pow_sub_pow_mem_pow_succ_of_sub_mem_sq — simpa [pow_add, Nat.add_assoc, Nat.add_comm, Nat.add_left_comm] using hmul → simpa [Ideal.IsTwoSided.pow_add] using hmul (drops 3 redundant Nat.add_* normalization lemmas + switches to the ideal-specific Ideal.IsTwoSided.pow_add, matching the existing in-file convention 5 lines below at L150). PROBED+REVERTED (load-bearing, correctly kept): 3× simp → simp only (the convert…using 1; simp[…]; ring blocks in the three _lt_ell_leading theorems — bare simp normalizes Nat.succ/Nat.factorial forms ring depends on; simp only left an unclosable goal); the change … ∈ I^((n+1)+1) on L149 (without it simpa [Ideal.IsTwoSided.pow_add] over-applies pow_add to both sides → I^nI*I vs I^(n+1)*I^1 mismatch). NOT touched (correctly KEPT — used here): universe u v w (Type u/v/w used — contrast sibling #4479 where it was dead); open scoped NumberField (𝓞 used — contrast #4479); public imports (re-exported interface); the repeated 5-line instance-binder block (a variable-collapse would risk binder reorder/non-token-identical signatures + theorem #4 is a generic lemma not using them). +1/−1. decl-count unchanged (7); module green by name (3578 jobs); axioms on touched decl pow_sub_pow_mem_pow_succ_of_sub_mem_sq [propext, Classical.choice, Quot.sound]; zero new sorry; no statement token-changed; no residue (probe stripped, tail intact end Furtwaengler/end BernoulliRegular/end).

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

…fLeadingTermCongruence.lean — simpa best-API trim

Full /cleanup (statement-preserving; no EXISTING statement token changed — only one proof-internal simpa line differs; every signature token-identical; no instance binders removed; no new helpers). sorryAx STEP-0 GATE PASSED: all 7 decls in BernoulliRegular.Furtwaengler [propext, Classical.choice, Quot.sound] — not OSKR-tainted (upstream ArtinHasse/Dwork infrastructure). (1) Best-mathlib-API / simp-set trim (×1): L145 in pow_sub_pow_mem_pow_succ_of_sub_mem_sq — simpa [pow_add, Nat.add_assoc, Nat.add_comm, Nat.add_left_comm] using hmul → simpa [Ideal.IsTwoSided.pow_add] using hmul (drops 3 redundant Nat.add_* normalization lemmas + switches to the ideal-specific Ideal.IsTwoSided.pow_add, matching the existing in-file convention 5 lines below at L150). PROBED+REVERTED (load-bearing, correctly kept): 3× simp → simp only (the convert…using 1; simp[…]; ring blocks in the three *_lt_ell_leading theorems — bare simp normalizes Nat.succ/Nat.factorial forms ring depends on; simp only left an unclosable goal); the change … ∈ I^((n+1)+1) on L149 (without it simpa [Ideal.IsTwoSided.pow_add] over-applies pow_add to both sides → I^n*I*I vs I^(n+1)*I^1 mismatch). NOT touched (correctly KEPT — used here): universe u v w (Type u/v/w used — contrast sibling #4479 where it was dead); open scoped NumberField (𝓞 used — contrast #4479); public imports (re-exported interface); the repeated 5-line instance-binder block (a variable-collapse would risk binder reorder/non-token-identical signatures + theorem #4 is a generic lemma not using them). +1/−1. decl-count unchanged (7); module green by name (3578 jobs); axioms on touched decl pow_sub_pow_mem_pow_succ_of_sub_mem_sq [propext, Classical.choice, Quot.sound]; zero new sorry; no statement token-changed; no residue (probe stripped, tail intact end Furtwaengler/end BernoulliRegular/end).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@CBirkbeck
CBirkbeck merged commit 0f00439 into main Jun 24, 2026
@CBirkbeck
CBirkbeck deleted the cleanup/4480 branch June 24, 2026 19:51
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.

2 participants