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.Koszul.CoefficientResidue |
| 2 | |
| 3 | /-! # Residue Total -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.ResidueTotal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Literal top-coordinate normalization of the mixed point class |
| 10 | after the oriented normal residue. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex 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.Components |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CoefficientResidue |
| 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) (s : Fin c → R) (t : Fin m → R) |
| 21 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 22 | (N : Cᵒᵖ ⥤ ModuleCat.{u} R) (α : Fractions.modules R P ⟶ N) |
| 23 | (hN : ∀ (a : Cᵒᵖ) (i : Fin c) (x : N.obj a), s i • x = 0) |
| 24 | |
| 25 | abbrev residueComplex := (single (Cᵒᵖ ⥤ ModuleCat R) (.up ℕ) c).obj N |
| 26 | |
| 27 | def map : Components.source R s t ⟶ (AugmentedOrdered.CechFunctor.bicomplex U (residueComplex R (c := c) N)).total (.up ℕ) := |
| 28 | Total.map R P U s t ht ≫ |
| 29 | AugmentedOrdered.CechTopNaturality.totalMap U (Koszul.CoefficientResidue.complexMap R P s N α hN) |
| 30 | |
| 31 | theorem top : (map R P U s t ht N α hN).f (c + m) = |
| 32 | Components.component R P U t ht (c + m) c m rfl ≫ |
| 33 | AugmentedOrdered.CechFunctor.objectMap U ((Koszul.CoefficientResidue.complexMap R P s N α hN).f c) m ≫ |
| 34 | (AugmentedOrdered.CechFunctor.bicomplex U (residueComplex R (c := c) N)).ιTotal (.up ℕ) c m (c + m) rfl := by |
| 35 | change (Total.map R P U s t ht).f (c + m) ≫ _ = _ |
| 36 | rw [TotalTop.top_map, Category.assoc] |
| 37 | rw [AugmentedOrdered.CechTopNaturality.totalMap, HomologicalComplex₂.ιTotal_map] |
| 38 | rfl |
| 39 | |
| 40 | theorem projection (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m) : |
| 41 | (map R P U s t ht N α hN).f (c + m) ≫ |
| 42 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AugmentedOrdered.CechFunctor.bicomplex U (residueComplex R (c := c) N))) c m (c + m) ≫ |
| 43 | Pi.π (fun b : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m => |
| 44 | ((residueComplex R (c := c) N).X c).obj (op ((AugmentedOrdered.Cech.formal U m).obj b))) a ≫ |
| 45 | (singleObjXSelf (.up ℕ) c N).hom.app (op ((AugmentedOrdered.Cech.formal U m).obj a)) = |
| 46 | ModuleCat.ofHom (Components.coordinateAt R P U t ht (c + m) c m rfl a) ≫ |
| 47 | (Koszul.CoefficientResidue.evaluation R P s N α).app (op ((AugmentedOrdered.Cech.formal U m).obj a)) := by |
| 48 | rw [top] |
| 49 | have hself := (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_πTotalUpNat_self (AugmentedOrdered.CechFunctor.bicomplex U (residueComplex R (c := c) N))) c m |
| 50 | simp only [Category.assoc] |
| 51 | rw [← Category.assoc |
| 52 | ((AugmentedOrdered.CechFunctor.bicomplex U (residueComplex R (c := c) N)).ιTotal (.up ℕ) c m (c + m) rfl), |
| 53 | hself, Category.id_comp] |
| 54 | rw [← Category.assoc (AugmentedOrdered.CechFunctor.objectMap U ((Koszul.CoefficientResidue.complexMap R P s N α hN).f c) m), |
| 55 | AugmentedOrdered.CechCoordinates.objectMap_comp_pi, Category.assoc, |
| 56 | ← Category.assoc (Components.component R P U t ht (c + m) c m rfl), Components.component_projection] |
| 57 | have he := congrArg (fun f => f.app (op ((AugmentedOrdered.Cech.formal U m).obj a))) |
| 58 | (Koszul.CoefficientResidue.complexMap_top R P s N α hN) |
| 59 | exact congrArg (ModuleCat.ofHom (Components.coordinateAt R P U t ht (c + m) c m rfl a) ≫ ·) he |
| 60 | |
| 61 | theorem coefficient (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m) |
| 62 | (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 63 | ((map R P U s t ht N α hN).f (c + m) ≫ |
| 64 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AugmentedOrdered.CechFunctor.bicomplex U (residueComplex R (c := c) N))) c m (c + m) ≫ |
| 65 | Pi.π (fun b : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m => |
| 66 | ((residueComplex R (c := c) N).X c).obj (op ((AugmentedOrdered.Cech.formal U m).obj b))) a ≫ |
| 67 | (singleObjXSelf (.up ℕ) c N).hom.app (op ((AugmentedOrdered.Cech.formal U m).obj a))) |
| 68 | (show (Components.source R s t).X (c + m) from φ) = |
| 69 | α.app (op ((AugmentedOrdered.Cech.formal U m).obj a)) |
| 70 | (Fractions.reciprocal R P U t ht a * algebraMap R (P.obj (op ((AugmentedOrdered.Cech.formal U m).obj a))) |
| 71 | (φ (TopExteriorCoordinates.generator |
| 72 | (TopResidue.basis R (c := c) (m := m))))) := by |
| 73 | rw [projection] |
| 74 | exact Koszul.CoefficientResidue.fraction R P s N α U t ht a φ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.ResidueTotal |