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.ArithmeticGroups.Lattices.MultilinearAction |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.StabilizerSaturation |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeFrameAction |
| 4 | |
| 5 | /-! # Tensor Stabilizer -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.TensorStabilizer.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An integral multilinear operation has a closed automorphism-group |
| 12 | image in the space of real lattices. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open _root_.Module MulAction |
| 16 | |
| 17 | def multilinearOperationStabilizer |
| 18 | {E ι : Type*} [AddCommGroup E] [Module ℝ E] [Fintype ι] [DecidableEq ι] |
| 19 | (b : Basis ι ℝ E) (r : ℕ) (F : MultilinearMap ℝ (fun _ : Fin r => E) E) : |
| 20 | Subgroup (Matrix.GeneralLinearGroup ι ℝ) := |
| 21 | (stabilizer (MultilinearMap ℝ (fun _ : Fin r => E) E ≃ₗ[ℝ] |
| 22 | MultilinearMap ℝ (fun _ : Fin r => E) E) F).comap |
| 23 | (MultilinearAction.Construction.multilinearCovariantRepresentation (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom r) |
| 24 | |
| 25 | theorem mem_multilinearOperationStabilizer_iff |
| 26 | {E ι : Type*} [AddCommGroup E] [Module ℝ E] [Fintype ι] [DecidableEq ι] |
| 27 | (b : Basis ι ℝ E) (r : ℕ) (F : MultilinearMap ℝ (fun _ : Fin r => E) E) |
| 28 | (g : Matrix.GeneralLinearGroup ι ℝ) : |
| 29 | g ∈ multilinearOperationStabilizer b r F ↔ |
| 30 | ∀ v, LatticeFrameAction.Construction.matrixFrameAction b g (F v) = F (fun i => LatticeFrameAction.Construction.matrixFrameAction b g (v i)) := by |
| 31 | change MultilinearAction.Construction.multilinearCovariantRepresentation (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom |
| 32 | (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom r g F = F ↔ _ |
| 33 | constructor |
| 34 | · intro h v |
| 35 | have he := congrArg (fun f : MultilinearMap ℝ (fun _ : Fin r => E) E => |
| 36 | f (fun i => LatticeFrameAction.Construction.matrixFrameAction b g (v i))) h |
| 37 | change LatticeFrameAction.Construction.matrixFrameAction b g (F (fun i => LatticeFrameAction.Construction.matrixFrameAction b g⁻¹ (LatticeFrameAction.Construction.matrixFrameAction b g (v i)))) = _ at he |
| 38 | have hinv (x : E) : LatticeFrameAction.Construction.matrixFrameAction b g⁻¹ (LatticeFrameAction.Construction.matrixFrameAction b g x) = x := by |
| 39 | rw [map_inv] |
| 40 | exact (LatticeFrameAction.Construction.matrixFrameAction b g).symm_apply_apply x |
| 41 | simpa only [hinv] using he |
| 42 | · intro h |
| 43 | apply MultilinearMap.ext |
| 44 | intro v |
| 45 | change LatticeFrameAction.Construction.matrixFrameAction b g (F (fun i => LatticeFrameAction.Construction.matrixFrameAction b g⁻¹ (v i))) = F v |
| 46 | rw [h] |
| 47 | congr 1 |
| 48 | funext i |
| 49 | rw [map_inv] |
| 50 | exact (LatticeFrameAction.Construction.matrixFrameAction b g).apply_symm_apply _ |
| 51 | |
| 52 | theorem continuous_matrixFrameAction_joint |
| 53 | {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 54 | [Fintype ι] [DecidableEq ι] (b : Basis ι ℝ E) : |
| 55 | Continuous (fun a : Matrix.GeneralLinearGroup ι ℝ × E => LatticeFrameAction.Construction.matrixFrameAction b a.1 a.2) := by |
| 56 | have he (g : Matrix.GeneralLinearGroup ι ℝ) (x : E) : |
| 57 | LatticeFrameAction.Construction.matrixFrameAction b g x = b.equivFun.symm (g.val.mulVec (b.equivFun x)) := by |
| 58 | apply b.equivFun.injective |
| 59 | rw [b.equivFun.apply_symm_apply] |
| 60 | change (b.repr ((LatticeFrameAction.Construction.matrixFrameAction b g).toLinearMap x) : ι → ℝ) = _ |
| 61 | rw [LatticeFrameAction.Construction.matrixFrameAction_toLinearMap] |
| 62 | exact Matrix.repr_toLin b b g.val x |
| 63 | simp_rw [he] |
| 64 | exact b.equivFun.symm.continuous_of_finiteDimensional.comp |
| 65 | ((Units.continuous_val.comp continuous_fst).matrix_mulVec |
| 66 | (b.equivFun.continuous_of_finiteDimensional.comp continuous_snd)) |
| 67 | |
| 68 | theorem multilinearOperationStabilizer_quotient_image_closed |
| 69 | {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 70 | [Fintype ι] [DecidableEq ι] |
| 71 | (Λ : Submodule ℤ E) [DiscreteTopology Λ] (b : Basis ι ℝ E) |
| 72 | (hb : Submodule.span ℤ (Set.range b) = Λ) |
| 73 | (r : ℕ) (F : MultilinearMap ℝ (fun _ : Fin r => E) E) |
| 74 | (hF : ∀ t : Fin r → ι, F (fun i => b (t i)) ∈ Λ) : |
| 75 | let Γ := SubmoduleOrbit.Construction.submoduleImageStabilizer (LatticeFrameAction.Construction.matrixFrameIntegralAction b) Λ |
| 76 | IsClosed ((QuotientGroup.mk : Matrix.GeneralLinearGroup ι ℝ → Matrix.GeneralLinearGroup ι ℝ ⧸ Γ) '' |
| 77 | (multilinearOperationStabilizer b r F : Set (Matrix.GeneralLinearGroup ι ℝ))) := by |
| 78 | let H := Matrix.GeneralLinearGroup ι ℝ |
| 79 | let ρ := (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom |
| 80 | let U := (MultilinearBasisCoordinates.Construction.multilinearBasisEvaluation (A := E) b r).range |
| 81 | let τ := MultilinearAction.Construction.multilinearCovariantBasisRepresentation ρ ρ b r |
| 82 | let : MulAction H U := MulAction.compHom U τ |
| 83 | have hρ : Continuous (fun a : H × E => ρ a.1 a.2) := continuous_matrixFrameAction_joint b |
| 84 | let : ContinuousSMul H U := ⟨MultilinearAction.Construction.continuous_multilinearCovariantBasisRepresentation ρ ρ b r hρ hρ⟩ |
| 85 | let Γ := SubmoduleOrbit.Construction.submoduleImageStabilizer (LatticeFrameAction.Construction.matrixFrameIntegralAction b) Λ |
| 86 | let x : U := MultilinearBasisCoordinates.Construction.multilinearBasisEvaluationEquiv b r F |
| 87 | let L := MultilinearAction.Construction.integralMultilinearCoordinates b r Λ |
| 88 | have hx : x ∈ L := (MultilinearAction.Construction.mem_integralMultilinearCoordinates b r Λ x).mpr hF |
| 89 | have hΓ (g : H) (hg : g ∈ Γ) (v : E) (hv : v ∈ Λ) : ρ g v ∈ Λ := |
| 90 | ((StabilizerRestriction.Construction.submoduleImageStabilizer_mem_iff (LatticeFrameAction.Construction.matrixFrameIntegralAction b) Λ g).mp hg v).mpr hv |
| 91 | have hΓb (g : H) (hg : g ∈ Γ) (v : E) (hv : v ∈ Submodule.span ℤ (Set.range b)) : |
| 92 | ρ g v ∈ Submodule.span ℤ (Set.range b) := by |
| 93 | rw [hb] at hv ⊢ |
| 94 | exact hΓ g hg v hv |
| 95 | have hstable : ∀ g ∈ Γ, ∀ y ∈ L, g • y ∈ (L : Set U) := by |
| 96 | intro g hg y hy |
| 97 | exact MultilinearAction.Construction.integralMultilinearCoordinates_covariant_stable ρ ρ b r Λ Γ hΓb hΓ hg hy |
| 98 | have hstab : multilinearOperationStabilizer b r F = stabilizer H x := by |
| 99 | ext g |
| 100 | change MultilinearAction.Construction.multilinearCovariantRepresentation ρ ρ r g F = F ↔ τ g x = x |
| 101 | let e := MultilinearBasisCoordinates.Construction.multilinearBasisEvaluationEquiv (A := E) b r |
| 102 | change MultilinearAction.Construction.multilinearCovariantRepresentation ρ ρ r g F = F ↔ |
| 103 | e (MultilinearAction.Construction.multilinearCovariantRepresentation ρ ρ r g (e.symm (e F))) = e F |
| 104 | rw [e.symm_apply_apply, e.injective.eq_iff] |
| 105 | change IsClosed ((QuotientGroup.mk : H → H ⧸ Γ) '' (multilinearOperationStabilizer b r F : Set H)) |
| 106 | rw [hstab] |
| 107 | exact StabilizerSaturation.Construction.stabilizer_image_closed_of_discrete_invariant_set Γ x L |
| 108 | (MultilinearAction.Construction.integralMultilinearCoordinates_closed b r Λ) |
| 109 | (isDiscrete_iff_discreteTopology.mpr (MultilinearAction.Construction.integralMultilinearCoordinates_discrete b r Λ)) hx hstable |
| 110 | |
| 111 | theorem multilinearOperationStabilizer_closed |
| 112 | {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 113 | [Fintype ι] [DecidableEq ι] |
| 114 | (b : Basis ι ℝ E) (r : ℕ) (F : MultilinearMap ℝ (fun _ : Fin r => E) E) : |
| 115 | IsClosed (multilinearOperationStabilizer b r F : Set (Matrix.GeneralLinearGroup ι ℝ)) := by |
| 116 | let H := Matrix.GeneralLinearGroup ι ℝ |
| 117 | let ρ := (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom |
| 118 | let U := (MultilinearBasisCoordinates.Construction.multilinearBasisEvaluation (A := E) b r).range |
| 119 | let τ := MultilinearAction.Construction.multilinearCovariantBasisRepresentation ρ ρ b r |
| 120 | let x : U := MultilinearBasisCoordinates.Construction.multilinearBasisEvaluationEquiv b r F |
| 121 | let : MulAction H U := MulAction.compHom U τ |
| 122 | have hρ : Continuous (fun a : H × E => ρ a.1 a.2) := continuous_matrixFrameAction_joint b |
| 123 | let : ContinuousSMul H U := ⟨MultilinearAction.Construction.continuous_multilinearCovariantBasisRepresentation ρ ρ b r hρ hρ⟩ |
| 124 | have ht : Continuous (fun g : H => g • x) := continuous_id.smul continuous_const |
| 125 | have he : (multilinearOperationStabilizer b r F : Set H) = {g | τ g x = x} := by |
| 126 | ext g |
| 127 | change MultilinearAction.Construction.multilinearCovariantRepresentation ρ ρ r g F = F ↔ τ g x = x |
| 128 | let e := MultilinearBasisCoordinates.Construction.multilinearBasisEvaluationEquiv (A := E) b r |
| 129 | change MultilinearAction.Construction.multilinearCovariantRepresentation ρ ρ r g F = F ↔ |
| 130 | e (MultilinearAction.Construction.multilinearCovariantRepresentation ρ ρ r g (e.symm (e F))) = e F |
| 131 | rw [e.symm_apply_apply, e.injective.eq_iff] |
| 132 | rw [he] |
| 133 | exact isClosed_eq ht continuous_const |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.TensorStabilizer.Construction |