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.AbelianModuli.HilbertConstruction.Directed.FamilyHomGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.LawsBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.GroupObjectClassifier |
| 4 | |
| 5 | /-! # Open Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.OpenDescent.FamilyGroupOperations |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual commutative group operations descend on a locally directed |
| 12 | open cover. All six group laws are reflected by the native pullbacks. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {X : Over S} |
| 20 | |
| 21 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations.FamilyGroupOperations.laws_of_openCover (D : Operations.FamilyGroupOperations X) (C : S.OpenCover.{u}) |
| 22 | (h : ∀ i, (D.baseChange (C.f i)).Laws) : D.Laws := by |
| 23 | have hm i : D.MappedLaws (Over.pullback (C.f i)) := |
| 24 | (D.map_laws_iff (Over.pullback (C.f i))).mp (h i) |
| 25 | exact ⟨HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C _ _ (fun i => (hm i).one_mul), |
| 26 | HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C _ _ (fun i => (hm i).mul_one), |
| 27 | HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C _ _ (fun i => (hm i).mul_assoc), |
| 28 | HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C _ _ (fun i => (hm i).left_inv), |
| 29 | HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C _ _ (fun i => (hm i).right_inv), |
| 30 | HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C _ _ (fun i => (hm i).mul_comm)⟩ |
| 31 | |
| 32 | variable (C : S.OpenCover.{u}) [Category C.I₀] [C.LocallyDirected] |
| 33 | (D : ∀ i, Operations.FamilyGroupOperations ((Over.pullback (C.f i)).obj X)) |
| 34 | (hD : ∀ {i j : C.I₀} (f : i ⟶ j), |
| 35 | (D j).geometricBaseChange (Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) = D i) |
| 36 | |
| 37 | private abbrev data (i : C.I₀) := |
| 38 | (Intrinsic.FamilyOperationData.familyOperationDataEquiv X (Directed.FamilyHomGluing.DirectedFamilyHomGluing.test C i)).symm (D i) |
| 39 | |
| 40 | include hD in |
| 41 | private theorem data_natural {i j : C.I₀} (f : i ⟶ j) : |
| 42 | ((Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) (data C D j).1.1, |
| 43 | Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) (data C D j).1.2), |
| 44 | Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f ≫ (data C D j).2) = data C D i := by |
| 45 | apply (Intrinsic.FamilyOperationData.familyOperationDataEquiv X (Directed.FamilyHomGluing.DirectedFamilyHomGluing.test C i)).injective |
| 46 | have hn := Geometric.GeometricFamilyGroupOperations.familyOperationData_geometricBaseChange (Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) |
| 47 | (data C D j).1.1 (data C D j).1.2 (data C D j).2 |
| 48 | rw [Equiv.apply_symm_apply] at hn |
| 49 | exact hn.symm.trans ((hD f).trans (Equiv.apply_symm_apply _ _).symm) |
| 50 | |
| 51 | include hD in |
| 52 | private theorem mul_natural {i j : C.I₀} (f : i ⟶ j) : |
| 53 | Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) (data C D j).1.1 = |
| 54 | (data C D i).1.1 := congrArg (fun x => x.1.1) (data_natural C D hD f) |
| 55 | |
| 56 | include hD in |
| 57 | private theorem inv_natural {i j : C.I₀} (f : i ⟶ j) : |
| 58 | Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (Directed.FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) (data C D j).1.2 = |
| 59 | (data C D i).1.2 := congrArg (fun x => x.1.2) (data_natural C D hD f) |
| 60 | |
| 61 | include hD in |
| 62 | private theorem unit_natural {i j : C.I₀} (f : i ⟶ j) : |
| 63 | C.trans f ≫ (data C D j).2.left = (data C D i).2.left := |
| 64 | congrArg (fun x => x.2.left) (data_natural C D hD f) |
| 65 | |
| 66 | private def descendedUnit : 𝟙_ (Over S) ⟶ X := |
| 67 | Over.homMk |
| 68 | (C.glueMorphismsOfLocallyDirected (fun i => (data C D i).2.left) |
| 69 | (unit_natural C D hD)) (by |
| 70 | apply C.hom_ext |
| 71 | intro i |
| 72 | rw [← Category.assoc, C.map_glueMorphismsOfLocallyDirected, (data C D i).2.w] |
| 73 | change C.f i = C.f i ≫ 𝟙 S |
| 74 | exact (Category.comp_id _).symm) |
| 75 | |
| 76 | /-- The three actual scheme maps obtained by open-cover descent. -/ |
| 77 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations.FamilyGroupOperations.descend : Operations.FamilyGroupOperations X where |
| 78 | unit := descendedUnit C D hD |
| 79 | mul := Directed.FamilyHomGluing.DirectedFamilyHomGluing.glue C (X ⊗ X) X |
| 80 | (fun i => (data C D i).1.1) (mul_natural C D hD) |
| 81 | inv := Directed.FamilyHomGluing.DirectedFamilyHomGluing.glue C X X |
| 82 | (fun i => (data C D i).1.2) (inv_natural C D hD) |
| 83 | |
| 84 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations.FamilyGroupOperations.descend_baseChange (i : C.I₀) : |
| 85 | (Operations.FamilyGroupOperations.descend C D hD).baseChange (C.f i) = D i := by |
| 86 | have he := (Intrinsic.FamilyOperationData.familyOperationDataEquiv X (Directed.FamilyHomGluing.DirectedFamilyHomGluing.test C i)).apply_symm_apply (D i) |
| 87 | apply Operations.FamilyGroupOperations.ext |
| 88 | · have heU := congrArg Operations.FamilyGroupOperations.unit he |
| 89 | apply Over.OverMorphism.ext |
| 90 | apply pullback.hom_ext |
| 91 | · change ((Functor.LaxMonoidal.ε (Over.pullback (C.f i))).left ≫ |
| 92 | ((Over.pullback (C.f i)).map (descendedUnit C D hD)).left) ≫ |
| 93 | pullback.fst X.hom (C.f i) = (D i).unit.left ≫ pullback.fst X.hom (C.f i) |
| 94 | rw [Category.assoc, Pullback.Comparisons.overPullback_map_left_fst, ← Category.assoc] |
| 95 | change ((Functor.LaxMonoidal.ε (Over.pullback (C.f i))).left ≫ |
| 96 | pullback.fst (𝟙 S) (C.f i)) ≫ (descendedUnit C D hD).left = _ |
| 97 | rw [Family.PointSectionNaturality.pullbackUnitComparison_fst] |
| 98 | have hg : C.f i ≫ (descendedUnit C D hD).left = (data C D i).2.left := |
| 99 | C.map_glueMorphismsOfLocallyDirected (fun i => (data C D i).2.left) |
| 100 | (unit_natural C D hD) i |
| 101 | exact hg.trans ((Family.PointSectionNaturality.familyPointSection_fst X (data C D i).2).symm.trans |
| 102 | (congrArg (fun q => q.left ≫ pullback.fst X.hom (C.f i)) heU)) |
| 103 | · exact ((Operations.FamilyGroupOperations.descend C D hD).baseChange (C.f i)).unit.w.trans (D i).unit.w.symm |
| 104 | · have hm := Directed.FamilyHomGluing.DirectedFamilyHomGluing.glue_pullback C (X ⊗ X) X |
| 105 | (fun i => (data C D i).1.1) (mul_natural C D hD) i |
| 106 | change (Functor.LaxMonoidal.μ (Over.pullback (C.f i)) X X) ≫ |
| 107 | (Over.pullback (C.f i)).map (Operations.FamilyGroupOperations.descend C D hD).mul = (D i).mul |
| 108 | rw [show (Over.pullback (C.f i)).map (Operations.FamilyGroupOperations.descend C D hD).mul = (data C D i).1.1 from hm] |
| 109 | exact congrArg Operations.FamilyGroupOperations.mul he |
| 110 | · exact Directed.FamilyHomGluing.DirectedFamilyHomGluing.glue_pullback C X X |
| 111 | (fun i => (data C D i).1.2) (inv_natural C D hD) i |
| 112 | |
| 113 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations.FamilyGroupOperations.descend_laws (h : ∀ i, (D i).Laws) : (Operations.FamilyGroupOperations.descend C D hD).Laws := by |
| 114 | apply Operations.FamilyGroupOperations.laws_of_openCover _ C |
| 115 | intro i |
| 116 | rw [Operations.FamilyGroupOperations.descend_baseChange C D hD i] |
| 117 | exact h i |
| 118 | |
| 119 | /-- The resulting genuine commutative group object. -/ |
| 120 | @[instance_reducible] def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations.FamilyGroupOperations.descendGroup (h : ∀ i, (D i).Laws) : GrpObj X := |
| 121 | (Operations.FamilyGroupOperations.descend C D hD).groupObj (Operations.FamilyGroupOperations.descend_laws C D hD h) |
| 122 | |
| 123 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations.FamilyGroupOperations.descendGroup_commutative (h : ∀ i, (D i).Laws) : |
| 124 | letI := Operations.FamilyGroupOperations.descendGroup C D hD h |
| 125 | IsCommMonObj X := |
| 126 | (Operations.FamilyGroupOperations.descend C D hD).groupObj_comm (Operations.FamilyGroupOperations.descend_laws C D hD h) |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.OpenDescent.FamilyGroupOperations |