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.Picard.PoincareBundle.Vertical.ProductParameters |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.FiberBilinearComposition |
| 3 | |
| 4 | /-! # Parameter Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Vertical.ParameterRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # A global vertical product on the parameter scheme defines all actual fiber products |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.FiberwiseMultiplication OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Fibers OAI.AlgebraicGeometry.Picard.PoincareBundle.Vertical.ProductParameters |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A X : Over S} |
| 23 | |
| 24 | /-- The genuine parameter point associated with two product inputs. -/ |
| 25 | def parameter {T : Over S} (a b : T ⟶ A ⊗ X) : T ⟶ A ⊗ (X ⊗ X) := |
| 26 | lift (a ≫ fst A X) (lift (a ≫ snd A X) (b ≫ snd A X)) |
| 27 | |
| 28 | /-- The parameter point recovers its first input. -/ |
| 29 | theorem parameter_left {T : Over S} (a b : T ⟶ A ⊗ X) : parameter a b ≫ ProductParameters.inputLeft A X = a := by |
| 30 | apply CartesianMonoidalCategory.hom_ext <;> simp [parameter, ProductParameters.inputLeft] |
| 31 | |
| 32 | /-- Equal fixed coordinates make the same parameter point recover its second input. -/ |
| 33 | theorem parameter_right {T : Over S} (a b : T ⟶ A ⊗ X) (h : a ≫ fst A X = b ≫ fst A X) : |
| 34 | parameter a b ≫ ProductParameters.inputRight A X = b := by |
| 35 | apply CartesianMonoidalCategory.hom_ext <;> simp [parameter, ProductParameters.inputRight, h] |
| 36 | |
| 37 | /-- Parameter points commute with every change of test scheme. -/ |
| 38 | theorem parameter_comp {T U : Over S} (t : U ⟶ T) (a b : T ⟶ A ⊗ X) : |
| 39 | t ≫ parameter a b = parameter (t ≫ a) (t ≫ b) := by |
| 40 | apply CartesianMonoidalCategory.hom_ext |
| 41 | · simp [parameter, Category.assoc] |
| 42 | · apply CartesianMonoidalCategory.hom_ext <;> simp [parameter, Category.assoc] |
| 43 | |
| 44 | variable [GrpObj X] |
| 45 | |
| 46 | /-- The actual product relation makes the output of the parameter point precisely the specified product. -/ |
| 47 | theorem parameter_output {T : Over S} (a b c : T ⟶ A ⊗ X) (h : FiberwiseMultiplication.ProductRel (snd A X) (fst A X) a b c) : |
| 48 | parameter a b ≫ ProductParameters.outputPoint A X = c := by |
| 49 | apply CartesianMonoidalCategory.hom_ext |
| 50 | · simpa [parameter, ProductParameters.outputPoint, Category.assoc] using h.2.2 |
| 51 | · simpa [parameter, ProductParameters.outputPoint, Category.assoc, MonObj.comp_mul] using h.1 |
| 52 | |
| 53 | variable (L : Line.Bundles.LineBundle (A ⊗ X).left) |
| 54 | (β : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap (Line.Fibers.fiber L (ProductParameters.inputLeft A X)) (Line.Fibers.fiber L (ProductParameters.inputRight A X)) (Line.Fibers.fiber L (ProductParameters.outputPoint A X))) |
| 55 | |
| 56 | /-- The actual fiber product associated with the single global product map. -/ |
| 57 | def product {T : Over S} (a b c : T ⟶ A ⊗ X) (h : FiberwiseMultiplication.ProductRel (snd A X) (fst A X) a b c) : |
| 58 | AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap (Line.Fibers.fiber L a) (Line.Fibers.fiber L b) (Line.Fibers.fiber L c) := |
| 59 | Line.Fibers.pullBilinear L (parameter a b) (ProductParameters.inputLeft A X) (ProductParameters.inputRight A X) (ProductParameters.outputPoint A X) a b c |
| 60 | (parameter_left a b) (parameter_right a b h.2.1) (parameter_output a b c h) β |
| 61 | |
| 62 | /-- Invertibility of the genuine global product implies invertibility on every test-scheme fiber. -/ |
| 63 | theorem product_isIso (hβ : IsIso (Bilinear.BilinearPullback.toHom β)) |
| 64 | {T : Over S} (a b c : T ⟶ A ⊗ X) (h : FiberwiseMultiplication.ProductRel (snd A X) (fst A X) a b c) : |
| 65 | IsIso (Bilinear.BilinearPullback.toHom (ParameterRecovery.product L β a b c h)) := by |
| 66 | have hp : IsIso (Bilinear.BilinearPullback.toHom |
| 67 | (Bilinear.BilinearPullback.pullback (parameter a b).left |
| 68 | (Line.Fibers.fiber_isLine L (ProductParameters.inputLeft A X)) (Line.Fibers.fiber_isLine L (ProductParameters.inputRight A X)) β)) := by |
| 69 | rw [Bilinear.BilinearPullback.toHom_pullback] |
| 70 | unfold Bilinear.BilinearPullback.pulledHom |
| 71 | infer_instance |
| 72 | unfold ParameterRecovery.product Line.Fibers.pullBilinear |
| 73 | rw [Bilinear.Transport.toHom_transport] |
| 74 | infer_instance |
| 75 | |
| 76 | omit [GrpObj X] in |
| 77 | /-- Equal parameter maps induce the same actual fiber product, with all composition proofs retained. -/ |
| 78 | theorem pullBilinear_congr {T K : Over S} (p q : T ⟶ K) (hpq : p = q) |
| 79 | (a b c : K ⟶ A ⊗ X) (a' b' c' : T ⟶ A ⊗ X) |
| 80 | (ha : p ≫ a = a') (hb : p ≫ b = b') (hc : p ≫ c = c') |
| 81 | (ha' : q ≫ a = a') (hb' : q ≫ b = b') (hc' : q ≫ c = c') |
| 82 | (γ : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap (Line.Fibers.fiber L a) (Line.Fibers.fiber L b) (Line.Fibers.fiber L c)) : |
| 83 | Line.Fibers.pullBilinear L p a b c a' b' c' ha hb hc γ = Line.Fibers.pullBilinear L q a b c a' b' c' ha' hb' hc' γ := by |
| 84 | cases hpq |
| 85 | rfl |
| 86 | |
| 87 | /-- The fiber products recovered from a global product commute with every test-scheme pullback. -/ |
| 88 | theorem product_natural {T U : Over S} (t : U ⟶ T) (a b c : T ⟶ A ⊗ X) |
| 89 | (h : FiberwiseMultiplication.ProductRel (snd A X) (fst A X) a b c) (a' b' c' : U ⟶ A ⊗ X) |
| 90 | (h' : FiberwiseMultiplication.ProductRel (snd A X) (fst A X) a' b' c') |
| 91 | (ha : t ≫ a = a') (hb : t ≫ b = b') (hc : t ≫ c = c') : |
| 92 | Line.Fibers.pullBilinear L t a b c a' b' c' ha hb hc (ParameterRecovery.product L β a b c h) = ParameterRecovery.product L β a' b' c' h' := by |
| 93 | have hp : t ≫ parameter a b = parameter a' b' := by rw [parameter_comp, ha, hb] |
| 94 | unfold ParameterRecovery.product |
| 95 | rw [FiberBilinearComposition.pullBilinear_comp |
| 96 | (hx'' := (congrArg (fun v => v ≫ ProductParameters.inputLeft A X) hp).trans (parameter_left a' b')) |
| 97 | (hy'' := (congrArg (fun v => v ≫ ProductParameters.inputRight A X) hp).trans (parameter_right a' b' h'.2.1)) |
| 98 | (hz'' := (congrArg (fun v => v ≫ ProductParameters.outputPoint A X) hp).trans (parameter_output a' b' c' h'))] |
| 99 | exact pullBilinear_congr L _ _ hp _ _ _ _ _ _ _ _ _ _ _ _ β |
| 100 | |
| 101 | /-- Applying universal recovery to an existing genuine multiplication recovers that multiplication exactly. -/ |
| 102 | theorem product_global (D : FiberwiseMultiplication.Multiplication (snd A X) (fst A X) L) |
| 103 | {T : Over S} (a b c : T ⟶ A ⊗ X) (h : FiberwiseMultiplication.ProductRel (snd A X) (fst A X) a b c) : |
| 104 | ParameterRecovery.product L (ProductParameters.globalProduct A X L D) a b c h = D.product a b c h := |
| 105 | D.product_natural (parameter a b) (ProductParameters.inputLeft A X) (ProductParameters.inputRight A X) (ProductParameters.outputPoint A X) |
| 106 | (ProductParameters.productRelation A X) a b c h (parameter_left a b) (parameter_right a b h.2.1) (parameter_output a b c h) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Vertical.ParameterRecovery |