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.Weil.AdelicSplitting.QuadraticMatrixCoordinates |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.QuadraticGenerators |
| 3 | |
| 4 | /-! # Cayley Matrix Base Change -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.CayleyMatrixBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Rational matrix data for the Fourier expression of Cayley coefficients. |
| 13 | The difference matrix is retained as an actual unit, so field maps preserve |
| 14 | its inverse without an extra inverse-matrix premise. -/ |
| 15 | |
| 16 | open scoped Classical _root_.Matrix |
| 17 | |
| 18 | variable (F : Type) [Field F] (N : ℕ) |
| 19 | |
| 20 | abbrev PhaseMatrixUnit := (Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) F)ˣ |
| 21 | |
| 22 | def phaseWeylUnit : PhaseMatrixUnit F N := |
| 23 | Matrix.GeneralLinearGroup.mkOfDetNeZero (Weil.Local.Generators.Construction.weylSymplectic F N).val (by |
| 24 | rw [SymplecticGroup.det_eq_one (Weil.Local.Generators.Construction.weylSymplectic F N).property] |
| 25 | exact one_ne_zero) |
| 26 | |
| 27 | def phaseUnitCoordinates (D : PhaseMatrixUnit F N) : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear F (N + N) := |
| 28 | Units.map (Matrix.reindexRingEquiv F finSumFinEquiv).toMonoidHom D |
| 29 | |
| 30 | def cayleyCoefficientLinear (D : PhaseMatrixUnit F N) : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear F (N + N) := |
| 31 | (phaseUnitCoordinates F N (phaseWeylUnit F N * D⁻¹))⁻¹ |
| 32 | |
| 33 | variable [CharZero F] |
| 34 | |
| 35 | def cayleyCoefficientQuadratic (D : PhaseMatrixUnit F N) : Weil.Local.FunctionsMetaplectic.Construction.SymmetricMatrix F (N + N) := |
| 36 | QuadraticMatrixCoordinates.Construction.symmetricPart (Matrix.reindex finSumFinEquiv finSumFinEquiv (D⁻¹.valᵀ * Matrix.J (Fin N) F)) |
| 37 | |
| 38 | theorem cayleyCoefficientQuadratic_apply (D : PhaseMatrixUnit F N) (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (N + N)) : |
| 39 | Weil.Local.FunctionsMetaplectic.Construction.quadratic (cayleyCoefficientQuadratic F N D).val x = |
| 40 | (Matrix.J (Fin N) F).toBilin' |
| 41 | (D⁻¹.val *ᵥ fun j => x (finSumFinEquiv j)) (fun j => x (finSumFinEquiv j)) / 2 := by |
| 42 | rw [cayleyCoefficientQuadratic, QuadraticMatrixCoordinates.Construction.quadratic_symmetricPart, QuadraticMatrixCoordinates.Construction.reindex_toBilin, |
| 43 | QuadraticMatrixCoordinates.Construction.toBilin_transpose_mul_left] |
| 44 | |
| 45 | omit [CharZero F] in |
| 46 | theorem phaseUnitCoordinates_mulVec (D : PhaseMatrixUnit F N) (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (N + N)) |
| 47 | (j : Fin N ⊕ Fin N) : |
| 48 | ((phaseUnitCoordinates F N D).val *ᵥ x) (finSumFinEquiv j) = |
| 49 | (D.val *ᵥ fun i => x (finSumFinEquiv i)) j := by |
| 50 | change (∑ i : Fin (N + N), D.val (finSumFinEquiv.symm (finSumFinEquiv j)) (finSumFinEquiv.symm i) * x i) = _ |
| 51 | rw [finSumFinEquiv.symm_apply_apply, |
| 52 | ← finSumFinEquiv.sum_comp (fun i => D.val j (finSumFinEquiv.symm i) * x i)] |
| 53 | simp only [finSumFinEquiv.symm_apply_apply] |
| 54 | rfl |
| 55 | |
| 56 | omit [CharZero F] in |
| 57 | theorem cayleyCoefficientLinear_inverse (D : PhaseMatrixUnit F N) : |
| 58 | (cayleyCoefficientLinear F N D)⁻¹ = phaseUnitCoordinates F N (phaseWeylUnit F N * D⁻¹) := inv_inv _ |
| 59 | |
| 60 | variable {k : Type} [NormedField k] [CharZero k] |
| 61 | |
| 62 | omit [CharZero k] in |
| 63 | theorem openCellDifference_inverse_unit (g : Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N) (hg : (g.val - 1).det ≠ 0) |
| 64 | (D : PhaseMatrixUnit k N) (hD : D.val = g.val - 1) (x : Weil.Local.FunctionsMetaplectic.Construction.PhaseSpace k N) : |
| 65 | (SchrodingerPairing.Construction.openCellDifference k N g hg).symm x = D⁻¹.val *ᵥ x := by |
| 66 | apply (SchrodingerPairing.Construction.openCellDifference k N g hg).injective |
| 67 | rw [(SchrodingerPairing.Construction.openCellDifference k N g hg).apply_symm_apply] |
| 68 | change x = (g.val - 1) *ᵥ (D⁻¹.val *ᵥ x) |
| 69 | rw [← hD, Matrix.mulVec_mulVec] |
| 70 | change x = (D.val * D.inv) *ᵥ x |
| 71 | rw [D.val_inv, Matrix.one_mulVec] |
| 72 | |
| 73 | theorem cayleyCoefficientQuadratic_local (g : Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N) (hg : (g.val - 1).det ≠ 0) |
| 74 | (D : PhaseMatrixUnit k N) (hD : D.val = g.val - 1) (x : Weil.Local.FunctionsMetaplectic.Construction.Position k (N + N)) : |
| 75 | Weil.Local.FunctionsMetaplectic.Construction.quadratic (cayleyCoefficientQuadratic k N D).val x = |
| 76 | SchrodingerPairing.Construction.schrodingerCayleyPhase k N g hg ((PhaseMeasure.Construction.phaseCoordinates k N).symm x) := by |
| 77 | rw [cayleyCoefficientQuadratic_apply, SchrodingerPairing.Construction.schrodingerCayleyPhase, |
| 78 | UnitarySplitting.CayleyCompositionPhase.Construction.cayleyWeylPhase, openCellDifference_inverse_unit N g hg D hD] |
| 79 | rfl |
| 80 | |
| 81 | omit [CharZero k] in |
| 82 | theorem cayleyCoefficientLinear_local (g : Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N) (hg : (g.val - 1).det ≠ 0) |
| 83 | (D : PhaseMatrixUnit k N) (hD : D.val = g.val - 1) (x : Weil.Local.FunctionsMetaplectic.Construction.Position k (N + N)) : |
| 84 | (cayleyCoefficientLinear k N D)⁻¹.val *ᵥ x = |
| 85 | PhaseMeasure.Construction.phaseCoordinates k N (Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (Weil.Local.Generators.Construction.weylSymplectic k N) |
| 86 | ((SchrodingerPairing.Construction.openCellDifference k N g hg).symm ((PhaseMeasure.Construction.phaseCoordinates k N).symm x))) := by |
| 87 | rw [cayleyCoefficientLinear_inverse, openCellDifference_inverse_unit N g hg D hD] |
| 88 | funext i |
| 89 | obtain ⟨j, rfl⟩ := finSumFinEquiv.surjective i |
| 90 | rw [phaseUnitCoordinates_mulVec] |
| 91 | have he := Homeomorph.piCongrLeft_apply_apply |
| 92 | (Y := fun _ : Fin (N + N) => k) finSumFinEquiv |
| 93 | (Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (Weil.Local.Generators.Construction.weylSymplectic k N) (D⁻¹.val *ᵥ (PhaseMeasure.Construction.phaseCoordinates k N).symm x)) j |
| 94 | rw [show PhaseMeasure.Construction.phaseCoordinates k N |
| 95 | (Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (Weil.Local.Generators.Construction.weylSymplectic k N) (D⁻¹.val *ᵥ (PhaseMeasure.Construction.phaseCoordinates k N).symm x)) |
| 96 | (finSumFinEquiv j) = |
| 97 | Weil.Local.FunctionsMetaplectic.Construction.symplecticAction (Weil.Local.Generators.Construction.weylSymplectic k N) (D⁻¹.val *ᵥ (PhaseMeasure.Construction.phaseCoordinates k N).symm x) j from he] |
| 98 | change (((Weil.Local.Generators.Construction.weylSymplectic k N).val * D⁻¹.val) *ᵥ fun i => x (finSumFinEquiv i)) j = _ |
| 99 | rw [← Matrix.mulVec_mulVec] |
| 100 | rfl |
| 101 | |
| 102 | end |
| 103 | |
| 104 | /-! The Cayley coefficient matrix data commutes with field embeddings. -/ |
| 105 | |
| 106 | open scoped Classical _root_.Matrix |
| 107 | |
| 108 | variable {F k : Type} [Field F] [Field k] (N : ℕ) (e : F →+* k) |
| 109 | |
| 110 | def mapPhaseMatrixUnit (D : PhaseMatrixUnit F N) : PhaseMatrixUnit k N := |
| 111 | Units.map e.mapMatrix.toMonoidHom D |
| 112 | |
| 113 | theorem phaseWeylUnit_map : mapPhaseMatrixUnit N e (phaseWeylUnit F N) = phaseWeylUnit k N := by |
| 114 | apply Units.ext |
| 115 | ext i j |
| 116 | cases i <;> cases j <;> |
| 117 | simp [mapPhaseMatrixUnit, phaseWeylUnit, Weil.Local.Generators.Construction.weylSymplectic_matrix, |
| 118 | Matrix.fromBlocks, Matrix.one_apply] |
| 119 | |
| 120 | theorem phaseUnitCoordinates_map (D : PhaseMatrixUnit F N) : |
| 121 | Units.map e.mapMatrix.toMonoidHom (phaseUnitCoordinates F N D) = |
| 122 | phaseUnitCoordinates k N (mapPhaseMatrixUnit N e D) := by |
| 123 | apply Units.ext |
| 124 | rfl |
| 125 | |
| 126 | theorem cayleyCoefficientLinear_map (D : PhaseMatrixUnit F N) : |
| 127 | Units.map e.mapMatrix.toMonoidHom (cayleyCoefficientLinear F N D) = |
| 128 | cayleyCoefficientLinear k N (mapPhaseMatrixUnit N e D) := by |
| 129 | unfold cayleyCoefficientLinear |
| 130 | rw [map_inv, phaseUnitCoordinates_map] |
| 131 | have hm : mapPhaseMatrixUnit N e (phaseWeylUnit F N * D⁻¹) = |
| 132 | phaseWeylUnit k N * (mapPhaseMatrixUnit N e D)⁻¹ := by |
| 133 | change Units.map e.mapMatrix.toMonoidHom (phaseWeylUnit F N * D⁻¹) = _ |
| 134 | rw [map_mul, map_inv] |
| 135 | rw [show Units.map e.mapMatrix.toMonoidHom (phaseWeylUnit F N) = phaseWeylUnit k N from phaseWeylUnit_map N e] |
| 136 | rfl |
| 137 | rw [hm] |
| 138 | |
| 139 | variable [CharZero F] [CharZero k] |
| 140 | |
| 141 | theorem cayleyCoefficientQuadratic_map (D : PhaseMatrixUnit F N) : |
| 142 | (cayleyCoefficientQuadratic F N D).val.map e = |
| 143 | (cayleyCoefficientQuadratic k N (mapPhaseMatrixUnit N e D)).val := by |
| 144 | unfold cayleyCoefficientQuadratic |
| 145 | rw [QuadraticMatrixCoordinates.Construction.symmetricPart_map] |
| 146 | congr 2 |
| 147 | have hdi : (mapPhaseMatrixUnit N e D)⁻¹.val = D⁻¹.val.map e := by |
| 148 | change (Units.map e.mapMatrix.toMonoidHom D)⁻¹.val = _ |
| 149 | rw [← map_inv] |
| 150 | rfl |
| 151 | rw [hdi] |
| 152 | have hm : (D⁻¹.valᵀ * Matrix.J (Fin N) F).map e = |
| 153 | (D⁻¹.val.map e)ᵀ * Matrix.J (Fin N) k := by |
| 154 | rw [Matrix.map_mul, Matrix.map_J] |
| 155 | rfl |
| 156 | exact congrArg (Matrix.reindex finSumFinEquiv finSumFinEquiv) hm |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.RepresentationTheory.Weil.AdelicSplitting.CayleyMatrixBaseChange.Construction |