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.StandardEtaleLiftAlgebra |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 3 | import Mathlib.RingTheory.Polynomial.Basic |
| 4 | |
| 5 | /-! # Standard Etale Lift -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.StandardEtaleLift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth flat Witt lifts of the actual standard etale coordinate algebras. -/ |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] (k : Type u) (σ : Type v) (C : Type u) [Field k] [Fintype k] [CharP k p] |
| 16 | [Finite σ] [CommRing C] [Algebra k C] [Algebra (MvPolynomial σ k) C] |
| 17 | [IsScalarTower k (MvPolynomial σ k) C] (P : StandardEtalePresentation (MvPolynomial σ k) C) |
| 18 | |
| 19 | local notation "W" => WittVector p k |
| 20 | local notation "R" => MvPolynomial σ W |
| 21 | local notation "S" => MvPolynomial σ k |
| 22 | |
| 23 | instance residueAlgebra : Algebra R S := |
| 24 | (MvPolynomial.map (WittVector.constantCoeff : W →+* k)).toAlgebra |
| 25 | |
| 26 | omit [Fintype k] [CharP k p] [Finite σ] in |
| 27 | theorem residue_surjective : Function.Surjective (algebraMap R S) := |
| 28 | MvPolynomial.map_surjective WittVector.constantCoeff (WittVector.constantCoeff_surjective p) |
| 29 | |
| 30 | abbrev Ring := StandardEtaleLiftAlgebra.Ring S (residue_surjective p k σ) P.P |
| 31 | |
| 32 | instance wittAlgebra : Algebra W (Ring p k σ C P) := |
| 33 | ((algebraMap R (Ring p k σ C P)).comp MvPolynomial.C).toAlgebra |
| 34 | |
| 35 | instance wittTower : IsScalarTower W R (Ring p k σ C P) := |
| 36 | IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 37 | |
| 38 | instance smooth : Algebra.Smooth W (Ring p k σ C P) := by |
| 39 | let : Fintype σ := Fintype.ofFinite σ |
| 40 | let : Algebra.Smooth W R := ⟨inferInstance, inferInstance⟩ |
| 41 | exact Algebra.Smooth.comp W R (Ring p k σ C P) |
| 42 | |
| 43 | instance flat : Module.Flat W (Ring p k σ C P) := Algebra.Smooth.flat W (Ring p k σ C P) |
| 44 | |
| 45 | def reduction : Ring p k σ C P →+* C := |
| 46 | P.equivRing.symm.toRingHom.comp |
| 47 | (StandardEtaleLiftAlgebra.reduction S (residue_surjective p k σ) P.P) |
| 48 | |
| 49 | omit [Algebra k C] [IsScalarTower k S C] [Fintype k] [CharP k p] [Finite σ] in |
| 50 | theorem reduction_surjective : Function.Surjective (reduction p k σ C P) := |
| 51 | P.equivRing.symm.surjective.comp |
| 52 | (StandardEtaleLiftAlgebra.reduction_surjective S (residue_surjective p k σ) P.P) |
| 53 | |
| 54 | omit [Fintype k] [CharP k p] [Finite σ] in |
| 55 | theorem reduction_base (w : W) : reduction p k σ C P (algebraMap W (Ring p k σ C P) w) = |
| 56 | algebraMap k C (WittVector.constantCoeff w) := by |
| 57 | change P.equivRing.symm (StandardEtaleLiftAlgebra.reduction S (residue_surjective p k σ) P.P |
| 58 | (algebraMap R (Ring p k σ C P) (MvPolynomial.C w))) = _ |
| 59 | rw [StandardEtaleLiftAlgebra.reduction_base, P.equivRing.symm.commutes] |
| 60 | change algebraMap S C (MvPolynomial.map WittVector.constantCoeff (MvPolynomial.C w)) = _ |
| 61 | rw [MvPolynomial.map_C] |
| 62 | exact (IsScalarTower.algebraMap_apply k S C (WittVector.constantCoeff w)).symm |
| 63 | |
| 64 | omit [Algebra k C] [IsScalarTower k S C] [Finite σ] in |
| 65 | theorem reduction_kernel : RingHom.ker (reduction p k σ C P) = |
| 66 | Ideal.span {(p : Ring p k σ C P)} := by |
| 67 | have h : RingHom.ker (reduction p k σ C P) = |
| 68 | RingHom.ker (StandardEtaleLiftAlgebra.reduction S (residue_surjective p k σ) P.P) := |
| 69 | RingHom.ker_comp_of_injective _ (show Function.Injective P.equivRing.symm.toRingHom from |
| 70 | P.equivRing.symm.injective) |
| 71 | rw [h, StandardEtaleLiftAlgebra.reduction_kernel] |
| 72 | change (RingHom.ker (MvPolynomial.map (WittVector.constantCoeff : W →+* k))).map |
| 73 | (algebraMap R (Ring p k σ C P)) = _ |
| 74 | rw [MvPolynomial.ker_map, WittVector.ker_constantCoeff, |
| 75 | Ideal.map_span, Set.image_singleton, map_natCast, |
| 76 | Ideal.map_span, Set.image_singleton, map_natCast] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.StandardEtaleLift |