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.AbelianGlobalFilteredComparisons |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.PullbackScalarNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Betti |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.Functor |
| 5 | |
| 6 | /-! # Abelian Comparison Naturality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The actual local and complex algebraic comparisons intertwine every extending geometric endomorphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {K : Type} [Field K] [NumberField K] |
| 19 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 20 | |
| 21 | theorem Geometry.AbelianH1Model.localAlgebraicComparison_naturality (f : A.ExtendingEndomorphism) (x : A.LocalAlgebraicDeRham) : |
| 22 | A.localAlgebraicComparison (A.localAlgebraicPullback f x) = |
| 23 | A.deRhamPullback f (A.localAlgebraicComparison x) := by |
| 24 | let : Algebra K ℚ_[q] := jq.toAlgebra |
| 25 | let e := IntrinsicPullbackScalarExtension.equiv K ℚ_[q] A.variety.scheme 1 |
| 26 | let d := GeometricComparison.DeRham.IsoCohomology.isoPullback A.genericIso.hom 1 |
| 27 | let g := (Over.pullback (Geometry.scalarBaseMap jq)).map f.generic.toMul.hom.hom |
| 28 | have h₁ := Intrinsic.PullbackScalarNaturality.IntrinsicPullbackScalarExtension.naturality K ℚ_[q] f.generic.toMul.hom.hom 1 x |
| 29 | have h₂ := GeometricComparison.DeRham.Functor.pullback_square (A.localEndomorphism f) g A.genericIso.hom A.genericIso.hom f.compatible 1 |
| 30 | have hd : d.toLinearMap = GeometricComparison.DeRham.Int.pullback A.genericIso.hom 1 := GeometricComparison.DeRham.IsoCohomology.isoPullback_toLinearMap A.genericIso.hom 1 |
| 31 | have hmap (z : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℚ_[q] |
| 32 | ((Over.pullback (Geometry.scalarBaseMap jq)).obj A.variety.scheme) 1) : |
| 33 | d (GeometricComparison.DeRham.Int.pullback g 1 z) = A.deRhamPullback f (d z) := by |
| 34 | change d.toLinearMap (GeometricComparison.DeRham.Int.pullback g 1 z) = A.deRhamPullback f (d.toLinearMap z) |
| 35 | rw [hd] |
| 36 | exact LinearMap.congr_fun h₂.symm z |
| 37 | exact (congrArg d h₁).trans (hmap (e x)) |
| 38 | |
| 39 | theorem Geometry.AbelianH1Model.complexAlgebraicComparison_naturality (j : K →+* ℂ) (f : A.ExtendingEndomorphism) |
| 40 | (x : A.ComplexAlgebraicDeRham j) : |
| 41 | A.complexAlgebraicComparison j (A.complexAlgebraicPullback j f x) = |
| 42 | GeometricComparison.DeRham.Int.pullback (A.complexEndomorphism j f) 1 (A.complexAlgebraicComparison j x) := by |
| 43 | let : Algebra K ℂ := j.toAlgebra |
| 44 | exact Intrinsic.PullbackScalarNaturality.IntrinsicPullbackScalarExtension.naturality K ℂ f.generic.toMul.hom.hom 1 x |
| 45 | |
| 46 | end |
| 47 | |
| 48 | section |
| 49 | |
| 50 | /-! The actual algebraic-to-Betti comparison commutes with every extending geometric endomorphism. -/ |
| 51 | |
| 52 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 53 | |
| 54 | theorem Geometry.AbelianH1Model.comparison_trans_naturality {F M N T : Type*} [CommRing F] |
| 55 | [AddCommGroup M] [AddCommGroup N] [AddCommGroup T] [Module F M] [Module F N] [Module F T] |
| 56 | (e : M ≃ₗ[F] N) (d : N ≃ₗ[F] T) (a : M →ₗ[F] M) (b : N →ₗ[F] N) (c : T →ₗ[F] T) |
| 57 | (he : ∀ x, e (a x) = b (e x)) (hd : ∀ y, d (b y) = c (d y)) (x : M) : |
| 58 | (e.trans d) (a x) = c ((e.trans d) x) := |
| 59 | (congrArg d (he x)).trans (hd (e x)) |
| 60 | |
| 61 | theorem Geometry.AbelianH1Model.comparison_naturality_apply {F N T : Type*} [CommRing F] |
| 62 | [AddCommGroup N] [AddCommGroup T] [Module F N] [Module F T] |
| 63 | (d : N ≃ₗ[F] T) (b : N →ₗ[F] N) (c : T →ₗ[F] T) |
| 64 | (h : d.toLinearMap.comp b = c.comp d.toLinearMap) (z : N) : d (b z) = c (d z) := |
| 65 | LinearMap.congr_fun h z |
| 66 | |
| 67 | theorem Geometry.AbelianH1Model.comparison_trans_exists {F M N T I J : Type*} [CommRing F] |
| 68 | [AddCommGroup M] [AddCommGroup N] [AddCommGroup T] [Module F M] [Module F N] [Module F T] |
| 69 | (e : M ≃ₗ[F] N) (d : N ≃ₗ[F] T) |
| 70 | (a : I → Module.End F M) (b : I → Module.End F N) (c : I → Module.End F T) |
| 71 | (P : J → Submodule F M) (Q : J → Submodule F N) (W : J → Submodule F T) |
| 72 | (he : ∀ i x, e (a i x) = b i (e x)) |
| 73 | (hd : ∀ i, d.toLinearMap.comp (b i) = (c i).comp d.toLinearMap) |
| 74 | (hP : ∀ j, (P j).map e.toLinearMap = Q j) (hQ : ∀ j, (Q j).map d.toLinearMap = W j) : |
| 75 | ∃ cmp : M ≃ₗ[F] T, (∀ i x, cmp (a i x) = c i (cmp x)) ∧ |
| 76 | (∀ j, (P j).map cmp.toLinearMap = W j) := |
| 77 | ⟨e.trans d, fun i => Geometry.AbelianH1Model.comparison_trans_naturality e d (a i) (b i) (c i) (he i) |
| 78 | (Geometry.AbelianH1Model.comparison_naturality_apply d (b i) (c i) (hd i)), |
| 79 | fun j => Geometry.AbelianH1Model.filtered_trans e d (P j) (Q j) (W j) (hP j) (hQ j)⟩ |
| 80 | |
| 81 | variable {K : Type} [Field K] [NumberField K] |
| 82 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 83 | |
| 84 | theorem Geometry.AbelianH1Model.algebraicBettiComparison_exists (hBettiComparison : Betti.ComparisonInput) (j : K →+* ℂ) |
| 85 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) : |
| 86 | ∃ cmp : A.ComplexAlgebraicDeRham j ≃ₗ[ℂ] A.ComplexBetti j, |
| 87 | (∀ f : A.ExtendingEndomorphism, ∀ x, |
| 88 | cmp (A.complexAlgebraicPullback j f x) = A.complexBettiPullback j f (cmp x)) ∧ |
| 89 | (∀ i : ℤ, (A.complexAlgebraicFiltration j i).map cmp.toLinearMap = A.bettiFiltration j P i) := by |
| 90 | let : Algebra K ℂ := j.toAlgebra |
| 91 | let e : A.ComplexAlgebraicDeRham j ≃ₗ[ℂ] |
| 92 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℂ (A.complexFiber j).scheme 1 := |
| 93 | A.complexAlgebraicComparison j |
| 94 | let d : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℂ (A.complexFiber j).scheme 1 ≃ₗ[ℂ] A.ComplexBetti j := |
| 95 | A.nativeComplexComparison hBettiComparison j |
| 96 | have hn (f : A.ExtendingEndomorphism) : d.toLinearMap.comp (GeometricComparison.DeRham.Int.pullback (A.complexEndomorphism j f) 1) = |
| 97 | (A.complexBettiPullback j f).comp d.toLinearMap := |
| 98 | Betti.ComplexComparison.nativeEquiv_naturality hBettiComparison |
| 99 | (X := (A.complexFiber j).scheme) (Y := (A.complexFiber j).scheme) (A.complexEndomorphism j f) 1 |
| 100 | have hP (i : ℤ) : (A.complexAlgebraicFiltration j i).map e.toLinearMap = |
| 101 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration ℂ (A.complexFiber j).scheme 1 i := |
| 102 | A.complexAlgebraicComparison_filtration j i |
| 103 | have hQ (i : ℤ) : (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration ℂ (A.complexFiber j).scheme 1 i).map d.toLinearMap = |
| 104 | A.bettiFiltration j P i := A.nativeComplexComparison_filtration hBettiComparison j P i |
| 105 | exact Geometry.AbelianH1Model.comparison_trans_exists (F := ℂ) (M := A.ComplexAlgebraicDeRham j) |
| 106 | (N := AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℂ (A.complexFiber j).scheme 1) |
| 107 | (T := A.ComplexBetti j) (I := A.ExtendingEndomorphism) (J := ℤ) e d (A.complexAlgebraicPullback j) |
| 108 | (fun f => GeometricComparison.DeRham.Int.pullback (A.complexEndomorphism j f) 1) (A.complexBettiPullback j) |
| 109 | (A.complexAlgebraicFiltration j) |
| 110 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration ℂ (A.complexFiber j).scheme 1) |
| 111 | (A.bettiFiltration j P) (A.complexAlgebraicComparison_naturality j) hn |
| 112 | hP hQ |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! The exact local-and-Betti comparison clause required in the GeometricComparison target, with geometric endomorphism and native filtration compatibility. -/ |
| 117 | |
| 118 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 119 | |
| 120 | variable {K : Type} [Field K] [NumberField K] |
| 121 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 122 | |
| 123 | theorem Geometry.AbelianH1Model.algebraic_filtered_comparisons (hBettiComparison : Betti.ComparisonInput) (j : K →+* ℂ) |
| 124 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) : |
| 125 | ∃ (localCmp : A.LocalAlgebraicDeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 126 | (bettiCmp : A.ComplexAlgebraicDeRham j ≃ₗ[ℂ] A.ComplexBetti j), |
| 127 | (∀ f : A.ExtendingEndomorphism, |
| 128 | (∀ x, localCmp (A.localAlgebraicPullback f x) = A.deRhamPullback f (localCmp x)) ∧ |
| 129 | (∀ x, bettiCmp (A.complexAlgebraicPullback j f x) = A.complexBettiPullback j f (bettiCmp x))) ∧ |
| 130 | (∀ i : ℤ, (A.localAlgebraicFiltration i).map localCmp.toLinearMap = A.Fil i) ∧ |
| 131 | (∀ i : ℤ, (A.complexAlgebraicFiltration j i).map bettiCmp.toLinearMap = A.bettiFiltration j P i) := by |
| 132 | obtain ⟨bettiCmp, hnat, hfil⟩ := A.algebraicBettiComparison_exists hBettiComparison j P |
| 133 | exact ⟨A.localAlgebraicComparison, bettiCmp, |
| 134 | fun f => ⟨A.localAlgebraicComparison_naturality f, hnat f⟩, |
| 135 | A.localAlgebraicComparison_filtration, hfil⟩ |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.NumberTheory.PadicHodge.GeometricComparison |