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.ConstantScheme.Iff |
| 2 | |
| 3 | /-! # Constant Point Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ConstantPointMap.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual maps from a constant scheme into a scheme over the same |
| 10 | base are determined by their base-valued points. This supplies the |
| 11 | geometric map associated with the constructed torsion coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 14 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff |
| 15 | |
| 16 | universe u |
| 17 | variable (S : Scheme.{u}) (I : Type u) (A : Over S) |
| 18 | |
| 19 | def point (i : I) : Over.mk (𝟙 S) ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I := |
| 20 | Over.homMk (Sigma.ι (fun _ : I => S) i) (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom i) |
| 21 | |
| 22 | def ofPoints (p : I → (Over.mk (𝟙 S) ⟶ A)) : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ⟶ A := |
| 23 | Over.homMk (Sigma.desc (fun i => (p i).left)) (by |
| 24 | apply Sigma.hom_ext |
| 25 | intro i |
| 26 | exact ((Category.assoc _ _ _).symm.trans |
| 27 | ((congrArg (fun z : S ⟶ A.left => z ≫ A.hom) (Sigma.ι_comp_desc _ _)).trans |
| 28 | (p i).w)).trans (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom i).symm) |
| 29 | |
| 30 | @[reassoc] |
| 31 | theorem point_ofPoints (p : I → (Over.mk (𝟙 S) ⟶ A)) (i : I) : |
| 32 | point S I i ≫ ofPoints S I A p = p i := by |
| 33 | apply Over.OverMorphism.ext |
| 34 | exact Sigma.ι_comp_desc _ _ |
| 35 | |
| 36 | theorem hom_ext (f g : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ⟶ A) |
| 37 | (h : ∀ i, point S I i ≫ f = point S I i ≫ g) : f = g := by |
| 38 | apply Over.OverMorphism.ext |
| 39 | apply Sigma.hom_ext |
| 40 | intro i |
| 41 | exact congrArg (fun z : Over.mk (𝟙 S) ⟶ A => z.left) (h i) |
| 42 | |
| 43 | theorem ofPoints_on_constant (p : I → (Over.mk (𝟙 S) ⟶ A)) |
| 44 | (T : Over S) (x : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I) (i : I) |
| 45 | (hx : ∀ t, AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T x t = i) : |
| 46 | x ≫ ofPoints S I A p = Over.homMk T.hom (Category.comp_id T.hom) ≫ p i := by |
| 47 | apply Over.OverMorphism.ext |
| 48 | change x.left ≫ (ofPoints S I A p).left = T.hom ≫ (p i).left |
| 49 | calc |
| 50 | x.left ≫ (ofPoints S I A p).left = |
| 51 | ((x.left ≫ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).hom) ≫ Sigma.ι (fun _ : I => S) i) ≫ |
| 52 | (ofPoints S I A p).left := |
| 53 | congrArg (fun z => z ≫ (ofPoints S I A p).left) (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_factor x.left i hx) |
| 54 | _ = T.hom ≫ (Sigma.ι (fun _ : I => S) i ≫ (ofPoints S I A p).left) := by |
| 55 | rw [x.w] |
| 56 | exact Category.assoc _ _ _ |
| 57 | _ = T.hom ≫ (p i).left := |
| 58 | congrArg (fun z => T.hom ≫ z) |
| 59 | (congrArg (fun z : Over.mk (𝟙 S) ⟶ A => z.left) (point_ofPoints S I A p i)) |
| 60 | |
| 61 | def mapsEquiv : (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ⟶ A) ≃ (I → (Over.mk (𝟙 S) ⟶ A)) where |
| 62 | toFun f i := point S I i ≫ f |
| 63 | invFun := ofPoints S I A |
| 64 | left_inv f := CM.hom_ext S I A _ _ (point_ofPoints S I A (fun i => point S I i ≫ f)) |
| 65 | right_inv p := funext (point_ofPoints S I A p) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ConstantPointMap.CM |