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.CycleClass.Thom.SegreCoordinates |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProjectiveCoordinates |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectivePointInjective |
| 4 | |
| 5 | /-! # Segre Compatibility -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SegreCompatibility.Constructions.ProjectiveProducts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | /-- Evaluation commutes with the pairwise coordinate products. -/ |
| 14 | theorem pointEvaluate_segreVector {X : Scheme} (p : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) {m n : ℕ} |
| 15 | (v : Fin (m + 1) → Γ(X, ⊤)) (w : Fin (n + 1) → Γ(X, ⊤)) : |
| 16 | (fun k => ProjectiveCoordinates.Constructions.Products.pointEvaluate p (SegreCoordinates.Constructions.ProjectiveProducts.segreVector v w k)) = |
| 17 | SegreCoordinates.Constructions.ProjectiveProducts.segreVector (fun k => ProjectiveCoordinates.Constructions.Products.pointEvaluate p (v k)) (fun k => ProjectiveCoordinates.Constructions.Products.pointEvaluate p (w k)) := by |
| 18 | funext k |
| 19 | simp [SegreCoordinates.Constructions.ProjectiveProducts.segreVector] |
| 20 | |
| 21 | /-- Equal normalized projective maps have proportional evaluated coordinate |
| 22 | tuples at each complex point. -/ |
| 23 | theorem evaluated_coordinates_proportional {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 24 | (p : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) (hp : p ≫ f = 𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) {n : ℕ} |
| 25 | (v v' : Fin (n + 1) → Γ(X, ⊤)) (i i' : Fin (n + 1)) (hv : v i = 1) (hv' : v' i' = 1) |
| 26 | (heq : ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates f v i hv = ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates f v' i' hv') : |
| 27 | ∃ c : ℂ, c ≠ 0 ∧ |
| 28 | (fun k => ProjectiveCoordinates.Constructions.Products.pointEvaluate p (v' k)) = c • (fun k => ProjectiveCoordinates.Constructions.Products.pointEvaluate p (v k)) := by |
| 29 | have h := congrArg (fun q => p ≫ q) heq |
| 30 | rw [ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_point f p hp v i hv (ProjectiveCoordinates.Constructions.Products.pointEvaluate_tuple_ne_zero p v i hv), |
| 31 | ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_point f p hp v' i' hv' (ProjectiveCoordinates.Constructions.Products.pointEvaluate_tuple_ne_zero p v' i' hv')] at h |
| 32 | exact Foundations.Scheme.ProjectivePointInjective.exists_smul_eq_of_projectiveVectorPoint_apply_eq _ _ |
| 33 | (ProjectiveCoordinates.Constructions.Products.pointEvaluate_tuple_ne_zero p v i hv) (ProjectiveCoordinates.Constructions.Products.pointEvaluate_tuple_ne_zero p v' i' hv') |
| 34 | (IsLocalRing.closedPoint ℂ) (congrArg (fun q => q (IsLocalRing.closedPoint ℂ)) h) |
| 35 | |
| 36 | /-- The local Segre morphism depends only on the two projective morphisms, |
| 37 | and is independent of the normalized coordinate tuples representing them. -/ |
| 38 | theorem segreMapOfCoordinates_eq (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 39 | [LocallyOfFiniteType X.hom] [IsReduced X.left] {m n : ℕ} |
| 40 | (v v' : Fin (m + 1) → Γ(X.left, ⊤)) (w w' : Fin (n + 1) → Γ(X.left, ⊤)) |
| 41 | (i i' : Fin (m + 1)) (j j' : Fin (n + 1)) |
| 42 | (hv : v i = 1) (hv' : v' i' = 1) (hw : w j = 1) (hw' : w' j' = 1) |
| 43 | (hvmap : ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates X.hom v i hv = ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates X.hom v' i' hv') |
| 44 | (hwmap : ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates X.hom w j hw = ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates X.hom w' j' hw') : |
| 45 | SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates X.hom v w i j hv hw = |
| 46 | SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates X.hom v' w' i' j' hv' hw' := by |
| 47 | apply ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_eq_of_point_scalars X |
| 48 | intro p |
| 49 | obtain ⟨c, hc, hvp⟩ := evaluated_coordinates_proportional X.hom p.left p.w v v' i i' hv hv' hvmap |
| 50 | obtain ⟨d, hd, hwp⟩ := evaluated_coordinates_proportional X.hom p.left p.w w w' j j' hw hw' hwmap |
| 51 | refine ⟨c * d, mul_ne_zero hc hd, ?_⟩ |
| 52 | rw [pointEvaluate_segreVector, pointEvaluate_segreVector, hvp, hwp, SegreCoordinates.Constructions.ProjectiveProducts.segreVector_smul] |
| 53 | |
| 54 | set_option backward.isDefEq.respectTransparency false in |
| 55 | /-- Local Segre maps commute with pullback of their coordinate functions. -/ |
| 56 | theorem segreMapOfCoordinates_comp (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 57 | [LocallyOfFiniteType X.hom] [IsReduced X.left] (h : X ⟶ Y) {m n : ℕ} |
| 58 | (v : Fin (m + 1) → Γ(Y.left, ⊤)) (w : Fin (n + 1) → Γ(Y.left, ⊤)) |
| 59 | (i : Fin (m + 1)) (j : Fin (n + 1)) (hv : v i = 1) (hw : w j = 1) : |
| 60 | h.left ≫ SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates Y.hom v w i j hv hw = |
| 61 | SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates X.hom (fun k => h.left.appTop (v k)) (fun k => h.left.appTop (w k)) |
| 62 | i j (by simp [hv]) (by simp [hw]) := by |
| 63 | have hs : (fun k => h.left.appTop (SegreCoordinates.Constructions.ProjectiveProducts.segreVector v w k)) = |
| 64 | SegreCoordinates.Constructions.ProjectiveProducts.segreVector (fun k => h.left.appTop (v k)) (fun k => h.left.appTop (w k)) := by |
| 65 | funext k |
| 66 | simp [SegreCoordinates.Constructions.ProjectiveProducts.segreVector] |
| 67 | unfold SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates |
| 68 | rw [ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_comp X Y h] |
| 69 | rw! [hs] |
| 70 | rfl |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.CycleClass.Thom.SegreCompatibility.Constructions.ProjectiveProducts |