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 Mathlib.AlgebraicGeometry.ResidueField |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | import Mathlib.Algebra.Field.Equiv |
| 4 | |
| 5 | /-! # Field Point -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The prime of global functions determined by a field-valued point. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.FieldPointPrime |
| 20 | |
| 21 | abbrev sectionsField (K : Type u) [Field K] : Field Γ(Spec (.of K), ⊤) := |
| 22 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 23 | (Field.toIsField K)).toField |
| 24 | |
| 25 | theorem kernel {S : Scheme.{u}} {K : Type u} [Field K] (g : Spec (.of K) ⟶ S) |
| 26 | (t : Spec (.of K)) : (S.toSpecΓ (g t)).asIdeal = RingHom.ker g.appTop.hom := by |
| 27 | let : Field Γ(Spec (.of K), ⊤) := sectionsField K |
| 28 | have hn := congrArg (fun a : Spec (.of K) ⟶ Spec Γ(S, ⊤) => a t) |
| 29 | (Scheme.toSpecΓ_naturality g) |
| 30 | change S.toSpecΓ (g t) = Spec.map g.appTop ((Spec (.of K)).toSpecΓ t) at hn |
| 31 | rw [hn] |
| 32 | change Ideal.comap g.appTop.hom (((Spec (.of K)).toSpecΓ t).asIdeal) = _ |
| 33 | let q : PrimeSpectrum Γ(Spec (.of K), ⊤) := (Spec (.of K)).toSpecΓ t |
| 34 | have : q.asIdeal.IsPrime := q.isPrime |
| 35 | have hb : q.asIdeal = ⊥ := Ideal.eq_bot_of_prime _ |
| 36 | exact congrArg (Ideal.comap g.appTop.hom) hb |
| 37 | |
| 38 | end Construction.FieldPointPrime |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |