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.IntegralModel.Cartesian.FamilyRelation |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.NumberFieldCoefficient |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverIsoNaturality |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.FunctorComparison |
| 5 | |
| 6 | /-! # Field Cartesian Family Relation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FieldCartesianFamilyRelation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A generic family and its fixed arithmetic overlap relation extend |
| 13 | over one larger denominator, preserving the actual generic family diagram. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.FamilyRelation.Coefficients |
| 20 | |
| 21 | theorem numberField_cartesian_family_relation_model |
| 22 | {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 23 | (B : Base.ArithmeticBaseExtension K κ) [Algebra B.R B.extension.carrier] |
| 24 | (hAlg : algebraMap B.R B.extension.carrier = B.toField) |
| 25 | {Z W T X : Over B.base} |
| 26 | (hZ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Z.hom) |
| 27 | (hW : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism W.hom) (hT : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism T.hom) |
| 28 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (v w : Z ⟶ W) (a : W ⟶ T) (u : T ⟶ X) |
| 29 | (Y : Over (Spec (.of B.extension.carrier))) (hY : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) |
| 30 | (q : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier)))).obj W ⟶ Y) |
| 31 | (b : Y ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier)))).obj X) |
| 32 | (hc : IsPullback ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier)))).map a) q |
| 33 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier)))).map u) b) |
| 34 | (he : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier)))).map v ≫ q = |
| 35 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier)))).map w ≫ q) |
| 36 | (N₀ : ℕ) (hN₀ : N₀ ≠ 0) : |
| 37 | ∃ (N : ℕ) (hN : N ≠ 0), N₀ ∣ N ∧ |
| 38 | let D := B.withDenominator N hN |
| 39 | ∃ φ : B.R →+* D.R, D.toField.comp φ = B.toField ∧ |
| 40 | let F := Over.pullback (Spec.map (CommRingCat.ofHom φ)) |
| 41 | ∃ (Y₀ : Over D.base) (q₀ : F.obj W ⟶ Y₀) (b₀ : Y₀ ⟶ F.obj X), |
| 42 | ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom ∧ IsPullback (F.map a) q₀ (F.map u) b₀ ∧ |
| 43 | F.map v ≫ q₀ = F.map w ≫ q₀ ∧ |
| 44 | ∃ ec : F ⋙ Over.pullback D.generic ≅ |
| 45 | Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier))), |
| 46 | ∃ ey : (Over.pullback D.generic).obj Y₀ ≅ Y, |
| 47 | (Over.pullback D.generic).map q₀ ≫ ey.hom = (ec.app W).hom ≫ q ∧ |
| 48 | (Over.pullback D.generic).map b₀ ≫ (ec.app X).hom = ey.hom ≫ b := by |
| 49 | obtain ⟨M, b₀, q₀, hb₀, hq₀, hcart, hcoeq⟩ := |
| 50 | Cartesian.FamilyRelation.Coefficients.generic_cartesian_family_relation_has_coefficient_model hZ hW hT hX v w a u Y hY q b hc he |
| 51 | obtain ⟨N, hN, hdiv, ψ, hψ, hbase⟩ := B.generic_coefficients_extend_over_integers hAlg M.coefficients N₀ hN₀ |
| 52 | let D := B.withDenominator N hN |
| 53 | let φ := ψ.comp (algebraMap B.R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier M.coefficients)) |
| 54 | let f := Fixed.CoefficientModels.Coefficients.parameterBaseMap B.R B.extension.carrier M.coefficients |
| 55 | let k := Spec.map (CommRingCat.ofHom ψ) |
| 56 | let c := Spec.map (CommRingCat.ofHom φ) |
| 57 | let g := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap B.R B.extension.carrier M.coefficients |
| 58 | have hkc : k ≫ f = c := |
| 59 | (Spec.map_comp (CommRingCat.ofHom (algebraMap B.R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier M.coefficients))) |
| 60 | (CommRingCat.ofHom ψ)).symm |
| 61 | have hgk : D.generic ≫ k = g := by |
| 62 | change Spec.map (CommRingCat.ofHom D.toField) ≫ Spec.map (CommRingCat.ofHom ψ) = _ |
| 63 | rw [← Spec.map_comp] |
| 64 | exact congrArg (fun r => Spec.map (CommRingCat.ofHom r)) hψ |
| 65 | let P := Over.pullback f |
| 66 | let H := Over.pullback k |
| 67 | let F := Over.pullback c |
| 68 | let e := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso f k c hkc |
| 69 | let Y₀ := H.obj M.model |
| 70 | let q₁ : F.obj W ⟶ Y₀ := (e.app W).inv ≫ H.map q₀ |
| 71 | let b₁ : Y₀ ⟶ F.obj X := H.map b₀ ≫ (e.app X).hom |
| 72 | have ha : H.map (P.map a) ≫ (e.app T).hom = (e.app W).hom ≫ F.map a := e.hom.naturality a |
| 73 | have hu : H.map (P.map u) ≫ (e.app X).hom = (e.app T).hom ≫ F.map u := e.hom.naturality u |
| 74 | have hs : IsPullback (F.map a) q₁ (F.map u) b₁ := by |
| 75 | exact (hcart.map H).of_iso (e.app W) (e.app T) (Iso.refl Y₀) (e.app X) ha |
| 76 | (by |
| 77 | change H.map q₀ ≫ 𝟙 _ = (e.app W).hom ≫ ((e.app W).inv ≫ H.map q₀) |
| 78 | rw [Category.comp_id, Iso.hom_inv_id_assoc]) hu |
| 79 | (by |
| 80 | change H.map b₀ ≫ (e.app X).hom = 𝟙 _ ≫ (H.map b₀ ≫ (e.app X).hom) |
| 81 | exact (Category.id_comp _).symm) |
| 82 | have hn (r : Z ⟶ W) : F.map r ≫ (e.app W).inv = |
| 83 | (e.app Z).inv ≫ H.map (P.map r) := e.inv.naturality r |
| 84 | have hcoeq₁ : F.map v ≫ q₁ = F.map w ≫ q₁ := by |
| 85 | change F.map v ≫ ((e.app W).inv ≫ H.map q₀) = |
| 86 | F.map w ≫ ((e.app W).inv ≫ H.map q₀) |
| 87 | rw [← Category.assoc, hn v, Category.assoc, ← H.map_comp, |
| 88 | ← Category.assoc, hn w, Category.assoc, ← H.map_comp, hcoeq] |
| 89 | let eg := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso k D.generic g hgk |
| 90 | let J := Over.pullback D.generic |
| 91 | let L := Over.pullback g |
| 92 | let G := Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap B.R B.extension.carrier))) |
| 93 | let ew : L.obj (P.obj W) ≅ G.obj W := (Fixed.CoefficientModels.Coefficients.fixedSourceComparison B.R B.extension.carrier M.coefficients).app W |
| 94 | let ex : L.obj (P.obj X) ≅ G.obj X := (Fixed.CoefficientModels.Coefficients.fixedSourceComparison B.R B.extension.carrier M.coefficients).app X |
| 95 | let em : L.obj M.model ≅ Y := M.genericIso |
| 96 | have hqg : L.map q₀ ≫ em.hom = ew.hom ≫ q := |
| 97 | OverIsoNaturality.over_model_iso_naturality g ew em q q₀ hq₀ |
| 98 | have hbg : L.map b₀ ≫ ex.hom = em.hom ≫ b := |
| 99 | OverIsoNaturality.over_model_iso_naturality g em ex b b₀ hb₀ |
| 100 | obtain ⟨ec, ey, hqcmp, hbcmp⟩ := Cartesian.FunctorComparison.cartesian_functor_comparison P H F J L G e eg |
| 101 | (Fixed.CoefficientModels.Coefficients.fixedSourceComparison B.R B.extension.carrier M.coefficients) em q₀ b₀ q b hqg hbg |
| 102 | exact ⟨N, hN, hdiv, φ, hbase, Y₀, q₁, b₁, |
| 103 | Coefficient.Finiteness.Coefficients.baseChange_finitePresentation k M.model M.finitePresentation, hs, hcoeq₁, ec, ey, |
| 104 | hqcmp, hbcmp⟩ |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FieldCartesianFamilyRelation |