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.LinearFormBasis |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport |
| 3 | import Mathlib.LinearAlgebra.Basis.Basic |
| 4 | |
| 5 | /-! # Linear Tuple Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearTupleMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A tuple of linear projection coordinates is the image of the |
| 12 | coordinate basis under an actual linear map. Independent tuples remain |
| 13 | independent after an invertible change of target coordinates. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearFormBasis OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearFormBasis.GradedMap OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport |
| 19 | |
| 20 | variable {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 21 | |
| 22 | def linear : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 →ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 := (LinearFormBasis.basis m).constr ℂ L |
| 23 | |
| 24 | theorem coordinate (a : Fin (m + 1)) : linear L (LinearFormBasis.coordinate m a) = L a := by |
| 25 | rw [← LinearFormBasis.basis_apply] |
| 26 | exact (LinearFormBasis.basis m).constr_basis ℂ L a |
| 27 | |
| 28 | theorem injective (hL : LinearIndependent ℂ L) : Function.Injective (linear L) := |
| 29 | (LinearFormBasis.basis m).injective_constr_of_linearIndependent hL |
| 30 | |
| 31 | theorem graded : LinearFormBasis.GradedMap.gradedHom (linear L) = Projective.ConeSupport.coordinates L := by |
| 32 | apply GradedRingHom.ext |
| 33 | intro p |
| 34 | have he : LinearFormBasis.GradedMap.algebraHom (linear L) = MvPolynomial.aeval (fun a => (L a).val) := by |
| 35 | apply MvPolynomial.algHom_ext |
| 36 | intro a |
| 37 | rw [LinearFormBasis.GradedMap.algebraHom_X, MvPolynomial.aeval_X, coordinate] |
| 38 | exact DFunLike.congr_fun he p |
| 39 | |
| 40 | def precompose (e : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 ≃ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) : |
| 41 | Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 := fun a => linear L (e (LinearFormBasis.coordinate m a)) |
| 42 | |
| 43 | theorem precompose_independent (hL : LinearIndependent ℂ L) |
| 44 | (e : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 ≃ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) : LinearIndependent ℂ (precompose L e) := by |
| 45 | have hi := (LinearFormBasis.basis m).linearIndependent.map' ((linear L).comp e.toLinearMap) |
| 46 | (LinearMap.ker_eq_bot.mpr ((LinearTupleMap.injective L hL).comp e.injective)) |
| 47 | change LinearIndependent ℂ (fun a => linear L (e (LinearFormBasis.coordinate m a))) |
| 48 | simpa only [Function.comp_def, LinearFormBasis.basis_apply, LinearMap.comp_apply, LinearEquiv.coe_coe] using hi |
| 49 | |
| 50 | theorem precompose_coordinates (e : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 ≃ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) : |
| 51 | Projective.ConeSupport.coordinates (precompose L e) = (Projective.ConeSupport.coordinates L).comp (LinearFormBasis.GradedMap.gradedHom e.toLinearMap) := by |
| 52 | change LinearFormBasis.GradedMap.gradedHom ((linear L).comp e.toLinearMap) = _ |
| 53 | rw [LinearFormBasis.GradedMap.gradedHom_comp, graded] |
| 54 | |
| 55 | theorem postcompose_coordinates (e : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 ≃ₗ[ℂ] Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) : |
| 56 | Projective.ConeSupport.coordinates (fun a => e (L a)) = (LinearFormBasis.GradedMap.gradedHom e.toLinearMap).comp (Projective.ConeSupport.coordinates L) := by |
| 57 | have he : linear (fun a => e (L a)) = e.toLinearMap.comp (linear L) := by |
| 58 | apply (LinearFormBasis.basis m).ext |
| 59 | intro a |
| 60 | rw [LinearFormBasis.basis_apply, coordinate, LinearMap.comp_apply, coordinate] |
| 61 | rfl |
| 62 | rw [← graded, he, LinearFormBasis.GradedMap.gradedHom_comp, graded] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearTupleMap |