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.Theta.Adelic.NonarchimedeanNormGaussian |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.RealNormGaussian |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.QuadraticNormTransport |
| 4 | import OAI.RepresentationTheory.Weil.Local.Analytic |
| 5 | |
| 6 | /-! # Local Norm Gaussian -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Adelic.LocalNormGaussian |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual quadratic norm-character identity over every characteristic |
| 13 | zero local field, with its given norm and Haar normalization. -/ |
| 14 | |
| 15 | open OAI.RepresentationTheory.Weil.Local.Analytic.Construction OAI.RepresentationTheory.Theta.Adelic.QuadraticNormCharacter OAI.RepresentationTheory.Theta.Adelic.QuadraticNormTransport |
| 16 | |
| 17 | theorem norm_character_gaussian_identity |
| 18 | {k : Type} [NormedField k] [CompleteSpace k] [LocallyCompactSpace k] [CharZero k] |
| 19 | [MeasurableSpace k] [BorelSpace k] |
| 20 | (hnd : ¬ DiscreteTopology k) (ψ : AddChar k ℂ) |
| 21 | (hc : Continuous (fun x : k => ψ x)) (hu : ∀ x : k, ‖ψ x‖ = 1) |
| 22 | (hn : ∃ x : k, ψ x ≠ 1) (d : k) (hd : d ≠ 0) (a : kˣ) : |
| 23 | (QuadraticNormCharacter.normSign d a : ℂ) * (Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ 2 * Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ (-2 * d)) = |
| 24 | Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ (2 * a.val) * Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ (-2 * d * a.val) := by |
| 25 | have h2 : (2 : k) ≠ 0 := by norm_num |
| 26 | have hmd : -2 * d ≠ 0 := mul_ne_zero (neg_ne_zero.mpr h2) hd |
| 27 | by_cases hArch : ∀ m : ℕ, ‖(m : k)‖ ≤ 1 |
| 28 | · let : IsUltrametricDist k := |
| 29 | IsUltrametricDist.isUltrametricDist_of_forall_norm_natCast_le_one hArch |
| 30 | rcases NormedField.discreteTopology_or_nontriviallyNormedField k with h | ⟨_, rfl⟩ |
| 31 | · exact (hnd h).elim |
| 32 | · exact NonarchimedeanNormGaussian.norm_character_gaussian_identity d hd hnd ψ hc hu hn a |
| 33 | · rcases Weil.Local.ArchimedeanClassification.Construction.localField_archimedean_classification k hArch with ⟨e, he, he'⟩ | ⟨e, he, he'⟩ |
| 34 | · obtain ⟨s, hs, _, hNorm⟩ := Weil.Local.ArchimedeanNorm.Construction.continuous_real_embedding_norm_power hArch e.symm.toRingHom he' |
| 35 | obtain ⟨c, hcz, hψ⟩ := Weil.Local.RealCharacters.Construction.continuous_nontrivial_unitary_real_character (Weil.Local.FieldFourier.Construction.fieldCharacter e ψ) |
| 36 | (Weil.Local.ArchimedeanKernel.Construction.fieldCharacter_continuous e he' ψ hc) (Weil.Local.ArchimedeanKernel.Construction.fieldCharacter_unitary e ψ hu) |
| 37 | (Weil.Local.ArchimedeanKernel.Construction.fieldCharacter_nontrivial e ψ hn) |
| 38 | have hγ := Weil.Local.RealFieldEq.Construction.gaussianIndex_realField_eq e he he' ψ c s hψ hNorm hs hcz |
| 39 | rw [hγ 2 h2, hγ (-2 * d) hmd, hγ (2 * a.val) (mul_ne_zero h2 a.ne_zero), |
| 40 | hγ (-2 * d * a.val) (mul_ne_zero hmd a.ne_zero), ← QuadraticNormTransport.normSign_map e d a] |
| 41 | simpa only [map_mul, map_neg, map_ofNat, Units.coe_map, |
| 42 | show e.toMonoidHom a.val = e a.val from rfl] using |
| 43 | RealNormGaussian.norm_character_gaussian_identity (e d) ((map_ne_zero e).mpr hd) |
| 44 | c hcz (Units.map e.toMonoidHom a) |
| 45 | · have hsq : IsSquare d := by |
| 46 | refine ⟨e.symm ((e d) ^ (1 / 2 : ℂ)), ?_⟩ |
| 47 | apply e.injective |
| 48 | simp only [map_mul, e.apply_symm_apply] |
| 49 | rw [← pow_two] |
| 50 | simp [one_div] |
| 51 | have hγ := Weil.Local.ComplexFieldGaussian.Construction.complexField_gaussian_normalization hArch e he he' ψ hc hu hn |
| 52 | rw [QuadraticNormCharacter.normSign_split d hd hsq a, Circle.coe_one, (hγ 2 h2).2.2, |
| 53 | (hγ (-2 * d) hmd).2.2, (hγ (2 * a.val) (mul_ne_zero h2 a.ne_zero)).2.2, |
| 54 | (hγ (-2 * d * a.val) (mul_ne_zero hmd a.ne_zero)).2.2, one_mul, one_mul] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.RepresentationTheory.Theta.Adelic.LocalNormGaussian |