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.Projective.MatrixFamily |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ScalarComposition |
| 3 | |
| 4 | /-! # Family Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilySupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The matrix family moves an actual closed projective support. |
| 11 | Its two marked slices are the original support and its prescribed translate. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped _root_.Polynomial |
| 18 | |
| 19 | namespace Family |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.MatrixFamily.Family |
| 22 | |
| 23 | theorem inverse_preimage {Y : Scheme} (e : Y ≅ Y) (W : Set Y) : e.inv ⁻¹' W = e.hom '' W := by |
| 24 | ext x |
| 25 | constructor |
| 26 | · intro hx |
| 27 | refine ⟨e.inv x, hx, ?_⟩ |
| 28 | exact congrArg (fun f : Y ⟶ Y => f x) e.inv_hom_id |
| 29 | · rintro ⟨y, hy, rfl⟩ |
| 30 | have h : e.inv (e.hom y) = y := congrArg (fun f : Y ⟶ Y => f y) e.hom_inv_id |
| 31 | change e.inv (e.hom y) ∈ W |
| 32 | rw [h] |
| 33 | exact hy |
| 34 | |
| 35 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 36 | |
| 37 | def coefficients : ℂ →+* ProjectionFormula.Polynomial.MatrixPath.Ring A := (algebraMap ℂ[X] (ProjectionFormula.Polynomial.MatrixPath.Ring A)).comp Polynomial.C |
| 38 | |
| 39 | def projection : MatrixFamily.Family.space A ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n := Relative.ProjectiveI.Scalars.map (coefficients A) n |
| 40 | |
| 41 | theorem specialization_projection (t : ℂ) (ht : (ProjectionFormula.Polynomial.MatrixPath.determinant A).eval t ≠ 0) : |
| 42 | MatrixFamily.Family.specialization A t ht ≫ projection A = 𝟙 (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := by |
| 43 | apply Relative.ScalarComposition.map_split |
| 44 | ext c |
| 45 | change ProjectionFormula.Polynomial.MatrixPath.evaluation A t ht (algebraMap ℂ[X] (ProjectionFormula.Polynomial.MatrixPath.Ring A) (Polynomial.C c)) = c |
| 46 | rw [ProjectionFormula.Polynomial.MatrixPath.evaluation_algebraMap, Polynomial.eval_C] |
| 47 | |
| 48 | theorem zero_inverse : MatrixFamily.Family.specialization A 0 (ProjectionFormula.Polynomial.MatrixPath.zero_good A) ≫ (MatrixFamily.Family.automorphism A).inv = |
| 49 | MatrixFamily.Family.specialization A 0 (ProjectionFormula.Polynomial.MatrixPath.zero_good A) := by |
| 50 | apply (cancel_mono (MatrixFamily.Family.automorphism A).hom).mp |
| 51 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id, MatrixFamily.Family.at_zero] |
| 52 | |
| 53 | theorem one_inverse : MatrixFamily.Family.specialization A 1 (ProjectionFormula.Polynomial.MatrixPath.one_good A) ≫ (MatrixFamily.Family.automorphism A).inv = |
| 54 | (LinearChart.Automorphism.iso A).inv ≫ MatrixFamily.Family.specialization A 1 (ProjectionFormula.Polynomial.MatrixPath.one_good A) := by |
| 55 | apply (cancel_mono (MatrixFamily.Family.automorphism A).hom).mp |
| 56 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id, Category.assoc, MatrixFamily.Family.at_one] |
| 57 | change MatrixFamily.Family.specialization A 1 (ProjectionFormula.Polynomial.MatrixPath.one_good A) = |
| 58 | (LinearChart.Automorphism.iso A).inv ≫ |
| 59 | ((LinearChart.Automorphism.iso A).hom ≫ MatrixFamily.Family.specialization A 1 (ProjectionFormula.Polynomial.MatrixPath.one_good A)) |
| 60 | rw [← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 61 | |
| 62 | def support (W : Closeds (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) : Closeds (MatrixFamily.Family.space A) := |
| 63 | ⟨((MatrixFamily.Family.automorphism A).inv ≫ projection A) ⁻¹' (W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)), |
| 64 | W.isClosed.preimage ((MatrixFamily.Family.automorphism A).inv ≫ projection A).continuous⟩ |
| 65 | |
| 66 | theorem zero_slice (W : Closeds (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) : |
| 67 | MatrixFamily.Family.specialization A 0 (ProjectionFormula.Polynomial.MatrixPath.zero_good A) ⁻¹' (support A W : Set (MatrixFamily.Family.space A)) = (W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) := by |
| 68 | change ((MatrixFamily.Family.specialization A 0 (ProjectionFormula.Polynomial.MatrixPath.zero_good A) ≫ (MatrixFamily.Family.automorphism A).inv) ≫ projection A) ⁻¹' (W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) = _ |
| 69 | rw [zero_inverse, specialization_projection] |
| 70 | rfl |
| 71 | |
| 72 | theorem one_slice (W : Closeds (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) : |
| 73 | MatrixFamily.Family.specialization A 1 (ProjectionFormula.Polynomial.MatrixPath.one_good A) ⁻¹' (support A W : Set (MatrixFamily.Family.space A)) = |
| 74 | LinearChart.Automorphism.map A '' (W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) := by |
| 75 | change ((MatrixFamily.Family.specialization A 1 (ProjectionFormula.Polynomial.MatrixPath.one_good A) ≫ (MatrixFamily.Family.automorphism A).inv) ≫ projection A) ⁻¹' (W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) = _ |
| 76 | rw [one_inverse, Category.assoc, specialization_projection, Category.comp_id] |
| 77 | exact inverse_preimage (LinearChart.Automorphism.iso A) (W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) |
| 78 | |
| 79 | end Family |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilySupport |