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.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveI |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearFormMatrix |
| 4 | |
| 5 | /-! # Matrix Family -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.MatrixFamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The polynomial matrix path yields a projective automorphism over |
| 12 | its parameter ring. The marked endpoint specializations are exactly |
| 13 | the identity and the prescribed projective linear automorphism. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | namespace Family |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath |
| 23 | |
| 24 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 25 | |
| 26 | abbrev space : Scheme := Relative.ProjectiveLinear.space (Polynomial.MatrixPath.Ring A) n |
| 27 | |
| 28 | def automorphism : space A ≅ space A := Relative.ProjectiveLinear.iso (Polynomial.MatrixPath.unit A) |
| 29 | |
| 30 | def specialization (t : ℂ) (ht : (Polynomial.MatrixPath.determinant A).eval t ≠ 0) : Foundations.Scheme.ProjectiveSpace.projectiveSpace n ⟶ space A := |
| 31 | Relative.ProjectiveI.Scalars.map (Polynomial.MatrixPath.evaluation A t ht) n |
| 32 | |
| 33 | theorem over_base : (automorphism A).hom ≫ Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n = |
| 34 | Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n := Relative.ProjectiveI.Base.matrix_over (Polynomial.MatrixPath.unit A) |
| 35 | |
| 36 | theorem specialization_base (t : ℂ) (ht : (Polynomial.MatrixPath.determinant A).eval t ≠ 0) : |
| 37 | specialization A t ht ≫ Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n = |
| 38 | Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n ≫ Spec.map (CommRingCat.ofHom (Polynomial.MatrixPath.evaluation A t ht)) := |
| 39 | Relative.ProjectiveI.Base.scalar_over (Polynomial.MatrixPath.evaluation A t ht) n |
| 40 | |
| 41 | theorem at_zero : specialization A 0 (Polynomial.MatrixPath.zero_good A) ≫ (automorphism A).hom = |
| 42 | specialization A 0 (Polynomial.MatrixPath.zero_good A) := by |
| 43 | have h := Relative.ProjectiveI.Scalars.naturality (Polynomial.MatrixPath.evaluation A 0 (Polynomial.MatrixPath.zero_good A)) n (Polynomial.MatrixPath.unit A) |
| 44 | have hu : Relative.ProjectiveI.Scalars.unit (Polynomial.MatrixPath.evaluation A 0 (Polynomial.MatrixPath.zero_good A)) n (Polynomial.MatrixPath.unit A) = 1 := |
| 45 | Units.ext (Polynomial.MatrixPath.evaluate_zero A (Polynomial.MatrixPath.zero_good A)) |
| 46 | rw [hu, Relative.ProjectiveLinear.map_one, Category.id_comp] at h |
| 47 | exact h.symm |
| 48 | |
| 49 | theorem at_one : specialization A 1 (Polynomial.MatrixPath.one_good A) ≫ (automorphism A).hom = |
| 50 | LinearChart.Automorphism.map A ≫ specialization A 1 (Polynomial.MatrixPath.one_good A) := by |
| 51 | have h := Relative.ProjectiveI.Scalars.naturality (Polynomial.MatrixPath.evaluation A 1 (Polynomial.MatrixPath.one_good A)) n (Polynomial.MatrixPath.unit A) |
| 52 | have hu : Relative.ProjectiveI.Scalars.unit (Polynomial.MatrixPath.evaluation A 1 (Polynomial.MatrixPath.one_good A)) n (Polynomial.MatrixPath.unit A) = A := |
| 53 | Units.ext (Polynomial.MatrixPath.evaluate_one A (Polynomial.MatrixPath.one_good A)) |
| 54 | rw [hu] at h |
| 55 | exact h.symm |
| 56 | |
| 57 | theorem at_linear_form (e : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 ≃ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) : |
| 58 | specialization (LinearFormMatrix.unit e) 1 (Polynomial.MatrixPath.one_good (LinearFormMatrix.unit e)) ≫ |
| 59 | (automorphism (LinearFormMatrix.unit e)).hom = |
| 60 | LinearFormAutomorphism.map e ≫ |
| 61 | specialization (LinearFormMatrix.unit e) 1 (Polynomial.MatrixPath.one_good (LinearFormMatrix.unit e)) := by |
| 62 | rw [at_one, LinearFormMatrix.map] |
| 63 | |
| 64 | end Family |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.MatrixFamily |