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.Ideal.GoingUp |
| 2 | |
| 3 | /-! # Integral Split Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSplitMap.Construction |
| 6 | |
| 7 | /-! |
| 8 | # Completion: split integral maps into a domain |
| 9 | |
| 10 | A retraction of an integral extension into a domain is injective, since |
| 11 | its kernel contracts to zero. Thus the extension is an isomorphism. |
| 12 | -/ |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} {S : Type v} [CommRing R] [CommRing S] |
| 17 | [Nontrivial R] [IsDomain S] |
| 18 | |
| 19 | /-- A retraction of an integral ring map into a domain is injective. -/ |
| 20 | theorem integral_retraction_injective (f : R →+* S) (g : S →+* R) |
| 21 | (hf : f.IsIntegral) (h : g.comp f = RingHom.id R) : Function.Injective g := by |
| 22 | let := f.toAlgebra |
| 23 | have : Algebra.IsIntegral R S := algebraMap_isIntegral_iff.mp hf |
| 24 | apply (RingHom.injective_iff_ker_eq_bot g).mpr |
| 25 | apply Ideal.eq_bot_of_under_eq_bot (R := R) |
| 26 | change Ideal.comap f (RingHom.ker g) = ⊥ |
| 27 | rw [RingHom.comap_ker, h] |
| 28 | exact (RingHom.injective_iff_ker_eq_bot (RingHom.id R)).mp Function.injective_id |
| 29 | |
| 30 | /-- A split integral extension into a domain is bijective. -/ |
| 31 | theorem integral_split_bijective (f : R →+* S) (g : S →+* R) |
| 32 | (hf : f.IsIntegral) (h : g.comp f = RingHom.id R) : Function.Bijective f := by |
| 33 | have hg := integral_retraction_injective f g hf h |
| 34 | have hr (r : R) : g (f r) = r := congrArg (fun k : R →+* R => k r) h |
| 35 | refine ⟨fun x y hxy => by simpa only [hr] using congrArg g hxy, fun s => ?_⟩ |
| 36 | exact ⟨g s, hg (hr (g s))⟩ |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSplitMap.Construction |