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.Flat.EquationalCriterion |
| 2 | import Mathlib.RingTheory.Ideal.Maps |
| 3 | |
| 4 | /-! # Flat Intersection Principal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatIntersectionPrincipal.Construction.FlatIntersection |
| 7 | |
| 8 | /-! Flat extension preserves intersections of two principal ideals. -/ |
| 9 | |
| 10 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S] |
| 11 | |
| 12 | theorem principal (a b : R) : |
| 13 | (Ideal.span {a} ⊓ Ideal.span {b}).map (algebraMap R S) = |
| 14 | Ideal.span {algebraMap R S a} ⊓ Ideal.span {algebraMap R S b} := by |
| 15 | classical |
| 16 | apply le_antisymm |
| 17 | · simpa [Ideal.map_span] using |
| 18 | (Ideal.map_inf_le (algebraMap R S) (I := Ideal.span {a}) (J := Ideal.span {b})) |
| 19 | intro x hx |
| 20 | obtain ⟨u, hu⟩ := Ideal.mem_span_singleton.mp hx.1 |
| 21 | obtain ⟨v, hv⟩ := Ideal.mem_span_singleton.mp hx.2 |
| 22 | have hrel : ∑ i : Fin 2, (![a, -b] i) • (![u, v] i) = 0 := by |
| 23 | simp only [Fin.sum_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one, |
| 24 | Algebra.smul_def, map_neg, neg_mul, ← hu, ← hv, add_neg_cancel] |
| 25 | obtain ⟨k, c, y, hxy, hc⟩ := Module.Flat.isTrivialRelation_of_sum_smul_eq_zero hrel |
| 26 | have h0 : u = ∑ j, c 0 j • y j := hxy 0 |
| 27 | have he : x = ∑ j, algebraMap R S (a * c 0 j) * y j := by |
| 28 | rw [hu, h0, Finset.mul_sum] |
| 29 | apply Finset.sum_congr rfl |
| 30 | intro j _ |
| 31 | rw [Algebra.smul_def, map_mul, mul_assoc] |
| 32 | rw [he] |
| 33 | apply Submodule.sum_mem |
| 34 | intro j _ |
| 35 | apply Ideal.mul_mem_right |
| 36 | apply Ideal.mem_map_of_mem |
| 37 | constructor |
| 38 | · exact Ideal.mem_span_singleton.mpr ⟨c 0 j, rfl⟩ |
| 39 | · have hj : a * c 0 j = b * c 1 j := by |
| 40 | have h := hc j |
| 41 | simpa only [Fin.sum_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one, |
| 42 | neg_mul, ← sub_eq_add_neg, sub_eq_zero] using h |
| 43 | exact Ideal.mem_span_singleton.mpr ⟨c 1 j, hj⟩ |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatIntersectionPrincipal.Construction.FlatIntersection |