mathlib4
mathlib4 copied to clipboard
feat(AlgebraicGeometry/EllipticCurve/DivisionPolynomial): define division polynomials
This PR/issue depends on:
- ~~leanprover-community/mathlib4#10814~~ By Dependent Issues (🤖). Happy coding!
Since we need both univariate and bivariate division polynomials, here is my suggestion for the naming:
φ,ω, andψwill be the bivariate versions defined in the usual sense usingnormEDSΨ₂Sq,Ψ',ΨSq, andΦwill be the univariate versions defined ad-hoc usingpreNormEDSΨwill be bivariate, but defined using the univariateΨ', which will be congruent toψin the coordinate ring
I'll make their definitions as clear as possible in the module docstring.
PR summary
Import changes
No significant changes to the import graph
Declarations diff
+ C_Ψ₂Sq_eq
+ as
+ in
+ preΨ
+ preΨ'
+ preΨ'_even
+ preΨ'_four
+ preΨ'_odd
+ preΨ'_one
+ preΨ'_three
+ preΨ'_two
+ preΨ'_zero
+ preΨ_even
+ preΨ_four
+ preΨ_neg
+ preΨ_odd
+ preΨ_ofNat
+ preΨ_one
+ preΨ_three
+ preΨ_two
+ preΨ_zero
+ preΨ₄
+ Φ
+ Φ_four
+ Φ_neg
+ Φ_ofNat
+ Φ_one
+ Φ_three
+ Φ_two
+ Φ_zero
+ Ψ
+ ΨSq
+ ΨSq_even
+ ΨSq_four
+ ΨSq_neg
+ ΨSq_odd
+ ΨSq_ofNat
+ ΨSq_one
+ ΨSq_three
+ ΨSq_two
+ ΨSq_zero
+ Ψ_even
+ Ψ_four
+ Ψ_neg
+ Ψ_odd
+ Ψ_ofNat
+ Ψ_one
+ Ψ_three
+ Ψ_two
+ Ψ_zero
+ Ψ₂Sq
+ Ψ₂Sq_eq
+ Ψ₃
+ φ
+ φ_four
+ φ_neg
+ φ_one
+ φ_three
+ φ_two
+ φ_zero
+ ψ
+ ψ_even
+ ψ_four
+ ψ_neg
+ ψ_odd
+ ψ_one
+ ψ_three
+ ψ_two
+ ψ_zero
+ ψ₂
You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>
## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>
I only moved the files into a subdirectory in latest commit, while the changes reflecting the suggestions are in the previous commit. Note that there seems to be a weird bug with neg lemmas not recognising the negation in R[X][Y] in lines 429 and 430 without supplying the type.
Don't we need the map lemmas for that? I think I started #13399 pretty much immediately after I realised this. I suggest keeping the PR as it is and continue there.
🚀 Pull request has been placed on the maintainer queue by alreadydone.
This is great, thanks!
bors merge