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.Finite.RegularPrincipalSupport |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.OpenSupportedCycle |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.PrimeImagePoint |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GradedOverPushforward |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.RationalPointDivisor |
| 6 | import OAI.AlgebraicGeometry.CycleClass.Thom.Point |
| 7 | |
| 8 | /-! # Regular Supported Cycle -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.RegularSupportedCycle.BundleCycles |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual full principal pushforward is a global supported cycle in the section intersection, with every source order and residue degree retained. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.PrimeSupport.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Point.Constructions |
| 20 | |
| 21 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 22 | [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] |
| 23 | [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] |
| 24 | (k : S ⟶ N) [IsFinite k.left] (s : Γ(N.left, ⊤)) |
| 25 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 26 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 27 | (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 28 | |
| 29 | local instance finiteRegularSupportedTopNonempty : Nonempty (⊤ : S.left.Opens) := |
| 30 | ⟨⟨genericPoint S.left, Opens.mem_top _⟩⟩ |
| 31 | |
| 32 | local notation "r" => Scheme.germToFunctionField S.left ⊤ (Scheme.Hom.appTop k.left s) |
| 33 | |
| 34 | local instance finiteRegularSupportedIdOpen : IsOpenImmersion (𝟙 S : S ⟶ S).left := by |
| 35 | change IsOpenImmersion (𝟙 S.left) |
| 36 | infer_instance |
| 37 | |
| 38 | local instance finiteRegularSupportedPointFintype : Fintype (PrincipalBoundary.BundleCycles.finitePrincipalPoint S r) := |
| 39 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r).support.fintypeCoeSort |
| 40 | |
| 41 | def finiteRegularSupportedImagePoint (z : PrincipalBoundary.BundleCycles.finitePrincipalPoint S r) : |
| 42 | LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint N (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s) n := |
| 43 | ⟨PrimeImagePoint.BundleCycles.finitePrimeImagePoint k p hp (𝟙 S) (PrincipalBoundary.BundleCycles.finitePrincipalPrime S r z) n hn, by |
| 44 | rw [PrimeImagePoint.BundleCycles.finitePrimeImagePoint_support] |
| 45 | exact RegularPrincipalSupport.BundleCycles.finiteRegularPrincipal_analytic_support k s z⟩ |
| 46 | |
| 47 | def finiteRegularSupportedCycle : LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle N (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s) n := |
| 48 | ∑ z : PrincipalBoundary.BundleCycles.finitePrincipalPoint S r, |
| 49 | Finsupp.single (finiteRegularSupportedImagePoint k s p hp n hn z) |
| 50 | ((S.left.ord r z.val : ℚ) * (k.left.residueDegree z.val : ℚ)) |
| 51 | |
| 52 | omit [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] in |
| 53 | theorem finiteRegularSupportedCycle_points : |
| 54 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion N.hom n |
| 55 | (LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget N (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s) n |
| 56 | (finiteRegularSupportedCycle k s p hp n hn)) = |
| 57 | CycleClass.Thom.Point.Constructions.pointPushforward k.left (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r) := by |
| 58 | classical |
| 59 | have he : (∑ z : PrincipalBoundary.BundleCycles.finitePrincipalPoint S r, |
| 60 | Finsupp.single z.val (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r z.val)) = RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r := by |
| 61 | have hsum := Finset.sum_attach (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r).support |
| 62 | (fun x => Finsupp.single x (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r x)) |
| 63 | have hu : (Finset.univ : Finset (PrincipalBoundary.BundleCycles.finitePrincipalPoint S r)) = |
| 64 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r).support.attach := Finset.univ_eq_attach _ |
| 65 | rw [hu] |
| 66 | exact hsum.trans (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor S.left r).sum_single |
| 67 | rw [← he] |
| 68 | simp only [finiteRegularSupportedCycle, LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget, Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion, |
| 69 | map_sum, Finsupp.lmapDomain_apply, Finsupp.mapDomain_single, CycleClass.Thom.Point.Constructions.pointPushforward_single] |
| 70 | rfl |
| 71 | |
| 72 | omit [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] in |
| 73 | theorem finiteRegularSupportedCycle_forget : |
| 74 | LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget N (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s) n |
| 75 | (finiteRegularSupportedCycle k s p hp n hn) = |
| 76 | GradedOverPushforward.BundleCycles.finiteOverGradedPushforward k n (Graded.RationalPointDivisor.BundleCycles.gradedRationalPointDivisor S.left S.hom n r) := by |
| 77 | have hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension S.hom = n + 1 := by |
| 78 | have hS := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension S.hom |
| 79 | have hN := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension N.hom |
| 80 | omega |
| 81 | apply Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion_injective N.hom n |
| 82 | rw [finiteRegularSupportedCycle_points, GradedOverPushforward.BundleCycles.finiteOverGradedPushforward_forget, |
| 83 | Graded.RationalPointDivisor.BundleCycles.gradedRationalPointDivisor_push S.left S.hom n hdim] |
| 84 | rfl |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.RegularSupportedCycle.BundleCycles |