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.AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarBicomplex |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.ChangeFormUnit |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionTotal |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex |
| 5 | |
| 6 | /-! # Coordinate Cech Unit -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.CoordinateCechUnit.BaseCoordinateCechUnit |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual sheafification unit identifies coordinate Cech complexes with the original sheaf Cech complexes before and after geometric base change. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 15 | |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | |
| 19 | section General |
| 20 | variable {ι : Type u} (U : ι → X.left.Opens) |
| 21 | |
| 22 | local instance : (Cech.Descent.CechDescent.cechFunctor R X U).Additive := by |
| 23 | change (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).Additive |
| 24 | infer_instance |
| 25 | |
| 26 | def map : Cech.Descent.CechDescent.bicomplex R X U ⟶ |
| 27 | Cech.SectionTotal.CechSectionTotal.directBicomplex R X U (DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) := |
| 28 | ((Cech.Descent.CechDescent.cechFunctor R X U).mapHomologicalComplex (.up ℕ)).map |
| 29 | (NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex.SheafificationComplexUnit.unit (Opens.grothendieckTopology X.left) |
| 30 | (DeRhamGlobalId.DeRhamGlobal.presheafComplex R X)) |
| 31 | |
| 32 | end General |
| 33 | |
| 34 | variable [IsProper X.hom] [Smooth X.hom] |
| 35 | local notation "U" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X |
| 36 | |
| 37 | local instance schemeSeparated : X.left.IsSeparated := by |
| 38 | constructor |
| 39 | rw [← terminal.comp_from X.hom] |
| 40 | infer_instance |
| 41 | |
| 42 | theorem source_forms (q : ℕ) (t : Fin (q + 1) → SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X) (n : ℕ) : |
| 43 | IsIso ((toSheafify (Opens.grothendieckTopology X.left) |
| 44 | (DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).app (op (∏ᶜ (U ∘ t)))) := by |
| 45 | have hI : IsAffineOpen (∏ᶜ (U ∘ t)) := |
| 46 | SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.affine R X) q t |
| 47 | let I : X.left.affineOpens := ⟨∏ᶜ (U ∘ t), hI⟩ |
| 48 | let i := t 0 |
| 49 | have hi : I.val ≤ ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X i := leOfHom (Pi.π (U ∘ t) 0) |
| 50 | let σ := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateIndex R X i |
| 51 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 52 | exact @BaseAffine.OpenOrdinaryFormUnit.BaseAffineOpenOrdinaryFormUnit.forms R inferInstance X I.val I.property σ inferInstance |
| 53 | (EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.polynomialAlgebra R X I i hi) |
| 54 | (EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.tower R X I i hi) |
| 55 | (EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.etale R X I i hi) n |
| 56 | |
| 57 | theorem source_row_isIso (n : ℕ) : IsIso ((BaseCoordinateCechUnit.map R X U).f n) := |
| 58 | NumberTheory.PadicHodge.GeometricComparison.Cech.TermwiseIso.CechTermwiseIso.isIso (FormalCoproduct.mk (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X) U).cech |
| 59 | (toSheafify (Opens.grothendieckTopology X.left) (DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)) |
| 60 | (fun q t => source_forms R X q t n) |
| 61 | |
| 62 | def sourceIso : Cech.Descent.CechDescent.bicomplex R X U ≅ |
| 63 | Cech.SectionTotal.CechSectionTotal.directBicomplex R X U (DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) := by |
| 64 | let (n : ℕ) : IsIso ((BaseCoordinateCechUnit.map R X U).f n) := source_row_isIso R X n |
| 65 | let : IsIso (BaseCoordinateCechUnit.map R X U) := HomologicalComplex.Hom.isIso_of_components _ |
| 66 | exact asIso (BaseCoordinateCechUnit.map R X U) |
| 67 | |
| 68 | variable (S : Type u) [CommRing S] [Algebra R S] |
| 69 | (Y : Over (Spec (CommRingCat.of S))) (f : Y.left ⟶ X.left) |
| 70 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 71 | |
| 72 | local instance : PreservesFiniteLimits (TopologicalSpace.Opens.map f.base) := |
| 73 | IntrinsicCechScalarBicomplex.BaseIntrinsicCechScalarBicomplex.opensFiniteLimits R S X Y f |
| 74 | |
| 75 | include hp in |
| 76 | theorem target_forms (q : ℕ) (t : Fin (q + 1) → SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X) (n : ℕ) : |
| 77 | IsIso ((toSheafify (Opens.grothendieckTopology Y.left) |
| 78 | (DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n)).app (op (∏ᶜ (fun j => f ⁻¹ᵁ U (t j))))) := by |
| 79 | let e := PreservesProduct.iso (TopologicalSpace.Opens.map f.base) (U ∘ t) |
| 80 | have he : f ⁻¹ᵁ (∏ᶜ (U ∘ t)) = ∏ᶜ (fun j => f ⁻¹ᵁ U (t j)) := |
| 81 | le_antisymm (leOfHom e.hom) (leOfHom e.inv) |
| 82 | rw [← he] |
| 83 | have hI : IsAffineOpen (∏ᶜ (U ∘ t)) := |
| 84 | SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.affine R X) q t |
| 85 | let I : X.left.affineOpens := ⟨∏ᶜ (U ∘ t), hI⟩ |
| 86 | let i := t 0 |
| 87 | have hi : I.val ≤ ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X i := leOfHom (Pi.π (U ∘ t) 0) |
| 88 | let σ := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateIndex R X i |
| 89 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 90 | exact @BaseAffine.ChangeFormUnit.BaseAffineBaseChangeFormUnit.forms R S inferInstance inferInstance inferInstance X Y f hp |
| 91 | I.val I.property σ inferInstance |
| 92 | (EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.polynomialAlgebra R X I i hi) |
| 93 | (EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.tower R X I i hi) |
| 94 | (EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.etale R X I i hi) n |
| 95 | |
| 96 | include hp in |
| 97 | theorem target_row_isIso (n : ℕ) : IsIso ((BaseCoordinateCechUnit.map S Y (fun i => f ⁻¹ᵁ U i)).f n) := |
| 98 | NumberTheory.PadicHodge.GeometricComparison.Cech.TermwiseIso.CechTermwiseIso.isIso |
| 99 | (FormalCoproduct.mk (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X) (fun i => f ⁻¹ᵁ U i)).cech |
| 100 | (toSheafify (Opens.grothendieckTopology Y.left) (DeRhamGlobalId.DeRhamGlobal.formsPresheaf S Y n)) |
| 101 | (fun q t => target_forms R X S Y f hp q t n) |
| 102 | |
| 103 | def targetIso : Cech.Descent.CechDescent.bicomplex S Y (fun i => f ⁻¹ᵁ U i) ≅ |
| 104 | Cech.SectionTotal.CechSectionTotal.directBicomplex S Y (fun i => f ⁻¹ᵁ U i) (DeRhamGlobalId.DeRhamGlobal.sheafComplex S Y) := by |
| 105 | let (n : ℕ) : IsIso ((BaseCoordinateCechUnit.map S Y (fun i => f ⁻¹ᵁ U i)).f n) := target_row_isIso R X S Y f hp n |
| 106 | let : IsIso (BaseCoordinateCechUnit.map S Y (fun i => f ⁻¹ᵁ U i)) := HomologicalComplex.Hom.isIso_of_components _ |
| 107 | exact asIso (BaseCoordinateCechUnit.map S Y (fun i => f ⁻¹ᵁ U i)) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.CoordinateCechUnit.BaseCoordinateCechUnit |