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.ArithmeticComplexDiagrams |
| 2 | |
| 3 | /-! # Complex Diagram Spreading -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Simultaneous number-field descent and arithmetic spreading of a |
| 12 | finite actual complex abelian diagram, with all comparisons retained. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | theorem ComplexDiagramSpreading.exists_spread_complex_abelian_diagram |
| 18 | (hHilb : IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) (hEnd : IntegralModel.Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 19 | (D : ArithmeticComplexDiagrams.FiniteComplexAbelianDiagram) (M : ∀ i, AbelianArithmeticModels.AbelianNumberFieldModel (D.abelian i)) |
| 20 | (N : ℕ) (hN : N ≠ 0) : |
| 21 | ∃ Q : ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel D M, |
| 22 | ∃ R : AbelianDiagramSpreading.SpreadFiniteAbelianDiagram Q.diagram Q.embedding, N ∣ R.base.denominator := by |
| 23 | obtain ⟨Q⟩ := ArithmeticComplexDiagrams.exists_arithmetic_complex_diagram_model hHilb hEnd D M |
| 24 | obtain ⟨R, hR⟩ := AbelianDiagramSpreading.exists_spread_finite_abelian_diagram Q.embedding Q.diagram N hN |
| 25 | exact ⟨Q, R, hR⟩ |
| 26 | |
| 27 | variable {D : ArithmeticComplexDiagrams.FiniteComplexAbelianDiagram} {M : ∀ i, AbelianArithmeticModels.AbelianNumberFieldModel (D.abelian i)} |
| 28 | (Q : ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel D M) (R : AbelianDiagramSpreading.SpreadFiniteAbelianDiagram Q.diagram Q.embedding) |
| 29 | |
| 30 | def ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadComplexComparison (i : Fin D.objects) : |
| 31 | ((R.abelian i).pullback R.base.complexPoint).scheme ≅ (D.abelian i).scheme := |
| 32 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.compositeIso (R.abelian i).scheme R.base.generic |
| 33 | (Spec.map (CommRingCat.ofHom R.base.embedding)) ≪≫ |
| 34 | (Over.pullback (Spec.map (CommRingCat.ofHom R.base.embedding))).mapIso (R.genericIso i) ≪≫ |
| 35 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso R.base (Q.abelian i).scheme ≪≫ Q.comparison i |
| 36 | |
| 37 | theorem ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadComplexComparison_group (i : Fin D.objects) : |
| 38 | IsMonHom (Q.spreadComplexComparison R i).hom := by |
| 39 | let : IsMonHom (R.genericIso i).hom := R.genericGroup i |
| 40 | let f₀ := (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.compositeIso (R.abelian i).scheme R.base.generic |
| 41 | (Spec.map (CommRingCat.ofHom R.base.embedding))).hom |
| 42 | let f₁ := (Over.pullback (Spec.map (CommRingCat.ofHom R.base.embedding))).map (R.genericIso i).hom |
| 43 | let f₂ := (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso R.base (Q.abelian i).scheme).hom |
| 44 | have h₀ : IsMonHom f₀ := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.compositeIso_isMonHom _ _ _ |
| 45 | have h₁ : IsMonHom f₁ := inferInstance |
| 46 | have h₂ : IsMonHom f₂ := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso_isMonHom _ _ |
| 47 | exact @CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ f₀ _ h₀ |
| 48 | (@CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ f₁ _ h₁ |
| 49 | (@CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ f₂ _ h₂ (Q.comparison_group i))) |
| 50 | |
| 51 | def ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadModelField (i : Fin D.objects) : (M i).field →+* R.base.extension.carrier := |
| 52 | (algebraMap Q.field R.base.extension.carrier).comp (Q.modelField i) |
| 53 | |
| 54 | theorem ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadModelField_compatible (i : Fin D.objects) : |
| 55 | R.base.embedding.comp (Q.spreadModelField R i) = (M i).field.subtype := |
| 56 | (RingHom.comp_assoc _ _ _).symm.trans |
| 57 | ((congrArg (fun κ => κ.comp (Q.modelField i)) R.base.embedding_extends).trans |
| 58 | (Q.field_compatible i)) |
| 59 | |
| 60 | def ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadGenericModelComparison (i : Fin D.objects) : |
| 61 | ((R.abelian i).pullback R.base.generic).scheme ≅ |
| 62 | ((M i).abelian.pullback (Spec.map (CommRingCat.ofHom (Q.spreadModelField R i)))).scheme := |
| 63 | R.genericIso i ≪≫ (Over.pullback R.base.fieldExtension).mapIso (Q.modelComparison i) ≪≫ |
| 64 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso (M i).abelian.scheme |
| 65 | (Spec.map (CommRingCat.ofHom (Q.modelField i))) R.base.fieldExtension |
| 66 | (Spec.map (CommRingCat.ofHom (Q.spreadModelField R i))) (by |
| 67 | change Spec.map (CommRingCat.ofHom (algebraMap Q.field R.base.extension.carrier)) ≫ |
| 68 | Spec.map (CommRingCat.ofHom (Q.modelField i)) = _ |
| 69 | rw [← Spec.map_comp] |
| 70 | rfl) |
| 71 | |
| 72 | theorem ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadGenericModelComparison_group (i : Fin D.objects) : |
| 73 | IsMonHom (Q.spreadGenericModelComparison R i).hom := by |
| 74 | let : IsMonHom (Q.modelComparison i).hom := Q.modelComparison_group i |
| 75 | let h₁ : IsMonHom ((Over.pullback R.base.fieldExtension).map (Q.modelComparison i).hom) := |
| 76 | inferInstance |
| 77 | exact @CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ _ _ (R.genericGroup i) |
| 78 | (@CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ _ _ h₁ |
| 79 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_isMonHom _ _ _ _ _)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | /-! Every arrow of the spread diagram recovers the specified complex |
| 84 | arrow through the complete arithmetic and complex comparison. -/ |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 87 | |
| 88 | theorem ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel.spreadComplexComparison_compatible |
| 89 | {D : ArithmeticComplexDiagrams.FiniteComplexAbelianDiagram} {M : ∀ i, AbelianArithmeticModels.AbelianNumberFieldModel (D.abelian i)} |
| 90 | (Q : ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel D M) (R : AbelianDiagramSpreading.SpreadFiniteAbelianDiagram Q.diagram Q.embedding) |
| 91 | (a : Fin D.arrows) : |
| 92 | (Over.pullback R.base.complexPoint).map (R.map a) ≫ |
| 93 | (Q.spreadComplexComparison R (D.target a)).hom = |
| 94 | (Q.spreadComplexComparison R (D.source a)).hom ≫ D.map a := by |
| 95 | let Fc := Over.pullback (Spec.map (CommRingCat.ofHom R.base.embedding)) |
| 96 | let Fg := Over.pullback R.base.generic |
| 97 | let Ff := Over.pullback R.base.fieldExtension |
| 98 | let Fq := Over.pullback (Spec.map (CommRingCat.ofHom Q.embedding)) |
| 99 | let c₀ i := (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.compositeIso (R.abelian i).scheme R.base.generic |
| 100 | (Spec.map (CommRingCat.ofHom R.base.embedding))).hom |
| 101 | let c₁ i := Fc.map (R.genericIso i).hom |
| 102 | let c₂ i := (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso R.base (Q.abelian i).scheme).hom |
| 103 | have h₀ : CommSq ((Over.pullback R.base.complexPoint).map (R.map a)) |
| 104 | (c₀ (D.source a)) (c₀ (D.target a)) (Fc.map (Fg.map (R.map a))) := |
| 105 | ⟨(Over.pullbackComp (Spec.map (CommRingCat.ofHom R.base.embedding)) |
| 106 | R.base.generic).hom.naturality (R.map a)⟩ |
| 107 | have h₁ : CommSq (Fc.map (Fg.map (R.map a))) (c₁ (D.source a)) (c₁ (D.target a)) |
| 108 | (Fc.map (Ff.map (Q.map a))) := by |
| 109 | constructor |
| 110 | have h := congrArg Fc.map (R.compatible a) |
| 111 | simp only [Functor.map_comp] at h |
| 112 | exact h |
| 113 | have h₂ : CommSq (Fc.map (Ff.map (Q.map a))) (c₂ (D.source a)) (c₂ (D.target a)) |
| 114 | (Fq.map (Q.map a)) := |
| 115 | ⟨(IntegralModel.Arithmetic.ComplexComparison.GroupBaseChange.arithmeticComplexNatIso R.base).hom.naturality (Q.map a)⟩ |
| 116 | have h₃ : CommSq (Fq.map (Q.map a)) (Q.comparison (D.source a)).hom |
| 117 | (Q.comparison (D.target a)).hom (D.map a) := ⟨Q.compatible a⟩ |
| 118 | exact (h₀.vert_comp (h₁.vert_comp (h₂.vert_comp h₃))).w |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.PELModuli.CMPoints |