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.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 2 | |
| 3 | /-! # Position Reindex -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Relabeling position coordinates preserves topology and the Heisenberg formula. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open _root_.Matrix OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 15 | |
| 16 | def positionReindex {I J K : Type*} [TopologicalSpace K] (e : I ≃ J) : (I → K) ≃ₜ (J → K) where |
| 17 | toFun x j := x (e.symm j) |
| 18 | invFun y i := y (e i) |
| 19 | left_inv x := by funext i; simp |
| 20 | right_inv y := by funext j; simp |
| 21 | continuous_toFun := continuous_pi (fun j => continuous_apply (e.symm j)) |
| 22 | continuous_invFun := continuous_pi (fun i => continuous_apply (e i)) |
| 23 | |
| 24 | theorem positionReindex_sub {I J K : Type*} [TopologicalSpace K] [Sub K] |
| 25 | (e : I ≃ J) (x y : I → K) : positionReindex e (x - y) = positionReindex e x - positionReindex e y := rfl |
| 26 | |
| 27 | theorem positionReindex_sum_elim {I J K : Type*} [TopologicalSpace K] |
| 28 | (e : I ≃ J) (p s : I → K) : |
| 29 | positionReindex (e.sumCongr e) (Sum.elim p s) = Sum.elim (positionReindex e p) (positionReindex e s) := by |
| 30 | funext i |
| 31 | cases i <;> rfl |
| 32 | |
| 33 | theorem positionReindex_dot {I J K : Type*} [Fintype I] [Fintype J] |
| 34 | [TopologicalSpace K] [CommSemiring K] (e : I ≃ J) (x y : I → K) : |
| 35 | positionReindex e x ⬝ᵥ positionReindex e y = x ⬝ᵥ y := by |
| 36 | exact e.symm.sum_comp (fun i => x i * y i) |
| 37 | |
| 38 | theorem heisenberg_positionReindex {I J K : Type*} [Fintype I] [Fintype J] |
| 39 | [TopologicalSpace K] [CommRing K] [Algebra ℚ K] |
| 40 | (e : I ≃ J) (ψ : AddChar K ℂ) (p s : I → K) (f : (I → K) → ℂ) (y : J → K) : |
| 41 | Theta.PoissonAutomorphyNormalizationData.heisenberg ψ p s f ((positionReindex e).symm y) = |
| 42 | Theta.PoissonAutomorphyNormalizationData.heisenberg ψ (positionReindex e p) (positionReindex e s) |
| 43 | (fun z => f ((positionReindex e).symm z)) y := by |
| 44 | have hsum : (∑ i, p i * (y (e i) - algebraMap ℚ K (1 / 2) * s i)) = |
| 45 | ∑ j, p (e.symm j) * (y j - algebraMap ℚ K (1 / 2) * s (e.symm j)) := by |
| 46 | simpa only [Equiv.apply_symm_apply] using |
| 47 | (e.symm.sum_comp (fun i => p i * (y (e i) - algebraMap ℚ K (1 / 2) * s i))).symm |
| 48 | unfold Theta.PoissonAutomorphyNormalizationData.heisenberg |
| 49 | change ψ (∑ i, p i * (y (e i) - algebraMap ℚ K (1 / 2) * s i)) * |
| 50 | f (fun i => y (e i) - s i) = |
| 51 | ψ (∑ j, p (e.symm j) * (y j - algebraMap ℚ K (1 / 2) * s (e.symm j))) * |
| 52 | f (fun i => y (e i) - s (e.symm (e i))) |
| 53 | rw [hsum] |
| 54 | simp only [Equiv.symm_apply_apply] |
| 55 | |
| 56 | theorem heisenberg_positionReindex_forward {I J K : Type*} [Fintype I] [Fintype J] |
| 57 | [TopologicalSpace K] [CommRing K] [Algebra ℚ K] |
| 58 | (e : I ≃ J) (ψ : AddChar K ℂ) (p s x : I → K) (f : (J → K) → ℂ) : |
| 59 | Theta.PoissonAutomorphyNormalizationData.heisenberg ψ (positionReindex e p) (positionReindex e s) f (positionReindex e x) = |
| 60 | Theta.PoissonAutomorphyNormalizationData.heisenberg ψ p s (fun y => f (positionReindex e y)) x := by |
| 61 | have h := heisenberg_positionReindex e ψ p s (fun y => f (positionReindex e y)) (positionReindex e x) |
| 62 | simpa only [Homeomorph.symm_apply_apply, Homeomorph.apply_symm_apply] using h.symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! Coordinate relabeling induces a symplectic group isomorphism. -/ |
| 67 | |
| 68 | open scoped Classical _root_.Matrix |
| 69 | open _root_.Matrix OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 70 | |
| 71 | variable {I J K : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] [CommRing K] |
| 72 | |
| 73 | theorem symplecticReindex_J (e : I ≃ J) : |
| 74 | Matrix.reindexRingEquiv K (e.sumCongr e) (Matrix.J I K) = Matrix.J J K := by |
| 75 | apply Matrix.ext |
| 76 | intro i j |
| 77 | cases i <;> cases j <;> |
| 78 | simp [Matrix.reindexRingEquiv, Matrix.reindex_apply, Matrix.J, Matrix.fromBlocks, Matrix.one_apply] |
| 79 | |
| 80 | omit [DecidableEq I] [DecidableEq J] in |
| 81 | theorem symplecticReindex_transpose (e : I ≃ J) (A : Matrix (Sum I I) (Sum I I) K) : |
| 82 | Matrix.reindexRingEquiv K (e.sumCongr e) A.transpose = |
| 83 | (Matrix.reindexRingEquiv K (e.sumCongr e) A).transpose := rfl |
| 84 | |
| 85 | theorem symplecticReindex_mem (e : I ≃ J) (g : Theta.PoissonAutomorphyNormalizationData.Sp I K) : |
| 86 | Matrix.reindexRingEquiv K (e.sumCongr e) g.val ∈ Matrix.symplecticGroup J K := by |
| 87 | have h := congrArg (Matrix.reindexRingEquiv K (e.sumCongr e)) (SymplecticGroup.mem_iff'.mp g.property) |
| 88 | rw [map_mul, map_mul, symplecticReindex_transpose, symplecticReindex_J] at h |
| 89 | exact SymplecticGroup.mem_iff'.mpr h |
| 90 | |
| 91 | def symplecticReindex (e : I ≃ J) : Theta.PoissonAutomorphyNormalizationData.Sp I K →* Theta.PoissonAutomorphyNormalizationData.Sp J K where |
| 92 | toFun g := ⟨Matrix.reindexRingEquiv K (e.sumCongr e) g.val, symplecticReindex_mem e g⟩ |
| 93 | map_one' := Subtype.ext (map_one (Matrix.reindexRingEquiv K (e.sumCongr e))) |
| 94 | map_mul' g h := Subtype.ext (map_mul (Matrix.reindexRingEquiv K (e.sumCongr e)) g.val h.val) |
| 95 | |
| 96 | theorem symplecticReindex_symm_apply (e : I ≃ J) (g : Theta.PoissonAutomorphyNormalizationData.Sp I K) : |
| 97 | symplecticReindex e.symm (symplecticReindex e g) = g := by |
| 98 | apply Subtype.ext |
| 99 | apply Matrix.ext |
| 100 | intro i j |
| 101 | change g.val ((e.sumCongr e).symm ((e.sumCongr e) i)) |
| 102 | ((e.sumCongr e).symm ((e.sumCongr e) j)) = g.val i j |
| 103 | rw [Equiv.symm_apply_apply, Equiv.symm_apply_apply] |
| 104 | |
| 105 | theorem symplecticReindex_map {L : Type*} [CommRing L] (e : I ≃ J) (f : K →+* L) (g : Theta.PoissonAutomorphyNormalizationData.Sp I K) : |
| 106 | symplecticReindex e (Theta.PoissonAutomorphyNormalizationData.mapSp f g) = Theta.PoissonAutomorphyNormalizationData.mapSp f (symplecticReindex e g) := by |
| 107 | apply Subtype.ext |
| 108 | apply Matrix.ext |
| 109 | intro i j |
| 110 | rfl |
| 111 | |
| 112 | theorem symplecticReindex_action [TopologicalSpace K] (e : I ≃ J) (g : Theta.PoissonAutomorphyNormalizationData.Sp I K) (x : Sum I I → K) : |
| 113 | (symplecticReindex e g).val *ᵥ positionReindex (e.sumCongr e) x = |
| 114 | positionReindex (e.sumCongr e) (g.val *ᵥ x) := by |
| 115 | have h := Matrix.submatrix_mulVec_equiv g.val (fun j => x ((e.sumCongr e).symm j)) |
| 116 | (e.sumCongr e).symm (e.sumCongr e).symm |
| 117 | change g.val.submatrix (e.sumCongr e).symm (e.sumCongr e).symm *ᵥ |
| 118 | (fun j => x ((e.sumCongr e).symm j)) = fun j => (g.val *ᵥ x) ((e.sumCongr e).symm j) |
| 119 | simpa only [Function.comp_def, Equiv.symm_symm, Equiv.symm_apply_apply] using h |
| 120 | |
| 121 | theorem symplecticReindex_inverse_action [TopologicalSpace K] (e : I ≃ J) (g : Theta.PoissonAutomorphyNormalizationData.Sp J K) (x : Sum I I → K) : |
| 122 | positionReindex (e.sumCongr e) ((symplecticReindex e.symm g).val *ᵥ x) = |
| 123 | g.val *ᵥ positionReindex (e.sumCongr e) x := by |
| 124 | have h := symplecticReindex_action e (symplecticReindex e.symm g) x |
| 125 | have he : symplecticReindex e (symplecticReindex e.symm g) = g := |
| 126 | symplecticReindex_symm_apply e.symm g |
| 127 | rw [he] at h |
| 128 | exact h.symm |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization |