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.FiberFundamentalCycle |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.FiberGenericPoint |
| 3 | |
| 4 | /-! # Fiber Fundamental Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.FiberFundamentalCycle.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For an integral fiber the actual fundamental cycle consists of its |
| 11 | unique generic point with local-ring length one. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | theorem componentGenericPoint_eq_genericPoint (X : Scheme.{0}) [IsIntegral X] |
| 16 | (C : irreducibleComponents X) : FiberFundamentalCycle.BundleCycles.componentGenericPoint X C = genericPoint X := by |
| 17 | have hC : C.val = Set.univ := by |
| 18 | simpa only [irreducibleComponents_eq_singleton, Set.mem_singleton_iff] using C.property |
| 19 | let W : IrreducibleCloseds X := ⟨C.val, C.property.1, isClosed_of_mem_irreducibleComponents _ C.property⟩ |
| 20 | have h : IsGenericPoint (FiberFundamentalCycle.BundleCycles.componentGenericPoint X C) C.val := W.isIrreducible.isGenericPoint_genericPoint W.isClosed |
| 21 | rw [hC] at h |
| 22 | exact h.eq (genericPoint_spec X) |
| 23 | |
| 24 | theorem componentGenericPoint_length_one (X : Scheme.{0}) [IsIntegral X] |
| 25 | (C : irreducibleComponents X) : |
| 26 | Module.length (X.presheaf.stalk (FiberFundamentalCycle.BundleCycles.componentGenericPoint X C)) |
| 27 | (X.presheaf.stalk (FiberFundamentalCycle.BundleCycles.componentGenericPoint X C)) = 1 := by |
| 28 | rw [componentGenericPoint_eq_genericPoint] |
| 29 | change Module.length X.functionField X.functionField = 1 |
| 30 | exact Module.length_eq_one _ _ |
| 31 | |
| 32 | variable {X Y : Scheme.{0}} (p : X ⟶ Y) [LocallyOfFiniteType p] [QuasiCompact p] [GeometricallyIntegral p] |
| 33 | |
| 34 | theorem integralFiber_fundamentalPointCycle (y : Y) : |
| 35 | FiberFundamentalCycle.BundleCycles.fiberFundamentalPointCycle p y = Finsupp.single (FiberGenericPoint.BundleCycles.integralFiberGenericPoint p y) 1 := by |
| 36 | classical |
| 37 | let Z := p.fiber y |
| 38 | let C : irreducibleComponents Z := ⟨Set.univ, by simp only [irreducibleComponents_eq_singleton, Set.mem_singleton_iff]⟩ |
| 39 | let : Unique (irreducibleComponents Z) := ⟨⟨C⟩, fun D => Subtype.ext (by |
| 40 | simpa only [irreducibleComponents_eq_singleton, Set.mem_singleton_iff] using D.property)⟩ |
| 41 | let := (NoetherianSpace.finite_irreducibleComponents (α := Z)).fintype |
| 42 | change (∑ D : irreducibleComponents Z, Finsupp.single (p.fiberι y (FiberFundamentalCycle.BundleCycles.componentGenericPoint Z D)) |
| 43 | ((Module.length (Z.presheaf.stalk (FiberFundamentalCycle.BundleCycles.componentGenericPoint Z D)) |
| 44 | (Z.presheaf.stalk (FiberFundamentalCycle.BundleCycles.componentGenericPoint Z D))).toNat : ℚ)) = _ |
| 45 | apply (Fintype.sum_unique _).trans |
| 46 | have hp := congrArg (p.fiberι y) (componentGenericPoint_eq_genericPoint Z (default : irreducibleComponents Z)) |
| 47 | have hl := congrArg (fun n : ℕ∞ => (n.toNat : ℚ)) |
| 48 | (componentGenericPoint_length_one Z (default : irreducibleComponents Z)) |
| 49 | exact congrArg₂ Finsupp.single hp hl |
| 50 | |
| 51 | theorem fiberPointCyclePullback_eq_integralFiberCycleExtension : |
| 52 | FiberFundamentalCycle.BundleCycles.fiberPointCyclePullback p = FiberGenericPoint.BundleCycles.integralFiberCycleExtension p := by |
| 53 | apply Finsupp.lhom_ext |
| 54 | intro y a |
| 55 | rw [FiberFundamentalCycle.BundleCycles.fiberPointCyclePullback_single, integralFiber_fundamentalPointCycle] |
| 56 | change a • Finsupp.single (FiberGenericPoint.BundleCycles.integralFiberGenericPoint p y) 1 = |
| 57 | Finsupp.mapDomain (FiberGenericPoint.BundleCycles.integralFiberGenericPoint p) (Finsupp.single y a) |
| 58 | rw [Finsupp.mapDomain_single, Finsupp.smul_single, smul_eq_mul, mul_one] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.FiberFundamentalCycle.BundleCycles |