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.AbelianScheme.TorsionQuotient.SquareZero |
| 2 | import Mathlib.RingTheory.Smooth.Basic |
| 3 | |
| 4 | /-! # Local Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.LocalSmooth.LocalSmoothCriterion |
| 7 | |
| 8 | /-! |
| 9 | # TorsionQuotient: local square-zero extensions detect formal smoothness of local rings |
| 10 | |
| 11 | The universal first-order thickening of a polynomial presentation is local |
| 12 | when its quotient is local. A section of this actual thickening proves |
| 13 | formal smoothness by the standard presentation criterion. |
| 14 | -/ |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem isLocalHom_of_surjective_squareZero |
| 19 | {C B : Type u} [CommRing C] [CommRing B] (p : C →+* B) |
| 20 | (hp : Function.Surjective p) (hker : RingHom.ker p ^ 2 = ⊥) : IsLocalHom p where |
| 21 | map_nonunit a ha := by |
| 22 | obtain ⟨r, hr⟩ := ha |
| 23 | obtain ⟨b, hb⟩ := hp (↑r⁻¹ : B) |
| 24 | have he : a * b - 1 ∈ RingHom.ker p := by |
| 25 | rw [RingHom.mem_ker, map_sub, map_mul, map_one, ← hr, hb, Units.mul_inv, sub_self] |
| 26 | have hn : IsNilpotent (a * b - 1) := |
| 27 | ⟨2, by simpa only [pow_two] using |
| 28 | InfinitesimalEq.Infinitesimal.mul_eq_zero_of_square_zero_ideal (RingHom.ker p) hker he he⟩ |
| 29 | have hu : IsUnit (a * b) := by |
| 30 | simpa only [sub_add_cancel] using hn.isUnit_add_right_of_commute isUnit_one (Commute.all ..) |
| 31 | exact isUnit_of_mul_isUnit_left hu |
| 32 | |
| 33 | theorem domain_isLocalRing_of_squareZero |
| 34 | {C B : Type u} [CommRing C] [CommRing B] [IsLocalRing B] (p : C →+* B) |
| 35 | (hp : Function.Surjective p) (hker : RingHom.ker p ^ 2 = ⊥) : IsLocalRing C := by |
| 36 | let : IsLocalHom p := isLocalHom_of_surjective_squareZero p hp hker |
| 37 | exact p.domain_isLocalRing |
| 38 | |
| 39 | /-- To prove a local algebra formally smooth it suffices to split all |
| 40 | surjective square-zero extensions by local algebras. -/ |
| 41 | theorem formallySmooth_of_local_sections |
| 42 | {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] [IsLocalRing A] |
| 43 | (H : ∀ (C : Type u) [CommRing C] [Algebra R C] [IsLocalRing C] |
| 44 | (p : C →ₐ[R] A), Function.Surjective p → RingHom.ker p.toRingHom ^ 2 = ⊥ → |
| 45 | ∃ g : A →ₐ[R] C, p.comp g = AlgHom.id R A) : Algebra.FormallySmooth R A := by |
| 46 | let P := Algebra.Generators.self R A |
| 47 | let f := IsScalarTower.toAlgHom R P.Ring A |
| 48 | rw [Algebra.FormallySmooth.iff_split_surjection f P.algebraMap_surjective] |
| 49 | have hp : Function.Surjective f.kerSquareLift := |
| 50 | Ideal.Quotient.lift_surjective_of_surjective _ _ P.algebraMap_surjective |
| 51 | have hker : RingHom.ker f.kerSquareLift.toRingHom ^ 2 = ⊥ := by |
| 52 | rw [AlgHom.ker_kerSquareLift, Ideal.cotangentIdeal_square] |
| 53 | let : IsLocalRing (P.Ring ⧸ RingHom.ker f.toRingHom ^ 2) := |
| 54 | domain_isLocalRing_of_squareZero f.kerSquareLift.toRingHom hp hker |
| 55 | exact H _ f.kerSquareLift hp hker |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.LocalSmooth.LocalSmoothCriterion |