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.AbelianModuli.HilbertConstruction.FiniteIntersection.EulerPointBound |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneMixedEulerCoefficient |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FieldDimensionBound |
| 4 | |
| 5 | /-! # Hyperplane Fiber Point Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneFiberPointBound |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The intersection of a hyperplane with a finite configuration in |
| 12 | one fiber of a locally quasi-finite endomorphism has cardinality at |
| 13 | most c (g+1)! d^g. The finite cuts, sheaf exactness, multiplicity-aware |
| 14 | Euler calculation, and point count are all supplied by the geometry. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u v |
| 17 | |
| 18 | theorem hyperplane_fiber_configuration_card_le |
| 19 | {K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} [IrreducibleSpace X] |
| 20 | (p : X ⟶ Spec (.of K)) [IsProper p] (g : ℕ) [SmoothOfRelativeDimension (g + 1) p] |
| 21 | (L : Line.Bundles.LineBundle X) {n : ℕ} (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 22 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 23 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) (hgen : Section.ProjectivePresentation.SectionRatiosGenerate p s) |
| 24 | (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 25 | (m : X ⟶ X) [LocallyQuasiFinite m] (c d : ℤ) (hd : d ≠ 0) |
| 26 | (hclass : Line.Bundles.LineBundle.classOf (L.pullback m) = Line.Bundles.LineBundle.classOf L ^ d) |
| 27 | (heuler : ∀ w : ℤ, LineBundle.EulerShifts.lineBundleClassEuler p (Line.Bundles.LineBundle.classOf L ^ w) = c * w ^ (g + 1)) |
| 28 | (a : Line.Bundles.structureModule X ⟶ L.sheaf) (ha_nonzero : ∃ x, x ∈ Ample.LineBundles.sectionNonvanishing a) |
| 29 | {ι : Type v} [Finite ι] (x : ι → X) (hx : Function.Injective x) |
| 30 | (hxa : ∀ i, x i ∉ Ample.LineBundles.sectionNonvanishing a) |
| 31 | (hxm : ∀ i, m (x i) = z (IsLocalRing.closedPoint K)) : |
| 32 | (Nat.card ι : ℤ) ≤ c * ((g + 1).factorial : ℤ) * d ^ g := by |
| 33 | let : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian p |
| 34 | let : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace p |
| 35 | let : IsNoetherian X := ⟨⟩ |
| 36 | obtain ⟨ts, hts, hzts, hfinite⟩ := HyperplaneMixedKoszulSupport.exists_hyperplane_mixedKoszul_finite_support |
| 37 | p L s hcover ha hgen z hz m g (Smooth.FieldDimensionBound.smoothField_topologicalKrullDim_le p (g + 1)) a ha_nonzero |
| 38 | let bs := HyperplaneMixedKoszulSupport.hyperplanePullbackSections L a m ts |
| 39 | have hlen : bs.length = g + 1 := by rw [HyperplaneMixedKoszulSupport.hyperplanePullbackSections_length, hts] |
| 40 | have hzero : ∀ i, x i ∈ MixedKoszulGeometricSupport.mixedSectionZeroSet bs := by |
| 41 | intro i |
| 42 | rw [HyperplaneMixedKoszulSupport.hyperplanePullbackSections_zeroSet] |
| 43 | exact ⟨hxa i, fun t ht => by rw [hxm i]; exact hzts t ht⟩ |
| 44 | have h := FiniteIntersection.EulerPointBound.finiteIntersection_configuration_card_le_mixedEulerDifference p (g + 1) (by omega) |
| 45 | (Line.Bundles.LineBundle.trivial X) bs hlen hfinite x hx hzero |
| 46 | rw [Line.Bundles.LineBundle.classOf_trivial] at h |
| 47 | exact h.trans_eq (HyperplaneMixedEulerCoefficient.hyperplanePullbackSections_monomial_eulerDifference L a m ts g hts |
| 48 | (LineBundle.EulerShifts.lineBundleClassEuler p) c d hd hclass heuler) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneFiberPointBound |