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.Crystalline.Cohomology.SmoothNil |
| 2 | import Mathlib.RingTheory.Etale.Basic |
| 3 | |
| 4 | /-! # Nil Lifting -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.NilLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: unique lifts of étale charts through nil ideals |
| 12 | |
| 13 | The kernel need only consist of nilpotent elements. Finite presentation |
| 14 | reduces uniqueness to a finitely generated nilpotent subideal. |
| 15 | -/ |
| 16 | |
| 17 | universe u v w z |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] |
| 20 | {B : Type w} [CommRing B] [Algebra R B] {C : Type z} [CommRing C] [Algebra R C] |
| 21 | |
| 22 | theorem lift_unique [Algebra.FinitePresentation R A] [Algebra.FormallyUnramified R A] |
| 23 | (f : B →ₐ[R] C) (hnil : ∀ b ∈ RingHom.ker f.toRingHom, IsNilpotent b) |
| 24 | (g₁ g₂ : A →ₐ[R] B) (h : f.comp g₁ = f.comp g₂) : g₁ = g₂ := by |
| 25 | classical |
| 26 | obtain ⟨n, q, hq, _⟩ := Algebra.FinitePresentation.out (R := R) (A := A) |
| 27 | let d : Fin n → B := fun i => g₁ (q (MvPolynomial.X i)) - g₂ (q (MvPolynomial.X i)) |
| 28 | let I : Ideal B := Ideal.span (Set.range d) |
| 29 | have hI : I ≤ RingHom.ker f.toRingHom := by |
| 30 | apply Ideal.span_le.mpr |
| 31 | rintro b ⟨i, rfl⟩ |
| 32 | change f (g₁ (q (MvPolynomial.X i)) - g₂ (q (MvPolynomial.X i))) = 0 |
| 33 | have hi : f (g₁ (q (MvPolynomial.X i))) = f (g₂ (q (MvPolynomial.X i))) := |
| 34 | AlgHom.congr_fun h (q (MvPolynomial.X i)) |
| 35 | rw [map_sub, hi, sub_self] |
| 36 | have hfg : I.FG := Submodule.fg_span (Set.finite_range d) |
| 37 | have hnilI : IsNilpotent I := hfg.isNilpotent_iff_le_nilradical.mpr (fun b hb => hnil b (hI hb)) |
| 38 | apply Algebra.FormallyUnramified.lift_unique I hnilI g₁ g₂ |
| 39 | have hq' : ((Ideal.Quotient.mkₐ R I).comp g₁).comp q = |
| 40 | ((Ideal.Quotient.mkₐ R I).comp g₂).comp q := by |
| 41 | apply MvPolynomial.algHom_ext |
| 42 | intro i |
| 43 | apply Ideal.Quotient.eq.mpr |
| 44 | exact Ideal.subset_span (Set.mem_range_self i) |
| 45 | apply AlgHom.ext |
| 46 | intro a |
| 47 | obtain ⟨b, rfl⟩ := hq a |
| 48 | exact AlgHom.congr_fun hq' b |
| 49 | |
| 50 | theorem existsUnique_lift [Algebra.FinitePresentation R A] [Algebra.FormallyEtale R A] |
| 51 | (a : A →ₐ[R] C) (f : B →ₐ[R] C) (hf : Function.Surjective f) |
| 52 | (hnil : ∀ b ∈ RingHom.ker f.toRingHom, IsNilpotent b) : |
| 53 | ∃! g : A →ₐ[R] B, f.comp g = a := by |
| 54 | obtain ⟨g, hg⟩ := AlgebraicGeometry.Crystalline.Cohomology.SmoothNil.SmoothNilLifting.exists_lift a f hf hnil |
| 55 | exact ⟨g, hg, fun g' hg' => NilLifting.lift_unique f hnil g' g (hg'.trans hg.symm)⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.NilLifting |