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.FixedArithmeticDiagrams |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.GroupMapReflection |
| 3 | |
| 4 | /-! # Generic Projection Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.GenericProjectionMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A supplied generic projection determines morphisms on smooth models. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem smooth_hom_eq_of_generic_projection |
| 17 | {S T : Scheme} [IsReduced S] [IsLocallyNoetherian S] |
| 18 | (u : T ⟶ S) [IsDominant u] {X Y : Over S} |
| 19 | [Smooth X.hom] [IsSeparated Y.hom] |
| 20 | {G : Over T} (p : G.left ⟶ X.left) |
| 21 | (hp : IsPullback p G.hom X.hom u) (f h : X ⟶ Y) |
| 22 | (heq : p ≫ f.left = p ≫ h.left) : f = h := by |
| 23 | let : GeometricallyReduced X.hom := IntegralModel.GenericIdentities.geometricallyReduced_of_smooth X.hom |
| 24 | let : IsReduced X.left := |
| 25 | GeometricallyReduced.isReduced_of_flat_of_isLocallyNoetherian X.hom |
| 26 | let : IsDominant (pullback.fst X.hom u) := IntegralModel.GenericIdentities.base_change_projection_dominant u X |
| 27 | have he : p = hp.isoPullback.hom ≫ pullback.fst X.hom u := hp.isoPullback_hom_fst.symm |
| 28 | let : IsDominant p := by rw [he]; infer_instance |
| 29 | apply Over.OverMorphism.ext |
| 30 | exact ext_of_isDominant_of_isSeparated Y.hom (f.w.trans h.w.symm) p heq |
| 31 | |
| 32 | theorem arithmeticModelProjection_cartesian |
| 33 | {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 34 | (B : IntegralModel.Base.ArithmeticBaseExtension K κ) (X : Over B.base) |
| 35 | {G : Over (Spec (.of B.extension.carrier))} (p : G.left ⟶ X.left) |
| 36 | (hp : IsPullback p G.hom X.hom B.generic) |
| 37 | (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D) : |
| 38 | IsPullback (FixedArithmeticDiagrams.arithmeticModelProjection B X p hp.w D hD hdiv) G.hom |
| 39 | ((Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj X).hom |
| 40 | (B.withDenominator D hD).generic := by |
| 41 | apply ModelLifts.modelLift_cartesian |
| 42 | rw [ArithmeticBaseMaps.arithmeticEnlargement_generic] |
| 43 | exact hp |
| 44 | |
| 45 | end |
| 46 | |
| 47 | /-! Convert compatibility with actual generic projections into the |
| 48 | corresponding over-category base-change comparison. -/ |
| 49 | |
| 50 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 51 | |
| 52 | theorem generic_map_of_projection_comparison |
| 53 | {S T : Scheme} (u : T ⟶ S) {X Y : Over S} {G H : Over T} |
| 54 | (eX : (Over.pullback u).obj X ≅ G) (eY : (Over.pullback u).obj Y ≅ H) |
| 55 | (f : X ⟶ Y) (a : G ⟶ H) |
| 56 | (hc : (eX.inv.left ≫ pullback.fst X.hom u) ≫ f.left = |
| 57 | a.left ≫ (eY.inv.left ≫ pullback.fst Y.hom u)) : |
| 58 | (Over.pullback u).map f ≫ eY.hom = eX.hom ≫ a := by |
| 59 | apply (eY.eq_comp_inv).mp |
| 60 | apply Over.OverMorphism.ext |
| 61 | apply pullback.hom_ext |
| 62 | · have h := congrArg (fun k => eX.hom.left ≫ k) hc |
| 63 | simp only [Category.assoc, Over.hom_left_inv_left_assoc] at h |
| 64 | exact (AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst f u).trans |
| 65 | (h.trans (Category.assoc _ _ _).symm) |
| 66 | · change ((Over.pullback u).map f).left ≫ ((Over.pullback u).obj Y).hom = |
| 67 | ((eX.hom ≫ a) ≫ eY.inv).left ≫ ((Over.pullback u).obj Y).hom |
| 68 | exact ((Over.pullback u).map f).w.trans (((eX.hom ≫ a) ≫ eY.inv).w).symm |
| 69 | |
| 70 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 71 | (B : IntegralModel.Base.ArithmeticBaseExtension K κ) (X : Over B.base) |
| 72 | (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D) |
| 73 | |
| 74 | def arithmeticGenericComparison : |
| 75 | (Over.pullback (B.withDenominator D hD).generic).obj |
| 76 | ((Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj X) ≅ |
| 77 | (Over.pullback B.generic).obj X := |
| 78 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso X (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv) |
| 79 | (B.withDenominator D hD).generic B.generic (ArithmeticBaseMaps.arithmeticEnlargement_generic B D hD hdiv) |
| 80 | |
| 81 | theorem arithmeticGenericComparison_projection : |
| 82 | (arithmeticGenericComparison B X D hD hdiv).inv.left ≫ |
| 83 | pullback.fst ((Over.pullback (ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv)).obj X).hom |
| 84 | (B.withDenominator D hD).generic = |
| 85 | FixedArithmeticDiagrams.arithmeticModelProjection B X (G := (Over.pullback B.generic).obj X) (pullback.fst X.hom B.generic) |
| 86 | (IsPullback.of_hasPullback X.hom B.generic).w D hD hdiv := by |
| 87 | let e := arithmeticGenericComparison B X D hD hdiv |
| 88 | let u := ArithmeticBaseMaps.arithmeticEnlargement B D hD hdiv |
| 89 | let v := (B.withDenominator D hD).generic |
| 90 | apply pullback.hom_ext |
| 91 | · rw [Category.assoc, FixedArithmeticDiagrams.arithmeticModelProjection_fst] |
| 92 | have he : e.hom.left ≫ pullback.fst X.hom B.generic = |
| 93 | pullback.fst (pullback.snd X.hom u) v ≫ pullback.fst X.hom u := |
| 94 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_fst X u v B.generic _ |
| 95 | exact (((Over.forget _).mapIso e).inv_comp_eq).mpr he.symm |
| 96 | · rw [Category.assoc] |
| 97 | change e.inv.left ≫ (pullback.fst (pullback.snd X.hom u) v ≫ pullback.snd X.hom u) = _ |
| 98 | rw [pullback.condition] |
| 99 | change e.inv.left ≫ (((Over.pullback v).obj ((Over.pullback u).obj X)).hom ≫ v) = _ |
| 100 | rw [← Category.assoc, e.inv.w] |
| 101 | exact (FixedArithmeticDiagrams.arithmeticModelProjection_snd B X (G := (Over.pullback B.generic).obj X) |
| 102 | (pullback.fst X.hom B.generic) |
| 103 | (IsPullback.of_hasPullback X.hom B.generic).w D hD hdiv).symm |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.GenericProjectionMaps |