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.CompactFamilyComponent |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyFiber |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ParameterCycle |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Polynomial |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.CycleTransport |
| 6 | |
| 7 | /-! # Compact Horizontal Family Fiber -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CompactHorizontalFamilyFiber |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The open fibers of the proper component pencil are exactly the |
| 14 | native horizontal family cycles pushed to X, with their divisor weights. -/ |
| 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 | open scoped _root_.Polynomial |
| 21 | |
| 22 | namespace Family |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 25 | |
| 26 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 27 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 28 | |
| 29 | def parameter : Projective.FamilyOnSource.Family.space X A ⟶ Spec (.of ℂ[X]) := |
| 30 | Projective.FamilySections.Family.parameter X A ≫ Parameter.Polynomial.IntegralProduct.toLine A |
| 31 | |
| 32 | variable (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 33 | |
| 34 | theorem parameter_comp : |
| 35 | CompactFamilyComponent.Family.map X A D ≫ |
| 36 | CompactSupportPencil.parameter X (CompactFamilyComponent.Family.support X A D) = |
| 37 | (CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine := by |
| 38 | rw [CompactFamilyComponent.Family.map_parameter] |
| 39 | simp only [parameter, Projective.FamilyIs.MatrixParameterOpen.inclusion, Parameter.Polynomial.IntegralProduct.toLine, |
| 40 | Category.assoc] |
| 41 | |
| 42 | variable (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 43 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 44 | |
| 45 | include hη in |
| 46 | theorem horizontal : CompactSupportPencil.parameter X (CompactFamilyComponent.Family.support X A D) |
| 47 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (CompactFamilyComponent.Family.support X A D))) = |
| 48 | genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) := by |
| 49 | apply CompactFamilyComponent.Family.horizontal X A D |
| 50 | simpa only [parameter, Projective.FamilyIs.MatrixParameterOpen.inclusion, Parameter.Polynomial.IntegralProduct.toLine, |
| 51 | Category.assoc] using hη |
| 52 | |
| 53 | theorem fiber (p : ℕ) (a : ℂ) : |
| 54 | CompactFamilyComponent.Family.fiber X A D (horizontal X A D hη) p a = |
| 55 | CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 56 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D |
| 57 | (parameter X A) hη a)) := by |
| 58 | rw [Parameter.CycleTransport.family_formula] |
| 59 | exact Parameter.CycleTransport.proper_formula X |
| 60 | (CompactSupportPencil.source X (CompactFamilyComponent.Family.support X A D)) |
| 61 | (CompactFamilyComponent.Family.map X A D) |
| 62 | (CompactSupportPencil.parameter X (CompactFamilyComponent.Family.support X A D)) |
| 63 | (horizontal X A D hη) (CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ Projective.FamilyOnSource.Family.toSource X A) |
| 64 | ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) hη |
| 65 | (CompactFamilyComponent.Family.map_source X A D) (parameter_comp X A D) p a |
| 66 | |
| 67 | theorem rationallyEquivalent (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 68 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D |
| 69 | (Projective.FamilyOnSource.Family.toSource X A ≫ X.structureMap) + p = m + 1) |
| 70 | (a b : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 71 | (hb : (Polynomial.MatrixPath.determinant A).eval b ≠ 0) : |
| 72 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p |
| 73 | (CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 74 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D (parameter X A) hη a))) |
| 75 | (CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 76 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D (parameter X A) hη b))) := by |
| 77 | rw [← fiber X A D hη p a, ← fiber X A D hη p b] |
| 78 | exact CompactFamilyComponent.Family.rationallyEquivalent X A D (horizontal X A D hη) m p hd a b ha hb |
| 79 | |
| 80 | end Family |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CompactHorizontalFamilyFiber |