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.Differential |
| 2 | |
| 3 | /-! # Cech Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CechDifferential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! After division by the canonical parameter units, the mixed Koszul |
| 10 | differential is exactly the differential of the supported Čech total. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | private theorem fraction_identity {A : Type*} [CommRing A] |
| 17 | (d u v t z e z' : A) (hc : t * d = e) (hz : z' = z) : |
| 18 | d * (u * (v * t * z)) = u * (v * (e * z')) := by |
| 19 | rw [hz, ← hc] |
| 20 | ring |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Differential |
| 22 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction |
| 23 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 24 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 25 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) |
| 26 | (t : Fin m → R) (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 27 | |
| 28 | def value (p q d : ℕ) (h : p + q = d) (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q) |
| 29 | (φ : Module.Dual R (⋀[R]^d (Fractions.ambient R (c := c) (m := m)))) |
| 30 | (x : ⋀[R]^p (Fractions.normal R (c := c))) : P.obj (op ((AugmentedOrdered.Cech.formal U q).obj a)) := |
| 31 | Fractions.reciprocal R P U t ht a * algebraMap R _ (φ (Differential.insertionAt R p q d h a x)) |
| 32 | |
| 33 | theorem cancel {q : ℕ} (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) (q + 1)) (k : Fin (q + 1)) : |
| 34 | algebraMap R (P.obj (op ((AugmentedOrdered.Cech.formal U (q + 1)).obj a))) (t (a.val k).down) * |
| 35 | Fractions.reciprocal R P U t ht a = |
| 36 | (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom (Fractions.reciprocal R P U t ht (a.delete k)) := |
| 37 | Cech.DenominatorUnits.cancellation U (Fractions.rings R P) R (Fractions.scalars R P) (fun i => t i.down) ht a k |
| 38 | |
| 39 | variable (s : Fin c → R) |
| 40 | |
| 41 | theorem differential (p q : ℕ) (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) (q + 1)) |
| 42 | (φ : Module.Dual R (⋀[R]^(p + q + 1) (Fractions.ambient R (c := c) (m := m)))) |
| 43 | (x : ⋀[R]^(p + 1) (Fractions.normal R (c := c))) : |
| 44 | value R P U t ht (p + 1) (q + 1) (p + q + 2) (by omega) a |
| 45 | (φ.comp (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Differential.equation R s t) (p + q + 1))) x = |
| 46 | value R P U t ht p (q + 1) (p + q + 1) rfl a φ |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Koszul.GeneratorMatrix.equation R s) p x) + |
| 48 | (-1 : R) ^ (p + 1) • |
| 49 | (∑ k : Fin (q + 1), (-1 : R) ^ k.val • |
| 50 | (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom |
| 51 | (value R P U t ht (p + 1) q (p + q + 1) (by omega) (a.delete k) φ x)) := by |
| 52 | simp only [value, LinearMap.comp_apply] |
| 53 | rw [Differential.dual_identity, map_add, mul_add] |
| 54 | congr 1 |
| 55 | simp only [smul_eq_mul, Algebra.smul_def, map_mul, map_sum, Finset.mul_sum] |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro k _ |
| 58 | have hα : (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom |
| 59 | (algebraMap R _ (φ (Differential.insertionAt R (p + 1) q (p + q + 1) (by omega) (a.delete k) x))) = |
| 60 | algebraMap R _ (φ (Differential.insertionAt R (p + 1) q (p + q + 1) (by omega) (a.delete k) x)) := |
| 61 | (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom.commutes _ |
| 62 | exact fraction_identity _ _ _ _ _ _ _ (cancel R P U t ht a k) hα |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CechDifferential |