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.CompactHorizontalFamilyFiber |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FamilyChart |
| 3 | |
| 4 | /-! # Source Endpoint Fiber -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceEndpointFiber |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every point of a good scalar fiber of the source family lies |
| 11 | on its native closed section, whose projection is the identity on X. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.Polynomial |
| 18 | |
| 19 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 20 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 21 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 22 | |
| 23 | theorem range : Set.range (Projective.FamilyOnSource.Family.specialization X A a ha) = |
| 24 | CompactHorizontalFamilyFiber.Family.parameter X A ⁻¹' {Affine.ParameterFiber.point ℂ a} := by |
| 25 | let e := Spec.map (CommRingCat.ofHom (Polynomial.MatrixPath.evaluation A a ha)) |
| 26 | let c := IsLocalRing.closedPoint ℂ |
| 27 | have hr := Open.SupportClosure.Pullback.range (Projective.FamilyOnSource.Family.specialization X A a ha) |
| 28 | X.structureMap (Projective.FamilySections.Family.parameter X A) e |
| 29 | (Projective.FamilyIs.FamilyFibers.source X A a ha) |
| 30 | have he : Parameter.Polynomial.IntegralProduct.toLine A (e c) = Affine.ParameterFiber.point ℂ a := |
| 31 | (congrArg (fun g : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Spec (.of ℂ[X]) => g c) |
| 32 | (Parameter.FamilyChart.Family.evaluation_toLine A a ha)).trans |
| 33 | (Affine.ParameterFiber.point_spec ℂ a) |
| 34 | have her : Set.range e = {e c} := by |
| 35 | ext q |
| 36 | constructor |
| 37 | · rintro ⟨b, rfl⟩ |
| 38 | exact congrArg e (Subsingleton.elim b c) |
| 39 | · rintro rfl |
| 40 | exact ⟨c, rfl⟩ |
| 41 | rw [hr, her] |
| 42 | ext x |
| 43 | change Projective.FamilySections.Family.parameter X A x = e c ↔ |
| 44 | Parameter.Polynomial.IntegralProduct.toLine A (Projective.FamilySections.Family.parameter X A x) = |
| 45 | Affine.ParameterFiber.point ℂ a |
| 46 | constructor |
| 47 | · intro hx |
| 48 | exact (congrArg (Parameter.Polynomial.IntegralProduct.toLine A) hx).trans he |
| 49 | · intro hx |
| 50 | exact (Parameter.Polynomial.IntegralProduct.toLine A).isEmbedding.injective (hx.trans he.symm) |
| 51 | |
| 52 | theorem point (y : Projective.FamilyOnSource.Family.space X A) |
| 53 | (hy : CompactHorizontalFamilyFiber.Family.parameter X A y = Affine.ParameterFiber.point ℂ a) : |
| 54 | Projective.FamilyOnSource.Family.specialization X A a ha (Projective.FamilyOnSource.Family.toSource X A y) = y := by |
| 55 | have hm : y ∈ Set.range (Projective.FamilyOnSource.Family.specialization X A a ha) := by |
| 56 | rw [SourceEndpointFiber.range] |
| 57 | exact hy |
| 58 | obtain ⟨x, rfl⟩ := hm |
| 59 | have hr := congrArg (fun f : X.carrier ⟶ X.carrier => f x) |
| 60 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) |
| 61 | exact congrArg (Projective.FamilyOnSource.Family.specialization X A a ha) hr |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceEndpointFiber |