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.IntersectionTheory.ProjectionFormula.JetIdealGenerators |
| 2 | import Mathlib.RingTheory.Unramified.LocalRing |
| 3 | |
| 4 | /-! # First Order Unramified -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FirstOrderUnramified |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! First-order spanning and normalized coordinate identities imply |
| 11 | the native formally unramified condition on a local homomorphism. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AugmentedCotangent IsLocalRing |
| 16 | |
| 17 | universe u v w z |
| 18 | |
| 19 | variable {K : Type u} {A : Type v} {R : Type w} |
| 20 | [Field K] [CommRing A] [CommRing R] [Algebra K A] [Algebra K R] |
| 21 | [IsLocalRing A] [IsLocalRing R] [IsNoetherianRing R] |
| 22 | (g : A →ₐ[K] R) (ε : R →ₐ[K] K) |
| 23 | |
| 24 | omit [IsLocalRing R] [IsNoetherianRing R] in |
| 25 | theorem centered_mem_image {ι : Type z} (s : ι → R) (r : R) |
| 26 | (t : ι → A) (ht : ∀ a, r * g (t a) = s a) : |
| 27 | ∀ a, ε r • s a - ε (s a) • r ∈ (maximalIdeal A).map g.toRingHom := by |
| 28 | intro a |
| 29 | let c := ε (g (t a)) |
| 30 | have hc : ε (s a) = ε r * c := by rw [← ht a, map_mul] |
| 31 | have ha : t a - algebraMap K A c ∈ maximalIdeal A := by |
| 32 | rw [← AugmentedRegularJet.ideal_eq (ε.comp g)] |
| 33 | change ε (g (t a - algebraMap K A c)) = 0 |
| 34 | simp [c] |
| 35 | have hmem : g (t a - algebraMap K A c) ∈ (maximalIdeal A).map g.toRingHom := |
| 36 | Ideal.mem_map_of_mem g.toRingHom ha |
| 37 | have hh := ((maximalIdeal A).map g.toRingHom).mul_mem_left (ε r • r) hmem |
| 38 | convert hh using 1 |
| 39 | rw [map_sub, g.commutes, hc, ← ht a] |
| 40 | simp only [Algebra.smul_def, map_mul] |
| 41 | ring |
| 42 | |
| 43 | theorem map_maximalIdeal_eq {ι : Type z} (s : ι → R) (r : R) (hr : ε r ≠ 0) |
| 44 | (hs : Submodule.span K (Set.range (fun a => AugmentedCotangent.jet ε (s a))) = ⊤) |
| 45 | (t : ι → A) (ht : ∀ a, r * g (t a) = s a) |
| 46 | [IsLocalHom g.toRingHom] : |
| 47 | (maximalIdeal A).map g.toRingHom = maximalIdeal R := by |
| 48 | apply le_antisymm (IsLocalRing.map_maximalIdeal_le g.toRingHom) |
| 49 | rw [← JetIdealGenerators.span_maximalIdeal ε r s hr hs] |
| 50 | apply Ideal.span_le.mpr |
| 51 | rintro _ ⟨a, rfl⟩ |
| 52 | exact centered_mem_image g ε s r t ht a |
| 53 | |
| 54 | theorem formallyUnramified {ι : Type z} (s : ι → R) (r : R) (hr : ε r ≠ 0) |
| 55 | (hs : Submodule.span K (Set.range (fun a => AugmentedCotangent.jet ε (s a))) = ⊤) |
| 56 | (t : ι → A) (ht : ∀ a, r * g (t a) = s a) |
| 57 | [IsLocalHom g.toRingHom] : |
| 58 | letI := g.toRingHom.toAlgebra |
| 59 | Algebra.EssFiniteType A R → |
| 60 | Algebra.IsSeparable (ResidueField A) (ResidueField R) → Algebra.FormallyUnramified A R := by |
| 61 | let := g.toRingHom.toAlgebra |
| 62 | intro hfin hsep |
| 63 | let := hfin |
| 64 | let := hsep |
| 65 | exact Algebra.FormallyUnramified.of_map_maximalIdeal (map_maximalIdeal_eq g ε s r hr hs t ht) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FirstOrderUnramified |