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.GeometricComparison.First.ZeroQuotient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExtendShort |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConnectiveSectionFinite |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TriangleFinitenessFinite |
| 5 | import Mathlib.Algebra.Homology.DerivedCategory.ShortExact |
| 6 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.Linear |
| 7 | |
| 8 | /-! # Low Degree -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LowDegree.LowDegreeHypercohomologyFinite |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Finite H-one of the zero term and finite global one-forms bound actual de Rham H-one. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Pretriangulated Opposite |
| 17 | |
| 18 | variable (R : Type) [CommRing R] [IsNoetherianRing R] (X : TopCat.{0}) |
| 19 | |
| 20 | local notation "V" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.Sheaves R X |
| 21 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.coefficient R X |
| 22 | |
| 23 | local instance : HasDerivedCategory.{1} V := HasDerivedCategory.standard _ |
| 24 | local instance : HasExt.{1} V := HasExt.standard _ |
| 25 | |
| 26 | theorem finite (K : CochainComplex V ℕ) |
| 27 | [Module.Finite R ((K.X 1).obj.obj (op ⊤))] |
| 28 | [Module.Finite R (Abelian.Ext.{1} A (K.X 0) 1)] : |
| 29 | Module.Finite R ((DerivedCategory.singleFunctor V 0).obj A ⟶ |
| 30 | (DerivedCategory.Q.obj (K.extend ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧) := by |
| 31 | let S := (First.ZeroQuotient.FirstZeroComplex.quotientSequence K).map (ComplexShape.embeddingUpNat.extendFunctor V) |
| 32 | have hS : S.ShortExact := ExtendShort.ExtendShortExact.shortExact _ _ (First.ZeroQuotient.FirstZeroComplex.quotient_shortExact K) |
| 33 | let T := (shiftFunctor (Triangle (DerivedCategory V)) (1 : ℤ)).obj |
| 34 | (DerivedCategory.triangleOfSES hS) |
| 35 | have hT : T ∈ distTriang (DerivedCategory V) := |
| 36 | Triangle.shift_distinguished _ (DerivedCategory.triangleOfSES_distinguished hS) 1 |
| 37 | let L : CochainComplex V ℤ := |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K 1).extend ComplexShape.embeddingUpNat |
| 39 | let : L.IsStrictlyGE 1 := TruncationBoundsGE.TruncationBounds.extended_isStrictlyGE K 1 |
| 40 | let : (L⟦(1 : ℤ)⟧).IsStrictlyGE 0 := L.isStrictlyGE_shift 1 1 0 rfl |
| 41 | let : IsIso ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1).f 1) := by |
| 42 | change IsIso (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K 1 1) |
| 43 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_left (by norm_num)] |
| 44 | infer_instance |
| 45 | let e₁ : (L⟦(1 : ℤ)⟧).X 0 ≅ K.X 1 := |
| 46 | L.shiftFunctorObjXIso 1 0 1 rfl ≪≫ |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K 1).extendXIso ComplexShape.embeddingUpNat (i := 1) rfl ≪≫ |
| 48 | asIso ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1).f 1) |
| 49 | let sections := (sheafSections (Opens.grothendieckTopology X) (ModuleCat R)).obj (op ⊤) |
| 50 | let : Module.Finite R (sections.obj (K.X 1)) := |
| 51 | inferInstanceAs (Module.Finite R ((K.X 1).obj.obj (op ⊤))) |
| 52 | let : Module.Finite R (((L⟦(1 : ℤ)⟧).X 0).obj.obj (op ⊤)) := |
| 53 | Module.Finite.equiv ((sections.mapIso e₁).toLinearEquiv.symm) |
| 54 | let : Module.Finite R ((DerivedCategory.singleFunctor V 0).obj A ⟶ |
| 55 | (shiftFunctor (CochainComplex V ℤ) (1 : ℤ) ⋙ DerivedCategory.Q).obj L) := |
| 56 | ConnectiveSectionFinite.ConnectiveSectionFiniteness.finite R X (L⟦(1 : ℤ)⟧) |
| 57 | let h₁ := Linear.homCongr R (Iso.refl ((DerivedCategory.singleFunctor V 0).obj A)) |
| 58 | ((DerivedCategory.Q.commShiftIso (1 : ℤ)).app L) |
| 59 | let : Module.Finite R ((DerivedCategory.singleFunctor V 0).obj A ⟶ T.obj₁) := |
| 60 | Module.Finite.equiv h₁ |
| 61 | let : Module.Finite R ((DerivedCategory.singleFunctor V 0).obj A ⟶ |
| 62 | (DerivedCategory.Q.obj ((CochainComplex.singleFunctor V 0).obj (K.X 0)))⟦(1 : ℤ)⟧) := |
| 63 | Module.Finite.equiv (Abelian.Ext.homLinearEquiv (R := R)) |
| 64 | let e₀ : ((First.ZeroQuotient.FirstZeroComplex.complex K).extend ComplexShape.embeddingUpNat) ≅ |
| 65 | (CochainComplex.singleFunctor V 0).obj (K.X 0) := |
| 66 | HomologicalComplex.extendSingleIso ComplexShape.embeddingUpNat (K.X 0) 0 0 rfl |
| 67 | let h₀ := Linear.homCongr R (Iso.refl ((DerivedCategory.singleFunctor V 0).obj A)) |
| 68 | ((shiftFunctor (DerivedCategory V) (1 : ℤ)).mapIso (DerivedCategory.Q.mapIso e₀)) |
| 69 | let : Module.Finite R ((DerivedCategory.singleFunctor V 0).obj A ⟶ T.obj₃) := |
| 70 | Module.Finite.equiv h₀.symm |
| 71 | exact TriangleFinitenessFinite.TriangleFiniteness.finite R T hT ((DerivedCategory.singleFunctor V 0).obj A) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LowDegree.LowDegreeHypercohomologyFinite |