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.ContainedHorizontalFamilyFiber |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalHorizontalCycle |
| 3 | |
| 4 | /-! # Contained Family Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ContainedFamilyCycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Fixed ambient global components contained in the source family |
| 11 | give a finite source cycle with the exact ambient weighted cycle |
| 12 | and rationally equivalent good endpoints in all degrees. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 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 | (c : IrreducibleCloseds (Projective.MatrixFamily.Family.space A) → ℚ) |
| 27 | (F : Finset (IrreducibleCloseds (Projective.MatrixFamily.Family.space A))) |
| 28 | |
| 29 | def cycle (a : ℂ) : Projective.FamilyOnSource.Family.space X A →₀ ℚ := |
| 30 | ∑ C ∈ F, if hC : (C : Set (Projective.MatrixFamily.Family.space A)) ⊆ |
| 31 | Set.range (Projective.FamilyOnSource.Family.toAmbient X A) then |
| 32 | if hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ Projective.FamilyRegularity.IntegralFamilySupport.parameterLine A) ≫ |
| 33 | Projective.FamilyIs.MatrixParameterOpen.affine) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) then |
| 34 | c C • ContainedHorizontalFamilyFiber.Family.cycle X A C hC hη a |
| 35 | else 0 |
| 36 | else 0 |
| 37 | |
| 38 | theorem pushforward (hF : ∀ C ∈ F, (C : Set (Projective.MatrixFamily.Family.space A)) ⊆ |
| 39 | Set.range (Projective.FamilyOnSource.Family.toAmbient X A)) (a : ℂ) : |
| 40 | CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toAmbient X A) (cycle X A c F a) = |
| 41 | GlobalHorizontalCycle.cycle (Projective.MatrixFamily.Family.space A) |
| 42 | (Projective.FamilyRegularity.IntegralFamilySupport.parameterLine A) c F a := by |
| 43 | rw [cycle, map_sum, GlobalHorizontalCycle.cycle] |
| 44 | apply Finset.sum_congr rfl |
| 45 | intro C hC |
| 46 | rw [dite_eq_left (hF C hC)] |
| 47 | split_ifs with hη |
| 48 | · rw [map_smul, ContainedHorizontalFamilyFiber.Family.pushforward] |
| 49 | · exact map_zero _ |
| 50 | |
| 51 | theorem projection (hF : ∀ C ∈ F, (C : Set (Projective.MatrixFamily.Family.space A)) ⊆ |
| 52 | Set.range (Projective.FamilyOnSource.Family.toAmbient X A)) (a : ℂ) : |
| 53 | CyclePushforward.pointPushforward X.embedding |
| 54 | (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) (cycle X A c F a)) = |
| 55 | CyclePushforward.pointPushforward (Projective.FamilySupport.Family.projection A) |
| 56 | (GlobalHorizontalCycle.cycle (Projective.MatrixFamily.Family.space A) |
| 57 | (Projective.FamilyRegularity.IntegralFamilySupport.parameterLine A) c F a) := by |
| 58 | have he : Projective.FamilyOnSource.Family.toSource X A ≫ X.embedding = |
| 59 | Projective.FamilyOnSource.Family.toAmbient X A ≫ Projective.FamilySupport.Family.projection A := |
| 60 | (pullback.condition (f := Projective.FamilySupport.Family.projection A) (g := X.embedding)).symm |
| 61 | rw [← LinearMap.comp_apply, ← CyclePushforward.pointPushforward_comp, he, CyclePushforward.pointPushforward_comp, LinearMap.comp_apply, |
| 62 | pushforward X A c F hF a] |
| 63 | |
| 64 | theorem rationallyEquivalent (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 65 | (a b : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 66 | (hb : (Polynomial.MatrixPath.determinant A).eval b ≠ 0) : |
| 67 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p |
| 68 | (CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) (cycle X A c F a))) |
| 69 | (CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (Projective.FamilyOnSource.Family.toSource X A) (cycle X A c F b))) := by |
| 70 | simp only [cycle, map_sum] |
| 71 | change (∑ C ∈ F, _) - (∑ C ∈ F, _) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p |
| 72 | rw [← Finset.sum_sub_distrib] |
| 73 | apply Submodule.sum_mem |
| 74 | intro C _ |
| 75 | by_cases hC : (C : Set (Projective.MatrixFamily.Family.space A)) ⊆ |
| 76 | Set.range (Projective.FamilyOnSource.Family.toAmbient X A) |
| 77 | · rw [dite_eq_left hC, dite_eq_left hC] |
| 78 | by_cases hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ Projective.FamilyRegularity.IntegralFamilySupport.parameterLine A) ≫ |
| 79 | Projective.FamilyIs.MatrixParameterOpen.affine) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) |
| 80 | · rw [dite_eq_left hη, dite_eq_left hη, map_smul, map_smul, map_smul, map_smul, ← smul_sub] |
| 81 | exact (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p).smul_mem (c C) |
| 82 | (ContainedHorizontalFamilyFiber.Family.rationallyEquivalent X A C hC hη m p a b ha hb) |
| 83 | · simp only [dite_eq_right hη, map_zero, sub_self] |
| 84 | exact (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p).zero_mem |
| 85 | · simp only [dite_eq_right hC, map_zero, sub_self] |
| 86 | exact (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p).zero_mem |
| 87 | |
| 88 | end Family |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ContainedFamilyCycle |