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.TensorModelTopology |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.QuadraticNorm |
| 3 | |
| 4 | /-! # Tensor Frame Coordinates -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.TensorFrameCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Continuous tensor coordinates under matrix congruence and permutation. -/ |
| 11 | |
| 12 | open _root_.Matrix |
| 13 | open scoped Kronecker |
| 14 | |
| 15 | theorem sesquilinear_reindex |
| 16 | {F E I J : Type} [Field F] [Field E] [Algebra F E] |
| 17 | [Fintype I] [Fintype J] (σ : E ≃ₐ[F] E) (j : I ≃ J) |
| 18 | (A : Matrix I I E) (x y : J → E) : |
| 19 | DualPair.Construction.sesquilinear σ (Matrix.reindex j j A) x y = DualPair.Construction.sesquilinear σ A (x ∘ j) (y ∘ j) := by |
| 20 | change (fun i => σ (x i)) ⬝ᵥ (A.submatrix j.symm j.symm *ᵥ y) = _ |
| 21 | rw [Matrix.submatrix_mulVec_equiv, Equiv.symm_symm, dotProduct_comp_equiv_symm] |
| 22 | rfl |
| 23 | |
| 24 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] {m n : ℕ} |
| 25 | variable (σ : E ≃ₐ[F] E) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 26 | variable (c : Oscillator.Construction.SymplecticFrame σ H K) |
| 27 | |
| 28 | theorem symplecticFrame_continuous [CompleteSpace F] [FiniteDimensional F E] |
| 29 | (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) : |
| 30 | Continuous c.coordinates ∧ Continuous c.coordinates.symm := by |
| 31 | rcases NormedField.discreteTopology_or_nontriviallyNormedField F with hd | ⟨_, rfl⟩ |
| 32 | · exact (hF hd).elim |
| 33 | · let : ContinuousSMul F E := continuousSMul_of_algebraMap F E hEmbedding |
| 34 | exact ⟨c.coordinates.toLinearMap.continuous_of_finiteDimensional, |
| 35 | c.coordinates.symm.toLinearMap.continuous_of_finiteDimensional⟩ |
| 36 | |
| 37 | def continuousFrameCoordinates [CompleteSpace F] [FiniteDimensional F E] |
| 38 | (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) : |
| 39 | ((Fin m × Fin n) → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n) where |
| 40 | toLinearEquiv := c.coordinates |
| 41 | continuous_toFun := (symplecticFrame_continuous σ H K c hF hEmbedding).1 |
| 42 | continuous_invFun := (symplecticFrame_continuous σ H K c hF hEmbedding).2 |
| 43 | |
| 44 | def tensorModelCoordinates {J : Type} (j : (Fin m × Fin n) ≃ J) |
| 45 | (u : (Matrix (Fin m × Fin n) (Fin m × Fin n) E)ˣ) |
| 46 | (e : ((Fin m × Fin n) → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n)) : |
| 47 | (J → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n) := |
| 48 | ((ContinuousLinearEquiv.piCongrLeft F (fun _ : J => E) j).symm.trans |
| 49 | (MatrixFrameAction.Construction.matrixUnitContinuousLinearEquiv (F := F) u)).trans e |
| 50 | |
| 51 | theorem tensorModelCoordinates_apply {J : Type} (j : (Fin m × Fin n) ≃ J) |
| 52 | (u : (Matrix (Fin m × Fin n) (Fin m × Fin n) E)ˣ) |
| 53 | (e : ((Fin m × Fin n) → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n)) (x : J → E) : |
| 54 | tensorModelCoordinates j u e x = e ((u : Matrix _ _ E) *ᵥ (x ∘ j)) := rfl |
| 55 | |
| 56 | theorem tensorModelCoordinates_preserves {J : Type} [Fintype J] [DecidableEq J] |
| 57 | (j : (Fin m × Fin n) ≃ J) |
| 58 | (u : (Matrix (Fin m × Fin n) (Fin m × Fin n) E)ˣ) |
| 59 | (e : ((Fin m × Fin n) → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n)) |
| 60 | (he : e.toLinearEquiv = c.coordinates) (Q : Matrix J J E) |
| 61 | (hQ : Matrix.reindex j j (DualPair.Construction.adjointMatrix σ (u : Matrix _ _ E) * (H ⊗ₖ K) * (u : Matrix _ _ E)) = Q) |
| 62 | (x y : J → E) : |
| 63 | Oscillator.Construction.standardSymplecticPairing (m * n) (tensorModelCoordinates j u e x) (tensorModelCoordinates j u e y) = |
| 64 | Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2 := by |
| 65 | rw [tensorModelCoordinates_apply, tensorModelCoordinates_apply] |
| 66 | change Oscillator.Construction.standardSymplecticPairing (m * n) (e.toLinearEquiv _) (e.toLinearEquiv _) = _ |
| 67 | rw [he, c.preserves] |
| 68 | unfold DualPair.Construction.traceTensorPairing |
| 69 | rw [DualPair.Construction.sesquilinear_change, ← sesquilinear_reindex σ j, hQ] |
| 70 | |
| 71 | theorem frameSymplectic_injective : Function.Injective (FrameTransport.Construction.frameSymplectic σ H K c) := by |
| 72 | intro g h hh |
| 73 | apply Subtype.ext |
| 74 | apply LinearEquiv.ext |
| 75 | intro v |
| 76 | have hv := congrArg (fun t : Oscillator.Construction.TensorSymplectic σ H K => c.coordinates (t.val (c.coordinates.symm v))) hh |
| 77 | simpa only [FrameTransport.Construction.frameSymplectic_coordinates, c.coordinates.apply_symm_apply] using hv |
| 78 | |
| 79 | theorem tensorModelCoordinates_action {J : Type} [Fintype J] [DecidableEq J] |
| 80 | (j : (Fin m × Fin n) ≃ J) |
| 81 | (u : (Matrix (Fin m × Fin n) (Fin m × Fin n) E)ˣ) |
| 82 | (e : ((Fin m × Fin n) → E) ≃L[F] Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n)) |
| 83 | (he : e.toLinearEquiv = c.coordinates) (Q : Matrix J J E) |
| 84 | (hpair : ∀ x y, Oscillator.Construction.standardSymplecticPairing (m * n) (tensorModelCoordinates j u e x) (tensorModelCoordinates j u e y) = |
| 85 | Algebra.trace F E (DualPair.Construction.sesquilinear σ Q x y) / 2) |
| 86 | (g : DualPair.Construction.unitaryGroup σ Q) (t : DualPair.Construction.unitaryGroup σ H × DualPair.Construction.unitaryGroup σ K) |
| 87 | (hinter : (u : Matrix _ _ E) * (g.val : Matrix J J E).submatrix j j = |
| 88 | ((DualPair.Construction.tensorUnitaryAction σ H K t).val : Matrix _ _ E) * (u : Matrix _ _ E)) : |
| 89 | FrameTransport.Construction.frameSymplectic σ H K c (MatrixFrameAction.Construction.matrixFrameAction σ Q (tensorModelCoordinates j u e).toLinearEquiv hpair g) = |
| 90 | DualPair.Construction.dualPairAction σ H K t := by |
| 91 | apply Subtype.ext |
| 92 | apply LinearEquiv.ext |
| 93 | intro v |
| 94 | apply c.coordinates.injective |
| 95 | obtain ⟨x, hx⟩ := (tensorModelCoordinates j u e).surjective (c.coordinates v) |
| 96 | have hxv : (u : Matrix _ _ E) *ᵥ (x ∘ j) = v := by |
| 97 | apply c.coordinates.injective |
| 98 | change e.toLinearEquiv ((u : Matrix _ _ E) *ᵥ (x ∘ j)) = _ at hx |
| 99 | rwa [he] at hx |
| 100 | rw [FrameTransport.Construction.frameSymplectic_coordinates, ← hx] |
| 101 | change (MatrixFrameAction.Construction.matrixFrameAction σ Q (tensorModelCoordinates j u e).toLinearEquiv hpair g).val |
| 102 | ((tensorModelCoordinates j u e).toLinearEquiv x) = _ |
| 103 | rw [MatrixFrameAction.Construction.matrixFrameAction_coordinates] |
| 104 | change tensorModelCoordinates j u e ((g.val : Matrix J J E) *ᵥ x) = _ |
| 105 | rw [tensorModelCoordinates_apply] |
| 106 | change e.toLinearEquiv ((u : Matrix _ _ E) *ᵥ (((g.val : Matrix J J E) *ᵥ x) ∘ j)) = _ |
| 107 | rw [he] |
| 108 | have hp : ((g.val : Matrix J J E) *ᵥ x) ∘ j = |
| 109 | (g.val : Matrix J J E).submatrix j j *ᵥ (x ∘ j) := by |
| 110 | rw [Matrix.submatrix_mulVec_equiv] |
| 111 | simp only [Function.comp_assoc, Equiv.self_comp_symm, Function.comp_id] |
| 112 | rw [hp, Matrix.mulVec_mulVec, hinter, ← Matrix.mulVec_mulVec, hxv] |
| 113 | rfl |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.RepresentationTheory.Weil.UnitarySplitting.TensorFrameCoordinates.Construction |