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.KoszulPartial.CechDifferential |
| 2 | |
| 3 | /-! # Edges -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Edges |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two boundary cases of the genuine mixed Koszul fraction map. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 11 | set_option backward.defeqAttrib.useBackward true |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Differential |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CechDifferential OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | |
| 19 | theorem contraction_zero_degree (V : Type u) [AddCommGroup V] [Module R V] |
| 20 | (l : Module.Dual R V) (x : ⋀[R]^0 V) : AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l x.val = 0 := by |
| 21 | have hx : x ∈ Submodule.span R (Set.range (exteriorPower.ιMulti R 0 : (Fin 0 → V) → ⋀[R]^0 V)) := by |
| 22 | rw [exteriorPower.ιMulti_span] |
| 23 | trivial |
| 24 | induction hx using Submodule.span_induction with |
| 25 | | mem y hy => |
| 26 | obtain ⟨v, rfl⟩ := hy |
| 27 | change AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.ambientContraction R V l (ExteriorAlgebra.ιMulti R 0 v) = 0 |
| 28 | rw [ExteriorAlgebra.ιMulti_zero_apply] |
| 29 | exact CliffordAlgebra.contractLeft_one 0 l |
| 30 | | zero => simp |
| 31 | | add y z _ _ hy hz => simp only [Submodule.coe_add, map_add, hy, hz, add_zero] |
| 32 | | smul a y _ hy => simp only [Submodule.coe_smul_of_tower, map_smul, hy, smul_zero] |
| 33 | |
| 34 | variable {c m : ℕ} (s : Fin c → R) (t : Fin m → R) |
| 35 | |
| 36 | theorem insertion_zero (p : ℕ) (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) 0) |
| 37 | (x : ⋀[R]^p (Fractions.normal R (c := c))) : |
| 38 | Differential.insertionAt R p 0 p (by omega) a x = |
| 39 | exteriorPower.map p (LinearMap.inl R (Fractions.normal R (c := c)) (Fractions.parameters R (m := m))) x := by |
| 40 | apply Subtype.ext |
| 41 | rw [Differential.insertionAt_coe, ExteriorAlgebra.ιMulti_zero_apply, mul_one] |
| 42 | |
| 43 | theorem left_contraction (q : ℕ) (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) (q + 1)) |
| 44 | (x : ⋀[R]^0 (Fractions.normal R (c := c))) : |
| 45 | AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Differential.equation R s t) q (Differential.insertionAt R 0 (q + 1) (q + 1) (by omega) a x) = |
| 46 | ∑ k : Fin (q + 1), ((-1 : R) ^ k.val * t (a.val k).down) • |
| 47 | Differential.insertionAt R 0 q q (by omega) (a.delete k) x := by |
| 48 | apply Subtype.ext |
| 49 | simp only [AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction_coe, Differential.insertionAt_coe, Submodule.coe_sum, Submodule.coe_smul_of_tower] |
| 50 | rw [Contraction.homogeneous_mul, contraction_zero_degree, |
| 51 | zero_mul, pow_zero, one_smul, zero_add, Koszul.CechEvaluation.ambient, Finset.mul_sum] |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro k _ |
| 54 | rw [Differential.equation_tuple, mul_smul_comm] |
| 55 | rfl |
| 56 | |
| 57 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 58 | (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) (U : ULift.{u} (Fin m) → C) |
| 59 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 60 | |
| 61 | theorem right (p : ℕ) (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) 0) |
| 62 | (φ : Module.Dual R (⋀[R]^p (Fractions.ambient R (c := c) (m := m)))) |
| 63 | (x : ⋀[R]^(p + 1) (Fractions.normal R (c := c))) : |
| 64 | CechDifferential.value R P U t ht (p + 1) 0 (p + 1) (by omega) a |
| 65 | (φ.comp (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Differential.equation R s t) p)) x = |
| 66 | CechDifferential.value R P U t ht p 0 p (by omega) a φ |
| 67 | (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Koszul.GeneratorMatrix.equation R s) p x) := by |
| 68 | simp only [CechDifferential.value, LinearMap.comp_apply, insertion_zero] |
| 69 | exact congrArg (fun z => Fractions.reciprocal R P U t ht a * algebraMap R _ (φ z)) |
| 70 | (LinearMap.congr_fun (Exterior.KoszulComplex.contraction_naturality R |
| 71 | (Fractions.normal R (c := c)) (Fractions.ambient R (c := c) (m := m)) |
| 72 | (Koszul.GeneratorMatrix.equation R s) (Differential.equation R s t) |
| 73 | (LinearMap.inl R _ _) (Differential.equation_inl R s t) p) x) |
| 74 | |
| 75 | private theorem cancel_product {A : Type*} [CommRing A] (d v t z e z' : A) |
| 76 | (hc : t * d = e) (hz : z' = z) : d * (v * t * z) = v * (e * z') := by |
| 77 | rw [hz, ← hc] |
| 78 | ring |
| 79 | |
| 80 | theorem left (q : ℕ) (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) (q + 1)) |
| 81 | (φ : Module.Dual R (⋀[R]^q (Fractions.ambient R (c := c) (m := m)))) |
| 82 | (x : ⋀[R]^0 (Fractions.normal R (c := c))) : |
| 83 | CechDifferential.value R P U t ht 0 (q + 1) (q + 1) (by omega) a |
| 84 | (φ.comp (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Differential.equation R s t) q)) x = |
| 85 | ∑ k : Fin (q + 1), (-1 : R) ^ k.val • |
| 86 | (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom |
| 87 | (CechDifferential.value R P U t ht 0 q q (by omega) (a.delete k) φ x) := by |
| 88 | simp only [CechDifferential.value, LinearMap.comp_apply] |
| 89 | rw [left_contraction, map_sum] |
| 90 | simp only [map_smul, smul_eq_mul, Algebra.smul_def, map_mul, map_sum, Finset.mul_sum] |
| 91 | apply Finset.sum_congr rfl |
| 92 | intro k _ |
| 93 | have hα := (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom.commutes |
| 94 | (φ (Differential.insertionAt R 0 q q (by omega) (a.delete k) x)) |
| 95 | exact cancel_product _ _ _ _ _ _ (CechDifferential.cancel R P U t ht a k) hα |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Edges |