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.HorizontalFiberDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceEndpointFiber |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Grading |
| 4 | |
| 5 | /-! # Horizontal Family Grading -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyGrading |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Only components of the matching dimension can contribute to |
| 12 | a graded endpoint cycle. Consequently every horizontal component |
| 13 | has equivalent good fibers in every codimension. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | namespace Family |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 23 | |
| 24 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 25 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 26 | (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 27 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 28 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 29 | |
| 30 | theorem point_dimension (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 31 | (y : Projective.FamilyOnSource.Family.space X A) |
| 32 | (hy : HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D |
| 33 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη a y ≠ 0) : |
| 34 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension |
| 35 | (irreducibleSetEquivPoints.symm (Projective.FamilyOnSource.Family.toSource X A y)) X.structureMap + 1 = |
| 36 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension D (Projective.FamilyOnSource.Family.toSource X A ≫ X.structureMap) := by |
| 37 | let : LocallyOfFiniteType (Projective.FamilyOnSource.Family.toSource X A ≫ X.structureMap) := by |
| 38 | rw [← Projective.FamilyIs.FamilyCompactAmbient.inclusion_first X A, Category.assoc] |
| 39 | infer_instance |
| 40 | have hd := HorizontalFiberDimension.dimension (Projective.FamilyOnSource.Family.space X A) D |
| 41 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη |
| 42 | (Projective.FamilyOnSource.Family.toSource X A ≫ X.structureMap) a y hy |
| 43 | have ht := HorizontalFiberDimension.parameter (Projective.FamilyOnSource.Family.space X A) D |
| 44 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη a y hy |
| 45 | let := Projective.FamilySections.Family.source_closed X A a ha |
| 46 | have he := Closed.PointClosureDimension.retraction |
| 47 | (Projective.FamilyOnSource.Family.specialization X A a ha) (Projective.FamilyOnSource.Family.toSource X A) |
| 48 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) X.structureMap |
| 49 | (Projective.FamilyOnSource.Family.toSource X A y) |
| 50 | rw [SourceEndpointFiber.point X A a ha y ht] at he |
| 51 | rw [he] at hd |
| 52 | exact hd |
| 53 | |
| 54 | theorem zero_of_dimension (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 55 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D |
| 56 | (Projective.FamilyOnSource.Family.toSource X A ≫ X.structureMap) + p ≠ m + 1) |
| 57 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) : |
| 58 | CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 59 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D |
| 60 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη a)) = 0 := by |
| 61 | ext B |
| 62 | rw [Principal.ClosedSectionCycle.degreeComponent_apply, Finsupp.zero_apply] |
| 63 | by_contra hn |
| 64 | obtain ⟨y, hy, he⟩ := PointPushforwardSupport.exists_point |
| 65 | (Projective.FamilyOnSource.Family.toSource X A) _ (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) hn |
| 66 | have hdim := point_dimension X A D hη a ha y hy |
| 67 | rw [he, show irreducibleSetEquivPoints.symm (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) = B.val from |
| 68 | irreducibleSetEquivPoints.symm_apply_apply B.val] at hdim |
| 69 | have hB := Grading.supportDimension_add_codimension X m B.val |
| 70 | rw [B.property] at hB |
| 71 | apply hd |
| 72 | omega |
| 73 | |
| 74 | theorem rationallyEquivalent (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 75 | (a b : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 76 | (hb : (Polynomial.MatrixPath.determinant A).eval b ≠ 0) : |
| 77 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p |
| 78 | (CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 79 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D |
| 80 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη a))) |
| 81 | (CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) |
| 82 | (HorizontalFamilyFiber.Family.cycle (Projective.FamilyOnSource.Family.space X A) D |
| 83 | (CompactHorizontalFamilyFiber.Family.parameter X A) hη b))) := by |
| 84 | by_cases hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D |
| 85 | (Projective.FamilyOnSource.Family.toSource X A ≫ X.structureMap) + p = m + 1 |
| 86 | · exact CompactHorizontalFamilyFiber.Family.rationallyEquivalent X A D hη m p hd a b ha hb |
| 87 | · rw [zero_of_dimension X A D hη m p hd a ha, zero_of_dimension X A D hη m p hd b hb] |
| 88 | exact CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X p 0 |
| 89 | |
| 90 | end Family |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyGrading |