Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Global.FrobeniusGeometry |
| 2 | |
| 3 | /-! # Prime Zero -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.PrimeZero.PrimeZeroSpecFrobenius |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The p-power map of a ring killed by p induces the actual absolute |
| 10 | scheme Frobenius, naturally under maps from its spectrum. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable (p : ℕ) [Fact p.Prime] (A : Type u) [CommRing A] (hp : (p : A) = 0) |
| 16 | |
| 17 | include hp in |
| 18 | omit [Fact p.Prime] in |
| 19 | theorem sections_prime_zero : (p : Γ(Spec (CommRingCat.of A), ⊤)) = 0 := by |
| 20 | have h := congrArg (Scheme.ΓSpecIso (CommRingCat.of A)).inv hp |
| 21 | simpa only [map_natCast, map_zero] using h |
| 22 | |
| 23 | theorem scheme : AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p Fact.out (Spec (CommRingCat.of A)) |
| 24 | (sections_prime_zero p A hp) = |
| 25 | Spec.map (CommRingCat.ofHom (AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.powerRingHom p Fact.out A hp)) := by |
| 26 | apply IntegralComparison.Global.FrobeniusGeometry.hom_ext_appTop |
| 27 | apply (CategoryTheory.cancel_mono (Scheme.ΓSpecIso (CommRingCat.of A)).hom).mp |
| 28 | rw [Scheme.ΓSpecIso_naturality] |
| 29 | apply CommRingCat.hom_ext |
| 30 | apply RingHom.ext |
| 31 | intro s |
| 32 | change (Scheme.ΓSpecIso (CommRingCat.of A)).hom.hom (s ^ p) = |
| 33 | ((Scheme.ΓSpecIso (CommRingCat.of A)).hom.hom s) ^ p |
| 34 | exact map_pow _ s p |
| 35 | |
| 36 | theorem naturality {X : Scheme.{u}} (hX : (p : Γ(X, ⊤)) = 0) |
| 37 | (f : Spec (CommRingCat.of A) ⟶ X) : |
| 38 | Spec.map (CommRingCat.ofHom (AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.powerRingHom p Fact.out A hp)) ≫ f = |
| 39 | f ≫ AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p Fact.out X hX := by |
| 40 | rw [← scheme p A hp] |
| 41 | exact AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius_naturality p Fact.out (sections_prime_zero p A hp) hX f |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison.PrimeZero.PrimeZeroSpecFrobenius |