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.Algebra.Module.Injective |
| 2 | import Mathlib.RingTheory.PrincipalIdealDomain |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Quotient Injective -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.QuotientInjective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero principal quotient of a principal ideal domain is injective |
| 12 | as a module over itself. This applies to the finite Witt coefficient rings. -/ |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsDomain R] [IsPrincipalIdealRing R] |
| 17 | |
| 18 | theorem baer (a : R) (ha : a ≠ 0) : |
| 19 | Module.Baer (R ⧸ Ideal.span {a}) (R ⧸ Ideal.span {a}) := by |
| 20 | intro I f |
| 21 | let S := R ⧸ Ideal.span {a} |
| 22 | let q : R →+* S := Ideal.Quotient.mk (Ideal.span {a}) |
| 23 | let J := I.comap q |
| 24 | let b := Submodule.IsPrincipal.generator J |
| 25 | have hb : q b ∈ I := Submodule.IsPrincipal.generator_mem J |
| 26 | have ha0 : q a = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_span_singleton_self a) |
| 27 | have haJ : a ∈ J := by |
| 28 | change q a ∈ I |
| 29 | rw [ha0] |
| 30 | exact I.zero_mem |
| 31 | obtain ⟨c, hac⟩ := (Submodule.IsPrincipal.mem_iff_generator_dvd J).mp haJ |
| 32 | have hc : c ≠ 0 := by |
| 33 | intro h |
| 34 | apply ha |
| 35 | simpa only [h, mul_zero] using hac |
| 36 | let bI : I := ⟨q b, hb⟩ |
| 37 | let y : S := f bI |
| 38 | obtain ⟨d, hd⟩ := Ideal.Quotient.mk_surjective y |
| 39 | change q d = y at hd |
| 40 | have hcb : q c • bI = 0 := by |
| 41 | apply Subtype.ext |
| 42 | change q c * q b = 0 |
| 43 | rw [← map_mul, mul_comm c b] |
| 44 | exact (congrArg q hac).symm.trans ha0 |
| 45 | have hcy : q c * y = 0 := by |
| 46 | change q c • f bI = 0 |
| 47 | rw [← f.map_smul, hcb, map_zero] |
| 48 | have hcd : q (c * d) = 0 := by |
| 49 | rw [map_mul, hd] |
| 50 | exact hcy |
| 51 | obtain ⟨t, ht⟩ := Ideal.mem_span_singleton.mp (Ideal.Quotient.eq_zero_iff_mem.mp hcd) |
| 52 | have hdt : d = b * t := by |
| 53 | apply mul_left_cancel₀ hc |
| 54 | calc |
| 55 | c * d = a * t := ht |
| 56 | _ = c * (b * t) := by rw [hac]; ring |
| 57 | have hy : y = q b * q t := by |
| 58 | rw [← hd, hdt, map_mul] |
| 59 | let g : S →ₗ[S] S := |
| 60 | { toFun := fun x => x * q t |
| 61 | map_add' := fun x z => add_mul x z (q t) |
| 62 | map_smul' := fun r x => mul_assoc r x (q t) } |
| 63 | refine ⟨g, ?_⟩ |
| 64 | intro x hx |
| 65 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 66 | have hrJ : r ∈ J := hx |
| 67 | obtain ⟨v, hrv⟩ := (Submodule.IsPrincipal.mem_iff_generator_dvd J).mp hrJ |
| 68 | have hxI : (⟨q r, hx⟩ : I) = q v • bI := by |
| 69 | apply Subtype.ext |
| 70 | change q r = q v * q b |
| 71 | rw [hrv, map_mul, mul_comm] |
| 72 | change q r * q t = f ⟨q r, hx⟩ |
| 73 | rw [hxI, f.map_smul] |
| 74 | change q r * q t = q v * y |
| 75 | rw [hy, hrv, map_mul] |
| 76 | ring |
| 77 | |
| 78 | theorem injective (a : R) (ha : a ≠ 0) : |
| 79 | Module.Injective (R ⧸ Ideal.span {a}) (R ⧸ Ideal.span {a}) := |
| 80 | (baer a ha).injective |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.QuotientInjective |