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.HorizontalFamilyGrading |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalHorizontalCycle |
| 4 | |
| 5 | /-! # Source Horizontal Cycle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceHorizontalCycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Intrinsic source-family cycles have their exact native parameter |
| 12 | weights at every good endpoint and rationally equivalent endpoints. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyOnSource.Family |
| 21 | |
| 22 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 23 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 24 | |
| 25 | theorem supported (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 26 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 27 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 28 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) : |
| 29 | ((HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D (CompactHorizontalFamilyFiber.Family.parameter X A) hη a).support : |
| 30 | Set (Projective.FamilyOnSource.Family.space X A)) ⊆ Set.range (Projective.FamilyOnSource.Family.specialization X A a ha) := by |
| 31 | intro y hy |
| 32 | rw [SourceEndpointFiber.range] |
| 33 | change CompactHorizontalFamilyFiber.Family.parameter X A y = Affine.ParameterFiber.point ℂ a |
| 34 | exact HorizontalFiberDimension.parameter (Projective.FamilyOnSource.Family.space X A) D |
| 35 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη a y (Finsupp.mem_support_iff.mp hy) |
| 36 | |
| 37 | def cycle (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 38 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 39 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) (p : ℕ) (a : ℂ) : |
| 40 | X.RationalDimensionCycle p := |
| 41 | CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 42 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D (CompactHorizontalFamilyFiber.Family.parameter X A) hη a)) |
| 43 | |
| 44 | theorem coefficient (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 45 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 46 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 47 | (p : ℕ) (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 48 | (B : X.DimensionCycleSupport p) : |
| 49 | cycle X A D hη p a B = |
| 50 | GlobalParameterSum.Weights.weight (Projective.FamilyOnSource.Family.space X A) (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint B.val)) |
| 51 | (Affine.ParameterFiber.germ ℂ (CompactHorizontalFamilyFiber.Family.parameter X A) |
| 52 | (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint B.val)) a) D := by |
| 53 | let := Projective.FamilySections.Family.source_closed X A a ha |
| 54 | rw [cycle, Principal.ClosedSectionCycle.degreeComponent_apply, |
| 55 | Principal.ClosedSectionCycle.apply (Projective.FamilyOnSource.Family.specialization X A a ha) (Projective.FamilyOnSource.Family.toSource X A) |
| 56 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) _ (supported X A D hη a ha), HorizontalFamilyFiber.Family.apply] |
| 57 | |
| 58 | theorem rationallyEquivalent (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 59 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 60 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 61 | (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 62 | (a b : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 63 | (hb : (Polynomial.MatrixPath.determinant A).eval b ≠ 0) : |
| 64 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p (cycle X A D hη p a) (cycle X A D hη p b) := |
| 65 | HorizontalFamilyGrading.Family.rationallyEquivalent X A D hη m p a b ha hb |
| 66 | |
| 67 | def weighted (c : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A) → ℚ) (F : Finset (IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A))) |
| 68 | (p : ℕ) (a : ℂ) : X.RationalDimensionCycle p := |
| 69 | ∑ D ∈ F, if hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ |
| 70 | Projective.FamilyIs.MatrixParameterOpen.affine) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) then |
| 71 | c D • cycle X A D hη p a else 0 |
| 72 | |
| 73 | theorem weighted_coefficient (c : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A) → ℚ) |
| 74 | (F : Finset (IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A))) (p : ℕ) (a : ℂ) |
| 75 | (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) (B : X.DimensionCycleSupport p) : |
| 76 | weighted X A c F p a B = |
| 77 | ∑ D ∈ F, c D * GlobalParameterSum.Weights.weight (Projective.FamilyOnSource.Family.space X A) |
| 78 | (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint B.val)) |
| 79 | (Affine.ParameterFiber.germ ℂ (CompactHorizontalFamilyFiber.Family.parameter X A) |
| 80 | (Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint B.val)) a) D := by |
| 81 | rw [weighted, Finsupp.finsetSum_apply] |
| 82 | apply Finset.sum_congr rfl |
| 83 | intro D _ |
| 84 | split_ifs with hη |
| 85 | · rw [Finsupp.smul_apply, coefficient X A D hη p a ha, smul_eq_mul] |
| 86 | · rw [Finsupp.zero_apply, GlobalWeightSupport.nonhorizontal _ _ D hη, mul_zero] |
| 87 | |
| 88 | theorem weighted_equivalent (c : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A) → ℚ) |
| 89 | (F : Finset (IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A))) (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 90 | (a b : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 91 | (hb : (Polynomial.MatrixPath.determinant A).eval b ≠ 0) : |
| 92 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p (weighted X A c F p a) (weighted X A c F p b) := by |
| 93 | change (∑ D ∈ F, _) - (∑ D ∈ F, _) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p |
| 94 | rw [← Finset.sum_sub_distrib] |
| 95 | apply Submodule.sum_mem |
| 96 | intro D _ |
| 97 | split_ifs with hη |
| 98 | · rw [← smul_sub] |
| 99 | exact (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p).smul_mem (c D) |
| 100 | (rationallyEquivalent X A D hη m p a b ha hb) |
| 101 | · rw [sub_self] |
| 102 | exact (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p).zero_mem |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceHorizontalCycle |