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.TotalMap |
| 2 | |
| 3 | /-! # Total -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Total |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal mixed Koszul fraction morphism, including all total |
| 10 | degrees and the complete signed chain-map equation. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Differential |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CechDifferential OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.TotalMap |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 20 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) |
| 21 | (s : Fin c → R) (t : Fin m → R) |
| 22 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 23 | |
| 24 | theorem interior (p q : ℕ) : |
| 25 | Components.component R P U t ht (p + q + 1) p (q + 1) (by omega) ≫ |
| 26 | ((Components.target R P U s).d p (p + 1)).f (q + 1) + |
| 27 | ((-1 : ℤˣ) ^ (p + 1)) • |
| 28 | (Components.component R P U t ht (p + q + 1) (p + 1) q (by omega) ≫ |
| 29 | ((Components.target R P U s).X (p + 1)).d q (q + 1)) = |
| 30 | (Components.source R s t).d (p + q + 1) (p + q + 1 + 1) ≫ |
| 31 | Components.component R P U t ht (p + q + 1 + 1) (p + 1) (q + 1) (by omega) := by |
| 32 | rw [Components.horizontal_d, Components.vertical_d, ModuleCat.hom_ext_iff.mpr (Components.source_d R s t (p + q + 1))] |
| 33 | simp only [Units.smul_def, Units.val_pow_eq_pow_val, Units.val_neg, Units.val_one] |
| 34 | apply Cech.ComponentSquares.mixed U (TotalMap.delta R s t (p + q + 1)) (TotalMap.hd R P s p) q |
| 35 | ((-1 : ℤ) ^ (p + 1)) |
| 36 | (fun a => ModuleCat.ofHom (Components.coordinateAt R P U t ht (p + q + 1) p (q + 1) (by omega) a)) |
| 37 | (fun a => ModuleCat.ofHom (Components.coordinateAt R P U t ht (p + q + 1) (p + 1) q (by omega) a)) |
| 38 | (fun a => ModuleCat.ofHom (Components.coordinateAt R P U t ht (p + q + 1 + 1) (p + 1) (q + 1) (by omega) a)) |
| 39 | intro a |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro φ |
| 43 | apply LinearMap.ext |
| 44 | intro x |
| 45 | simp only [ModuleCat.hom_add, ModuleCat.hom_sum, ModuleCat.hom_zsmul, ModuleCat.hom_comp, |
| 46 | ModuleCat.hom_ofHom, LinearMap.add_apply, LinearMap.sum_apply, LinearMap.smul_apply, |
| 47 | LinearMap.comp_apply] |
| 48 | change (Components.coordinateAt R P U t ht (p + q + 1) p (q + 1) (by omega) a φ) |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Koszul.GeneratorMatrix.equation R s) p x) + |
| 50 | ((-1 : ℤ) ^ (p + 1) • (∑ k : Fin (q + 1), (-1 : ℤ) ^ k.val • |
| 51 | (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom.toLinearMap.comp |
| 52 | (Components.coordinateAt R P U t ht (p + q + 1) (p + 1) q (by omega) (a.delete k) φ))) x = _ |
| 53 | simp only [LinearMap.sum_apply, LinearMap.smul_apply, LinearMap.comp_apply] |
| 54 | change CechDifferential.value R P U t ht p (q + 1) (p + q + 1) rfl a φ |
| 55 | (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Koszul.GeneratorMatrix.equation R s) p x) + |
| 56 | (-1 : ℤ) ^ (p + 1) • (∑ k : Fin (q + 1), (-1 : ℤ) ^ k.val • |
| 57 | (P.map ((AugmentedOrdered.Cech.face U q k).φ a).op).hom |
| 58 | (CechDifferential.value R P U t ht (p + 1) q (p + q + 1) (by omega) (a.delete k) φ x)) = |
| 59 | CechDifferential.value R P U t ht (p + 1) (q + 1) (p + q + 2) (by omega) a |
| 60 | (φ.comp (AlgebraicGeometry.Crystalline.Cohomology.ExteriorContractionCoe.ExteriorContraction.contraction R _ (Differential.equation R s t) (p + q + 1))) x |
| 61 | simpa only [← Int.cast_smul_eq_zsmul R, Int.cast_pow, Int.cast_neg, Int.cast_one] using |
| 62 | (CechDifferential.differential R P U t ht s p q a φ x).symm |
| 63 | |
| 64 | def data : TotalComponentMap.Data (Components.source R s t) (Components.target R P U s) where |
| 65 | component := Components.component R P U t ht |
| 66 | left := TotalMap.left R P U s t ht |
| 67 | right := TotalMap.right R P U s t ht |
| 68 | interior := Total.interior R P U s t ht |
| 69 | |
| 70 | def map : Components.source R s t ⟶ (Components.target R P U s).total (.up ℕ) := |
| 71 | TotalComponentMap.map _ _ (data R P U s t ht) |
| 72 | |
| 73 | @[reassoc] |
| 74 | theorem map_projection (n p q : ℕ) (h : p + q = n) : |
| 75 | (Total.map R P U s t ht).f n ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (target R P U s)) p q n = |
| 76 | Components.component R P U t ht n p q h := |
| 77 | TotalComponentMap.map_projection _ _ (data R P U s t ht) n p q h |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Total |