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.Algebra.Category.Ring.Basic |
| 2 | import Mathlib.RingTheory.Noetherian.Basic |
| 3 | |
| 4 | /-! # Quotient Induction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.QuotientInduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Noetherian induction formulated with arbitrary surjective presentations |
| 11 | of quotient rings, so that canonical quotient types need not be changed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem noetherian_quotient_induction (R : CommRingCat.{u}) [IsNoetherianRing R] |
| 18 | (P : CommRingCat.{u} → Prop) |
| 19 | (hstep : ∀ (A : CommRingCat.{u}) [IsNoetherianRing A], |
| 20 | (∀ (B : CommRingCat.{u}) (ψ : A ⟶ B), Function.Surjective ψ → |
| 21 | RingHom.ker ψ.hom ≠ ⊥ → P B) → P A) : P R := by |
| 22 | have h (J : Ideal R) : ∀ (A : CommRingCat.{u}) (φ : R ⟶ A), |
| 23 | Function.Surjective φ → RingHom.ker φ.hom = J → P A := by |
| 24 | induction J using WellFoundedGT.induction with |
| 25 | | ind J ih => |
| 26 | intro A φ hφ hker |
| 27 | let : IsNoetherianRing A := isNoetherianRing_of_surjective R A φ.hom hφ |
| 28 | apply hstep A |
| 29 | intro B ψ hψ hψker |
| 30 | have hle : RingHom.ker φ.hom ≤ RingHom.ker (φ ≫ ψ).hom := by |
| 31 | intro r hr |
| 32 | change ψ (φ r) = 0 |
| 33 | rw [show φ r = 0 from hr, map_zero] |
| 34 | have hne : RingHom.ker φ.hom ≠ RingHom.ker (φ ≫ ψ).hom := by |
| 35 | intro he |
| 36 | apply hψker |
| 37 | apply Ideal.comap_injective_of_surjective φ.hom hφ |
| 38 | change (RingHom.ker ψ.hom).comap φ.hom = RingHom.ker φ.hom |
| 39 | rw [RingHom.comap_ker] |
| 40 | exact he.symm |
| 41 | exact ih (RingHom.ker (φ ≫ ψ).hom) (hker ▸ lt_of_le_of_ne hle hne) |
| 42 | B (φ ≫ ψ) (hψ.comp hφ) rfl |
| 43 | exact h (RingHom.ker (CommRingCat.Hom.hom (𝟙 R))) R (𝟙 R) Function.surjective_id rfl |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.QuotientInduction |