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.Cech.DiagramSectionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.PairingTransport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalLeibniz |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CechProductNaturality |
| 5 | |
| 6 | /-! # Presheaf Diagram Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafDiagramProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual presheaf-valued Čech total carries the signed local |
| 13 | product, with restriction naturality and the original differential rule. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.DiagramSectionCoordinates |
| 18 | universe u v d e r t |
| 19 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 20 | {D : Type d} [Category.{e} D] (R : Type r) [CommRing R] |
| 21 | {ι : Type} [Finite ι] (U : ι → C) |
| 22 | (P : Cᵒᵖ ⥤ CochainComplex (Dᵒᵖ ⥤ ModuleCat.{t} R) ℕ) |
| 23 | |
| 24 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 25 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.total U P |
| 26 | |
| 27 | variable (μ : ∀ n m (V : Cᵒᵖ) (T : Dᵒᵖ), ((P.obj V).X n).obj T →ₗ[R] |
| 28 | ((P.obj V).X m).obj T →ₗ[R] ((P.obj V).X (n + m)).obj T) |
| 29 | |
| 30 | def nativePairing (T : Dᵒᵖ) (n m : ℕ) (V : Cᵒᵖ) : |
| 31 | ((DiagramSectionCoordinates.complex R P T).X n).obj V →ₗ[R] ((DiagramSectionCoordinates.complex R P T).X m).obj V →ₗ[R] |
| 32 | ((DiagramSectionCoordinates.complex R P T).X (n + m)).obj V := μ n m V T |
| 33 | |
| 34 | def nativeCup (T : Dᵒᵖ) := Presheaf.TotalCup.CechProduct.totalCup.{u,v,0,t,r} |
| 35 | N (DiagramSectionCoordinates.complex R P T) (nativePairing R P μ T) |
| 36 | |
| 37 | def pairing (n m : ℕ) (T : Dᵒᵖ) : ((K).X n).obj T →ₗ[R] ((K).X m).obj T →ₗ[R] |
| 38 | ((K).X (n + m)).obj T := |
| 39 | Cochain.PairingTransport.cup (DiagramSectionCoordinates.totalIso R U P T) (nativeCup R U P μ T) n m |
| 40 | |
| 41 | variable (hD : ∀ n m (V : Cᵒᵖ) {T T' : Dᵒᵖ} (α : T ⟶ T') x y, |
| 42 | ((P.obj V).X (n + m)).map α (μ n m V T x y) = |
| 43 | μ n m V T' (((P.obj V).X n).map α x) (((P.obj V).X m).map α y)) |
| 44 | |
| 45 | include hD in |
| 46 | theorem naturality (n m : ℕ) {T T' : Dᵒᵖ} (α : T ⟶ T') |
| 47 | (x : ((K).X n).obj T) (y : ((K).X m).obj T) : |
| 48 | ((K).X (n + m)).map α (pairing R U P μ n m T x y) = |
| 49 | pairing R U P μ n m T' (((K).X n).map α x) (((K).X m).map α y) := |
| 50 | Cochain.PairingTransport.naturality (DiagramSectionCoordinates.totalIso R U P T) (nativeCup R U P μ T) |
| 51 | (DiagramSectionCoordinates.totalIso R U P T') (nativeCup R U P μ T') |
| 52 | (((DiagramSectionCoordinates.evaluationMap R α).mapHomologicalComplex (.up ℕ)).app K) (DiagramSectionCoordinates.totalMap R U P α) |
| 53 | (DiagramSectionCoordinates.total_natural R U P α) |
| 54 | (Presheaf.CechProductNaturality.totalMap_pairing N (nativePairing R P μ T) |
| 55 | (nativePairing R P μ T') (DiagramSectionCoordinates.complexMap R P α) (fun n m V x y => hD n m V α x y)) |
| 56 | n m x y |
| 57 | |
| 58 | variable (hC : ∀ n m {V V' : Cᵒᵖ} (α : V ⟶ V') (T : Dᵒᵖ) x y, |
| 59 | ((P.map α).f (n + m)).app T (μ n m V T x y) = |
| 60 | μ n m V' T (((P.map α).f n).app T x) (((P.map α).f m).app T y)) |
| 61 | (dμ : ∀ n m (T : Dᵒᵖ) (V : Cᵒᵖ) x y, |
| 62 | ((DiagramSectionCoordinates.complex R P T).d (n + m) (n + m + 1)).app V (μ n m V T x y) = |
| 63 | Presheaf.CechProduct.sectionDegreeCast (DiagramSectionCoordinates.complex R P T) |
| 64 | (by omega : (n + 1) + m = n + m + 1) V |
| 65 | (μ (n + 1) m V T (((DiagramSectionCoordinates.complex R P T).d n (n + 1)).app V x) y) + |
| 66 | (-1 : ℤ) ^ n • Presheaf.CechProduct.sectionDegreeCast (DiagramSectionCoordinates.complex R P T) |
| 67 | (by omega : n + (m + 1) = n + m + 1) V |
| 68 | (μ n (m + 1) V T x (((DiagramSectionCoordinates.complex R P T).d m (m + 1)).app V y))) |
| 69 | |
| 70 | include hC dμ in |
| 71 | theorem differential (n m : ℕ) (T : Dᵒᵖ) |
| 72 | (x : ((K).X n).obj T) (y : ((K).X m).obj T) : |
| 73 | ((K).d (n + m) (n + m + 1)).app T (pairing R U P μ n m T x y) = |
| 74 | Presheaf.CechProduct.sectionDegreeCast K (by omega : (n + 1) + m = n + m + 1) T |
| 75 | (pairing R U P μ (n + 1) m T (((K).d n (n + 1)).app T x) y) + |
| 76 | (-1 : ℤ) ^ n • Presheaf.CechProduct.sectionDegreeCast K |
| 77 | (by omega : n + (m + 1) = n + m + 1) T |
| 78 | (pairing R U P μ n (m + 1) T x (((K).d m (m + 1)).app T y)) := |
| 79 | Cochain.PairingTransport.differential (DiagramSectionCoordinates.totalIso R U P T) (nativeCup R U P μ T) |
| 80 | (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N (DiagramSectionCoordinates.complex R P T) (nativePairing R P μ T) |
| 81 | (fun n m _ _ α x y => hC n m α T x y) (fun n m V x y => dμ n m T V x y)) n m x y |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafDiagramProduct |