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.Acyclic.ChainRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.FamilyRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.FamilyRefinementCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.ExtCoordinates |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ProductScalarKernel |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InverseCoordinateHomology |
| 7 | |
| 8 | /-! # Refinement Ext -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.RefinementExt |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The native Čech refinement map agrees, in the original section |
| 15 | coordinates, with refinement of the genuine Ext source resolution. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 18 | |
| 19 | universe u v z |
| 20 | |
| 21 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 22 | {ι κ : Type v} (F : ι → C) (G : κ → C) (ρ : ι → κ) (α : ∀ i, F i ⟶ G (ρ i)) |
| 23 | (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 24 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 25 | (H : Sheaf J (ModuleCat.{max u v} R)) |
| 26 | |
| 27 | local instance moduleProducts : HasProducts.{v} (ModuleCat.{max u v} R) := by |
| 28 | let h : HasLimitsOfSize.{v, v} (ModuleCat.{max u v} R) := |
| 29 | ModuleCat.hasLimitsOfSize.{v, v, max u v, max u v} |
| 30 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 31 | |
| 32 | def cochainMap : Differential.complex G R H.obj ⟶ |
| 33 | Differential.complex F R H.obj := |
| 34 | (AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat R)).map |
| 35 | (Cech.FamilyRefinement.Family.map F G ρ α H.obj) |
| 36 | |
| 37 | omit [HasExt (Sheaf J (ModuleCat R))] in |
| 38 | theorem cochainMap_coordinate (n : ℕ) (t : Fin (n + 1) → ι) : |
| 39 | (cochainMap F G ρ α R J H).f n ≫ Differential.coordinate F R H.obj n t = |
| 40 | Differential.coordinate G R H.obj n (ρ ∘ t) ≫ |
| 41 | H.obj.map (Frame.TupleRefinement.map (𝟭 C) F G ρ α n t).op := Pi.lift_comp_π _ t |
| 42 | |
| 43 | def liftedMap : FrameCech.Ext.Comparison.liftedComplex.{u, v, z} G R J H ⟶ |
| 44 | FrameCech.Ext.Comparison.liftedComplex.{u, v, z} F R J H := |
| 45 | ((ModuleCat.uliftFunctor.{z, max u v} R).mapHomologicalComplex (.up ℕ)).map |
| 46 | (cochainMap F G ρ α R J H) |
| 47 | |
| 48 | def resolutionMap := Acyclic.ChainRefinement.map R H |
| 49 | (CoveringPresentationResolution.complex J R G) (CoveringPresentationResolution.complex J R F) |
| 50 | (Presentation.FamilyRefinement.Family.map F G ρ α R J) |
| 51 | |
| 52 | omit [HasBinaryProducts C] in |
| 53 | theorem resolutionMap_mk (n : ℕ) (f : (CoveringPresentationResolution.complex J R G).X n ⟶ H) : |
| 54 | (resolutionMap F G ρ α R J H).f n (Abelian.Ext.mk₀ f) = |
| 55 | Abelian.Ext.mk₀ ((Presentation.FamilyRefinement.Family.map F G ρ α R J).f n ≫ f) := |
| 56 | Abelian.Ext.mk₀_comp_mk₀ _ _ |
| 57 | |
| 58 | theorem coordinate (n : ℕ) (t : Fin (n + 1) → ι) |
| 59 | (f : (CoveringPresentationResolution.complex J R G).X n ⟶ H) : |
| 60 | Differential.coordinate F R H.obj n t |
| 61 | (((FrameCech.Ext.Comparison.comparison F R J H).hom.f n |
| 62 | ((resolutionMap F G ρ α R J H).f n (Abelian.Ext.mk₀ f))).down) = |
| 63 | Differential.coordinate F R H.obj n t |
| 64 | (((liftedMap F G ρ α R J H).f n |
| 65 | ((FrameCech.Ext.Comparison.comparison G R J H).hom.f n (Abelian.Ext.mk₀ f))).down) := by |
| 66 | have hl := (congrArg (fun x => Differential.coordinate F R H.obj n t |
| 67 | (((FrameCech.Ext.Comparison.comparison F R J H).hom.f n x).down)) |
| 68 | (resolutionMap_mk F G ρ α R J H n f)).trans |
| 69 | ((ExtCoordinates.coordinate_mk F R J H n t |
| 70 | ((Presentation.FamilyRefinement.Family.map F G ρ α R J).f n ≫ f)).trans |
| 71 | (Presentation.FamilyRefinementCoordinates.Family.sheaf F G ρ α n t R J H f)) |
| 72 | have hr := (congrArg (fun a => a |
| 73 | (((FrameCech.Ext.Comparison.comparison G R J H).hom.f n (Abelian.Ext.mk₀ f)).down)) |
| 74 | (cochainMap_coordinate F G ρ α R J H n t)).trans |
| 75 | (congrArg (H.obj.map (Frame.TupleRefinement.map (𝟭 C) F G ρ α n t).op) |
| 76 | (ExtCoordinates.coordinate_mk G R J H n (ρ ∘ t) f)) |
| 77 | exact hl.trans hr.symm |
| 78 | |
| 79 | theorem complexes : resolutionMap F G ρ α R J H ≫ (FrameCech.Ext.Comparison.comparison F R J H).hom = |
| 80 | (FrameCech.Ext.Comparison.comparison G R J H).hom ≫ liftedMap F G ρ α R J H := by |
| 81 | apply HomologicalComplex.Hom.ext |
| 82 | funext n |
| 83 | apply ModuleCat.hom_ext |
| 84 | apply LinearMap.ext |
| 85 | intro x |
| 86 | change Abelian.Ext.{max u v z} ((CoveringPresentationResolution.complex J R G).X n) H 0 at x |
| 87 | obtain ⟨f, rfl⟩ := (Abelian.Ext.mk₀_bijective _ _).2 x |
| 88 | apply ULift.ext |
| 89 | apply Module.ProductScalarKernel.element_ext |
| 90 | (fun t => H.obj.obj (op (Presentation.TupleProducts.family F n t))) |
| 91 | intro t |
| 92 | exact coordinate F G ρ α R J H n t f |
| 93 | |
| 94 | variable [QuasiIso (CoveringPresentationResolution.augmentation J R F)] |
| 95 | [QuasiIso (CoveringPresentationResolution.augmentation J R G)] |
| 96 | (hF : ∀ a q, Subsingleton (Abelian.Ext.{max u v z} |
| 97 | ((CoveringPresentationResolution.complex J R F).X a) H (q + 1))) |
| 98 | (hG : ∀ a q, Subsingleton (Abelian.Ext.{max u v z} |
| 99 | ((CoveringPresentationResolution.complex J R G).X a) H (q + 1))) |
| 100 | |
| 101 | theorem homology (i : ℕ) : |
| 102 | HomologicalComplex.homologyMap (liftedMap F G ρ α R J H) i ≫ |
| 103 | (HomologicalComplex.homologyMap (FrameCech.Ext.Comparison.comparison F R J H).inv i ≫ |
| 104 | (Acyclic.ChainCohomology.homologyIso R H (CoveringPresentationResolution.complex J R F) |
| 105 | (CoveringPresentationResolution.augmentation J R F) hF i).hom) = |
| 106 | HomologicalComplex.homologyMap (FrameCech.Ext.Comparison.comparison G R J H).inv i ≫ |
| 107 | (Acyclic.ChainCohomology.homologyIso R H (CoveringPresentationResolution.complex J R G) |
| 108 | (CoveringPresentationResolution.augmentation J R G) hG i).hom := by |
| 109 | have hc := InverseCoordinateHomology.homology |
| 110 | (FrameCech.Ext.Comparison.comparison G R J H) (FrameCech.Ext.Comparison.comparison F R J H) |
| 111 | (resolutionMap F G ρ α R J H) (liftedMap F G ρ α R J H) (complexes F G ρ α R J H) i |
| 112 | have he := Acyclic.ChainRefinement.homology R H |
| 113 | (CoveringPresentationResolution.complex J R G) (CoveringPresentationResolution.complex J R F) |
| 114 | (Presentation.FamilyRefinement.Family.map F G ρ α R J) |
| 115 | (CoveringPresentationResolution.augmentation J R G) |
| 116 | (CoveringPresentationResolution.augmentation J R F) |
| 117 | (Presentation.FamilyRefinement.Family.augmentation F G ρ α R J) hG hF i |
| 118 | exact (Category.assoc _ _ _).symm.trans |
| 119 | ((congrArg (fun a => a ≫ |
| 120 | (Acyclic.ChainCohomology.homologyIso R H (CoveringPresentationResolution.complex J R F) |
| 121 | (CoveringPresentationResolution.augmentation J R F) hF i).hom) hc).trans |
| 122 | ((Category.assoc _ _ _).trans |
| 123 | (congrArg (fun a => HomologicalComplex.homologyMap |
| 124 | (FrameCech.Ext.Comparison.comparison G R J H).inv i ≫ a) he))) |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.RefinementExt |