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 Mathlib.AlgebraicGeometry.Pullbacks |
| 2 | |
| 3 | /-! # Section Fibers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.SectionFibers |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inserting a section in one factor identifies the corresponding fiber of a fiber product. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y S : Scheme.{u}} |
| 16 | |
| 17 | def productRightFiberInclusion (p : X ⟶ S) (q : Y ⟶ S) (y : S ⟶ Y) (hy : y ≫ q = 𝟙 _) : |
| 18 | X ⟶ pullback p q := |
| 19 | pullback.lift (𝟙 X) (p ≫ y) (by rw [Category.id_comp, Category.assoc, hy, Category.comp_id]) |
| 20 | |
| 21 | theorem productRightFiberInclusion_fst (p : X ⟶ S) (q : Y ⟶ S) (y : S ⟶ Y) (hy : y ≫ q = 𝟙 _) : |
| 22 | productRightFiberInclusion p q y hy ≫ pullback.fst p q = 𝟙 X := pullback.lift_fst _ _ _ |
| 23 | |
| 24 | theorem productRightFiberInclusion_snd (p : X ⟶ S) (q : Y ⟶ S) (y : S ⟶ Y) (hy : y ≫ q = 𝟙 _) : |
| 25 | productRightFiberInclusion p q y hy ≫ pullback.snd p q = p ≫ y := pullback.lift_snd _ _ _ |
| 26 | |
| 27 | theorem productRightFiberInclusion_isPullback (p : X ⟶ S) (q : Y ⟶ S) |
| 28 | (y : S ⟶ Y) (hy : y ≫ q = 𝟙 _) : |
| 29 | IsPullback (productRightFiberInclusion p q y hy) p (pullback.snd p q) y := by |
| 30 | have H : IsPullback (productRightFiberInclusion p q y hy ≫ pullback.fst p q) p p (y ≫ q) := by |
| 31 | rw [productRightFiberInclusion_fst, hy] |
| 32 | exact IsPullback.of_id_fst |
| 33 | exact H.of_right (productRightFiberInclusion_snd p q y hy) (IsPullback.of_hasPullback p q) |
| 34 | |
| 35 | def productLeftSection (p : X ⟶ S) (q : Y ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 _) : |
| 36 | Y ⟶ pullback p q := |
| 37 | pullback.lift (q ≫ x) (𝟙 Y) (by rw [Category.assoc, hx, Category.comp_id, Category.id_comp]) |
| 38 | |
| 39 | theorem productLeftSection_snd (p : X ⟶ S) (q : Y ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 _) : |
| 40 | productLeftSection p q x hx ≫ pullback.snd p q = 𝟙 Y := pullback.lift_snd _ _ _ |
| 41 | |
| 42 | theorem productLeftSection_fst (p : X ⟶ S) (q : Y ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 _) : |
| 43 | productLeftSection p q x hx ≫ pullback.fst p q = q ≫ x := pullback.lift_fst _ _ _ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.SectionFibers |