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.RingTheory.Smooth.Basic |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 3 | |
| 4 | /-! # Infinitesimal Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.InfinitesimalCoordinates.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: infinitesimal lifts detect every power of the section ideal -/ |
| 11 | |
| 12 | variable {R S : Type} [CommRing R] [CommRing S] [Algebra R S] |
| 13 | |
| 14 | theorem quotientPowerFactor_ker_pow (I : Ideal R) (n : ℕ) (hn : n ≠ 0) : |
| 15 | RingHom.ker (Ideal.Quotient.factor (Ideal.pow_le_self (I := I) hn)) ^ n = ⊥ := by |
| 16 | have hk : RingHom.ker (Ideal.Quotient.factor (Ideal.pow_le_self (I := I) hn)) = |
| 17 | I.map (Ideal.Quotient.mk (I ^ n)) := by |
| 18 | ext a |
| 19 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 20 | rw [RingHom.mem_ker] |
| 21 | change Ideal.Quotient.mk I r = 0 ↔ _ |
| 22 | rw [Ideal.Quotient.eq_zero_iff_mem, Ideal.mem_map_iff_of_surjective _ |
| 23 | Ideal.Quotient.mk_surjective] |
| 24 | constructor |
| 25 | · exact fun hr => ⟨r, hr, rfl⟩ |
| 26 | · rintro ⟨s, hs, hsr⟩ |
| 27 | have hsub := Ideal.pow_le_self (I := I) hn (Ideal.Quotient.eq.mp hsr) |
| 28 | exact (I.sub_mem hs hsub) |> fun h => sub_sub_cancel s r ▸ h |
| 29 | rw [hk, ← Ideal.map_pow, Ideal.map_quotient_self] |
| 30 | |
| 31 | theorem formallySmooth_ker_power_comap [Algebra.FormallySmooth R S] |
| 32 | (I : Ideal R) (q : S →ₐ[R] R ⧸ I) (n : ℕ) : |
| 33 | (RingHom.ker q ^ n).comap (algebraMap R S) = I ^ n := by |
| 34 | by_cases hn : n = 0 |
| 35 | · subst n |
| 36 | simp |
| 37 | let g : R ⧸ I ^ n →ₐ[R] R ⧸ I := Ideal.Quotient.factorₐ R (Ideal.pow_le_self hn) |
| 38 | have hg : Function.Surjective g := by |
| 39 | intro a |
| 40 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 41 | exact ⟨Ideal.Quotient.mk (I ^ n) r, rfl⟩ |
| 42 | have hgn : RingHom.ker g ^ n = ⊥ := quotientPowerFactor_ker_pow I n hn |
| 43 | let l := Algebra.FormallySmooth.liftOfSurjective q g hg ⟨n, hgn⟩ |
| 44 | have hl : RingHom.ker q ≤ (RingHom.ker g).comap l := by |
| 45 | intro s hs |
| 46 | exact (Algebra.FormallySmooth.liftOfSurjective_apply q g hg ⟨n, hgn⟩ s).trans hs |
| 47 | apply le_antisymm |
| 48 | · intro r hr |
| 49 | have h : l (algebraMap R S r) ∈ RingHom.ker g ^ n := |
| 50 | (Ideal.pow_right_mono hl n).trans (Ideal.le_comap_pow _ _) hr |
| 51 | rw [hgn, Ideal.mem_bot, l.commutes] at h |
| 52 | exact Ideal.Quotient.eq_zero_iff_mem.mp h |
| 53 | · have hI : I ≤ (RingHom.ker q).comap (algebraMap R S) := by |
| 54 | intro r hr |
| 55 | exact (q.commutes r).trans (Ideal.Quotient.eq_zero_iff_mem.mpr hr) |
| 56 | exact (Ideal.pow_right_mono hI n).trans (Ideal.le_comap_pow _ _) |
| 57 | |
| 58 | theorem formallySmooth_ker_power_comap_of_surjective [Algebra.FormallySmooth R S] |
| 59 | {C : Type} [CommRing C] [Algebra R C] (q : S →ₐ[R] C) |
| 60 | (hC : Function.Surjective (algebraMap R C)) (n : ℕ) : |
| 61 | (RingHom.ker q ^ n).comap (algebraMap R S) = RingHom.ker (algebraMap R C) ^ n := by |
| 62 | let e := Ideal.quotientKerAlgEquivOfSurjective (f := Algebra.ofId R C) hC |
| 63 | let q' := e.symm.toAlgHom.comp q |
| 64 | have hk : RingHom.ker q'.toRingHom = RingHom.ker q.toRingHom := |
| 65 | RingHom.ker_comp_of_injective q.toRingHom e.symm.injective |
| 66 | have h := formallySmooth_ker_power_comap (RingHom.ker (algebraMap R C)) q' n |
| 67 | change (RingHom.ker q'.toRingHom ^ n).comap (algebraMap R S) = _ at h |
| 68 | rw [hk] at h |
| 69 | exact h |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Divisors.LineBundles.InfinitesimalCoordinates.BundleCycles |