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.Resolution.Blowups.NilpotentTaylorMap |
| 2 | import Mathlib.RingTheory.Unramified.Basic |
| 3 | |
| 4 | /-! # Taylor Congruence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.TaylorCongruence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Taylor congruences and uniqueness on formally unramified coordinate charts. -/ |
| 11 | |
| 12 | variable {k R S : Type*} [CommRing k] [CommRing R] [CommRing S] |
| 13 | [Algebra k R] [Algebra k S] [Algebra ℚ R] [Algebra ℚ S] |
| 14 | |
| 15 | theorem nilpotentTaylorMap_sub_mem (D : Derivation k R R) (f : R →ₐ[k] S) |
| 16 | (t : S) (n : ℕ) (ht : t ^ (n + 1) = 0) (I : Ideal S) (hI : t ∈ I) (x : R) : |
| 17 | NilpotentTaylorMap.Construction.nilpotentTaylorMap D f t (n + 1) ht x - f x ∈ I := by |
| 18 | rw [NilpotentTaylorMap.Construction.nilpotentTaylorMap_apply, Finset.sum_range_succ'] |
| 19 | simp only [Nat.factorial_zero, Nat.cast_one, inv_one, one_smul, pow_zero, |
| 20 | Module.End.one_apply, one_mul, add_sub_cancel_right] |
| 21 | apply Ideal.sum_mem |
| 22 | intro j _ |
| 23 | have hp : t ^ (j + 1) ∈ I := by |
| 24 | rw [pow_succ] |
| 25 | exact I.mul_mem_left _ hI |
| 26 | have hm := I.mul_mem_right (f ((D.toLinearMap ^ (j + 1)) x)) hp |
| 27 | rw [Algebra.smul_def] |
| 28 | exact I.mul_mem_left _ hm |
| 29 | |
| 30 | /-- A Taylor map agreeing with a second map on the coordinate algebra and |
| 31 | modulo the displacement is that second map on a formally unramified chart. -/ |
| 32 | theorem formallyUnramified_nilpotentTaylor_eq |
| 33 | {P : Type*} [CommRing P] [Algebra P R] [Algebra.FormallyUnramified P R] |
| 34 | (D : Derivation k R R) (f g : R →ₐ[k] S) (t : S) (n : ℕ) |
| 35 | (ht : t ^ (n + 1) = 0) |
| 36 | (hbase : ∀ p : P, NilpotentTaylorMap.Construction.nilpotentTaylorMap D f t (n + 1) ht (algebraMap P R p) = |
| 37 | g (algebraMap P R p)) |
| 38 | (hred : ∀ x : R, g x - f x ∈ Ideal.span {t}) : |
| 39 | NilpotentTaylorMap.Construction.nilpotentTaylorMap D f t (n + 1) ht = g := by |
| 40 | let : Algebra P S := (g.toRingHom.comp (algebraMap P R)).toAlgebra |
| 41 | let gP : R →ₐ[P] S := { g.toRingHom with commutes' := fun _ => rfl } |
| 42 | let τP : R →ₐ[P] S := |
| 43 | { (NilpotentTaylorMap.Construction.nilpotentTaylorMap D f t (n + 1) ht).toRingHom with commutes' := hbase } |
| 44 | have hnil : IsNilpotent (Ideal.span {t} : Ideal S) := by |
| 45 | refine ⟨n + 1, ?_⟩ |
| 46 | change (Ideal.span {t} : Ideal S) ^ (n + 1) = ⊥ |
| 47 | rw [Ideal.span_singleton_pow, ht, Ideal.span_singleton_zero] |
| 48 | have he : τP = gP := by |
| 49 | apply Algebra.FormallyUnramified.ext (Ideal.span {t}) hnil |
| 50 | intro x |
| 51 | apply Ideal.Quotient.eq.mpr |
| 52 | have hτ := nilpotentTaylorMap_sub_mem D f t n ht (Ideal.span {t}) |
| 53 | (Ideal.mem_span_singleton_self t) x |
| 54 | have h := (Ideal.span {t}).sub_mem hτ (hred x) |
| 55 | change NilpotentTaylorMap.Construction.nilpotentTaylorMap D f t (n + 1) ht x - g x ∈ _ |
| 56 | convert h using 1 |
| 57 | ring |
| 58 | exact AlgHom.ext fun x => AlgHom.congr_fun he x |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Resolution.Blowups.TaylorCongruence.Construction |