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.LatticeFrameAction |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.Stabilizer |
| 3 | |
| 4 | /-! # Real Special Linear Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.RealSpecialLinearCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Determinant-one real representations in special-linear matrix |
| 13 | coordinates, compatible with the lattice-frame action of Mahler's |
| 14 | compactness criterion. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open _root_.Module |
| 18 | |
| 19 | def realSpecialLinearCoordinates |
| 20 | {H E : Type*} [Group H] [AddCommGroup E] [Module ℝ E] {m : ℕ} |
| 21 | (ρ : H →* (E ≃ₗ[ℝ] E)) (hρ : ∀ g, (ρ g).toLinearMap.det = 1) |
| 22 | (b : Basis (Fin m) ℝ E) : H →* Algebraic.SL m ℝ where |
| 23 | toFun g := ⟨LinearMap.toMatrix b b (ρ g).toLinearMap, by |
| 24 | rw [LinearMap.det_toMatrix] |
| 25 | exact hρ g⟩ |
| 26 | map_one' := by |
| 27 | apply Subtype.ext |
| 28 | change LinearMap.toMatrix b b (ρ 1).toLinearMap = 1 |
| 29 | rw [map_one] |
| 30 | exact LinearMap.toMatrix_id b |
| 31 | map_mul' g h := by |
| 32 | apply Subtype.ext |
| 33 | change LinearMap.toMatrix b b (ρ (g * h)).toLinearMap = |
| 34 | LinearMap.toMatrix b b (ρ g).toLinearMap * LinearMap.toMatrix b b (ρ h).toLinearMap |
| 35 | rw [map_mul, LinearEquiv.coe_toLinearMap_mul, LinearMap.toMatrix_mul] |
| 36 | |
| 37 | theorem realSpecialLinearCoordinates_frame_action |
| 38 | {H E : Type*} [Group H] [AddCommGroup E] [Module ℝ E] {m : ℕ} |
| 39 | (ρ : H →* (E ≃ₗ[ℝ] E)) (hρ : ∀ g, (ρ g).toLinearMap.det = 1) |
| 40 | (b : Basis (Fin m) ℝ E) (g : H) : |
| 41 | LatticeFrameAction.Construction.matrixFrameAction b (realSpecialLinearCoordinates ρ hρ b g).toGL = ρ g := by |
| 42 | apply LinearEquiv.toLinearMap_injective |
| 43 | rw [LatticeFrameAction.Construction.matrixFrameAction_toLinearMap] |
| 44 | change Matrix.toLin b b (LinearMap.toMatrix b b (ρ g).toLinearMap) = (ρ g).toLinearMap |
| 45 | exact Matrix.toLin_toMatrix b b (ρ g).toLinearMap |
| 46 | |
| 47 | theorem realSpecialLinearCoordinates_injective |
| 48 | {H E : Type*} [Group H] [AddCommGroup E] [Module ℝ E] {m : ℕ} |
| 49 | (ρ : H →* (E ≃ₗ[ℝ] E)) (hρ : ∀ g, (ρ g).toLinearMap.det = 1) |
| 50 | (b : Basis (Fin m) ℝ E) (hinj : Function.Injective ρ) : |
| 51 | Function.Injective (realSpecialLinearCoordinates ρ hρ b) := by |
| 52 | intro g h he |
| 53 | apply hinj |
| 54 | rw [← realSpecialLinearCoordinates_frame_action ρ hρ b g, |
| 55 | ← realSpecialLinearCoordinates_frame_action ρ hρ b h, he] |
| 56 | |
| 57 | theorem continuous_realSpecialLinearCoordinates |
| 58 | {H E : Type*} [Group H] [TopologicalSpace H] |
| 59 | [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {m : ℕ} |
| 60 | (ρ : H →* (E ≃ₗ[ℝ] E)) (hρ : ∀ g, (ρ g).toLinearMap.det = 1) |
| 61 | (b : Basis (Fin m) ℝ E) (hcont : Continuous (fun a : H × E => ρ a.1 a.2)) : |
| 62 | Continuous (realSpecialLinearCoordinates ρ hρ b) := by |
| 63 | apply Continuous.subtype_mk |
| 64 | apply continuous_pi |
| 65 | intro i |
| 66 | apply continuous_pi |
| 67 | intro j |
| 68 | simp only [LinearMap.toMatrix_apply'] |
| 69 | change Continuous (fun g => b.coord i (ρ g (b j))) |
| 70 | exact (b.coord i).continuous_of_finiteDimensional.comp |
| 71 | (hcont.comp (continuous_id.prodMk continuous_const)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! The real special-linear action on a chosen vector-space frame is |
| 76 | jointly continuous and faithful. -/ |
| 77 | |
| 78 | open scoped Classical |
| 79 | open _root_.Module |
| 80 | |
| 81 | def specialFrameRepresentation |
| 82 | {E : Type*} [AddCommGroup E] [Module ℝ E] {m : ℕ} (b : Basis (Fin m) ℝ E) : |
| 83 | Algebraic.SL m ℝ →* (E ≃ₗ[ℝ] E) := |
| 84 | (LatticeFrameAction.Construction.matrixFrameAction b).toMonoidHom.comp Matrix.SpecialLinearGroup.toGL |
| 85 | |
| 86 | theorem specialFrameRepresentation_injective |
| 87 | {E : Type*} [AddCommGroup E] [Module ℝ E] {m : ℕ} (b : Basis (Fin m) ℝ E) : |
| 88 | Function.Injective (specialFrameRepresentation b) := |
| 89 | (LatticeFrameAction.Construction.matrixFrameAction b).injective.comp Matrix.SpecialLinearGroup.toGL_injective |
| 90 | |
| 91 | theorem continuous_specialFrameRepresentation |
| 92 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 93 | {m : ℕ} (b : Basis (Fin m) ℝ E) : |
| 94 | Continuous (fun a : Algebraic.SL m ℝ × E => specialFrameRepresentation b a.1 a.2) := by |
| 95 | have he (g : Algebraic.SL m ℝ) (x : E) : specialFrameRepresentation b g x = |
| 96 | b.equivFun.symm ((g : Matrix (Fin m) (Fin m) ℝ).mulVec (b.equivFun x)) := by |
| 97 | apply b.equivFun.injective |
| 98 | rw [b.equivFun.apply_symm_apply, Basis.equivFun_apply] |
| 99 | change (b.repr ((LatticeFrameAction.Construction.matrixFrameAction b g.toGL).toLinearMap x) : Fin m → ℝ) = _ |
| 100 | rw [LatticeFrameAction.Construction.matrixFrameAction_toLinearMap] |
| 101 | exact Matrix.repr_toLin b b _ x |
| 102 | simp_rw [he] |
| 103 | apply b.equivFun.symm.continuous_of_finiteDimensional.comp |
| 104 | exact (continuous_subtype_val.comp continuous_fst).matrix_mulVec |
| 105 | (b.equivFun.continuous_of_finiteDimensional.comp continuous_snd) |
| 106 | |
| 107 | theorem mem_realSpecialLinearCoordinates_range_iff |
| 108 | {H E : Type*} [Group H] [AddCommGroup E] [Module ℝ E] {m : ℕ} |
| 109 | (ρ : H →* (E ≃ₗ[ℝ] E)) (hρ : ∀ g, (ρ g).toLinearMap.det = 1) |
| 110 | (b : Basis (Fin m) ℝ E) (g : Algebraic.SL m ℝ) : |
| 111 | g ∈ (realSpecialLinearCoordinates ρ hρ b).range ↔ |
| 112 | ∃ h, ρ h = specialFrameRepresentation b g := by |
| 113 | constructor |
| 114 | · rintro ⟨h, rfl⟩ |
| 115 | exact ⟨h, (realSpecialLinearCoordinates_frame_action ρ hρ b h).symm⟩ |
| 116 | · rintro ⟨h, hh⟩ |
| 117 | refine ⟨h, ?_⟩ |
| 118 | apply specialFrameRepresentation_injective b |
| 119 | exact (realSpecialLinearCoordinates_frame_action ρ hρ b h).trans hh |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.NumberTheory.ArithmeticGroups.Lattices.RealSpecialLinearCoordinates.Construction |