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.HilbertScheme.Presentations.IdealTensor.Obstruction |
| 2 | import Mathlib.LinearAlgebra.Prod |
| 3 | |
| 4 | /-! # Intersection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.Intersection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ideal-tensor obstructions lift to an intersection whenever multiplication |
| 11 | on the sum ideal is injective. This is the diagram chase used in the local |
| 12 | flatness criterion. -/ |
| 13 | |
| 14 | open TensorProduct |
| 15 | |
| 16 | universe u v |
| 17 | variable {B : Type u} [CommRing B] |
| 18 | variable (M : Type v) [AddCommGroup M] [Module B M] |
| 19 | |
| 20 | def idealIntersectionDifference (I J : Ideal B) : ↥(I ⊓ J) →ₗ[B] I × J := |
| 21 | (Submodule.inclusion inf_le_left).prod (-Submodule.inclusion inf_le_right) |
| 22 | |
| 23 | def idealSumAddition (I J : Ideal B) : I × J →ₗ[B] ↥(I ⊔ J) := |
| 24 | (Submodule.inclusion le_sup_left).coprod (Submodule.inclusion le_sup_right) |
| 25 | |
| 26 | theorem idealSumAddition_surjective (I J : Ideal B) : |
| 27 | Function.Surjective (idealSumAddition I J) := by |
| 28 | intro x |
| 29 | obtain ⟨a, ha, b, hb, hab⟩ := Submodule.mem_sup.mp x.property |
| 30 | exact ⟨(⟨a, ha⟩, ⟨b, hb⟩), Subtype.ext hab⟩ |
| 31 | |
| 32 | theorem idealIntersectionDifference_exact (I J : Ideal B) : |
| 33 | Function.Exact (idealIntersectionDifference I J) (idealSumAddition I J) := by |
| 34 | intro x |
| 35 | constructor |
| 36 | · intro hx |
| 37 | have hsum : x.1.val + x.2.val = 0 := congrArg Subtype.val hx |
| 38 | have heq : x.1.val = -x.2.val := eq_neg_of_add_eq_zero_left hsum |
| 39 | let a : ↥(I ⊓ J) := ⟨x.1.val, x.1.property, heq ▸ J.neg_mem x.2.property⟩ |
| 40 | refine ⟨a, Prod.ext rfl ?_⟩ |
| 41 | apply Subtype.ext |
| 42 | change -x.1.val = x.2.val |
| 43 | rw [heq, neg_neg] |
| 44 | · rintro ⟨a, rfl⟩ |
| 45 | apply Subtype.ext |
| 46 | exact add_neg_cancel a.val |
| 47 | |
| 48 | theorem idealTensorMultiplication_inclusion (I J : Ideal B) (h : I ≤ J) |
| 49 | (x : M ⊗[B] I) : |
| 50 | Obstruction.idealTensorMultiplication B B M J ((Submodule.inclusion h).lTensor M x) = |
| 51 | Obstruction.idealTensorMultiplication B B M I x := by |
| 52 | induction x with |
| 53 | | tmul m r => rfl |
| 54 | | add x y hx hy => simp only [map_add, hx, hy] |
| 55 | |
| 56 | theorem idealTensorObstruction_lifts_to_intersection (I J : Ideal B) |
| 57 | (hIJ : Function.Injective (Obstruction.idealTensorMultiplication B B M (I ⊔ J))) |
| 58 | (x : M ⊗[B] I) (hx : Obstruction.idealTensorMultiplication B B M I x = 0) : |
| 59 | ∃ y : M ⊗[B] ↥(I ⊓ J), (Submodule.inclusion inf_le_left).lTensor M y = x := by |
| 60 | let a := idealIntersectionDifference I J |
| 61 | let b := idealSumAddition I J |
| 62 | let e : I →ₗ[B] I × J := LinearMap.inl B I J |
| 63 | let p : I × J →ₗ[B] I := LinearMap.fst B I J |
| 64 | have hbe : b.comp e = Submodule.inclusion le_sup_left := by |
| 65 | ext r |
| 66 | exact add_zero r.val |
| 67 | have hpa : p.comp a = Submodule.inclusion inf_le_left := rfl |
| 68 | have hpe : p.comp e = LinearMap.id := rfl |
| 69 | have hz : b.lTensor M (e.lTensor M x) = 0 := by |
| 70 | apply hIJ |
| 71 | rw [map_zero] |
| 72 | change Obstruction.idealTensorMultiplication B B M (I ⊔ J) |
| 73 | ((b.lTensor M).comp (e.lTensor M) x) = 0 |
| 74 | rw [← LinearMap.lTensor_comp, hbe] |
| 75 | exact (idealTensorMultiplication_inclusion M I (I ⊔ J) le_sup_left x).trans hx |
| 76 | obtain ⟨y, hy⟩ := (lTensor_exact M (idealIntersectionDifference_exact I J) |
| 77 | (idealSumAddition_surjective I J) (e.lTensor M x)).mp hz |
| 78 | refine ⟨y, ?_⟩ |
| 79 | have h := congrArg (p.lTensor M) hy |
| 80 | change (p.lTensor M).comp (a.lTensor M) y = (p.lTensor M).comp (e.lTensor M) x at h |
| 81 | simpa only [← LinearMap.lTensor_comp, hpa, hpe, LinearMap.lTensor_id, |
| 82 | LinearMap.id_apply] using h |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.Intersection |