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.BoundedSection.CohomologyDifference |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ShortExactHomologyKernel |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BoundedCohomologySequence |
| 4 | |
| 5 | /-! # Finite Level Kernel -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FiniteLevelKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: a finite-level criterion for the kernel description of original crystalline cohomology |
| 13 | |
| 14 | The hypothesis concerns the actual bounded crystalline Ext groups. No |
| 15 | geometric finiteness theorem is assumed or encoded in their definition. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.property (p := p) (J := J) (δ := δ) f |
| 29 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ResolutionComplexExact.presheafComplex (p := p) (J := J) (δ := δ) f |
| 30 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ResolutionComplexExact.sequence (p := p) (J := J) (δ := δ) f |
| 31 | |
| 32 | theorem difference_epi (i : ℕ) |
| 33 | [∀ n, Finite (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i)] : |
| 34 | Epi (HomologicalComplex.homologyMap (S).g i) := by |
| 35 | let (n : ℕ) : Finite ((CountableProductHomology.component R |
| 36 | (BoundedSection.Family.complex R P (ModuleCat.of R R) A) n).homology i) := |
| 37 | Finite.of_injective _ (BoundedProductCohomology.componentLinearEquiv f n i).injective |
| 38 | exact BoundedSection.CohomologyDifference.homology_difference_epi R P |
| 39 | (BoundedSection.Reconstruction.monotone_property f) (ModuleCat.of R R) A i |
| 40 | |
| 41 | theorem inclusion_mono_succ (i : ℕ) |
| 42 | [∀ n, Finite (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i)] : |
| 43 | Mono (HomologicalComplex.homologyMap (S).f (i + 1)) := by |
| 44 | let := difference_epi (p := p) (J := J) (δ := δ) f i |
| 45 | exact ShortExactHomologyKernel.mono_succ (S) (ResolutionComplexExact.shortExact f) i |
| 46 | |
| 47 | theorem middle_mono (i : ℕ) [Mono (HomologicalComplex.homologyMap (S).f i)] : |
| 48 | Mono (BoundedCohomologySequence.middle (p := p) (J := J) (δ := δ) f i).f := by |
| 49 | let T := ResolutionHomologySequence.middle (p := p) (J := J) (δ := δ) f i |
| 50 | let : Mono T.f := (inferInstance : Mono (HomologicalComplex.homologyMap (S).f i)) |
| 51 | let U := ModuleCat.uliftFunctor.{u + 2, u + 1} R |
| 52 | let : Mono (T.map U).f := (inferInstance : Mono (U.map T.f)) |
| 53 | exact ShortComplexTransport.mono_f (T.map U) |
| 54 | (BoundedCohomologySequence.sourceIso f i) |
| 55 | (BoundedCohomologySequence.productIso f i) |
| 56 | (BoundedCohomologySequence.productIso f i) |
| 57 | |
| 58 | def kernelLinearEquiv (i : ℕ) [Mono (HomologicalComplex.homologyMap (S).f i)] : |
| 59 | BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f i ≃ₗ[R] |
| 60 | LinearMap.ker (BoundedCohomologySequence.middle (p := p) (J := J) (δ := δ) f i).g.hom := by |
| 61 | letI := middle_mono (p := p) (J := J) (δ := δ) f i |
| 62 | exact ShortExactHomologyKernel.kernelLinearEquiv |
| 63 | (BoundedCohomologySequence.middle f i) (BoundedCohomologySequence.middle_exact f i) |
| 64 | |
| 65 | def kernelLinearEquiv_succ (i : ℕ) |
| 66 | [∀ n, Finite (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i)] : |
| 67 | BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f (i + 1) ≃ₗ[R] |
| 68 | LinearMap.ker (BoundedCohomologySequence.middle (p := p) (J := J) (δ := δ) f (i + 1)).g.hom := by |
| 69 | letI := inclusion_mono_succ (p := p) (J := J) (δ := δ) f i |
| 70 | exact kernelLinearEquiv f (i + 1) |
| 71 | |
| 72 | def kernelLinearEquiv_zero : |
| 73 | BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f 0 ≃ₗ[R] |
| 74 | LinearMap.ker (BoundedCohomologySequence.middle (p := p) (J := J) (δ := δ) f 0).g.hom := by |
| 75 | letI := ShortExactHomologyKernel.mono_zero (S) (ResolutionComplexExact.shortExact f) |
| 76 | exact kernelLinearEquiv f 0 |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FiniteLevelKernel |