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.Quotients.FiniteDescent.CubeProductBase |
| 2 | |
| 3 | /-! # Cube Product Eq -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductEq |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Any three morphisms to the group give a map to the product used for |
| 10 | the universal cube class. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace Construction.CubeProductLift |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates |
| 21 | |
| 22 | variable {K : Type u} [Field K] (A : Over (Spec (.of K))) {T : Over (Spec (.of K))} |
| 23 | variable (a b c : T ⟶ A) |
| 24 | |
| 25 | def pair (a c : T ⟶ A) : T.left ⟶ pullback A.hom A.hom := |
| 26 | pullback.lift a.left c.left (a.w.trans c.w.symm) |
| 27 | |
| 28 | def map : T.left ⟶ CubeProductBase.Construction.CubeProductCoordinates.total A A.hom A.hom := |
| 29 | pullback.lift (pair A a c) (pair A b c) (by |
| 30 | simp only [pair, CubeProductBase.Construction.CubeProductCoordinates.leftBase, CubeProductBase.Construction.CubeProductCoordinates.rightBase, pullback.lift_snd]) |
| 31 | |
| 32 | theorem first_projection : map A a b c ≫ |
| 33 | pullback.fst (CubeProductBase.Construction.CubeProductCoordinates.leftBase A A.hom) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A A.hom) ≫ pullback.fst A.hom A.hom = a.left := by |
| 34 | simp only [map, pair, pullback.lift_fst_assoc, pullback.lift_fst] |
| 35 | |
| 36 | theorem second_projection : map A a b c ≫ |
| 37 | pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A A.hom) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A A.hom) ≫ pullback.fst A.hom A.hom = b.left := by |
| 38 | simp only [map, pair, pullback.lift_snd_assoc, pullback.lift_fst] |
| 39 | |
| 40 | theorem third_projection : map A a b c ≫ CubeProductBase.Construction.CubeProductCoordinates.projection A A.hom A.hom = c.left := by |
| 41 | simp only [map, CubeProductBase.Construction.CubeProductCoordinates.projection, pair, pullback.lift_fst_assoc, CubeProductBase.Construction.CubeProductCoordinates.leftBase, pullback.lift_snd] |
| 42 | |
| 43 | def hom : T ⟶ CubeProductBase.Construction.CubeProductCoordinates.ambient A A.hom A.hom := Over.homMk (map A a b c) (by |
| 44 | change map A a b c ≫ (CubeProductBase.Construction.CubeProductCoordinates.projection A A.hom A.hom ≫ A.hom) = T.hom |
| 45 | rw [← Category.assoc, third_projection] |
| 46 | exact c.w) |
| 47 | |
| 48 | theorem first_eq : CubeProductLift.hom A a b c ≫ CubeProductBase.Construction.CubeProductCoordinates.first A A.hom A.hom (𝟙 A.left) (Category.id_comp _) = a := by |
| 49 | apply Over.OverMorphism.ext |
| 50 | change map A a b c ≫ (_ ≫ _ ≫ 𝟙 A.left) = a.left |
| 51 | rw [Category.comp_id, first_projection] |
| 52 | |
| 53 | theorem second_eq : CubeProductLift.hom A a b c ≫ CubeProductBase.Construction.CubeProductCoordinates.second A A.hom A.hom (𝟙 A.left) (Category.id_comp _) = b := by |
| 54 | apply Over.OverMorphism.ext |
| 55 | change map A a b c ≫ (_ ≫ _ ≫ 𝟙 A.left) = b.left |
| 56 | rw [Category.comp_id, second_projection] |
| 57 | |
| 58 | theorem third_eq : CubeProductLift.hom A a b c ≫ CubeProductBase.Construction.CubeProductCoordinates.third A A.hom A.hom = c := |
| 59 | Over.OverMorphism.ext (third_projection A a b c) |
| 60 | |
| 61 | end Construction.CubeProductLift |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductEq |