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.Parameter.FamilyChart |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyRegularity |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterFiber |
| 4 | |
| 5 | /-! # Endpoint Fiber -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.EndpointFiber |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A marked projective matrix-family section is the entire scalar |
| 12 | fiber of its actual affine parameter, at the level of scheme points. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.Polynomial |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.MatrixPath |
| 21 | |
| 22 | variable {n : ℕ} (A : (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)ˣ) |
| 23 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 24 | |
| 25 | theorem range : Set.range (MatrixFamily.Family.specialization A a ha) = |
| 26 | FamilyRegularity.IntegralFamilySupport.parameterLine A ⁻¹' {Affine.ParameterFiber.point ℂ a} := by |
| 27 | let h := FamilyIs.FamilyFibers.ambient A a ha |
| 28 | have hr : Set.range (MatrixFamily.Family.specialization A a ha) = |
| 29 | Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n ⁻¹' |
| 30 | Set.range (Spec.map (CommRingCat.ofHom (Polynomial.MatrixPath.evaluation A a ha))) := by |
| 31 | rw [← h.isoPullback_hom_fst] |
| 32 | change Set.range (pullback.fst (Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n) |
| 33 | (Spec.map (CommRingCat.ofHom (Polynomial.MatrixPath.evaluation A a ha))) ∘ h.isoPullback.hom) = _ |
| 34 | rw [Set.range_comp, h.isoPullback.hom.surjective.range_eq, Set.image_univ, Scheme.Pullback.range_fst] |
| 35 | let e := Spec.map (CommRingCat.ofHom (Polynomial.MatrixPath.evaluation A a ha)) |
| 36 | let c := IsLocalRing.closedPoint ℂ |
| 37 | have he : Parameter.Polynomial.IntegralProduct.toLine A (e c) = Affine.ParameterFiber.point ℂ a := |
| 38 | (congrArg (fun g : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Spec (.of ℂ[X]) => g c) |
| 39 | (Parameter.FamilyChart.Family.evaluation_toLine A a ha)).trans |
| 40 | (Affine.ParameterFiber.point_spec ℂ a) |
| 41 | have her : Set.range e = {e c} := by |
| 42 | ext q |
| 43 | constructor |
| 44 | · rintro ⟨b, rfl⟩ |
| 45 | exact congrArg e (Subsingleton.elim b c) |
| 46 | · rintro rfl |
| 47 | exact ⟨c, rfl⟩ |
| 48 | rw [hr, her] |
| 49 | ext x |
| 50 | change Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n x = e c ↔ |
| 51 | Parameter.Polynomial.IntegralProduct.toLine A (Relative.ProjectiveI.Base.base (Polynomial.MatrixPath.Ring A) n x) = |
| 52 | Affine.ParameterFiber.point ℂ a |
| 53 | constructor |
| 54 | · intro hx |
| 55 | exact (congrArg (Parameter.Polynomial.IntegralProduct.toLine A) hx).trans he |
| 56 | · intro hx |
| 57 | exact (Parameter.Polynomial.IntegralProduct.toLine A).isEmbedding.injective (hx.trans he.symm) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.EndpointFiber |