cleanup(#4480): FltRegularBernoulli Furtwaengler/ArtinHasse/DworkCoeffLeadingTermCongruence.lean — simpa best-API trim - #4749
Merged
Merged
Conversation
…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>
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.
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