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.AdelicSplitting.ThetaTest |
| 2 | |
| 3 | /-! # Positive Test Family -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A restricted test family with nonnegative real values and a strictly |
| 10 | positive theta value. The archimedean factors are actual smooth bumps. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | open _root_.NumberField Filter |
| 14 | |
| 15 | namespace PositiveTestFamily.LocalAnalysis |
| 16 | |
| 17 | theorem exists_positive_bruhat_of_field_model |
| 18 | {k l : Type} [NormedField k] [NormedField l] [NormedAlgebra ℝ l] [FiniteDimensional ℝ l] |
| 19 | (N : ℕ) (e : k ≃+* l) (he : Continuous e) (hi : Continuous e.symm) : |
| 20 | ∃ f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k N, f.val 0 = 1 ∧ ∀ x, (‖f.val x‖ : ℂ) = f.val x := by |
| 21 | obtain ⟨g, -, hg, hd, hb, hzero⟩ := |
| 22 | exists_contDiff_tsupport_subset (x := (0 : Local.FunctionsMetaplectic.Construction.Position l N)) (n := ⊤) |
| 23 | (s := Set.univ) Filter.univ_mem |
| 24 | have hs : HasCompactSupport (Complex.ofRealCLM ∘ g) := hg.comp_left rfl |
| 25 | let φ := hs.toSchwartzMap (Complex.ofRealCLM.contDiff.comp hd) |
| 26 | let p := FieldTransport.LocalAnalysis.positionFieldEquiv N e he hi |
| 27 | let f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k N := ⟨φ ∘ p, |
| 28 | FieldTransport.LocalAnalysis.schwartzBruhat_comp_fieldAddEquiv p (ArchimedeanCharacters.LocalAnalysis.schwartzBruhat_archimedean_iff.mpr ⟨φ, rfl⟩)⟩ |
| 29 | refine ⟨f, ?_, fun x => ?_⟩ |
| 30 | · change (g (p 0) : ℂ) = 1 |
| 31 | rw [map_zero, hzero, Complex.ofReal_one] |
| 32 | · change (‖(g (p x) : ℂ)‖ : ℂ) = (g (p x) : ℂ) |
| 33 | rw [Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (hb (Set.mem_range_self (p x))).1] |
| 34 | |
| 35 | end PositiveTestFamily.LocalAnalysis |
| 36 | |
| 37 | open OAI.RepresentationTheory.Weil.AdelicSplitting.PositiveTestFamily.LocalAnalysis |
| 38 | |
| 39 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 40 | |
| 41 | theorem PositiveTestFamily.Construction.exists_positive_archimedean_bruhat (v : InfinitePlace F) : |
| 42 | ∃ f : Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F (.inl v)) N, |
| 43 | f.val 0 = 1 ∧ ∀ x, (‖f.val x‖ : ℂ) = f.val x := by |
| 44 | rcases v.isReal_or_isComplex with hv | hv |
| 45 | · exact PositiveTestFamily.LocalAnalysis.exists_positive_bruhat_of_field_model N |
| 46 | (InfinitePlace.Completion.ringEquivRealOfIsReal hv) |
| 47 | (InfinitePlace.Completion.isometryEquivRealOfIsReal hv).continuous |
| 48 | (InfinitePlace.Completion.isometryEquivRealOfIsReal hv).symm.continuous |
| 49 | · exact PositiveTestFamily.LocalAnalysis.exists_positive_bruhat_of_field_model N |
| 50 | (InfinitePlace.Completion.ringEquivComplexOfIsComplex hv) |
| 51 | (InfinitePlace.Completion.isometryEquivComplexOfIsComplex hv).continuous |
| 52 | (InfinitePlace.Completion.isometryEquivComplexOfIsComplex hv).symm.continuous |
| 53 | |
| 54 | theorem PositiveTestFamily.Construction.exists_positive_restricted_test_family : |
| 55 | ∃ f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N, |
| 56 | (∀ v, (f v).val 0 = 1) ∧ ∀ v x, (‖(f v).val x‖ : ℂ) = (f v).val x := by |
| 57 | choose φ hzero hpos using PositiveTestFamily.Construction.exists_positive_archimedean_bruhat F N |
| 58 | let f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N := |
| 59 | { component := fun v => match v with |
| 60 | | .inl w => φ w |
| 61 | | .inr w => Vacuum.Construction.finiteVacuum F N w |
| 62 | unramified := Eventually.of_forall (fun _ => rfl) } |
| 63 | refine ⟨f, ?_, ?_⟩ |
| 64 | · intro v |
| 65 | cases v with |
| 66 | | inl v => exact hzero v |
| 67 | | inr v => exact Vacuum.Construction.finiteVacuum_zero F N v |
| 68 | · intro v x |
| 69 | cases v with |
| 70 | | inl v => exact hpos v x |
| 71 | | inr v => |
| 72 | by_cases hx : ∀ i, x i ∈ v.adicCompletionIntegers F |
| 73 | · change (‖(Vacuum.Construction.finiteVacuum F N v).val x‖ : ℂ) = (Vacuum.Construction.finiteVacuum F N v).val x |
| 74 | rw [RestrictedTestFamilies.Construction.finiteVacuum_eq_one_of_integral F N v x hx, norm_one, Complex.ofReal_one] |
| 75 | · change (‖(Vacuum.Construction.finiteVacuum F N v).val x‖ : ℂ) = (Vacuum.Construction.finiteVacuum F N v).val x |
| 76 | rw [FinitePositionInsert.Construction.finiteVacuum_eq_zero_of_not_integral F N v x hx, norm_zero, Complex.ofReal_zero] |
| 77 | |
| 78 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.value_nonnegative (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) |
| 79 | (hf : ∀ v x, (‖(f v).val x‖ : ℂ) = (f v).val x) (a : Fin N → ArchimedeanAdeles.Construction.Adeles F) : |
| 80 | (‖f.value F N a‖ : ℂ) = f.value F N a := by |
| 81 | have hp := (f.localValue_hasProd F N a).norm.map Complex.ofRealHom Complex.continuous_ofReal |
| 82 | have hp' : HasProd (f.localValue F N a) (‖f.value F N a‖ : ℂ) := by |
| 83 | apply hp.congr_fun |
| 84 | intro v |
| 85 | exact (hf v _).symm |
| 86 | exact hp'.unique (f.localValue_hasProd F N a) |
| 87 | |
| 88 | theorem PositiveTestFamily.Construction.exists_theta_nonzero : ∃ f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N, f.theta F N ≠ 0 := by |
| 89 | obtain ⟨f, hzero, hpos⟩ := PositiveTestFamily.Construction.exists_positive_restricted_test_family F N |
| 90 | have hz : f.value F N (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) ((0 : Fin N → F) i)) = 1 := by |
| 91 | have hv (v : ArchimedeanAdeles.Construction.Places F) : f.localValue F N |
| 92 | (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) ((0 : Fin N → F) i)) v = 1 := by |
| 93 | change (f v).val (fun _ : Fin N => ArchimedeanAdeles.Construction.evaluate F v (algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (0 : F))) = 1 |
| 94 | simp only [map_zero] |
| 95 | exact hzero v |
| 96 | change (∏' v, f.localValue F N _ v) = 1 |
| 97 | simp only [hv, tprod_one] |
| 98 | have hnonneg (q : Fin N → F) : |
| 99 | 0 ≤ (f.value F N (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (q i))).re := by |
| 100 | rw [← f.value_nonnegative F N hpos, Complex.ofReal_re] |
| 101 | exact norm_nonneg _ |
| 102 | have hsum : Summable (fun q : Fin N → F => |
| 103 | (f.value F N (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (q i))).re) := |
| 104 | Complex.reCLM.summable (f.theta_summable F N) |
| 105 | have hle := hsum.le_tsum 0 (fun q _ => hnonneg q) |
| 106 | rw [hz, Complex.one_re] at hle |
| 107 | have hreal : 1 ≤ (f.theta F N).re := by |
| 108 | change 1 ≤ (∑' q : Fin N → F, f.value F N (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (q i))).re |
| 109 | rw [Complex.re_tsum (f.theta_summable F N)] |
| 110 | exact hle |
| 111 | refine ⟨f, fun h => ?_⟩ |
| 112 | rw [h, Complex.zero_re] at hreal |
| 113 | exact (by norm_num : ¬ (1 : ℝ) ≤ 0) hreal |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.RepresentationTheory.Weil.AdelicSplitting |