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.FourierUltra |
| 2 | |
| 3 | /-! # Compact Locally Constant Families -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.CompactLocallyConstantFamilies.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local constancy uniform on a compact set, with arbitrary topological |
| 10 | parameter spaces. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory _root_.Topology Filter |
| 13 | |
| 14 | theorem locallyConstant_uniform_on_compact |
| 15 | {P X Y : Type} [TopologicalSpace P] [TopologicalSpace X] |
| 16 | (k : P × X → Y) (hk : IsLocallyConstant k) (K : Set X) (hK : IsCompact K) (p : P) : |
| 17 | ∀ᶠ t in 𝓝 p, ∀ x ∈ K, k (t, x) = k (p, x) := by |
| 18 | have hk₀ : IsLocallyConstant (fun z : P × X => k (p, z.2)) := |
| 19 | hk.comp_continuous (continuous_const.prodMk continuous_snd) |
| 20 | apply hK.eventually_forall_of_forall_eventually |
| 21 | intro x _ |
| 22 | filter_upwards [hk.eventually_eq (p, x), hk₀.eventually_eq (p, x)] with z hz hz₀ |
| 23 | exact hz.trans hz₀.symm |
| 24 | |
| 25 | theorem locallyConstant_family_of_local_compact_support |
| 26 | {P X Y : Type} [TopologicalSpace P] [TopologicalSpace X] [Zero Y] |
| 27 | (k : P × X → Y) (hk : IsLocallyConstant k) |
| 28 | (hsupport : ∀ p : P, ∃ K : Set X, IsCompact K ∧ |
| 29 | ∀ᶠ t in 𝓝 p, ∀ x : X, x ∉ K → k (t, x) = 0) : |
| 30 | IsLocallyConstant (fun p : P => fun x : X => k (p, x)) := by |
| 31 | rw [IsLocallyConstant.iff_eventually_eq] |
| 32 | intro p |
| 33 | obtain ⟨K, hK, hsupport⟩ := hsupport p |
| 34 | have hp := hsupport.self_of_nhds |
| 35 | filter_upwards [hsupport, locallyConstant_uniform_on_compact k hk K hK p] with t ht heq |
| 36 | funext x |
| 37 | by_cases hx : x ∈ K |
| 38 | · exact heq x hx |
| 39 | · rw [ht x hx, hp x hx] |
| 40 | |
| 41 | theorem locallyConstant_parameter_integral |
| 42 | {P X : Type} [TopologicalSpace P] [TopologicalSpace X] [MeasurableSpace X] |
| 43 | (μ : Measure X) (k : P × X → ℂ) (hk : IsLocallyConstant k) |
| 44 | (K : Set X) (hK : IsCompact K) (hsupport : ∀ p x, x ∉ K → k (p, x) = 0) : |
| 45 | IsLocallyConstant (fun p : P => ∫ x, k (p, x) ∂μ) := |
| 46 | (locallyConstant_family_of_local_compact_support k hk |
| 47 | (fun _p => ⟨K, hK, Filter.Eventually.of_forall (fun t => hsupport t)⟩)).comp |
| 48 | (fun f : X → ℂ => ∫ x, f x ∂μ) |
| 49 | |
| 50 | theorem compact_pullback_family_local_support |
| 51 | {P X : Type} [TopologicalSpace P] [NormedAddCommGroup X] [ProperSpace X] |
| 52 | (L : P → X ≃ₜ X) (hL : Continuous (fun z : P × X => (L z.1).symm z.2)) |
| 53 | (K : Set X) (hK : IsCompact K) (p : P) : |
| 54 | ∃ T : Set X, IsCompact T ∧ ∀ᶠ t in 𝓝 p, ∀ x : X, L t x ∈ K → x ∈ T := by |
| 55 | obtain ⟨R, -, hR⟩ := (hK.image (L p).symm.continuous).isBounded.exists_pos_norm_le |
| 56 | have he : ∀ᶠ t in 𝓝 p, ∀ y ∈ K, ‖(L t).symm y‖ < R + 1 := by |
| 57 | apply hK.eventually_forall_of_forall_eventually |
| 58 | intro y hy |
| 59 | have hbound : ‖(L p).symm y‖ < R + 1 := (hR _ ⟨y, hy, rfl⟩).trans_lt (lt_add_one R) |
| 60 | exact hL.norm.continuousAt.eventually (gt_mem_nhds hbound) |
| 61 | refine ⟨Metric.closedBall 0 (R + 1), isCompact_closedBall _ _, ?_⟩ |
| 62 | filter_upwards [he] with t ht x hx |
| 63 | have hh := ht (L t x) hx |
| 64 | rw [(L t).symm_apply_apply] at hh |
| 65 | simpa only [Metric.mem_closedBall, dist_zero_right] using hh.le |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.RepresentationTheory.Weil.UnitarySplitting.CompactLocallyConstantFamilies.Construction |