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.SplitExteriorAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorBaseChange |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Prod |
| 4 | |
| 5 | /-! # Exterior Adjunction Base Change -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.ExteriorAdjunctionBaseChange.Split |
| 12 | |
| 13 | /-! The splitting-independent top-form residue commutes with arbitrary |
| 14 | scalar extension of a split sequence of finite free modules. -/ |
| 15 | |
| 16 | open _root_.Module |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.SplitExteriorAdjunction OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 20 | |
| 21 | variable {R : Type*} [CommRing R] (S : Type*) [CommRing S] [Algebra R S] |
| 22 | {U : Type*} [AddCommGroup U] [Module R U] |
| 23 | {W : Type*} [AddCommGroup W] [Module R W] |
| 24 | {V : Type*} [AddCommGroup V] [Module R V] |
| 25 | {c g : ℕ} (bU : Basis (Fin c) R U) (bW : Basis (Fin g) R W) |
| 26 | (e : (U × W) ≃ₗ[R] V) |
| 27 | |
| 28 | def splitting : ((S ⊗[R] U) × (S ⊗[R] W)) ≃ₗ[S] S ⊗[R] V := |
| 29 | (TensorProduct.prodRight R S S U W).symm.trans (e.baseChange R S (U × W) V) |
| 30 | |
| 31 | theorem splitting_tmul (a : S) (u : U) (w : W) : |
| 32 | splitting S e (a ⊗ₜ[R] u, a ⊗ₜ[R] w) = a ⊗ₜ[R] e (u, w) := by |
| 33 | simp only [splitting, LinearEquiv.trans_apply, TensorProduct.prodRight_symm_tmul, |
| 34 | LinearEquiv.baseChange_tmul] |
| 35 | |
| 36 | theorem splitting_left_tmul (a : S) (u : U) : |
| 37 | splitting S e (a ⊗ₜ[R] u, 0) = a ⊗ₜ[R] e (u, 0) := by |
| 38 | simpa only [TensorProduct.tmul_zero] using splitting_tmul S e a u 0 |
| 39 | |
| 40 | theorem splitting_right_tmul (a : S) (w : W) : |
| 41 | splitting S e (0, a ⊗ₜ[R] w) = a ⊗ₜ[R] e (0, w) := by |
| 42 | simpa only [TensorProduct.tmul_zero] using splitting_tmul S e a 0 w |
| 43 | |
| 44 | theorem splitting_symm_tmul (a : S) (v : V) : |
| 45 | (splitting S e).symm (a ⊗ₜ[R] v) = |
| 46 | (a ⊗ₜ[R] (e.symm v).1, a ⊗ₜ[R] (e.symm v).2) := by |
| 47 | simp only [splitting, LinearEquiv.trans_symm, LinearEquiv.trans_apply, |
| 48 | LinearEquiv.baseChange_symm_tmul, LinearEquiv.symm_symm, TensorProduct.prodRight_tmul] |
| 49 | |
| 50 | theorem productBasis_baseChange : |
| 51 | SplitExteriorAdjunction.productBasis (bU.baseChange S) (bW.baseChange S) (splitting S e) = |
| 52 | (SplitExteriorAdjunction.productBasis bU bW e).baseChange S := by |
| 53 | apply DFunLike.ext |
| 54 | intro j |
| 55 | obtain ⟨j, rfl⟩ := finSumFinEquiv.surjective j |
| 56 | cases j with |
| 57 | | inl j => |
| 58 | simp only [SplitExteriorAdjunction.productBasis, Basis.reindex_apply, Basis.map_apply, |
| 59 | Equiv.symm_apply_apply, Basis.prod_apply, Sum.elim_inl, Function.comp_apply, |
| 60 | LinearMap.inl_apply, Basis.baseChange_apply] |
| 61 | exact splitting_left_tmul S e 1 (bU j) |
| 62 | | inr j => |
| 63 | simp only [SplitExteriorAdjunction.productBasis, Basis.reindex_apply, Basis.map_apply, |
| 64 | Equiv.symm_apply_apply, Basis.prod_apply, Sum.elim_inr, Function.comp_apply, |
| 65 | LinearMap.inr_apply, Basis.baseChange_apply] |
| 66 | exact splitting_right_tmul S e 1 (bW j) |
| 67 | |
| 68 | theorem powerScalarMap_generator {M : Type*} [AddCommGroup M] [Module R M] |
| 69 | {n : ℕ} (b : Basis (Fin n) R M) : |
| 70 | GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S M n (1 ⊗ₜ[R] TopExteriorCoordinates.generator b) = TopExteriorCoordinates.generator (b.baseChange S) := by |
| 71 | rw [TopExteriorCoordinates.generator, GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap_tmul_ιMulti, one_smul] |
| 72 | congr 1 |
| 73 | funext i |
| 74 | exact (Basis.baseChange_apply S b i).symm |
| 75 | |
| 76 | theorem residue_baseChange : |
| 77 | (SplitExteriorAdjunction.residue (bU.baseChange S) (bW.baseChange S) (splitting S e)).toLinearMap.comp |
| 78 | (GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S V (c + g)) = |
| 79 | (GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S W g).comp ((SplitExteriorAdjunction.residue bU bW e).toLinearMap.baseChange S) := by |
| 80 | apply ((TopExteriorBaseChange.topBasis (SplitExteriorAdjunction.productBasis bU bW e)).baseChange S).ext |
| 81 | intro j |
| 82 | simp only [Basis.baseChange_apply, TopExteriorBaseChange.topBasis_apply, |
| 83 | LinearMap.comp_apply, LinearMap.baseChange_tmul] |
| 84 | change SplitExteriorAdjunction.residue (bU.baseChange S) (bW.baseChange S) (splitting S e) |
| 85 | (GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S V (c + g) (1 ⊗ₜ[R] TopExteriorCoordinates.generator (SplitExteriorAdjunction.productBasis bU bW e))) = |
| 86 | GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S W g (1 ⊗ₜ[R] SplitExteriorAdjunction.residue bU bW e (TopExteriorCoordinates.generator (SplitExteriorAdjunction.productBasis bU bW e))) |
| 87 | rw [powerScalarMap_generator, ← productBasis_baseChange, SplitExteriorAdjunction.residue_generator, |
| 88 | SplitExteriorAdjunction.residue_generator, powerScalarMap_generator] |
| 89 | |
| 90 | end NumberTheory.PadicHodge.IntegralComparison.ExteriorAdjunctionBaseChange.Split |
| 91 | |
| 92 | namespace NumberTheory.PadicHodge.IntegralComparison.ExteriorAdjunctionBaseChange.SplitNaturality |
| 93 | |
| 94 | /-! Naturality of the canonical top-form residue for isomorphisms of |
| 95 | split short exact sequences. No equality of the chosen splittings is required. -/ |
| 96 | |
| 97 | open _root_.Module |
| 98 | |
| 99 | open OAI.NumberTheory.PadicHodge.IntegralComparison.SplitExteriorAdjunction OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 100 | |
| 101 | variable {R : Type*} [CommRing R] |
| 102 | {U : Type*} [AddCommGroup U] [Module R U] |
| 103 | {W : Type*} [AddCommGroup W] [Module R W] |
| 104 | {V : Type*} [AddCommGroup V] [Module R V] |
| 105 | {U' : Type*} [AddCommGroup U'] [Module R U'] |
| 106 | {W' : Type*} [AddCommGroup W'] [Module R W'] |
| 107 | {V' : Type*} [AddCommGroup V'] [Module R V'] |
| 108 | {c g : ℕ} (bU : Basis (Fin c) R U) (bW : Basis (Fin g) R W) |
| 109 | (e : (U × W) ≃ₗ[R] V) |
| 110 | (fU : U ≃ₗ[R] U') (fW : W ≃ₗ[R] W') (fV : V ≃ₗ[R] V') |
| 111 | |
| 112 | def splitting : (U' × W') ≃ₗ[R] V' := |
| 113 | (fU.symm.prodCongr fW.symm).trans (e.trans fV) |
| 114 | |
| 115 | theorem productBasis_map : |
| 116 | SplitExteriorAdjunction.productBasis (bU.map fU) (bW.map fW) (splitting e fU fW fV) = |
| 117 | (SplitExteriorAdjunction.productBasis bU bW e).map fV := by |
| 118 | apply DFunLike.ext |
| 119 | intro j |
| 120 | obtain ⟨j, rfl⟩ := finSumFinEquiv.surjective j |
| 121 | cases j <;> |
| 122 | simp [SplitExteriorAdjunction.productBasis, Basis.prod_apply, splitting] |
| 123 | |
| 124 | theorem map_generator {M N : Type*} [AddCommGroup M] [Module R M] |
| 125 | [AddCommGroup N] [Module R N] {n : ℕ} (b : Basis (Fin n) R M) (f : M ≃ₗ[R] N) : |
| 126 | exteriorPower.map n f.toLinearMap (TopExteriorCoordinates.generator b) = TopExteriorCoordinates.generator (b.map f) := by |
| 127 | rw [TopExteriorCoordinates.generator, exteriorPower.map_apply_ιMulti] |
| 128 | rfl |
| 129 | |
| 130 | theorem residue_transport : |
| 131 | (SplitExteriorAdjunction.residue (bU.map fU) (bW.map fW) (splitting e fU fW fV)).toLinearMap.comp |
| 132 | (exteriorPower.map (c + g) fV.toLinearMap) = |
| 133 | (exteriorPower.map g fW.toLinearMap).comp (SplitExteriorAdjunction.residue bU bW e).toLinearMap := by |
| 134 | apply (TopExteriorBaseChange.topBasis (SplitExteriorAdjunction.productBasis bU bW e)).ext |
| 135 | intro j |
| 136 | simp only [TopExteriorBaseChange.topBasis_apply, LinearMap.comp_apply] |
| 137 | change SplitExteriorAdjunction.residue (bU.map fU) (bW.map fW) (splitting e fU fW fV) |
| 138 | (exteriorPower.map (c + g) fV.toLinearMap (TopExteriorCoordinates.generator (SplitExteriorAdjunction.productBasis bU bW e))) = |
| 139 | exteriorPower.map g fW.toLinearMap (SplitExteriorAdjunction.residue bU bW e (TopExteriorCoordinates.generator (SplitExteriorAdjunction.productBasis bU bW e))) |
| 140 | rw [map_generator, ← productBasis_map bU bW e fU fW fV, |
| 141 | SplitExteriorAdjunction.residue_generator, SplitExteriorAdjunction.residue_generator, map_generator] |
| 142 | |
| 143 | variable (e' : (U' × W') ≃ₗ[R] V') |
| 144 | (hU : ∀ u, fV (e (u, 0)) = e' (fU u, 0)) |
| 145 | (hW : ∀ v, fW (e.symm v).2 = (e'.symm (fV v)).2) |
| 146 | |
| 147 | include hU hW in |
| 148 | theorem residue_splitting : |
| 149 | SplitExteriorAdjunction.residue (bU.map fU) (bW.map fW) (splitting e fU fW fV) = |
| 150 | SplitExteriorAdjunction.residue (bU.map fU) (bW.map fW) e' := by |
| 151 | apply SplitExteriorAdjunction.residue_independent_splitting |
| 152 | · intro u |
| 153 | simpa only [splitting, LinearEquiv.trans_apply, LinearEquiv.prodCongr_apply, |
| 154 | map_zero, LinearEquiv.apply_symm_apply] using hU (fU.symm u) |
| 155 | · intro v |
| 156 | simpa only [splitting, LinearEquiv.trans_symm, LinearEquiv.prodCongr_symm, |
| 157 | LinearEquiv.trans_apply, LinearEquiv.prodCongr_apply, LinearEquiv.symm_symm, |
| 158 | LinearEquiv.apply_symm_apply] |
| 159 | using hW (fV.symm v) |
| 160 | |
| 161 | include hU hW in |
| 162 | theorem residue_naturality : |
| 163 | (SplitExteriorAdjunction.residue (bU.map fU) (bW.map fW) e').toLinearMap.comp |
| 164 | (exteriorPower.map (c + g) fV.toLinearMap) = |
| 165 | (exteriorPower.map g fW.toLinearMap).comp (SplitExteriorAdjunction.residue bU bW e).toLinearMap := by |
| 166 | rw [← residue_splitting bU bW e fU fW fV e' hU hW] |
| 167 | exact residue_transport bU bW e fU fW fV |
| 168 | |
| 169 | end NumberTheory.PadicHodge.IntegralComparison.ExteriorAdjunctionBaseChange.SplitNaturality |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI |