Commit 2025-08-29 21:26 f55227af
View on Github →chore(Data): make arguments consistent for single_eq_of_ne (#29006)
- Swap the direction of the hypothesis in
Finsupp.single_eq_of_neandDfinsupp.single_eq_of_neto matchPi.single_eq_of_neand*.apply_eq_of_ne - Move existing
Finsupp.single_eq_of_netoFinsupp.single_eq_of_ne'to aidsimp, in line withPi.single_eq_of_ne' - Swap the hypothesis direction in
DirectSum.of_eq_of_neandPolynomial.coeff_monomial_of_neto match the above This change means that, in order to prove that(fun₀ | i => x) j = 0, you supplyj ≠ irather thani ≠ jby default. See Zulip discussion: https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Inconsistent.20hypothesis.20convention.20in.20.60Finsupp.60 The cutoff for which declarations I edited and which I didn't is somewhat arbitrary. For now, I only changed declarations which obviously had the meaning of evaluating a delta functionf iat an indexj.