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.UnitarySplitting.CircleFieldTransport |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Characters |
| 3 | |
| 4 | /-! # Real Field Frame -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.RealFieldFrame.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The trace tensor frame and prescribed characters in real scalar coordinates. -/ |
| 11 | |
| 12 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 13 | variable [Algebra ℝ F] [Algebra ℝ E] [IsScalarTower ℝ F E] |
| 14 | |
| 15 | theorem realField_algebraMap_comp (e : ℝ ≃ₐ[ℝ] F) : |
| 16 | (algebraMap F E).comp e.toRingEquiv.toRingHom = algebraMap ℝ E := by |
| 17 | ext t |
| 18 | change algebraMap F E (e t) = algebraMap ℝ E t |
| 19 | rw [show e t = algebraMap ℝ F t from e.commutes t, IsScalarTower.algebraMap_apply ℝ F E] |
| 20 | |
| 21 | def realFieldCoordinateLinearEquiv (e : ℝ ≃ₐ[ℝ] F) (I : Type) : |
| 22 | (I → F) ≃ₗ[ℝ] (I → ℝ) := LinearEquiv.piCongrRight (fun _ : I => e.symm.toLinearEquiv) |
| 23 | |
| 24 | def realFieldSymplecticFrame (e : ℝ ≃ₐ[ℝ] F) {m n : ℕ} |
| 25 | (σ : E ≃ₐ[F] E) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 26 | (c : Oscillator.Construction.SymplecticFrame σ H K) : Oscillator.Construction.SymplecticFrame (σ.restrictScalars ℝ) H K where |
| 27 | coordinates := (c.coordinates.restrictScalars ℝ).trans |
| 28 | (realFieldCoordinateLinearEquiv e (Fin (m * n) ⊕ Fin (m * n))) |
| 29 | preserves := by |
| 30 | intro x y |
| 31 | have ht := Algebra.trace_eq_of_ringEquiv e.toRingEquiv (realField_algebraMap_comp (E := E) e) |
| 32 | (DualPair.Construction.sesquilinear σ (H.kronecker K) x y) |
| 33 | change e (Algebra.trace ℝ E (DualPair.Construction.sesquilinear (σ.restrictScalars ℝ) (H.kronecker K) x y)) = |
| 34 | Algebra.trace F E (DualPair.Construction.sesquilinear σ (H.kronecker K) x y) at ht |
| 35 | apply e.injective |
| 36 | change e (∑ i, (e.symm (c.coordinates x (Sum.inr i)) * e.symm (c.coordinates y (Sum.inl i)) - |
| 37 | e.symm (c.coordinates x (Sum.inl i)) * e.symm (c.coordinates y (Sum.inr i)))) = |
| 38 | e (Algebra.trace ℝ E (DualPair.Construction.sesquilinear (σ.restrictScalars ℝ) (H.kronecker K) x y) / 2) |
| 39 | simp only [map_sum, map_sub, map_mul, map_div₀, map_ofNat, e.apply_symm_apply] |
| 40 | rw [ht] |
| 41 | exact c.preserves x y |
| 42 | |
| 43 | theorem realFieldSymplecticFrame_coordinates (e : ℝ ≃ₐ[ℝ] F) |
| 44 | (he : Continuous e) (hei : Continuous e.symm) {m n : ℕ} |
| 45 | (σ : E ≃ₐ[F] E) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 46 | (c : Oscillator.Construction.SymplecticFrame σ H K) (v : (Fin m × Fin n) → E) : |
| 47 | (realFieldSymplecticFrame e σ H K c).coordinates v = |
| 48 | (FieldCoordinates.Construction.coordinateFieldEquiv (Fin (m * n) ⊕ Fin (m * n)) e.toRingEquiv he hei).symm (c.coordinates v) := rfl |
| 49 | |
| 50 | def realFieldUnitHom (e : ℝ ≃ₐ[ℝ] F) (he : Continuous e) : ℝˣ →ₜ* Fˣ := |
| 51 | ⟨Units.map e.toMonoidHom, Units.continuous_map he⟩ |
| 52 | |
| 53 | def realFieldSplittingCharacters (e : ℝ ≃ₐ[ℝ] F) (he : Continuous e) {m n : ℕ} |
| 54 | (characters : Characters.Construction.SplittingCharacters F E m n) : Characters.Construction.SplittingCharacters ℝ E m n where |
| 55 | quadratic := characters.quadratic.comp (realFieldUnitHom e he) |
| 56 | quadratic_kernel := by |
| 57 | intro a |
| 58 | have hn (b : Eˣ) := Algebra.norm_eq_of_ringEquiv e.toRingEquiv |
| 59 | (realField_algebraMap_comp (E := E) e) (b : E) |
| 60 | change characters.quadratic (Units.map e.toMonoidHom a) = 1 ↔ _ |
| 61 | rw [characters.quadratic_kernel] |
| 62 | constructor |
| 63 | · rintro ⟨b, hb⟩ |
| 64 | refine ⟨b, e.injective ?_⟩ |
| 65 | exact (hn b).trans hb |
| 66 | · rintro ⟨b, hb⟩ |
| 67 | refine ⟨b, ?_⟩ |
| 68 | change Algebra.norm F (b : E) = e (a : ℝ) |
| 69 | rw [← hn b, hb] |
| 70 | rfl |
| 71 | hermitian := characters.hermitian |
| 72 | skewHermitian := characters.skewHermitian |
| 73 | hermitian_restriction := by |
| 74 | intro a |
| 75 | have hh := characters.hermitian_restriction (Units.map e.toMonoidHom a) |
| 76 | change characters.hermitian (Units.map (algebraMap ℝ E).toMonoidHom a) = |
| 77 | characters.quadratic (Units.map e.toMonoidHom a) ^ m |
| 78 | convert hh using 2 |
| 79 | apply Units.ext |
| 80 | exact congrArg (fun f : ℝ →+* E => f (a : ℝ)) (realField_algebraMap_comp (E := E) e).symm |
| 81 | skewHermitian_restriction := by |
| 82 | intro a |
| 83 | have hh := characters.skewHermitian_restriction (Units.map e.toMonoidHom a) |
| 84 | change characters.skewHermitian (Units.map (algebraMap ℝ E).toMonoidHom a) = |
| 85 | characters.quadratic (Units.map e.toMonoidHom a) ^ n |
| 86 | convert hh using 2 |
| 87 | apply Units.ext |
| 88 | exact congrArg (fun f : ℝ →+* E => f (a : ℝ)) (realField_algebraMap_comp (E := E) e).symm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.RepresentationTheory.Weil.UnitarySplitting.RealFieldFrame.Construction |