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.Parameter.ScalarQuotient |
| 2 | |
| 3 | /-! # Quotient Scalars -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.QuotientScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A native surjection with principal kernel supplies the exact |
| 10 | quotient-ring scalar action on endpoint modules. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R S : Type u) [CommRing R] [CommRing S] (r : R) (φ : R →+* S) |
| 19 | (hk : RingHom.ker φ = Ideal.span {r}) |
| 20 | |
| 21 | def map : Parameter.ScalarQuotient.Ring R r →+* S := |
| 22 | Ideal.Quotient.lift (Ideal.span {r}) φ hk.symm.le |
| 23 | |
| 24 | theorem map_mk (a : R) : map R S r φ hk (Ideal.Quotient.mk _ a) = φ a := rfl |
| 25 | |
| 26 | def ringEquiv (hφ : Function.Surjective φ) : Parameter.ScalarQuotient.Ring R r ≃+* S := |
| 27 | RingEquiv.ofBijective (map R S r φ hk) ⟨by |
| 28 | intro a b hab |
| 29 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 30 | obtain ⟨b, rfl⟩ := Ideal.Quotient.mk_surjective b |
| 31 | apply Ideal.Quotient.eq.mpr |
| 32 | rw [← hk, RingHom.mem_ker, map_sub, sub_eq_zero] |
| 33 | exact hab, |
| 34 | fun b => let ⟨a, ha⟩ := hφ b; ⟨Ideal.Quotient.mk _ a, ha⟩⟩ |
| 35 | |
| 36 | def module (N : ModuleCat.{u} S) : ModuleCat.{u} (Parameter.ScalarQuotient.Ring R r) := |
| 37 | (ModuleCat.restrictScalars (map R S r φ hk)).obj N |
| 38 | |
| 39 | def restrictionIso (N : ModuleCat.{u} S) : |
| 40 | (ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r}))).obj (module R S r φ hk N) ≅ |
| 41 | (ModuleCat.restrictScalars φ).obj N := |
| 42 | (LinearEquiv.refl R ((ModuleCat.restrictScalars φ).obj N)).toModuleIso |
| 43 | |
| 44 | def extendEquiv (M : ModuleCat.{u} R) (N : ModuleCat.{u} S) |
| 45 | (e : QuotSMulTop r M ≃ₗ[R] (ModuleCat.restrictScalars φ).obj N) : |
| 46 | (Parameter.ScalarQuotient.quotient R r).obj M ≃ₗ[Parameter.ScalarQuotient.Ring R r] |
| 47 | module R S r φ hk N := by |
| 48 | let Q := Parameter.ScalarQuotient.Ring R r |
| 49 | let NQ := module R S r φ hk N |
| 50 | let : Module R NQ := Module.compHom NQ (Ideal.Quotient.mk (Ideal.span {r})) |
| 51 | let : IsScalarTower R Q NQ := IsScalarTower.of_compHom R Q NQ |
| 52 | change QuotSMulTop r M ≃ₗ[Q] NQ |
| 53 | exact e.extendScalarsOfSurjective (S := Q) Ideal.Quotient.mk_surjective |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.QuotientScalars |