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.CubeLeft |
| 2 | |
| 3 | /-! # Cube Right -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeRight |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Replacement of the second cube factor and its injective pullback on |
| 10 | Picard groups, including compatibility with the cube coordinates. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.CubeRightFactorMap |
| 20 | |
| 21 | variable {K : Type u} [Field K] (A : Over (Spec (.of K))) |
| 22 | variable {B C C' : Scheme.{u}} (b : B ⟶ Spec (.of K)) (c : C ⟶ Spec (.of K)) (q : C' ⟶ C) |
| 23 | |
| 24 | abbrev family := ProductMap.Construction.ProductMapSquares.left c A.hom (q ≫ c) q rfl |
| 25 | |
| 26 | def map : CubeProductBase.Construction.CubeProductCoordinates.total A b (q ≫ c) ⟶ CubeProductBase.Construction.CubeProductCoordinates.total A b c := |
| 27 | ProductMap.Construction.ProductMapSquares.right (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A (q ≫ c)) |
| 28 | (family A c q) (ProductMap.Construction.ProductMapSquares.left_second c A.hom (q ≫ c) q rfl) |
| 29 | |
| 30 | theorem over_base : map A b c q ≫ CubeProductBase.Construction.CubeProductCoordinates.projection A b c = CubeProductBase.Construction.CubeProductCoordinates.projection A b (q ≫ c) := by |
| 31 | change ProductMap.Construction.ProductMapSquares.right _ _ _ _ _ ≫ (_ ≫ CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) = _ |
| 32 | rw [← Category.assoc, ProductMap.Construction.ProductMapSquares.right_first] |
| 33 | |
| 34 | def hom : CubeProductBase.Construction.CubeProductCoordinates.ambient A b (q ≫ c) ⟶ CubeProductBase.Construction.CubeProductCoordinates.ambient A b c := |
| 35 | Over.homMk (map A b c q) (by |
| 36 | change map A b c q ≫ (CubeProductBase.Construction.CubeProductCoordinates.projection A b c ≫ A.hom) = CubeProductBase.Construction.CubeProductCoordinates.projection A b (q ≫ c) ≫ A.hom |
| 37 | rw [← Category.assoc, over_base]) |
| 38 | |
| 39 | theorem first_projection : map A b c q ≫ pullback.fst (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) = |
| 40 | pullback.fst (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A (q ≫ c)) := ProductMap.Construction.ProductMapSquares.right_first _ _ _ _ _ |
| 41 | |
| 42 | theorem second_projection : map A b c q ≫ |
| 43 | pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ pullback.fst c A.hom = |
| 44 | pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A (q ≫ c)) ≫ pullback.fst (q ≫ c) A.hom ≫ q := by |
| 45 | change ProductMap.Construction.ProductMapSquares.right _ _ _ _ _ ≫ (_ ≫ _) = _ |
| 46 | rw [← Category.assoc, ProductMap.Construction.ProductMapSquares.right_second, Category.assoc, ProductMap.Construction.ProductMapSquares.left_first] |
| 47 | |
| 48 | theorem cartesian : IsPullback |
| 49 | (pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A (q ≫ c)) ≫ pullback.fst (q ≫ c) A.hom) |
| 50 | (map A b c q) q |
| 51 | (pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ pullback.fst c A.hom) := |
| 52 | (ProductMap.Construction.ProductMapSquares.right_isPullback (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A (q ≫ c)) |
| 53 | (family A c q) (ProductMap.Construction.ProductMapSquares.left_second c A.hom (q ≫ c) q rfl)).paste_horiz |
| 54 | (ProductMap.Construction.ProductMapSquares.left_isPullback c A.hom (q ≫ c) q rfl) |
| 55 | |
| 56 | theorem picard_injective [NoetherianSpace C'] (hq : ∀ U : C.Opens, IsIso (q.app U)) : |
| 57 | Function.Injective (PicardPullbackId.Construction.PicardPullback.map (map A b c q)) := by |
| 58 | have : Flat (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) := inferInstanceAs (Flat (pullback.snd b A.hom)) |
| 59 | have : Flat (pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c)) := inferInstance |
| 60 | have : Flat (pullback.fst c A.hom) := inferInstance |
| 61 | exact Picard.Construction.PicardDescent.injective (map A b c q) |
| 62 | (FlatBase.Construction.FlatBaseChangeFunctions.iso q |
| 63 | (pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ pullback.fst c A.hom) |
| 64 | (pullback.snd (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A (q ≫ c)) ≫ pullback.fst (q ≫ c) A.hom) |
| 65 | (map A b c q) (cartesian A b c q) hq) |
| 66 | |
| 67 | variable (u : B ⟶ A.left) (hu : u ≫ A.hom = b) (v : C ⟶ A.left) (hv : v ≫ A.hom = c) |
| 68 | |
| 69 | lemma first_eq : CubeRightFactorMap.hom A b c q ≫ CubeProductBase.Construction.CubeProductCoordinates.first A b c u hu = CubeProductBase.Construction.CubeProductCoordinates.first A b (q ≫ c) u hu := by |
| 70 | apply Over.OverMorphism.ext |
| 71 | change map A b c q ≫ (_ ≫ _ ≫ u) = _ |
| 72 | rw [← Category.assoc, first_projection] |
| 73 | rfl |
| 74 | |
| 75 | lemma second_eq : CubeRightFactorMap.hom A b c q ≫ CubeProductBase.Construction.CubeProductCoordinates.second A b c v hv = |
| 76 | CubeProductBase.Construction.CubeProductCoordinates.second A b (q ≫ c) (q ≫ v) (by rw [Category.assoc, hv]) := by |
| 77 | apply Over.OverMorphism.ext |
| 78 | change map A b c q ≫ (_ ≫ _ ≫ v) = _ |
| 79 | rw [← Category.assoc _ _ v, ← Category.assoc _ _ v, second_projection] |
| 80 | simp only [CubeProductBase.Construction.CubeProductCoordinates.second, Category.assoc] |
| 81 | rfl |
| 82 | |
| 83 | lemma third_eq : CubeRightFactorMap.hom A b c q ≫ CubeProductBase.Construction.CubeProductCoordinates.third A b c = CubeProductBase.Construction.CubeProductCoordinates.third A b (q ≫ c) := |
| 84 | Over.OverMorphism.ext (over_base A b c q) |
| 85 | |
| 86 | variable [GrpObj A] |
| 87 | |
| 88 | theorem cube (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) : |
| 89 | PicardPullbackId.Construction.PicardPullback.map (map A b c q) |
| 90 | (CubePicardValue.Construction.CubePicardClass.cube A L (CubeProductBase.Construction.CubeProductCoordinates.first A b c u hu) (CubeProductBase.Construction.CubeProductCoordinates.second A b c v hv) (CubeProductBase.Construction.CubeProductCoordinates.third A b c)) = |
| 91 | CubePicardValue.Construction.CubePicardClass.cube A L (CubeProductBase.Construction.CubeProductCoordinates.first A b (q ≫ c) u hu) |
| 92 | (CubeProductBase.Construction.CubeProductCoordinates.second A b (q ≫ c) (q ≫ v) (by rw [Category.assoc, hv])) (CubeProductBase.Construction.CubeProductCoordinates.third A b (q ≫ c)) := by |
| 93 | change PicardPullbackId.Construction.PicardPullback.map (CubeRightFactorMap.hom A b c q).left _ = _ |
| 94 | rw [CubePicardValue.Construction.CubePicardClass.pullback, first_eq, second_eq, third_eq] |
| 95 | |
| 96 | end Construction.CubeRightFactorMap |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeRight |