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.AlgebraicGeometry.PELModuli.CMPoints.IntegralOrdinary |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ArithmeticPadicBase |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ComponentReduction |
| 4 | |
| 5 | /-! # Reduction Point -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reduce the actual integral CM section to a point of its specified |
| 12 | geometric PEL component, using the compatible arithmetic residue maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 17 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 18 | {M : Models.RankThreePELModel E K} {hM : M.HasPrescribedBallPeriods} |
| 19 | {a : M.Family} {t : Fin (M.componentCount a)} {C : M.CMSpreadData hM a t} |
| 20 | (T : C.IntegralComponentData) {q : ℕ} [Fact q.Prime] {j : M.QadicChoice q} |
| 21 | (R : M.GoodIntegralReduction q j) |
| 22 | (jT : Arithmetic.QadicChoice T.base.extension.carrier T.base.embedding q) |
| 23 | (hcop : q.Coprime T.base.denominator) |
| 24 | (hf : (jT.completion.toRingHom.comp (NumberField.FinitePlace.embedding jT.prime)).comp |
| 25 | C.originalFieldEmbedding = j.completion.toRingHom.comp (NumberField.FinitePlace.embedding j.prime)) |
| 26 | |
| 27 | def Models.RankThreePELModel.CMSpreadData.IntegralComponentData.geometricBasePoint : Spec (.of (AlgebraicClosure (ZMod q))) ⟶ T.base.base := |
| 28 | Spec.map (CommRingCat.ofHom |
| 29 | ((algebraMap (ZMod q) (AlgebraicClosure (ZMod q))).comp (ArithmeticPadicBase.arithmeticResidue T.base jT hcop))) |
| 30 | |
| 31 | include hf in |
| 32 | theorem Models.RankThreePELModel.CMSpreadData.IntegralComponentData.geometricBasePoint_compatible : |
| 33 | T.geometricBasePoint jT hcop ≫ |
| 34 | ArithmeticBaseMaps.arithmeticBaseMap M.arithmetic T.base C.originalFieldEmbedding |
| 35 | (C.denominator_divides.trans T.denominator_divides) = R.geometricBase := by |
| 36 | have hr := R.arithmeticResidue_compatible_with_reduction T.base C.originalFieldEmbedding |
| 37 | (C.denominator_divides.trans T.denominator_divides) jT hcop hf |
| 38 | dsimp only [Models.RankThreePELModel.CMSpreadData.IntegralComponentData.geometricBasePoint, ArithmeticBaseMaps.arithmeticBaseMap, Models.RankThreePELModel.GoodIntegralReduction.geometricBase] |
| 39 | rw [← Spec.map_comp] |
| 40 | apply congrArg (fun f => Spec.map (CommRingCat.ofHom f)) |
| 41 | exact (RingHom.comp_assoc _ _ _).trans |
| 42 | (congrArg (fun f => (algebraMap (ZMod q) (AlgebraicClosure (ZMod q))).comp f) hr) |
| 43 | |
| 44 | def Models.RankThreePELModel.CMSpreadData.IntegralComponentData.componentPoint : Spec (.of (AlgebraicClosure (ZMod q))) ⟶ (R.geometricComponent a t).left := |
| 45 | pullback.lift (T.geometricBasePoint jT hcop ≫ T.point) (𝟙 _) (by |
| 46 | rw [Category.assoc, T.point_base, T.geometricBasePoint_compatible R jT hcop hf, Category.id_comp]) |
| 47 | |
| 48 | theorem Models.RankThreePELModel.CMSpreadData.IntegralComponentData.componentPoint_base : |
| 49 | T.componentPoint R jT hcop hf ≫ (R.geometricComponent a t).hom = 𝟙 _ := |
| 50 | pullback.lift_snd _ _ _ |
| 51 | |
| 52 | def Models.RankThreePELModel.CMSpreadData.IntegralComponentData.familyPoint : Spec (.of (AlgebraicClosure (ZMod q))) ⟶ R.geom a := |
| 53 | T.componentPoint R jT hcop hf ≫ (R.geometricComponentInclusion a t).left |
| 54 | |
| 55 | theorem Models.RankThreePELModel.CMSpreadData.IntegralComponentData.familyPoint_base : T.familyPoint R jT hcop hf ≫ (R.geometricFiber a).hom = 𝟙 _ := by |
| 56 | change (_ ≫ (R.geometricComponentInclusion a t).left) ≫ _ = _ |
| 57 | rw [Category.assoc, (R.geometricComponentInclusion a t).w] |
| 58 | exact T.componentPoint_base R jT hcop hf |
| 59 | |
| 60 | theorem Models.RankThreePELModel.CMSpreadData.IntegralComponentData.familyPoint_projection : |
| 61 | T.familyPoint R jT hcop hf ≫ R.projection a = |
| 62 | (T.geometricBasePoint jT hcop ≫ T.point) ≫ (M.integralComponentInclusion a t).left := by |
| 63 | have hi : (R.geometricComponentInclusion a t).left ≫ R.projection a = |
| 64 | pullback.fst ((M.components a).S t).hom R.geometricBase ≫ (M.integralComponentInclusion a t).left := |
| 65 | AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst (M.integralComponentInclusion a t) R.geometricBase |
| 66 | have hp : T.componentPoint R jT hcop hf ≫ pullback.fst ((M.components a).S t).hom R.geometricBase = |
| 67 | T.geometricBasePoint jT hcop ≫ T.point := pullback.lift_fst _ _ _ |
| 68 | exact (Category.assoc _ _ _).trans |
| 69 | ((congrArg (fun f => T.componentPoint R jT hcop hf ≫ f) hi).trans |
| 70 | ((Category.assoc _ _ _).symm.trans |
| 71 | (congrArg (fun f => f ≫ (M.integralComponentInclusion a t).left) hp))) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.PELModuli.CMPoints |