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.ArithmeticGeometry.Models.SpreadingOut.Fg |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 4 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 5 | import Mathlib.AlgebraicGeometry.Group.Abelian |
| 6 | |
| 7 | /-! # Base -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.Base.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | abbrev fieldBase (K : Type u) [Field K] : Scheme.{u} := |
| 18 | Spec (CommRingCat.of K) |
| 19 | |
| 20 | /-- The arithmetic-base definition from the SpreadingOut specification, with |
| 21 | noncomputability made explicit by the enclosing section. -/ |
| 22 | structure ArithmeticOpen (K : Type u) [Field K] [NumberField K] where |
| 23 | U : (Spec (CommRingCat.of (NumberField.RingOfIntegers K))).Opens |
| 24 | finite_complement : |
| 25 | ((U : Set (Spec |
| 26 | (CommRingCat.of (NumberField.RingOfIntegers K))))ᶜ).Finite |
| 27 | generic : fieldBase K ⟶ U.toScheme |
| 28 | generic_eq : |
| 29 | generic ≫ U.ι = |
| 30 | Spec.map (CommRingCat.ofHom |
| 31 | (algebraMap (NumberField.RingOfIntegers K) K)) |
| 32 | |
| 33 | abbrev integerBasicOpen (K : Type u) [Field K] |
| 34 | (d : NumberField.RingOfIntegers K) : |
| 35 | (Spec (CommRingCat.of (NumberField.RingOfIntegers K))).Opens := |
| 36 | PrimeSpectrum.basicOpen d |
| 37 | |
| 38 | /-- The generic point factors through every nonzero principal open. -/ |
| 39 | theorem generic_range_subset_basicOpen |
| 40 | (K : Type u) [Field K] [NumberField K] |
| 41 | (d : NumberField.RingOfIntegers K) (hd : d ≠ 0) : |
| 42 | Set.range |
| 43 | (Spec.map (CommRingCat.ofHom |
| 44 | (algebraMap (NumberField.RingOfIntegers K) K))) ⊆ |
| 45 | (integerBasicOpen K d : Set |
| 46 | (Spec (CommRingCat.of (NumberField.RingOfIntegers K)))) := by |
| 47 | rintro _ ⟨p, rfl⟩ |
| 48 | let q : PrimeSpectrum K := p |
| 49 | change algebraMap (NumberField.RingOfIntegers K) K d ∉ q.asIdeal |
| 50 | rw [Ideal.eq_bot_of_prime (I := q.asIdeal), Ideal.mem_bot] |
| 51 | exact NumberField.RingOfIntegers.coe_ne_zero_iff.mpr hd |
| 52 | |
| 53 | /-- Inverting a nonzero algebraic integer gives an arithmetic base of |
| 54 | the precise kind required by the SpreadingOut statement. -/ |
| 55 | def arithmeticOpenOfNonzero |
| 56 | (K : Type u) [Field K] [NumberField K] |
| 57 | (d : NumberField.RingOfIntegers K) (hd : d ≠ 0) : ArithmeticOpen K where |
| 58 | U := integerBasicOpen K d |
| 59 | finite_complement := Fg.Construction.finite_complement_basicOpen d hd |
| 60 | generic := IsOpenImmersion.lift (integerBasicOpen K d).ι |
| 61 | (Spec.map (CommRingCat.ofHom (algebraMap (NumberField.RingOfIntegers K) K))) |
| 62 | (by simpa using generic_range_subset_basicOpen K d hd) |
| 63 | generic_eq := IsOpenImmersion.lift_fac _ _ _ |
| 64 | |
| 65 | /-- Finite disjoint open components with geometrically connected fibers, |
| 66 | using the same condition as the statement specification. -/ |
| 67 | def HasSplitGeometricComponents {S : Scheme.{u}} (X : Over S) : Prop := |
| 68 | ∃ (n : ℕ) (C : Fin n → X.left.Opens), |
| 69 | (∀ i j, i ≠ j → Disjoint (C i) (C j)) ∧ |
| 70 | (⨆ i, C i) = ⊤ ∧ |
| 71 | ∀ i, GeometricallyConnected ((C i).ι ≫ X.hom) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.ArithmeticGeometry.Models.SpreadingOut.Base.Construction |