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.IntegralFirst.ThreeCechRegularity |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechFiniteness |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CochainQuotientCohomology |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalOneBaseChange |
| 5 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.ModuleAdicCompleteness |
| 6 | |
| 7 | /-! # Three Cech Completion -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion.IntegralFirstThreeCechCompletion |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual integral three-term Čech cohomology agrees with its compatible coefficient-power quotients. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable (R : Type) [CommRing R] [IsNoetherianRing R] |
| 18 | (X : Over (Spec (CommRingCat.of R))) [IsProper X.hom] [Smooth X.hom] |
| 19 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) |
| 20 | (hU : ∀ i, IsAffineOpen (U i)) (hcover : iSup U = ⊤) |
| 21 | |
| 22 | def complex : CochainComplex (ModuleCat.{0} R) ℕ := |
| 23 | (IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.bicomplex R X U).total (.up ℕ) |
| 24 | |
| 25 | omit [Finite ι] in |
| 26 | include hU hcover in |
| 27 | theorem cohomology_finite (n : ℕ) (hn : n ≤ 2) : |
| 28 | Module.Finite R ((complex R X U).homology n) := by |
| 29 | let : Module.Finite R (((IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.bicomplex R X U |
| 30 | (FirstThree.ThreeComplex.FirstThreeComplex.complex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X))).total (.up ℕ)).homology n) := |
| 31 | ThreeCechFiniteness.IntegralFirstThreeCechFiniteness.total_finite R X U hU hcover n hn |
| 32 | exact Module.Finite.equiv (HomologicalComplex.homologyMapIso |
| 33 | (HomologicalComplex₂.total.mapIso (IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.iso R X U hU) (.up ℕ)) n).symm.toLinearEquiv |
| 34 | |
| 35 | variable (r : R) (hr : IsRegular r) [IsAdicComplete (Ideal.span {r}) R] |
| 36 | |
| 37 | def compatible (i : ℕ) := AdicCohomology.AdicCohomologyLimit.compatible |
| 38 | (fun n => CochainQuotientCohomology.PrincipalCochainQuotient.cohomology R (complex R X U) r n i) |
| 39 | (CochainQuotientCohomology.PrincipalCochainQuotient.cohomologyTransition R (complex R X U) r i) |
| 40 | |
| 41 | def equiv (i : ℕ) (hi : i ≤ 1) : (complex R X U).homology i ≃ₗ[R] compatible R X U r i := by |
| 42 | let : Module.Finite R ((complex R X U).homology i) := cohomology_finite R X U hU hcover i (by omega) |
| 43 | let : Module.Finite R ((complex R X U).homology (i + 1)) := |
| 44 | cohomology_finite R X U hU hcover (i + 1) (by omega) |
| 45 | exact (AlgebraicGeometry.Crystalline.Cohomology.Finite.ModuleAdicCompleteness.FiniteModuleAdicCompleteness.equiv R (Ideal.span {r}) ((complex R X U).homology i)).trans |
| 46 | (CochainQuotientCohomology.PrincipalCochainQuotient.completionEquiv R (complex R X U) r |
| 47 | (ThreeCechRegularity.IntegralFirstThreeCechRegularity.total_regular R X U hU r hr) i) |
| 48 | |
| 49 | omit [Finite ι] in |
| 50 | theorem equiv_eval (i : ℕ) (hi : i ≤ 1) (x : (complex R X U).homology i) (n : ℕ) : |
| 51 | (IntegralFirstThreeCechCompletion.equiv R X U hU hcover r hr i hi x).val n = |
| 52 | CochainQuotientCohomology.PrincipalCochainQuotient.reduction R (complex R X U) r n i x := by |
| 53 | let : Module.Finite R ((complex R X U).homology i) := cohomology_finite R X U hU hcover i (by omega) |
| 54 | let : Module.Finite R ((complex R X U).homology (i + 1)) := |
| 55 | cohomology_finite R X U hU hcover (i + 1) (by omega) |
| 56 | change (CochainQuotientCohomology.PrincipalCochainQuotient.completionEquiv R (complex R X U) r |
| 57 | (ThreeCechRegularity.IntegralFirstThreeCechRegularity.total_regular R X U hU r hr) i |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.ModuleAdicCompleteness.FiniteModuleAdicCompleteness.equiv R (Ideal.span {r}) ((complex R X U).homology i) x)).val n = _ |
| 59 | erw [AlgebraicGeometry.Crystalline.Cohomology.Finite.ModuleAdicCompleteness.FiniteModuleAdicCompleteness.equiv_apply, CochainQuotientCohomology.PrincipalCochainQuotient.completionEquiv_of] |
| 60 | |
| 61 | variable [Module.Flat ℤ R] |
| 62 | |
| 63 | def nativeHoneEquiv : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X 1 ≃ₗ[R] compatible R X U r 1 := |
| 64 | ((Integral.GlobalOneBaseChange.IntegralGlobalHOneBaseChange.coordinateEquiv R X U hU hcover).symm.trans |
| 65 | (((complex R X U).extendHomologyIso ComplexShape.embeddingUpNat (j := 1) rfl).toLinearEquiv)).trans |
| 66 | (IntegralFirstThreeCechCompletion.equiv R X U hU hcover r hr 1 le_rfl) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion.IntegralFirstThreeCechCompletion |