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.Foundations.Scheme.ProjectiveChart |
| 3 | import Mathlib.RingTheory.TensorProduct.Maps |
| 4 | |
| 5 | /-! # Segre Affine Ring -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SegreAffineRing.Constructions.ProjectiveProducts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | abbrev segreChartTensor (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) := |
| 15 | Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i ⊗[ℂ] Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n j |
| 16 | |
| 17 | def segreTensorLeft (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) : |
| 18 | Fin (m + 1) → segreChartTensor m n i j := |
| 19 | Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i (fun k => (Algebra.TensorProduct.includeLeft : |
| 20 | Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i →ₐ[ℂ] segreChartTensor m n i j) (MvPolynomial.X k)) |
| 21 | |
| 22 | def segreTensorRight (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) : |
| 23 | Fin (n + 1) → segreChartTensor m n i j := |
| 24 | Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne j (fun k => Algebra.TensorProduct.includeRight (MvPolynomial.X k)) |
| 25 | |
| 26 | /-- The pullback on the affine target chart at the normalized tensor coordinate. -/ |
| 27 | def segreAffineRingMap (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) : |
| 28 | Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j)) →ₐ[ℂ] |
| 29 | segreChartTensor m n i j := |
| 30 | MvPolynomial.aeval (fun k => SegreCoordinates.Constructions.ProjectiveProducts.segreVector (segreTensorLeft m n i j) (segreTensorRight m n i j) k.val) |
| 31 | |
| 32 | /-- Row coordinates recover the nonnormalized coordinates of the first factor. -/ |
| 33 | def segreRowIndex {m n : ℕ} (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 34 | (k : {k : Fin (m + 1) // k ≠ i}) : |
| 35 | {l : Fin (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n + 1) // l ≠ SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j)} := |
| 36 | ⟨SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (k.val, j), fun h => k.property (congrArg Prod.fst ((SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n).injective h))⟩ |
| 37 | |
| 38 | /-- Column coordinates recover the nonnormalized coordinates of the second factor. -/ |
| 39 | def segreColumnIndex {m n : ℕ} (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 40 | (l : {l : Fin (n + 1) // l ≠ j}) : |
| 41 | {k : Fin (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n + 1) // k ≠ SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j)} := |
| 42 | ⟨SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, l.val), fun h => l.property (congrArg Prod.snd ((SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n).injective h))⟩ |
| 43 | |
| 44 | @[simp] |
| 45 | theorem segreAffineRingMap_row (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 46 | (k : {k : Fin (m + 1) // k ≠ i}) : |
| 47 | segreAffineRingMap m n i j (MvPolynomial.X (segreRowIndex i j k)) = |
| 48 | (Algebra.TensorProduct.includeLeft : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i →ₐ[ℂ] |
| 49 | segreChartTensor m n i j) (MvPolynomial.X k) := by |
| 50 | simp [segreAffineRingMap, segreRowIndex, SegreCoordinates.Constructions.ProjectiveProducts.segreVector_pair, segreTensorLeft, segreTensorRight, k.property] |
| 51 | |
| 52 | @[simp] |
| 53 | theorem segreAffineRingMap_column (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) |
| 54 | (l : {l : Fin (n + 1) // l ≠ j}) : |
| 55 | segreAffineRingMap m n i j (MvPolynomial.X (segreColumnIndex i j l)) = |
| 56 | Algebra.TensorProduct.includeRight (MvPolynomial.X l) := by |
| 57 | simp [segreAffineRingMap, segreColumnIndex, SegreCoordinates.Constructions.ProjectiveProducts.segreVector_pair, segreTensorLeft, segreTensorRight, l.property] |
| 58 | |
| 59 | /-- The Segre affine coordinate map is surjective. An explicit algebra |
| 60 | section sends each factor's variable to its normalized row or column variable. -/ |
| 61 | theorem segreAffineRingMap_surjective (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) : |
| 62 | Function.Surjective (segreAffineRingMap m n i j) := by |
| 63 | let L : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i →ₐ[ℂ] |
| 64 | Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j)) := |
| 65 | MvPolynomial.aeval (fun k => MvPolynomial.X (segreRowIndex i j k)) |
| 66 | let R : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n j →ₐ[ℂ] |
| 67 | Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j)) := |
| 68 | MvPolynomial.aeval (fun l => MvPolynomial.X (segreColumnIndex i j l)) |
| 69 | let s := Algebra.TensorProduct.lift L R (fun _ _ => Commute.all _ _) |
| 70 | have hL : (segreAffineRingMap m n i j).comp L = |
| 71 | (Algebra.TensorProduct.includeLeft : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i →ₐ[ℂ] |
| 72 | segreChartTensor m n i j) := by |
| 73 | ext k |
| 74 | simp [L] |
| 75 | have hR : (segreAffineRingMap m n i j).comp R = Algebra.TensorProduct.includeRight := by |
| 76 | ext l |
| 77 | simp [R] |
| 78 | have hs : (segreAffineRingMap m n i j).comp s = AlgHom.id ℂ (segreChartTensor m n i j) := by |
| 79 | apply Algebra.TensorProduct.ext |
| 80 | · rw [AlgHom.comp_assoc, Algebra.TensorProduct.lift_comp_includeLeft, hL, AlgHom.id_comp] |
| 81 | · change ((segreAffineRingMap m n i j).comp s).comp Algebra.TensorProduct.includeRight = |
| 82 | (AlgHom.id ℂ (segreChartTensor m n i j)).comp Algebra.TensorProduct.includeRight |
| 83 | rw [AlgHom.comp_assoc, Algebra.TensorProduct.lift_comp_includeRight', hR, AlgHom.id_comp] |
| 84 | intro t |
| 85 | exact ⟨s t, DFunLike.congr_fun hs t⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.CycleClass.Thom.SegreAffineRing.Constructions.ProjectiveProducts |