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.Resolution.Blowups.Boundary.TransverseRegularity |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 4 | |
| 5 | /-! # Flat Principal Colon -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.FlatPrincipalColon.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Principal ideal quotients commute with arbitrary flat scalar extension. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem flat_map_colon_principal {R S : Type u} [CommRing R] [CommRing S] |
| 18 | [Algebra R S] [Module.Flat R S] (J : Ideal R) (c : R) : |
| 19 | (J.colon (Ideal.span {c} : Set R)).map (algebraMap R S) = |
| 20 | (J.map (algebraMap R S)).colon (Ideal.span {algebraMap R S c} : Set S) := by |
| 21 | apply le_antisymm (Boundary.TransverseRegularity.Construction.map_colon_principal_le J c (algebraMap R S)) |
| 22 | intro x hx |
| 23 | let f : R →ₗ[R] R ⧸ J := LinearMap.toSpanSingleton R (R ⧸ J) (Ideal.Quotient.mk J c) |
| 24 | have hxker : x ⊗ₜ[R] (1 : R) ∈ LinearMap.ker (AlgebraTensorModule.lTensor S S f) := by |
| 25 | rw [LinearMap.mem_ker] |
| 26 | change x ⊗ₜ[R] f 1 = 0 |
| 27 | have hf : f 1 = Ideal.Quotient.mk J c := by |
| 28 | change (1 : R) • Ideal.Quotient.mk J c = _ |
| 29 | rw [one_smul] |
| 30 | rw [hf] |
| 31 | apply (Algebra.TensorProduct.quotIdealMapEquivTensorQuot S J).symm.injective |
| 32 | rw [map_zero, Algebra.TensorProduct.quotIdealMapEquivTensorQuot_symm_tmul] |
| 33 | rw [Algebra.smul_def] |
| 34 | change Ideal.Quotient.mk (J.map (algebraMap R S)) (algebraMap R S c * x) = 0 |
| 35 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 36 | simpa only [mul_comm] using Ideal.mem_colon_span_singleton.mp hx |
| 37 | rw [Module.Flat.ker_lTensor_eq S S f] at hxker |
| 38 | obtain ⟨t, ht⟩ := hxker |
| 39 | have hmem : ∀ t : S ⊗[R] LinearMap.ker f, |
| 40 | TensorProduct.rid R S (AlgebraTensorModule.lTensor S S (LinearMap.ker f).subtype t) ∈ |
| 41 | (J.colon (Ideal.span {c} : Set R)).map (algebraMap R S) := by |
| 42 | intro t |
| 43 | induction t using TensorProduct.inductionOn with |
| 44 | | tmul s r => |
| 45 | have hr : r.val ∈ J.colon (Ideal.span {c} : Set R) := by |
| 46 | apply Ideal.mem_colon_span_singleton.mpr |
| 47 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 48 | have h := r.property |
| 49 | change f r.val = 0 at h |
| 50 | change Ideal.Quotient.mk J (r.val * c) = 0 at h |
| 51 | exact h |
| 52 | simp only [AlgebraTensorModule.lTensor_tmul, Submodule.coe_subtype, TensorProduct.rid_tmul] |
| 53 | rw [Algebra.smul_def] |
| 54 | change algebraMap R S r.val * s ∈ _ |
| 55 | exact Ideal.mul_mem_right s _ (Ideal.mem_map_of_mem (algebraMap R S) hr) |
| 56 | | add t v ht hv => |
| 57 | rw [map_add, map_add] |
| 58 | exact Ideal.add_mem _ ht hv |
| 59 | have h := hmem t |
| 60 | rw [ht] at h |
| 61 | simpa only [TensorProduct.rid_tmul, one_smul] using h |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Resolution.Blowups.FlatPrincipalColon.Construction |