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.SymplecticGeneration |
| 2 | |
| 3 | /-! # Big Cell One -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.BigCellOne |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Continuous Gauss coordinates near the identity of the symplectic group. -/ |
| 10 | |
| 11 | open OAI.RepresentationTheory.Weil.AdelicSplitting.SymplecticGeneration |
| 12 | open scoped _root_.Topology |
| 13 | |
| 14 | variable {k : Type} [NormedField k] {N : ℕ} |
| 15 | |
| 16 | @[simp] theorem one_block11 : |
| 17 | (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₁₁ = 1 := by |
| 18 | ext i j |
| 19 | simp [Matrix.toBlocks₁₁, Matrix.one_apply] |
| 20 | |
| 21 | @[simp] theorem one_block12 : |
| 22 | (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₁₂ = 0 := by |
| 23 | ext i j |
| 24 | simp [Matrix.toBlocks₁₂] |
| 25 | |
| 26 | @[simp] theorem one_block21 : |
| 27 | (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₂₁ = 0 := by |
| 28 | ext i j |
| 29 | simp [Matrix.toBlocks₂₁] |
| 30 | |
| 31 | @[fun_prop] theorem continuous_block11 {X : Type*} [TopologicalSpace X] |
| 32 | {A : X → Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k} (hA : Continuous A) : |
| 33 | Continuous (fun x => (A x).toBlocks₁₁) := by |
| 34 | exact continuous_pi fun i => continuous_pi fun j => |
| 35 | (continuous_apply (Sum.inl j)).comp ((continuous_apply (Sum.inl i)).comp hA) |
| 36 | |
| 37 | @[fun_prop] theorem continuous_block12 {X : Type*} [TopologicalSpace X] |
| 38 | {A : X → Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k} (hA : Continuous A) : |
| 39 | Continuous (fun x => (A x).toBlocks₁₂) := by |
| 40 | exact continuous_pi fun i => continuous_pi fun j => |
| 41 | (continuous_apply (Sum.inr j)).comp ((continuous_apply (Sum.inl i)).comp hA) |
| 42 | |
| 43 | @[fun_prop] theorem continuous_block21 {X : Type*} [TopologicalSpace X] |
| 44 | {A : X → Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k} (hA : Continuous A) : |
| 45 | Continuous (fun x => (A x).toBlocks₂₁) := by |
| 46 | exact continuous_pi fun i => continuous_pi fun j => |
| 47 | (continuous_apply (Sum.inl j)).comp ((continuous_apply (Sum.inr i)).comp hA) |
| 48 | |
| 49 | def BigCell := {g : Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N | IsUnit g.val.toBlocks₁₁.det} |
| 50 | |
| 51 | def identity : BigCell (k := k) (N := N) := by |
| 52 | refine ⟨1, ?_⟩ |
| 53 | change IsUnit ((1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₁₁.det) |
| 54 | simp |
| 55 | |
| 56 | def linearPart (g : BigCell (k := k) (N := N)) : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N := |
| 57 | g.val.val.toBlocks₁₁.nonsingInvUnit g.property |
| 58 | |
| 59 | theorem linearPart_val (g : BigCell (k := k) (N := N)) : |
| 60 | (linearPart g).val = g.val.val.toBlocks₁₁ := rfl |
| 61 | |
| 62 | @[fun_prop] theorem linearPart_continuous : |
| 63 | Continuous (linearPart (k := k) (N := N)) := by |
| 64 | have hv : Continuous (fun g : BigCell (k := k) (N := N) => g.val.val.toBlocks₁₁) := by |
| 65 | fun_prop |
| 66 | apply Units.continuous_iff.mpr |
| 67 | constructor |
| 68 | · change Continuous (fun g : BigCell (k := k) (N := N) => g.val.val.toBlocks₁₁) |
| 69 | exact hv |
| 70 | · simp_rw [Matrix.coe_units_inv, linearPart_val] |
| 71 | apply continuous_iff_continuousAt.mpr |
| 72 | intro g |
| 73 | have hi : ContinuousAt Inv.inv g.val.val.toBlocks₁₁ := |
| 74 | continuousAt_matrix_inv _ (by |
| 75 | rw [Ring.inverse_eq_inv'] |
| 76 | exact continuousAt_inv₀ g.property.ne_zero) |
| 77 | exact hi.comp (f := fun a : BigCell (k := k) (N := N) => a.val.val.toBlocks₁₁) |
| 78 | (hv.continuousAt (x := g)) |
| 79 | |
| 80 | def lowerPart (g : BigCell (k := k) (N := N)) : Matrix (Fin N) (Fin N) k := |
| 81 | g.val.val.toBlocks₂₁ * ((linearPart g)⁻¹).val |
| 82 | |
| 83 | def upperPart (g : BigCell (k := k) (N := N)) : Matrix (Fin N) (Fin N) k := |
| 84 | ((linearPart g)⁻¹).val * g.val.val.toBlocks₁₂ |
| 85 | |
| 86 | theorem lowerPart_continuous : Continuous (lowerPart (k := k) (N := N)) := by |
| 87 | unfold lowerPart |
| 88 | exact (continuous_block21 (continuous_subtype_val.comp continuous_subtype_val)).mul |
| 89 | (Units.continuous_coe_inv.comp linearPart_continuous) |
| 90 | |
| 91 | theorem upperPart_continuous : Continuous (upperPart (k := k) (N := N)) := by |
| 92 | unfold upperPart |
| 93 | exact (Units.continuous_coe_inv.comp linearPart_continuous).mul |
| 94 | (continuous_block12 (continuous_subtype_val.comp continuous_subtype_val)) |
| 95 | |
| 96 | @[simp] theorem linearPart_identity : |
| 97 | linearPart (identity (k := k) (N := N)) = 1 := by |
| 98 | apply Units.ext |
| 99 | change (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₁₁ = 1 |
| 100 | exact one_block11 |
| 101 | |
| 102 | @[simp] theorem lowerPart_identity : |
| 103 | lowerPart (identity (k := k) (N := N)) = 0 := by |
| 104 | unfold lowerPart |
| 105 | rw [linearPart_identity] |
| 106 | change (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₂₁ * 1 = 0 |
| 107 | simp |
| 108 | |
| 109 | @[simp] theorem upperPart_identity : |
| 110 | upperPart (identity (k := k) (N := N)) = 0 := by |
| 111 | unfold upperPart |
| 112 | rw [linearPart_identity] |
| 113 | change 1 * (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k).toBlocks₁₂ = 0 |
| 114 | simp |
| 115 | |
| 116 | theorem parameters_symmetric (g : BigCell (k := k) (N := N)) : |
| 117 | (lowerPart g).IsSymm ∧ (upperPart g).IsSymm := |
| 118 | Weil.AdelicSplitting.SymplecticGeneration.bigCell_parameters_symmetric (linearPart g) g.val.val.toBlocks₁₂ |
| 119 | g.val.val.toBlocks₂₁ g.val.val.toBlocks₂₂ |
| 120 | (by simpa only [linearPart_val, Matrix.fromBlocks_toBlocks] using g.val.property) |
| 121 | |
| 122 | theorem factorization (g : BigCell (k := k) (N := N)) : |
| 123 | g.val = Weil.AdelicSplitting.SymplecticGeneration.lower (lowerPart g) (parameters_symmetric g).1 * |
| 124 | Weil.AdelicSplitting.SymplecticGeneration.levi (linearPart g) * Weil.AdelicSplitting.SymplecticGeneration.upper (upperPart g) (parameters_symmetric g).2 := by |
| 125 | have h := Weil.AdelicSplitting.SymplecticGeneration.bigCell_factorization (linearPart g) g.val.val.toBlocks₁₂ |
| 126 | g.val.val.toBlocks₂₁ g.val.val.toBlocks₂₂ |
| 127 | (by simpa only [linearPart_val, Matrix.fromBlocks_toBlocks] using g.val.property) |
| 128 | have heq : (⟨Matrix.fromBlocks (linearPart g).val g.val.val.toBlocks₁₂ |
| 129 | g.val.val.toBlocks₂₁ g.val.val.toBlocks₂₂, |
| 130 | (by simpa only [linearPart_val, Matrix.fromBlocks_toBlocks] using g.val.property)⟩ : |
| 131 | Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N) = g.val := by |
| 132 | apply Subtype.ext |
| 133 | exact Matrix.fromBlocks_toBlocks g.val.val |
| 134 | rw [heq] at h |
| 135 | exact h |
| 136 | |
| 137 | theorem inclusion_openEmbedding : |
| 138 | Topology.IsOpenEmbedding (Subtype.val : BigCell (k := k) (N := N) → Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N) := by |
| 139 | apply IsOpen.isOpenEmbedding_subtypeVal |
| 140 | change IsOpen {g : Weil.Local.FunctionsMetaplectic.Construction.Symplectic k N | IsUnit g.val.toBlocks₁₁.det} |
| 141 | simp only [isUnit_iff_ne_zero] |
| 142 | exact isOpen_ne.preimage (by fun_prop) |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.RepresentationTheory.Theta.Adelic.BigCellOne |