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.Bilinear.StabilizerLocalImage |
| 2 | |
| 3 | /-! # Zero Set Local Orbit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ZeroSetLocalOrbit.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A family whose derivative spans a quadratic constraint's tangent |
| 12 | kernel fills a neighborhood of the zero set, provided it preserves that |
| 13 | constraint. This is the inverse-function step for bracket rigidity. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Topology |
| 16 | open Filter Set |
| 17 | |
| 18 | theorem quadratic_zero_set_local_orbit |
| 19 | {E V F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 20 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 21 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 22 | (R : V → Prop) (D : V →L[ℝ] F) (a : E →L[ℝ] V) |
| 23 | (ha : Function.Injective a) (hrange : a.toLinearMap.range = D.toLinearMap.ker) |
| 24 | (C : ℝ) (hC : 0 ≤ C) (hquad : ∀ x, R x → ‖D x‖ ≤ C * ‖x‖ ^ 2) |
| 25 | (P : E × V → V) (hP0 : P 0 = 0) |
| 26 | (hP : HasStrictFDerivAt P (a.coprod (ContinuousLinearMap.id ℝ V)) 0) |
| 27 | (hR : ∀ p x, R (P (p, x)) → R x) : |
| 28 | ∀ᶠ x in 𝓝 (0 : V), R x → x ∈ range (fun p => P (p, 0)) := by |
| 29 | obtain ⟨W, hW⟩ := a.toLinearMap.range.exists_isCompl |
| 30 | have hdisj : Disjoint W D.toLinearMap.ker := by |
| 31 | rw [← hrange] |
| 32 | exact hW.disjoint.symm |
| 33 | obtain ⟨ε, hε, hisolated⟩ := Lie.AutomorphismTransversal.Construction.quadratic_remainder_isolated_on_complement |
| 34 | D.toLinearMap W hdisj C hC |
| 35 | let e : (E × W) ≃L[ℝ] V := |
| 36 | (((LinearEquiv.ofInjective a.toLinearMap ha).prodCongr (LinearEquiv.refl ℝ W)).trans |
| 37 | (Submodule.prodEquivOfIsCompl _ W hW)).toContinuousLinearEquiv |
| 38 | let j : (E × W) →L[ℝ] (E × V) := |
| 39 | (ContinuousLinearMap.fst ℝ E W).prod |
| 40 | (W.subtypeL.comp (ContinuousLinearMap.snd ℝ E W)) |
| 41 | let Q : E × W → V := P ∘ j |
| 42 | have hQ0 : Q 0 = 0 := by simp only [Q, Function.comp_apply, map_zero, hP0] |
| 43 | have hQ : HasStrictFDerivAt Q (e : (E × W) →L[ℝ] V) 0 := by |
| 44 | have hd := hP.comp (0 : E × W) j.hasStrictFDerivAt |
| 45 | convert! hd using 1 |
| 46 | let : CompleteSpace E := FiniteDimensional.complete ℝ E |
| 47 | let : CompleteSpace V := FiniteDimensional.complete ℝ V |
| 48 | let : CompleteSpace W := FiniteDimensional.complete ℝ W |
| 49 | have hsmall : {p : E × W | ‖(p.2 : V)‖ < ε} ∈ 𝓝 0 := by |
| 50 | have ho : IsOpen {p : E × W | ‖(p.2 : V)‖ < ε} := |
| 51 | isOpen_lt (continuous_subtype_val.comp continuous_snd).norm continuous_const |
| 52 | exact ho.mem_nhds (by simpa using hε) |
| 53 | have himage : Q '' {p : E × W | ‖(p.2 : V)‖ < ε} ∈ 𝓝 (0 : V) := by |
| 54 | rw [← hQ0, ← hQ.map_nhds_eq_of_equiv (f' := e)] |
| 55 | exact Filter.image_mem_map hsmall |
| 56 | filter_upwards [himage] with x hx |
| 57 | intro hRx |
| 58 | obtain ⟨⟨p, q⟩, hq, rfl⟩ := hx |
| 59 | have hqR : R (q : V) := hR p q hRx |
| 60 | have hq0 : (q : V) = 0 := hisolated q q.property hq (hquad q hqR) |
| 61 | refine ⟨p, ?_⟩ |
| 62 | change P (p, 0) = P (p, (q : V)) |
| 63 | rw [hq0] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! The local orbit criterion only requires that the derivative's |
| 68 | range equal the tangent kernel; redundant parameters can be removed. -/ |
| 69 | |
| 70 | open scoped _root_.Topology |
| 71 | open Filter Set |
| 72 | |
| 73 | theorem quadratic_zero_set_local_orbit_of_range |
| 74 | {E V F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 75 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 76 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 77 | (R : V → Prop) (D : V →L[ℝ] F) (a : E →L[ℝ] V) |
| 78 | (hrange : a.toLinearMap.range = D.toLinearMap.ker) |
| 79 | (C : ℝ) (hC : 0 ≤ C) (hquad : ∀ x, R x → ‖D x‖ ≤ C * ‖x‖ ^ 2) |
| 80 | (P : E × V → V) (hP0 : P 0 = 0) |
| 81 | (hP : HasStrictFDerivAt P (a.coprod (ContinuousLinearMap.id ℝ V)) 0) |
| 82 | (hR : ∀ p x, R (P (p, x)) → R x) : |
| 83 | ∀ᶠ x in 𝓝 (0 : V), R x → x ∈ range (fun p => P (p, 0)) := by |
| 84 | obtain ⟨W, hW⟩ := a.toLinearMap.ker.exists_isCompl |
| 85 | let a' := a.comp W.subtypeL |
| 86 | have hi : Function.Injective a' := by |
| 87 | apply (injective_iff_map_eq_zero a').mpr |
| 88 | intro x hx |
| 89 | apply Subtype.ext |
| 90 | exact Submodule.disjoint_def.mp hW.disjoint x.val hx x.property |
| 91 | have hr : a'.toLinearMap.range = a.toLinearMap.range := by |
| 92 | apply le_antisymm |
| 93 | · rintro _ ⟨x, rfl⟩ |
| 94 | exact ⟨x.val, rfl⟩ |
| 95 | · rintro _ ⟨x, rfl⟩ |
| 96 | have hx : x ∈ a.toLinearMap.ker ⊔ W := by rw [hW.sup_eq_top]; trivial |
| 97 | obtain ⟨u, hu, v, hv, huv⟩ := Submodule.mem_sup.mp hx |
| 98 | refine ⟨⟨v, hv⟩, ?_⟩ |
| 99 | change a v = a x |
| 100 | rw [← huv, map_add, show a u = 0 from hu, zero_add] |
| 101 | let j : W × V →L[ℝ] E × V := |
| 102 | (W.subtypeL.comp (ContinuousLinearMap.fst ℝ W V)).prod (ContinuousLinearMap.snd ℝ W V) |
| 103 | have hd : HasStrictFDerivAt (P ∘ j) (a'.coprod (ContinuousLinearMap.id ℝ V)) 0 := by |
| 104 | convert! hP.comp (0 : W × V) j.hasStrictFDerivAt using 1 |
| 105 | have h := quadratic_zero_set_local_orbit R D a' hi (hr.trans hrange) C hC hquad |
| 106 | (P ∘ j) (by simpa only [Function.comp_apply, map_zero] using hP0) hd |
| 107 | (fun p x => hR p.val x) |
| 108 | filter_upwards [h] with x hx |
| 109 | intro hRx |
| 110 | obtain ⟨p, hp⟩ := hx hRx |
| 111 | exact ⟨p.val, hp⟩ |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ZeroSetLocalOrbit.Construction |