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.Lie.AutomorphismTransversal |
| 2 | import Mathlib.Analysis.Calculus.InverseFunctionTheorem.FDeriv |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.Mul |
| 4 | |
| 5 | /-! # Stabilizer Local Image -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.StabilizerLocalImage.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! A differentiable family of automorphisms whose derivative is exactly |
| 14 | the derivation space contains a neighborhood of the identity in the full |
| 15 | bilinear-operation stabilizer. -/ |
| 16 | |
| 17 | open scoped Classical _root_.Topology RightActions |
| 18 | open Filter Set |
| 19 | |
| 20 | theorem hasStrictFDerivAt_product_slice |
| 21 | {E F A : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedRing A] [NormedAlgebra ℝ A] |
| 23 | (f : E → A) (a : E →L[ℝ] A) (b : F →L[ℝ] A) |
| 24 | (hf0 : f 0 = 1) (hf : HasStrictFDerivAt f a 0) : |
| 25 | HasStrictFDerivAt (fun p : E × F => f p.1 * (1 + b p.2)) (a.coprod b) 0 := by |
| 26 | have hfP : HasStrictFDerivAt (fun p : E × F => f p.1) |
| 27 | (a.comp (ContinuousLinearMap.fst ℝ E F)) 0 := by |
| 28 | exact HasStrictFDerivAt.comp (0 : E × F) |
| 29 | (f := ContinuousLinearMap.fst ℝ E F) (g := f) hf |
| 30 | (ContinuousLinearMap.fst ℝ E F).hasStrictFDerivAt |
| 31 | have hbP : HasStrictFDerivAt (fun p : E × F => 1 + b p.2) |
| 32 | (b.comp (ContinuousLinearMap.snd ℝ E F)) 0 := by |
| 33 | exact HasStrictFDerivAt.const_add (1 : A) |
| 34 | (f := b.comp (ContinuousLinearMap.snd ℝ E F)) |
| 35 | (f' := b.comp (ContinuousLinearMap.snd ℝ E F)) (x := (0 : E × F)) |
| 36 | (b.comp (ContinuousLinearMap.snd ℝ E F)).hasStrictFDerivAt |
| 37 | convert! hfP.mul' hbP using 1 |
| 38 | apply ContinuousLinearMap.ext |
| 39 | intro p |
| 40 | change a p.1 + b p.2 = f 0 * b p.2 + a p.1 * (1 + b 0) |
| 41 | simp [hf0, add_comm] |
| 42 | |
| 43 | theorem bilinear_stabilizer_local_image |
| 44 | {E L : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 45 | [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 46 | (B : L →L[ℝ] L →L[ℝ] L) (f : E → (L →L[ℝ] L)) (a : E →L[ℝ] (L →L[ℝ] L)) |
| 47 | (hf0 : f 0 = 1) (hf : HasStrictFDerivAt f a 0) |
| 48 | (ha : Function.Injective a) |
| 49 | (hrange : LinearMap.range a.toLinearMap = |
| 50 | LinearMap.ker (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B).toLinearMap) |
| 51 | (hfinj : ∀ x, Function.Injective (f x)) |
| 52 | (hpres : ∀ p x y, f p (B x y) = B (f p x) (f p y)) : |
| 53 | ∀ᶠ T in 𝓝 (1 : L →L[ℝ] L), |
| 54 | (∀ x y, T (B x y) = B (T x) (T y)) → T ∈ Set.range f := by |
| 55 | let : NormedAddCommGroup (L →L[ℝ] L) := inferInstance |
| 56 | let : NormedSpace ℝ (L →L[ℝ] L) := inferInstance |
| 57 | let : FiniteDimensional ℝ (L →L[ℝ] L) := inferInstance |
| 58 | let : NormedAddCommGroup (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 59 | let : NormedSpace ℝ (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 60 | obtain ⟨W, hW⟩ := (LinearMap.range a.toLinearMap).exists_isCompl |
| 61 | have hdisj : Disjoint W (LinearMap.ker (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B).toLinearMap) := by |
| 62 | rw [← hrange] |
| 63 | exact hW.disjoint.symm |
| 64 | obtain ⟨ε, hε, hisolated⟩ := Lie.AutomorphismTransversal.Construction.bilinear_stabilizer_transversal_isolated B W hdisj |
| 65 | let e : (E × W) ≃L[ℝ] (L →L[ℝ] L) := |
| 66 | (((LinearEquiv.ofInjective a.toLinearMap ha).prodCongr (LinearEquiv.refl ℝ W)).trans |
| 67 | (Submodule.prodEquivOfIsCompl _ W hW)).toContinuousLinearEquiv |
| 68 | have he (p : E × W) : e p = a p.1 + (p.2 : L →L[ℝ] L) := rfl |
| 69 | let s : (E × W) →L[ℝ] (L →L[ℝ] L) := |
| 70 | W.subtypeL.comp (ContinuousLinearMap.snd ℝ E W) |
| 71 | let P : E × W → (L →L[ℝ] L) := fun p => f p.1 * (1 + (p.2 : L →L[ℝ] L)) |
| 72 | have hP0 : P 0 = 1 := by simp [P, hf0] |
| 73 | have hP : HasStrictFDerivAt P (e : (E × W) →L[ℝ] (L →L[ℝ] L)) 0 := by |
| 74 | have heq : (e : (E × W) →L[ℝ] (L →L[ℝ] L)) = a.coprod W.subtypeL := by |
| 75 | apply ContinuousLinearMap.ext |
| 76 | intro p |
| 77 | exact he p |
| 78 | rw [heq] |
| 79 | exact hasStrictFDerivAt_product_slice f a W.subtypeL hf0 hf |
| 80 | let : CompleteSpace E := FiniteDimensional.complete ℝ E |
| 81 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 82 | let : CompleteSpace W := FiniteDimensional.complete ℝ W |
| 83 | have hsmall : {p : E × W | ‖(p.2 : L →L[ℝ] L)‖ < ε} ∈ 𝓝 0 := by |
| 84 | have ho : IsOpen {p : E × W | ‖(p.2 : L →L[ℝ] L)‖ < ε} := |
| 85 | isOpen_lt s.continuous.norm continuous_const |
| 86 | exact ho.mem_nhds (by simpa using hε) |
| 87 | have himage : P '' {p : E × W | ‖(p.2 : L →L[ℝ] L)‖ < ε} ∈ 𝓝 1 := by |
| 88 | rw [← hP0, ← hP.map_nhds_eq_of_equiv (f' := e)] |
| 89 | exact Filter.image_mem_map hsmall |
| 90 | filter_upwards [himage] with T hT |
| 91 | intro hTB |
| 92 | obtain ⟨⟨p, q⟩, hq, rfl⟩ := hT |
| 93 | have hqB : ∀ x y, (ContinuousLinearMap.id ℝ L + (q : L →L[ℝ] L)) (B x y) = |
| 94 | B ((ContinuousLinearMap.id ℝ L + (q : L →L[ℝ] L)) x) |
| 95 | ((ContinuousLinearMap.id ℝ L + (q : L →L[ℝ] L)) y) := by |
| 96 | intro x y |
| 97 | apply hfinj p |
| 98 | rw [hpres] |
| 99 | exact hTB x y |
| 100 | have hq0 := hisolated q q.property hq hqB |
| 101 | exact ⟨p, by simp [P, hq0]⟩ |
| 102 | |
| 103 | end |
| 104 | |
| 105 | /-! A parameterized bracket automorphism family locally covers the |
| 106 | stabilizer whenever its derivative spans the derivations. -/ |
| 107 | |
| 108 | open scoped _root_.Topology |
| 109 | open Filter Set |
| 110 | |
| 111 | theorem bilinear_stabilizer_local_image_of_range |
| 112 | {E L : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 113 | [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 114 | (B : L →L[ℝ] L →L[ℝ] L) (f : E → (L →L[ℝ] L)) (a : E →L[ℝ] (L →L[ℝ] L)) |
| 115 | (hf0 : f 0 = 1) (hf : HasStrictFDerivAt f a 0) |
| 116 | (hrange : LinearMap.range a.toLinearMap = |
| 117 | LinearMap.ker (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B).toLinearMap) |
| 118 | (hfinj : ∀ x, Function.Injective (f x)) |
| 119 | (hpres : ∀ p x y, f p (B x y) = B (f p x) (f p y)) : |
| 120 | ∀ᶠ T in 𝓝 (1 : L →L[ℝ] L), |
| 121 | (∀ x y, T (B x y) = B (T x) (T y)) → T ∈ Set.range f := by |
| 122 | obtain ⟨W, hW⟩ := a.toLinearMap.ker.exists_isCompl |
| 123 | let a' := a.comp W.subtypeL |
| 124 | have hi : Function.Injective a' := by |
| 125 | apply (injective_iff_map_eq_zero a').mpr |
| 126 | intro x hx |
| 127 | apply Subtype.ext |
| 128 | exact Submodule.disjoint_def.mp hW.disjoint x.val hx x.property |
| 129 | have hr : a'.toLinearMap.range = a.toLinearMap.range := by |
| 130 | apply le_antisymm |
| 131 | · rintro _ ⟨x, rfl⟩ |
| 132 | exact ⟨x.val, rfl⟩ |
| 133 | · rintro _ ⟨x, rfl⟩ |
| 134 | have hx : x ∈ a.toLinearMap.ker ⊔ W := by rw [hW.sup_eq_top]; trivial |
| 135 | obtain ⟨u, hu, v, hv, huv⟩ := Submodule.mem_sup.mp hx |
| 136 | refine ⟨⟨v, hv⟩, ?_⟩ |
| 137 | change a v = a x |
| 138 | rw [← huv, map_add, show a u = 0 from hu, zero_add] |
| 139 | have hd : HasStrictFDerivAt (fun x : W => f x.val) a' 0 := by |
| 140 | convert! hf.comp (0 : W) W.subtypeL.hasStrictFDerivAt using 1 |
| 141 | have h := bilinear_stabilizer_local_image B (fun x : W => f x.val) a' hf0 hd hi |
| 142 | (hr.trans hrange) (fun x => hfinj x.val) (fun p => hpres p.val) |
| 143 | filter_upwards [h] with T hT |
| 144 | intro hB |
| 145 | obtain ⟨p, hp⟩ := hT hB |
| 146 | exact ⟨p.val, hp⟩ |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.StabilizerLocalImage.Construction |