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.DominantGlobalFrame |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GlobalDivisor |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Proper.PrincipalPullbackProjection |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DominantOpenCycle |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.MorphismRestrictGenericPoint |
| 6 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ImmersionNoetherian |
| 7 | |
| 8 | /-! # Proper Global Projection -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperGlobalProjection.Cycles |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! # LineBundleCycles: exact proper projection of actual rational-section divisors in a global frame -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 19 | |
| 20 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 21 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 22 | [X.IsSeparated] [Y.IsSeparated] |
| 23 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 24 | (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType gY] |
| 25 | {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle Y} (e : L.sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule Y) |
| 26 | |
| 27 | include gY e in |
| 28 | theorem properPushforward_lineBundleSection_globalFrame (a : Y.functionFieldˣ) : |
| 29 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f |
| 30 | ((L.pullback f).rationalSectionPointCycleWithCoefficient (L.dominantPullbackSectionCoefficient f hη a)) = |
| 31 | (f.residueDegree (genericPoint X) : ℚ) • L.rationalSectionPointCycleWithCoefficient a := by |
| 32 | rw [GlobalDivisor.Cycles.lineBundleGlobal_section_pointCycle (PullbackIso.Cycles.lineBundlePullbackGlobalTrivialization e f), |
| 33 | DominantGlobalFrame.Cycles.dominantPullbackSectionCoefficient_globalFrame f hη e a, |
| 34 | GlobalDivisor.Cycles.lineBundleGlobal_section_pointCycle e a] |
| 35 | exact Proper.PrincipalPullbackProjection.BundleCycles.properPushforward_pulledPrincipalDivisor f hη gY (a * GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | /-! # LineBundleCycles: exact proper projection for actual rational-section divisors of arbitrary algebraic line bundles -/ |
| 40 | |
| 41 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 42 | |
| 43 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 44 | |
| 45 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 46 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 47 | [X.IsSeparated] [Y.IsSeparated] |
| 48 | (f : X ⟶ Y) [IsProper f] (hη : f (genericPoint X) = genericPoint Y) |
| 49 | (gY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType gY] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle Y) |
| 50 | |
| 51 | omit [X.IsSeparated] [Y.IsSeparated] in |
| 52 | include gY in |
| 53 | theorem properPushforward_lineBundleSection_onOpen (U : Y.Opens) [Nonempty U] [Nonempty (f ⁻¹ᵁ U)] |
| 54 | [IsIntegral U.toScheme] [IsIntegral (f ⁻¹ᵁ U).toScheme] |
| 55 | [AlgebraicGeometry.IsNoetherian U.toScheme] [AlgebraicGeometry.IsNoetherian (f ⁻¹ᵁ U).toScheme] |
| 56 | [U.toScheme.IsSeparated] [(f ⁻¹ᵁ U).toScheme.IsSeparated] |
| 57 | (e : (L.pullback U.ι).sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) (a : Y.functionFieldˣ) : |
| 58 | Finsupp.comapDomain U.ι |
| 59 | (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f ((L.pullback f).rationalSectionPointCycleWithCoefficient |
| 60 | (L.dominantPullbackSectionCoefficient f hη a))) U.ι.isOpenEmbedding.injective.injOn = |
| 61 | (f.residueDegree (genericPoint X) : ℚ) • |
| 62 | Finsupp.comapDomain U.ι (L.rationalSectionPointCycleWithCoefficient a) U.ι.isOpenEmbedding.injective.injOn := by |
| 63 | let q := f ∣_ U |
| 64 | have hq := MorphismRestrictGenericPoint.BundleCycles.morphismRestrict_genericPoint f hη U |
| 65 | have hsec := DominantOpenCycle.Cycles.dominantPullback_section_openSquare f (f ⁻¹ᵁ U).ι U.ι q |
| 66 | (morphismRestrict_ι f U).symm hη hq L a |
| 67 | have hp := Open.FiberPushforward.BundleCycles.morphismRestrict_pointPushforward f U |
| 68 | ((L.pullback f).rationalSectionPointCycleWithCoefficient (L.dominantPullbackSectionCoefficient f hη a)) |
| 69 | have hl := properPushforward_lineBundleSection_globalFrame q hq (U.ι ≫ gY) e |
| 70 | (L.openPullbackSectionCoefficient U.ι a) |
| 71 | have hd := MorphismRestrictGenericPoint.BundleCycles.morphismRestrict_genericResidueDegree f U |
| 72 | have ht := L.openPullback_section_pointCycle U.ι a |
| 73 | exact hp.symm.trans ((congrArg (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward q) hsec.symm).trans |
| 74 | (hl.trans (congrArg₂ (fun n : ℚ => fun z : U.toScheme →₀ ℚ => n • z) |
| 75 | (congrArg (fun n : ℕ => (n : ℚ)) hd) ht))) |
| 76 | |
| 77 | include gY in |
| 78 | theorem properPushforward_lineBundleSection (a : Y.functionFieldˣ) : |
| 79 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f ((L.pullback f).rationalSectionPointCycleWithCoefficient |
| 80 | (L.dominantPullbackSectionCoefficient f hη a)) = |
| 81 | (f.residueDegree (genericPoint X) : ℚ) • L.rationalSectionPointCycleWithCoefficient a := by |
| 82 | ext y |
| 83 | let U := L.trivializingOpen y |
| 84 | let : Nonempty U := ⟨⟨y, L.mem_trivializingOpen y⟩⟩ |
| 85 | let : Nonempty (f ⁻¹ᵁ U) := DominantReferencePullback.Cycles.genericPointMap_preimage_nonempty f hη U |
| 86 | let : IsIntegral U.toScheme := isIntegral_of_isOpenImmersion U.ι |
| 87 | let : IsIntegral (f ⁻¹ᵁ U).toScheme := isIntegral_of_isOpenImmersion (f ⁻¹ᵁ U).ι |
| 88 | let : AlgebraicGeometry.IsNoetherian U.toScheme := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian U.ι |
| 89 | let : AlgebraicGeometry.IsNoetherian (f ⁻¹ᵁ U).toScheme := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian (f ⁻¹ᵁ U).ι |
| 90 | let : U.toScheme.IsSeparated := ⟨by |
| 91 | rw [← Limits.terminal.comp_from U.ι] |
| 92 | infer_instance⟩ |
| 93 | let : (f ⁻¹ᵁ U).toScheme.IsSeparated := ⟨by |
| 94 | rw [← Limits.terminal.comp_from (f ⁻¹ᵁ U).ι] |
| 95 | infer_instance⟩ |
| 96 | let e : (L.pullback U.ι).sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme := |
| 97 | (L.restrictToOpenPullbackIso U.ι).symm ≪≫ L.trivialization y |
| 98 | have h := properPushforward_lineBundleSection_onOpen f hη gY L U e a |
| 99 | exact congrArg (fun c : U.toScheme →₀ ℚ => c ⟨y, L.mem_trivializingOpen y⟩) h |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperGlobalProjection.Cycles |