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.ContainedEndpointCoefficient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.ClosedComponents |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedGeometricComponents |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TotalTorCoefficient |
| 5 | |
| 6 | /-! # Moving Family -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MovingFamily |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A moving integral projective support and the fixed smooth source |
| 13 | give a concrete finite endpoint cycle. Its fixed coefficients are native |
| 14 | global Tor Euler characteristics, and its good fibers are equivalent. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | namespace Family |
| 22 | |
| 23 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 24 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 25 | (W : IrreducibleCloseds (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension)) |
| 26 | |
| 27 | def movingSupport : IrreducibleCloseds (Projective.MatrixFamily.Family.space A) := |
| 28 | Closed.ImmersionSupport.support (Parameter.Polynomial.ProjectiveSubschemeFamily.moving A (CycleClass.Geometric.GenericPoint.reducedSupportι W)) |
| 29 | |
| 30 | def fixedSupport : IrreducibleCloseds (Projective.MatrixFamily.Family.space A) := |
| 31 | Closed.ImmersionSupport.support (Parameter.Polynomial.ProjectiveSubschemeFamily.toAmbient A X.embedding) |
| 32 | |
| 33 | def components : Finset (IrreducibleCloseds (Projective.MatrixFamily.Family.space A)) := |
| 34 | Finite.ClosedComponents.components (Projective.MatrixFamily.Family.space A) |
| 35 | (IsolatedGeometricComponents.intersection (Projective.MatrixFamily.Family.space A) |
| 36 | (movingSupport X A W) (fixedSupport X A)) |
| 37 | |
| 38 | def coefficient (C : IrreducibleCloseds (Projective.MatrixFamily.Family.space A)) : ℚ := |
| 39 | TotalTorCoefficient.coefficient (Projective.MatrixFamily.Family.space A) |
| 40 | (movingSupport X A W) (fixedSupport X A) (CycleClass.Thom.IntersectionGeometry.supportPoint C) (X.ambientDimension + 1) |
| 41 | |
| 42 | theorem contained (C : IrreducibleCloseds (Projective.MatrixFamily.Family.space A)) |
| 43 | (hC : C ∈ components X A W) : |
| 44 | (C : Set (Projective.MatrixFamily.Family.space A)) ⊆ Set.range (Projective.FamilyOnSource.Family.toAmbient X A) := by |
| 45 | have hs := Finite.ClosedComponents.subset (Projective.MatrixFamily.Family.space A) |
| 46 | (IsolatedGeometricComponents.intersection (Projective.MatrixFamily.Family.space A) |
| 47 | (movingSupport X A W) (fixedSupport X A)) C hC |
| 48 | intro y hy |
| 49 | have hm : y ∈ (fixedSupport X A : Set (Projective.MatrixFamily.Family.space A)) := (hs hy).2 |
| 50 | exact (Flat.ClosedSupport.support_range (Parameter.Polynomial.ProjectiveSubschemeFamily.toAmbient A X.embedding)) ▸ hm |
| 51 | |
| 52 | def cycle (p : ℕ) (a : ℂ) : X.RationalDimensionCycle p := |
| 53 | CyclePushforward.degreeComponent X p |
| 54 | (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 55 | (ContainedFamilyCycle.Family.cycle X A (coefficient X A W) (components X A W) a)) |
| 56 | |
| 57 | theorem cycle_apply (p : ℕ) (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 58 | (B : X.DimensionCycleSupport p) : |
| 59 | cycle X A W p a B = |
| 60 | ∑ C ∈ components X A W, coefficient X A W C * |
| 61 | GlobalParameterSum.Weights.weight (Projective.MatrixFamily.Family.space A) |
| 62 | (Projective.MatrixFamily.Family.specialization A a ha (X.embedding (CycleClass.Thom.IntersectionGeometry.supportPoint B.val))) |
| 63 | (Affine.ParameterFiber.germ ℂ (Projective.FamilyRegularity.IntegralFamilySupport.parameterLine A) |
| 64 | (Projective.MatrixFamily.Family.specialization A a ha (X.embedding (CycleClass.Thom.IntersectionGeometry.supportPoint B.val))) a) C := |
| 65 | ContainedEndpointCoefficient.coefficient X A (coefficient X A W) (components X A W) |
| 66 | (contained X A W) a ha p B |
| 67 | |
| 68 | theorem rationallyEquivalent (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 69 | (a b : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 70 | (hb : (Polynomial.MatrixPath.determinant A).eval b ≠ 0) : |
| 71 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p (cycle X A W p a) (cycle X A W p b) := |
| 72 | ContainedFamilyCycle.Family.rationallyEquivalent X A (coefficient X A W) (components X A W) |
| 73 | m p a b ha hb |
| 74 | |
| 75 | end Family |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MovingFamily |