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.UnitarySplitting.MatrixUnitTopology |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.FrameTransport |
| 3 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Generic |
| 4 | |
| 5 | /-! # Matrix Frame Action -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.MatrixFrameAction.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Matrix unitary actions in prescribed continuous symplectic coordinates. -/ |
| 14 | |
| 15 | open _root_.Matrix |
| 16 | |
| 17 | variable {F E I : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 18 | variable [Fintype I] [DecidableEq I] {d : ℕ} |
| 19 | |
| 20 | def matrixUnitContinuousLinearEquiv (u : (Matrix I I E)ˣ) : (I → E) ≃L[F] (I → E) where |
| 21 | toLinearEquiv := DualPair.Construction.matrixLinearEquiv u |
| 22 | continuous_toFun := (MatrixUnitTopology.Construction.matrixUnitContinuousAddEquiv u).continuous |
| 23 | continuous_invFun := (MatrixUnitTopology.Construction.matrixUnitContinuousAddEquiv u).symm.continuous |
| 24 | |
| 25 | def matrixFrameAction (σ : E ≃ₐ[F] E) (Q : Matrix I I E) |
| 26 | (e : (I → E) ≃ₗ[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F d) |
| 27 | (he : ∀ x y, Oscillator.Construction.standardSymplecticPairing d (e x) (e y) = Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2) : |
| 28 | DualPair.Construction.unitaryGroup σ Q →* FrameTransport.Construction.StandardSymplectic F d where |
| 29 | toFun g := ⟨(e.symm.trans (DualPair.Construction.matrixLinearEquiv g.val)).trans e, by |
| 30 | intro x y |
| 31 | change Oscillator.Construction.standardSymplecticPairing d (e ((g.val : Matrix I I E) *ᵥ e.symm x)) |
| 32 | (e ((g.val : Matrix I I E) *ᵥ e.symm y)) = Oscillator.Construction.standardSymplecticPairing d x y |
| 33 | rw [he, DualPair.Construction.unitary_preserves] |
| 34 | have hh := he (e.symm x) (e.symm y) |
| 35 | rw [e.apply_symm_apply, e.apply_symm_apply] at hh |
| 36 | exact hh.symm⟩ |
| 37 | map_one' := by |
| 38 | apply Subtype.ext |
| 39 | apply LinearEquiv.ext |
| 40 | intro x |
| 41 | change e ((1 : Matrix I I E) *ᵥ e.symm x) = x |
| 42 | rw [Matrix.one_mulVec, e.apply_symm_apply] |
| 43 | map_mul' g h := by |
| 44 | apply Subtype.ext |
| 45 | apply LinearEquiv.ext |
| 46 | intro x |
| 47 | change e (((g.val : Matrix I I E) * (h.val : Matrix I I E)) *ᵥ e.symm x) = |
| 48 | e ((g.val : Matrix I I E) *ᵥ e.symm (e ((h.val : Matrix I I E) *ᵥ e.symm x))) |
| 49 | rw [e.symm_apply_apply, Matrix.mulVec_mulVec] |
| 50 | |
| 51 | theorem matrixFrameAction_apply (σ : E ≃ₐ[F] E) (Q : Matrix I I E) |
| 52 | (e : (I → E) ≃ₗ[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F d) |
| 53 | (he : ∀ x y, Oscillator.Construction.standardSymplecticPairing d (e x) (e y) = Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2) |
| 54 | (g : DualPair.Construction.unitaryGroup σ Q) (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) : |
| 55 | (matrixFrameAction σ Q e he g).val v = e ((g.val : Matrix I I E) *ᵥ e.symm v) := rfl |
| 56 | |
| 57 | theorem matrixFrameAction_coordinates (σ : E ≃ₐ[F] E) (Q : Matrix I I E) |
| 58 | (e : (I → E) ≃ₗ[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F d) |
| 59 | (he : ∀ x y, Oscillator.Construction.standardSymplecticPairing d (e x) (e y) = Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2) |
| 60 | (g : DualPair.Construction.unitaryGroup σ Q) (x : I → E) : |
| 61 | (matrixFrameAction σ Q e he g).val (e x) = e ((g.val : Matrix I I E) *ᵥ x) := by |
| 62 | rw [matrixFrameAction_apply, e.symm_apply_apply] |
| 63 | |
| 64 | theorem matrixFrameAction_continuous (σ : E ≃ₐ[F] E) (Q : Matrix I I E) |
| 65 | (e : (I → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F d) |
| 66 | (he : ∀ x y, Oscillator.Construction.standardSymplecticPairing d (e x) (e y) = Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2) : |
| 67 | Continuous (matrixFrameAction σ Q e.toLinearEquiv he) := by |
| 68 | apply continuous_induced_rng.mpr |
| 69 | apply Continuous.prodMk |
| 70 | · apply continuous_pi |
| 71 | intro v |
| 72 | change Continuous (fun g : DualPair.Construction.unitaryGroup σ Q => e ((g.val : Matrix I I E) *ᵥ e.symm v)) |
| 73 | apply e.continuous.comp |
| 74 | fun_prop |
| 75 | · apply continuous_pi |
| 76 | intro v |
| 77 | change Continuous (fun g : DualPair.Construction.unitaryGroup σ Q => e ((g.val⁻¹ : (Matrix I I E)ˣ) *ᵥ e.symm v)) |
| 78 | apply e.continuous.comp |
| 79 | fun_prop |
| 80 | |
| 81 | end |
| 82 | |
| 83 | /-! Generic matrix differences define continuously varying invertible |
| 84 | Cayley coordinates in the actual symplectic frame. -/ |
| 85 | |
| 86 | open _root_.Matrix |
| 87 | |
| 88 | variable {F E I : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 89 | variable [Fintype I] [DecidableEq I] {d : ℕ} |
| 90 | variable (σ : E ≃ₐ[F] E) (Q : Matrix I I E) (e : (I → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F d) |
| 91 | |
| 92 | def matrixFrameDifference (g : DualPair.Construction.unitaryGroup σ Q) (hg : g ∈ Generic.Construction.unitaryGenericDomain σ Q) : |
| 93 | Local.FunctionsMetaplectic.Construction.PhaseSpace F d ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F d := |
| 94 | (e.symm.trans (matrixUnitContinuousLinearEquiv |
| 95 | (((g.val : Matrix I I E) - 1).nonsingInvUnit (isUnit_iff_ne_zero.mpr hg)))).trans e |
| 96 | |
| 97 | theorem matrixFrameDifference_apply (g : DualPair.Construction.unitaryGroup σ Q) (hg : g ∈ Generic.Construction.unitaryGenericDomain σ Q) |
| 98 | (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) : matrixFrameDifference σ Q e g hg v = |
| 99 | e (((g.val : Matrix I I E) - 1) *ᵥ e.symm v) := rfl |
| 100 | |
| 101 | theorem matrixFrameDifference_inverse_apply (g : DualPair.Construction.unitaryGroup σ Q) (hg : g ∈ Generic.Construction.unitaryGenericDomain σ Q) |
| 102 | (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) : (matrixFrameDifference σ Q e g hg).symm v = |
| 103 | e (((g.val : Matrix I I E) - 1)⁻¹ *ᵥ e.symm v) := rfl |
| 104 | |
| 105 | theorem matrixFrameDifference_action |
| 106 | (he : ∀ x y, Oscillator.Construction.standardSymplecticPairing d (e x) (e y) = Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2) |
| 107 | (g : DualPair.Construction.unitaryGroup σ Q) (hg : g ∈ Generic.Construction.unitaryGenericDomain σ Q) (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F d) : |
| 108 | matrixFrameDifference σ Q e g hg v = (matrixFrameAction σ Q e.toLinearEquiv he g).val v - v := by |
| 109 | rw [matrixFrameDifference_apply, Matrix.sub_mulVec, Matrix.one_mulVec, map_sub, |
| 110 | e.apply_symm_apply, matrixFrameAction_apply] |
| 111 | rfl |
| 112 | |
| 113 | theorem matrixFrameDifference_coordinates (g : DualPair.Construction.unitaryGroup σ Q) (hg : g ∈ Generic.Construction.unitaryGenericDomain σ Q) |
| 114 | (x : I → E) : matrixFrameDifference σ Q e g hg (e x) = e (((g.val : Matrix I I E) - 1) *ᵥ x) := by |
| 115 | rw [matrixFrameDifference_apply, e.symm_apply_apply] |
| 116 | |
| 117 | theorem matrixFrameDifference_family_continuous |
| 118 | {P : Type} [TopologicalSpace P] (g : P → DualPair.Construction.unitaryGroup σ Q) (hg : ∀ p, g p ∈ Generic.Construction.unitaryGenericDomain σ Q) |
| 119 | (hc : Continuous g) : |
| 120 | Continuous (fun z : P × Local.FunctionsMetaplectic.Construction.PhaseSpace F d => matrixFrameDifference σ Q e (g z.1) (hg z.1) z.2) ∧ |
| 121 | Continuous (fun z : P × Local.FunctionsMetaplectic.Construction.PhaseSpace F d => (matrixFrameDifference σ Q e (g z.1) (hg z.1)).symm z.2) := by |
| 122 | have hA : Continuous (fun p : P => ((g p).val : Matrix I I E) - 1) := by fun_prop |
| 123 | have hAi : Continuous (fun p : P => (((g p).val : Matrix I I E) - 1)⁻¹) := by |
| 124 | apply continuous_iff_continuousAt.mpr |
| 125 | intro p |
| 126 | have hi : ContinuousAt (fun A : Matrix I I E => A⁻¹) (((g p).val : Matrix I I E) - 1) := by |
| 127 | apply continuousAt_matrix_inv |
| 128 | have he : (Ring.inverse : E → E) = fun x => x⁻¹ := funext (fun x => Ring.inverse_eq_inv x) |
| 129 | rw [he] |
| 130 | exact continuousAt_inv₀ (hg p) |
| 131 | exact hi.comp (f := fun t : P => ((g t).val : Matrix I I E) - 1) hA.continuousAt |
| 132 | constructor |
| 133 | · change Continuous (fun z : P × Local.FunctionsMetaplectic.Construction.PhaseSpace F d => e ((((g z.1).val : Matrix I I E) - 1) *ᵥ e.symm z.2)) |
| 134 | exact e.continuous.comp ((hA.comp continuous_fst).matrix_mulVec (e.symm.continuous.comp continuous_snd)) |
| 135 | · change Continuous (fun z : P × Local.FunctionsMetaplectic.Construction.PhaseSpace F d => e ((((g z.1).val : Matrix I I E) - 1)⁻¹ *ᵥ e.symm z.2)) |
| 136 | exact e.continuous.comp ((hAi.comp continuous_fst).matrix_mulVec (e.symm.continuous.comp continuous_snd)) |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.RepresentationTheory.Weil.UnitarySplitting.MatrixFrameAction.Construction |