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.Divisors.LineBundles.LineBundle.OpenCoordinateIdentity |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DivisorChow |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.IsoDivisor |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ChowPointClass |
| 5 | |
| 6 | /-! # Open Divisor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! # LineBundleCycles: genuine open restriction of rational-section divisors and their Chow classes -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | |
| 18 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 19 | (i : Y ⟶ X) [IsOpenImmersion i] |
| 20 | |
| 21 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.open_order [IsLocallyNoetherian X] [IsLocallyNoetherian Y] (x : Y) : |
| 22 | (L.restrictToOpen i).rationalSectionOrder x = |
| 23 | L.rationalSectionOrder (i x) + Y.ord (L.openRationalCoefficient i).val x := by |
| 24 | have h := congrArg (fun a : Y.functionFieldˣ => Y.ord a.val x) (L.open_coordinate_identity i x) |
| 25 | change Y.ord ((FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (L.openLocalDomain i x) (L.openLocalUnit i x)).val * |
| 26 | ((L.restrictToOpen i).rationalSectionCoordinate x).val) x = |
| 27 | Y.ord ((Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i (L.rationalSectionCoordinate (i x))).val * |
| 28 | (L.openRationalCoefficient i).val) x at h |
| 29 | rw [Scheme.ord_mul (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm _ _).ne_zero |
| 30 | ((L.restrictToOpen i).rationalSectionCoordinate_ne_zero x), |
| 31 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm_order _ _ x (L.mem_openLocalDomain i x), zero_add, |
| 32 | Scheme.ord_mul (Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i _).ne_zero (L.openRationalCoefficient i).ne_zero, |
| 33 | Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits_order] at h |
| 34 | exact h |
| 35 | |
| 36 | variable [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 37 | |
| 38 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.open_divisor : |
| 39 | (L.restrictToOpen i).rationalSectionPointDivisor = |
| 40 | Finsupp.comapDomain i L.rationalSectionPointDivisor i.isOpenEmbedding.injective.injOn + |
| 41 | Ord.BundleCycles.principalDivisor Y (L.openRationalCoefficient i).val := by |
| 42 | ext x |
| 43 | exact L.open_order i x |
| 44 | |
| 45 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.open_pointCycle : |
| 46 | (L.restrictToOpen i).rationalSectionPointCycle = |
| 47 | Finsupp.comapDomain i L.rationalSectionPointCycle i.isOpenEmbedding.injective.injOn + |
| 48 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor Y (L.openRationalCoefficient i).val := by |
| 49 | ext x |
| 50 | exact (congrArg (fun n : ℤ => (n : ℚ)) (L.open_order i x)).trans (Int.cast_add _ _) |
| 51 | |
| 52 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.open_chowClass (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 53 | (d : ℕ) (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 1) : |
| 54 | (L.restrictToOpen i).rationalSectionChowClass (i ≫ f) d = |
| 55 | Open.ChowRestriction.BundleCycles.openChowRestriction i f d (L.rationalSectionChowClass f d) := by |
| 56 | have hdY : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) = d + 1 := |
| 57 | (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion i f).trans hd |
| 58 | change Point.CycleChow.BundleCycles.pointCycleToChowQ (i ≫ f) d (L.restrictToOpen i).rationalSectionPointCycle = |
| 59 | Open.ChowRestriction.BundleCycles.openChowRestriction i f d (Point.CycleChow.BundleCycles.pointCycleToChowQ f d L.rationalSectionPointCycle) |
| 60 | rw [L.open_pointCycle i, map_add, Integral.PrincipalChow.BundleCycles.integralPrincipalPointClass_zero Y (i ≫ f) d hdY, |
| 61 | add_zero, Open.ChowPointClass.BundleCycles.openChowRestriction_pointClass] |
| 62 | |
| 63 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.pullback_open_chowClass (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 64 | (d : ℕ) (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 1) : |
| 65 | (L.pullback i).rationalSectionChowClass (i ≫ f) d = |
| 66 | Open.ChowRestriction.BundleCycles.openChowRestriction i f d (L.rationalSectionChowClass f d) := by |
| 67 | rw [← LineBundle.IsoDivisor.Cycles.lineBundleIso_chowClass (L.restrictToOpenPullbackIso i) (i ≫ f) d |
| 68 | ((Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion i f).trans hd)] |
| 69 | exact L.open_chowClass i f d hd |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! # LineBundleCycles: transport of the same actual rational section through sheaf isomorphisms and open restriction -/ |
| 74 | |
| 75 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 76 | |
| 77 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 78 | {L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X} |
| 79 | |
| 80 | def LineBundle.OpenDivisor.Cycles.lineBundleIsoSectionCoefficient (e : L.sheaf ≅ M.sheaf) (a : X.functionFieldˣ) : X.functionFieldˣ := |
| 81 | a * LineBundle.IsoCoefficient.Cycles.lineBundleIsoRationalCoefficient e |
| 82 | |
| 83 | theorem LineBundle.OpenDivisor.Cycles.lineBundleIso_section_divisor (e : L.sheaf ≅ M.sheaf) (a : X.functionFieldˣ) : |
| 84 | M.rationalSectionPointDivisorWithCoefficient (LineBundle.OpenDivisor.Cycles.lineBundleIsoSectionCoefficient e a) = |
| 85 | L.rationalSectionPointDivisorWithCoefficient a := by |
| 86 | change Ord.BundleCycles.principalDivisor X (a.val * (LineBundle.IsoCoefficient.Cycles.lineBundleIsoRationalCoefficient e).val) + M.rationalSectionPointDivisor = _ |
| 87 | rw [Ord.BundleCycles.principalDivisor_mul X _ _ a.ne_zero (LineBundle.IsoCoefficient.Cycles.lineBundleIsoRationalCoefficient e).ne_zero] |
| 88 | change _ = Ord.BundleCycles.principalDivisor X a.val + L.rationalSectionPointDivisor |
| 89 | rw [LineBundle.IsoDivisor.Cycles.lineBundleIso_divisor e] |
| 90 | abel |
| 91 | |
| 92 | variable {Y : Scheme.{0}} [IsIntegral Y] [AlgebraicGeometry.IsNoetherian Y] |
| 93 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (i : Y ⟶ X) [IsOpenImmersion i] |
| 94 | |
| 95 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionCoefficient (a : X.functionFieldˣ) : Y.functionFieldˣ := |
| 96 | Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i a / L.openRationalCoefficient i |
| 97 | |
| 98 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionCoefficient_order (a : X.functionFieldˣ) (y : Y) : |
| 99 | Y.ord (L.openSectionCoefficient i a).val y + Y.ord (L.openRationalCoefficient i).val y = |
| 100 | X.ord a.val (i y) := by |
| 101 | have h := congrArg (fun u : Y.functionFieldˣ => Y.ord u.val y) |
| 102 | (div_mul_cancel (Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i a) (L.openRationalCoefficient i)) |
| 103 | change Y.ord ((L.openSectionCoefficient i a).val * (L.openRationalCoefficient i).val) y = |
| 104 | Y.ord (Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i a).val y at h |
| 105 | rw [Scheme.ord_mul (L.openSectionCoefficient i a).ne_zero (L.openRationalCoefficient i).ne_zero, |
| 106 | Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits_order] at h |
| 107 | exact h |
| 108 | |
| 109 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.open_section_divisor (a : X.functionFieldˣ) : |
| 110 | (L.restrictToOpen i).rationalSectionPointDivisorWithCoefficient (L.openSectionCoefficient i a) = |
| 111 | Finsupp.comapDomain i (L.rationalSectionPointDivisorWithCoefficient a) i.isOpenEmbedding.injective.injOn := by |
| 112 | ext y |
| 113 | change Y.ord (L.openSectionCoefficient i a).val y + (L.restrictToOpen i).rationalSectionOrder y = |
| 114 | X.ord a.val (i y) + L.rationalSectionOrder (i y) |
| 115 | rw [L.open_order i y] |
| 116 | have h := L.openSectionCoefficient_order i a y |
| 117 | omega |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.Divisors.LineBundles |