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.Local.Coordinates |
| 2 | |
| 3 | /-! # Archimedean Norm -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.ArchimedeanNorm.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The chosen norm at an archimedean place is a positive power of the ordinary absolute value. -/ |
| 10 | |
| 11 | theorem realEmbedding_norm_power |
| 12 | (k : Type) [NormedField k] [CompleteSpace k] [CharZero k] |
| 13 | (h : ¬ ∀ n : ℕ, ‖(n : k)‖ ≤ 1) : |
| 14 | ∃ s : ℝ, 0 < s ∧ s ≤ 1 ∧ ∀ x : ℝ, ‖Coordinates.Construction.realEmbeddingOfUnbounded k h x‖ = |x| ^ s := by |
| 15 | have hh : ¬ ∀ n : ℕ, Coordinates.Construction.rationalNorm k n ≤ 1 := by simpa [Coordinates.Construction.rationalNorm] using h |
| 16 | have he := Rat.AbsoluteValue.equiv_real_of_unbounded hh |
| 17 | obtain ⟨s, hs, heq⟩ := AbsoluteValue.isEquiv_iff_exists_rpow_eq.mp he.symm |
| 18 | have hp (q : ℚ) : ‖(q : k)‖ = ‖q‖ ^ s := by |
| 19 | have hq := congrFun heq q |
| 20 | simpa [Coordinates.Construction.rationalNorm, Rat.AbsoluteValue.real_eq_abs, ← Real.norm_eq_abs, |
| 21 | Rat.norm_cast_real] using hq.symm |
| 22 | have hc : Continuous (fun x : ℝ => ‖x‖ ^ s) := continuous_norm.rpow_const (fun _ => Or.inr hs.le) |
| 23 | have H := Rat.denseRange_cast.equalizer |
| 24 | (Coordinates.Construction.realEmbeddingOfUnbounded_continuous k h).norm hc |
| 25 | (show (fun x : ℝ => ‖Coordinates.Construction.realEmbeddingOfUnbounded k h x‖) ∘ (Rat.castHom ℝ) = |
| 26 | (fun x : ℝ => ‖x‖ ^ s) ∘ (Rat.castHom ℝ) from by |
| 27 | funext q |
| 28 | change ‖Coordinates.Construction.realEmbeddingOfUnbounded k h (q : ℝ)‖ = ‖(q : ℝ)‖ ^ s |
| 29 | rw [map_ratCast, Rat.norm_cast_real] |
| 30 | exact hp q) |
| 31 | have h2 : ‖(2 : k)‖ ≤ (2 : ℝ) := by |
| 32 | calc |
| 33 | _ = ‖(1 : k) + 1‖ := by congr 1; norm_num |
| 34 | _ ≤ ‖(1 : k)‖ + ‖(1 : k)‖ := norm_add_le _ _ |
| 35 | _ = 2 := by norm_num |
| 36 | have hp2 : ‖(2 : k)‖ = (2 : ℝ) ^ s := by |
| 37 | simpa only [map_ofNat, Real.norm_ofNat] using congrFun H 2 |
| 38 | refine ⟨s, hs, ?_, fun x => ?_⟩ |
| 39 | · apply (Real.rpow_le_rpow_left_iff (by norm_num : (1 : ℝ) < 2)).mp |
| 40 | rw [Real.rpow_one, ← hp2] |
| 41 | exact h2 |
| 42 | · simpa only [Real.norm_eq_abs] using congrFun H x |
| 43 | |
| 44 | theorem continuous_real_embedding_unique |
| 45 | {k : Type} [NormedField k] [CompleteSpace k] [CharZero k] |
| 46 | (h : ¬ ∀ n : ℕ, ‖(n : k)‖ ≤ 1) (e : ℝ →+* k) (he : Continuous e) : |
| 47 | e = Coordinates.Construction.realEmbeddingOfUnbounded k h := by |
| 48 | apply RingHom.ext |
| 49 | have H := Rat.denseRange_cast.equalizer he (Coordinates.Construction.realEmbeddingOfUnbounded_continuous k h) |
| 50 | (show e ∘ (Rat.castHom ℝ) = Coordinates.Construction.realEmbeddingOfUnbounded k h ∘ (Rat.castHom ℝ) from by |
| 51 | funext q |
| 52 | change e (q : ℝ) = Coordinates.Construction.realEmbeddingOfUnbounded k h (q : ℝ) |
| 53 | rw [map_ratCast, map_ratCast]) |
| 54 | exact congrFun H |
| 55 | |
| 56 | theorem continuous_real_embedding_norm_power |
| 57 | {k : Type} [NormedField k] [CompleteSpace k] [CharZero k] |
| 58 | (h : ¬ ∀ n : ℕ, ‖(n : k)‖ ≤ 1) (e : ℝ →+* k) (he : Continuous e) : |
| 59 | ∃ s : ℝ, 0 < s ∧ s ≤ 1 ∧ ∀ x : ℝ, ‖e x‖ = |x| ^ s := by |
| 60 | rw [continuous_real_embedding_unique h e he] |
| 61 | exact realEmbedding_norm_power k h |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.RepresentationTheory.Weil.Local.ArchimedeanNorm.Construction |