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.FlatWittDividedPowers |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation |
| 3 | |
| 4 | /-! # Frame Ring -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original p-power quotients of a smooth flat Witt lift carry compatible divided powers. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable (p : ℕ) [Fact p.Prime] (k A C : Type u) [Field k] [Fintype k] [CharP k p] |
| 15 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 16 | [CommRing C] [Algebra k C] |
| 17 | |
| 18 | local notation "W" => WittVector p k |
| 19 | local notation "I" => Ideal.span {(p : A)} |
| 20 | local notation "δ" => OAI.NumberTheory.PadicHodge.IntegralComparison.FlatWittDividedPowers.dividedPowers p k A |
| 21 | |
| 22 | abbrev Ring (n : ℕ) := AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.Ring A I n |
| 23 | |
| 24 | def base (n : ℕ) : W →+* Ring p A n := |
| 25 | (Ideal.Quotient.mk (I ^ (n + 1))).comp (algebraMap W A) |
| 26 | |
| 27 | def ideal (n : ℕ) : Ideal (Ring p A n) := AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.ideal A I n |
| 28 | |
| 29 | def dividedPowers (n : ℕ) : DividedPowers (ideal p A n) := |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.dividedPowers A I δ n |
| 31 | |
| 32 | omit [Fintype k] in |
| 33 | theorem base_isDPMorphism (n : ℕ) : DividedPowers.IsDPMorphism |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (dividedPowers p k A n) (base p k A n) := |
| 35 | (AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.quotient_isDPMorphism A I δ n).comp _ |
| 36 | (FlatWittDividedPowers.base_isDPMorphism p k A) |
| 37 | |
| 38 | omit [Fact p.Prime] [Field k] [Fintype k] [CharP k p] |
| 39 | [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] in |
| 40 | theorem prime_power_zero (n : ℕ) : (p : Ring p A n) ^ (n + 1) = 0 := by |
| 41 | rw [← map_natCast (Ideal.Quotient.mk (I ^ (n + 1))) p, ← map_pow] |
| 42 | exact Ideal.Quotient.eq_zero_iff_mem.mpr |
| 43 | (Ideal.pow_mem_pow (Ideal.subset_span (Set.mem_singleton (p : A))) (n + 1)) |
| 44 | |
| 45 | variable (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 46 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = algebraMap k C (WittVector.constantCoeff w)) |
| 47 | |
| 48 | def reduction (n : ℕ) : Ring p A n →+* C := |
| 49 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction A I ρ hker n |
| 50 | |
| 51 | def quotientEquiv (n : ℕ) : (Ring p A n ⧸ ideal p A n) ≃+* C := |
| 52 | (Ideal.quotEquivOfEq (AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction_kernel A I ρ hker n).symm).trans |
| 53 | (RingHom.quotientKerEquivOfSurjective (AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction_surjective A I ρ hker hρ n)) |
| 54 | |
| 55 | omit [Fact p.Prime] in |
| 56 | theorem quotientEquiv_mk (n : ℕ) (a : Ring p A n) : |
| 57 | quotientEquiv p A C ρ hρ hker n (Ideal.Quotient.mk (ideal p A n) a) = reduction p A C ρ hker n a := by |
| 58 | change (RingHom.quotientKerEquivOfSurjective |
| 59 | (AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction_surjective A I ρ hker hρ n)) |
| 60 | ((Ideal.quotEquivOfEq (AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction_kernel A I ρ hker n).symm) |
| 61 | (Ideal.Quotient.mk _ a)) = _ |
| 62 | rw [Ideal.quotEquivOfEq_mk] |
| 63 | rfl |
| 64 | |
| 65 | omit [Fintype k] [CharP k p] [Module.Flat (WittVector p k) A] in |
| 66 | include hbase in |
| 67 | theorem quotientEquiv_base (n : ℕ) (w : W) : |
| 68 | quotientEquiv p A C ρ hρ hker n (Ideal.Quotient.mk (ideal p A n) (base p k A n w)) = |
| 69 | algebraMap k C (WittVector.constantCoeff w) := by |
| 70 | rw [quotientEquiv_mk] |
| 71 | exact hbase w |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing |