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.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Transfer |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PrincipalBase |
| 3 | |
| 4 | /-! # Divided Power Descent -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.DividedPowerDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible divided powers on a principal base ideal descend along |
| 11 | any family of algebra maps which jointly detects equality. -/ |
| 12 | |
| 13 | universe u v w z |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (r : R) |
| 16 | (δR : DividedPowers (Ideal.span {r})) |
| 17 | (A : Type v) [CommRing A] [Algebra R A] |
| 18 | {ι : Type w} (B : ι → Type z) [∀ i, CommRing (B i)] [∀ i, Algebra R (B i)] |
| 19 | (δ : ∀ i, DividedPowers (Ideal.span {algebraMap R (B i) r})) |
| 20 | (f : ∀ i, A →ₐ[R] B i) |
| 21 | (hbase : ∀ i, DividedPowers.IsDPMorphism δR (δ i) (algebraMap R (B i))) |
| 22 | (hinj : ∀ x y : A, (∀ i, f i x = f i y) → x = y) |
| 23 | |
| 24 | private theorem ideal_map (i : ι) : |
| 25 | Ideal.span {algebraMap R A r} ≤ |
| 26 | (Ideal.span {algebraMap R (B i) r}).comap (f i).toRingHom := by |
| 27 | rw [Ideal.span_le] |
| 28 | rintro x (rfl : x = _) |
| 29 | change f i (algebraMap R A r) ∈ Ideal.span {algebraMap R (B i) r} |
| 30 | rw [(f i).commutes] |
| 31 | exact Ideal.subset_span (Set.mem_singleton _) |
| 32 | |
| 33 | include hbase in |
| 34 | private theorem exists_value (n : ℕ) {x : A} (hx : x ∈ Ideal.span {algebraMap R A r}) : |
| 35 | ∃ y : A, (n ≠ 0 → y ∈ Ideal.span {algebraMap R A r}) ∧ |
| 36 | ∀ i, f i y = (δ i).dpow n (f i x) := by |
| 37 | obtain ⟨a, rfl⟩ := Ideal.mem_span_singleton.mp hx |
| 38 | refine ⟨a ^ n * algebraMap R A (δR.dpow n r), ?_, ?_⟩ |
| 39 | · intro hn |
| 40 | have hm := Ideal.mem_map_of_mem (algebraMap R A) |
| 41 | (δR.dpow_mem hn (Ideal.subset_span (Set.mem_singleton r))) |
| 42 | rw [Ideal.map_span, Set.image_singleton] at hm |
| 43 | exact Ideal.mul_mem_left _ _ hm |
| 44 | · intro i |
| 45 | rw [map_mul, map_pow, (f i).commutes, map_mul, (f i).commutes, |
| 46 | mul_comm (algebraMap R (B i) r), |
| 47 | (δ i).dpow_mul (Ideal.subset_span (Set.mem_singleton _)), |
| 48 | (hbase i).dpow_comp r (Ideal.subset_span (Set.mem_singleton r))] |
| 49 | |
| 50 | def dividedPowers : DividedPowers (Ideal.span {algebraMap R A r}) := |
| 51 | DividedPower.Transfer.dividedPowers (Ideal.span {algebraMap R A r}) |
| 52 | (fun i => Ideal.span {algebraMap R (B i) r}) δ (fun i => (f i).toRingHom) |
| 53 | hinj (ideal_map R r A B f) (exists_value R r δR A B δ f hbase) |
| 54 | |
| 55 | theorem map_isDPMorphism (i : ι) : |
| 56 | DividedPowers.IsDPMorphism (dividedPowers R r δR A B δ f hbase hinj) (δ i) |
| 57 | (f i).toRingHom := by |
| 58 | refine ⟨Ideal.map_le_iff_le_comap.mpr (ideal_map R r A B f i), ?_⟩ |
| 59 | intro n x hx |
| 60 | exact (DividedPower.Transfer.dividedPowers_map (Ideal.span {algebraMap R A r}) |
| 61 | (fun i => Ideal.span {algebraMap R (B i) r}) δ (fun i => (f i).toRingHom) |
| 62 | hinj (ideal_map R r A B f) (exists_value R r δR A B δ f hbase) n hx i).symm |
| 63 | |
| 64 | attribute [local irreducible] dividedPowers |
| 65 | |
| 66 | theorem base_isDPMorphism : |
| 67 | DividedPowers.IsDPMorphism δR (dividedPowers R r δR A B δ f hbase hinj) |
| 68 | (algebraMap R A) := by |
| 69 | refine ⟨by rw [Ideal.map_span, Set.image_singleton], ?_⟩ |
| 70 | intro n x hx |
| 71 | apply hinj |
| 72 | intro i |
| 73 | have hxA : algebraMap R A x ∈ Ideal.span {algebraMap R A r} := by |
| 74 | have h := Ideal.mem_map_of_mem (algebraMap R A) hx |
| 75 | rwa [Ideal.map_span, Set.image_singleton] at h |
| 76 | calc |
| 77 | f i ((dividedPowers R r δR A B δ f hbase hinj).dpow n (algebraMap R A x)) = |
| 78 | (δ i).dpow n (f i (algebraMap R A x)) := |
| 79 | (map_isDPMorphism R r δR A B δ f hbase hinj i).map_dpow hxA |
| 80 | _ = (δ i).dpow n (algebraMap R (B i) x) := congrArg ((δ i).dpow n) ((f i).commutes x) |
| 81 | _ = algebraMap R (B i) (δR.dpow n x) := (hbase i).dpow_comp x hx |
| 82 | _ = f i (algebraMap R A (δR.dpow n x)) := ((f i).commutes _).symm |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.DividedPowerDescent |