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.AbelianScheme.TateComparison.ConstantGroup |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceLaws |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.OverCoproduct |
| 4 | |
| 5 | /-! # Component Constant Factorization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ComponentConstantFactorization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Correspondence trace preserves maps that factor through a constant |
| 14 | group scheme, and these maps vanish on connected-source differences. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConstantBaseChange.ConstantGroupModels |
| 20 | |
| 21 | variable {k : Type} [Field k] {A X : Over (Spec (.of k))} [GrpObj A] [IsCommMonObj A] |
| 22 | |
| 23 | def constantGroupEvaluation : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of k)) ⟶ A) ⟶ A := |
| 24 | AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.sectionsMap (fun a => a) |
| 25 | |
| 26 | instance constantGroupEvaluation_isMonHom : IsMonHom (constantGroupEvaluation (A := A)) := |
| 27 | PELModuli.IntegralModel.ConstantBaseChange.ConstantGroupModels.sectionsMap_isMonHom (S := Spec (.of k)) (H := A) |
| 28 | (MonoidHom.id (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of k)) ⟶ A)) |
| 29 | |
| 30 | def FactorsThroughConstantGroup (f : X ⟶ A) : Prop := |
| 31 | ∃ c : X ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of k)) ⟶ A), |
| 32 | c ≫ constantGroupEvaluation = f |
| 33 | |
| 34 | theorem constantScheme_preconnected_differences {I : Type} {Y : Over (Spec (.of k))} |
| 35 | [PreconnectedSpace Y.left] (f : Y ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I) |
| 36 | {T : Over (Spec (.of k))} (x y : T ⟶ Y) : x ≫ f = y ≫ f := by |
| 37 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) I T).injective |
| 38 | apply LocallyConstant.ext |
| 39 | intro z |
| 40 | exact (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint Y f).isLocallyConstant.apply_eq_of_preconnectedSpace (x.left z) (y.left z) |
| 41 | |
| 42 | omit [GrpObj A] [IsCommMonObj A] in |
| 43 | theorem FactorsThroughConstantGroup.differences {f : X ⟶ A} |
| 44 | (hf : FactorsThroughConstantGroup f) {Y : Over (Spec (.of k))} |
| 45 | [PreconnectedSpace Y.left] (i : Y ⟶ X) {T : Over (Spec (.of k))} (x y : T ⟶ Y) : |
| 46 | x ≫ i ≫ f = y ≫ i ≫ f := by |
| 47 | obtain ⟨c, rfl⟩ := hf |
| 48 | have he := constantScheme_preconnected_differences (i ≫ c) x y |
| 49 | simpa only [Category.assoc] using congrArg (fun z => z ≫ constantGroupEvaluation) he |
| 50 | |
| 51 | theorem FactorsThroughConstantGroup.trace [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 52 | [IsSeparated A.hom] {f : X ⟶ A} (hf : FactorsThroughConstantGroup f) |
| 53 | (C : Correspondences.EtaleCorrespondence X) : FactorsThroughConstantGroup (C.algebraicTrace f) := by |
| 54 | let G := AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of k)) ⟶ A |
| 55 | have : IsCommMonObj (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) G) := ConstantGroup.constantGroup_commutative _ _ |
| 56 | have : IsSeparated (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) G).hom := ConstantGroup.constantFieldScheme_separated G |
| 57 | obtain ⟨c, rfl⟩ := hf |
| 58 | exact ⟨C.algebraicTrace c, (C.algebraicTrace_postcomp c constantGroupEvaluation).symm⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | /-! Componentwise constant maps factor through the actual constant group |
| 63 | scheme of rational points. -/ |
| 64 | |
| 65 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 66 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 67 | |
| 68 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 69 | |
| 70 | theorem overCoproduct_hom_ext {B : Scheme} {I : Type} (U : I → Over B) |
| 71 | {Y : Over B} {f g : OverCoproduct.overCoproduct U ⟶ Y} |
| 72 | (h : ∀ i, OverCoproduct.overCoproductι U i ≫ f = OverCoproduct.overCoproductι U i ≫ g) : f = g := by |
| 73 | apply Over.OverMorphism.ext |
| 74 | apply Sigma.hom_ext |
| 75 | intro i |
| 76 | exact congrArg Over.Hom.left (h i) |
| 77 | |
| 78 | theorem factorsThroughConstantGroup_of_components |
| 79 | {k : Type} [Field k] {I : Type} (U : I → Over (Spec (.of k))) |
| 80 | {X A : Over (Spec (.of k))} [GrpObj A] [IsCommMonObj A] |
| 81 | (e : OverCoproduct.overCoproduct U ≅ X) (f : X ⟶ A) |
| 82 | (c : I → (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of k)) ⟶ A)) |
| 83 | (hf : ∀ i, OverCoproduct.overCoproductι U i ≫ e.hom ≫ f = AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.toBase (U i) ≫ c i) : |
| 84 | FactorsThroughConstantGroup f := by |
| 85 | let l := e.inv ≫ OverCoproduct.overCoproductDesc U (fun i => AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.toBase (U i) ≫ AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.component (Spec (.of k)) (c i)) |
| 86 | refine ⟨l, ?_⟩ |
| 87 | apply (cancel_epi e.hom).mp |
| 88 | apply overCoproduct_hom_ext U |
| 89 | intro i |
| 90 | calc |
| 91 | _ = AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.toBase (U i) ≫ c i := by |
| 92 | simp only [l, Category.assoc, e.hom_inv_id_assoc] |
| 93 | rw [← Category.assoc, OverCoproduct.overCoproductι_desc, Category.assoc] |
| 94 | exact congrArg (fun z => AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.toBase (U i) ≫ z) (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.component_sectionsMap (fun a => a) (c i)) |
| 95 | _ = _ := (hf i).symm |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ComponentConstantFactorization |