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.Analysis.DifferentialForms.Manifold.Charts |
| 2 | import Mathlib.Geometry.Manifold.PartitionOfUnity |
| 3 | import Mathlib.MeasureTheory.Integral.Bochner.Set |
| 4 | import Mathlib.MeasureTheory.Measure.Lebesgue.Complex |
| 5 | |
| 6 | /-! # Integration -/ |
| 7 | |
| 8 | namespace OAI.Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! PolarizedPairing: compactly supported chart integrands and finite chart partitions. -/ |
| 13 | |
| 14 | open scoped _root_.Manifold ContDiff _root_.Topology BigOperators |
| 15 | open Set Function Filter _root_.MeasureTheory |
| 16 | |
| 17 | section Cutoff |
| 18 | |
| 19 | variable {E M F : Type*} |
| 20 | [TopologicalSpace E] [T2Space E] |
| 21 | [TopologicalSpace M] [CompactSpace M] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 23 | |
| 24 | /-- Extend a chart integrand weighted by a subordinate cutoff by zero. -/ |
| 25 | def chartCutoff (e : OpenPartialHomeomorph M E) (ρ : M → ℝ) (f : E → F) : E → F := |
| 26 | e.target.indicator (fun y => ρ (e.symm y) • f y) |
| 27 | |
| 28 | omit [T2Space E] [CompactSpace M] in |
| 29 | theorem support_chartCutoff_subset (e : OpenPartialHomeomorph M E) |
| 30 | (ρ : M → ℝ) (f : E → F) : |
| 31 | support (chartCutoff e ρ f) ⊆ e '' tsupport ρ := by |
| 32 | intro y hy |
| 33 | have hyt : y ∈ e.target := by |
| 34 | by_contra ht |
| 35 | exact hy (by simp [chartCutoff, ht]) |
| 36 | have hρ : ρ (e.symm y) ≠ 0 := by |
| 37 | intro hz |
| 38 | exact hy (by simp [chartCutoff, hyt, hz]) |
| 39 | exact ⟨e.symm y, subset_tsupport _ hρ, e.right_inv hyt⟩ |
| 40 | |
| 41 | omit [T2Space E] in |
| 42 | theorem isCompact_chartCutoff_bound (e : OpenPartialHomeomorph M E) |
| 43 | (ρ : M → ℝ) (hρ : tsupport ρ ⊆ e.source) : IsCompact (e '' tsupport ρ) := by |
| 44 | have hc : IsCompact (tsupport ρ) := isClosed_closure.isCompact |
| 45 | exact hc.image_of_continuousOn (e.continuousOn.mono hρ) |
| 46 | |
| 47 | theorem chartCutoff_hasCompactSupport (e : OpenPartialHomeomorph M E) |
| 48 | (ρ : M → ℝ) (hρ : tsupport ρ ⊆ e.source) (f : E → F) : |
| 49 | HasCompactSupport (chartCutoff e ρ f) := |
| 50 | (isCompact_chartCutoff_bound e ρ hρ).of_isClosed_subset isClosed_closure |
| 51 | (closure_minimal (support_chartCutoff_subset e ρ f) |
| 52 | (isCompact_chartCutoff_bound e ρ hρ).isClosed) |
| 53 | |
| 54 | theorem chartCutoff_continuous (e : OpenPartialHomeomorph M E) |
| 55 | (ρ : M → ℝ) (hρ : Continuous ρ) (hs : tsupport ρ ⊆ e.source) |
| 56 | (f : E → F) (hf : ContinuousOn f e.target) : |
| 57 | Continuous (chartCutoff e ρ f) := by |
| 58 | apply continuous_iff_continuousAt.mpr |
| 59 | intro y |
| 60 | by_cases hy : y ∈ e.target |
| 61 | · have hc : ContinuousOn (fun y => ρ (e.symm y) • f y) e.target := |
| 62 | (hρ.comp_continuousOn e.symm.continuousOn).smul hf |
| 63 | have he : chartCutoff e ρ f =ᶠ[𝓝 y] (fun y => ρ (e.symm y) • f y) := by |
| 64 | filter_upwards [e.open_target.mem_nhds hy] with z hz |
| 65 | simp [chartCutoff, hz] |
| 66 | exact (hc.continuousAt (e.open_target.mem_nhds hy)).congr_of_eventuallyEq he |
| 67 | · have hk := isCompact_chartCutoff_bound e ρ hs |
| 68 | have hyk : y ∉ e '' tsupport ρ := by |
| 69 | rintro ⟨x, hx, rfl⟩ |
| 70 | exact hy (e.map_source (hs hx)) |
| 71 | have he : chartCutoff e ρ f =ᶠ[𝓝 y] (fun _ => 0) := by |
| 72 | filter_upwards [hk.isClosed.isOpen_compl.mem_nhds hyk] with z hz |
| 73 | exact notMem_support.mp (fun h => hz (support_chartCutoff_subset e ρ f h)) |
| 74 | exact continuousAt_const.congr_of_eventuallyEq he |
| 75 | |
| 76 | end Cutoff |
| 77 | |
| 78 | variable (E M : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 79 | [FiniteDimensional ℝ E] |
| 80 | [TopologicalSpace M] [ChartedSpace E M] |
| 81 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] [CompactSpace M] |
| 82 | |
| 83 | /-- Finite atlas data and a genuine subordinate smooth partition of unity. -/ |
| 84 | structure FiniteChartPartition where |
| 85 | centers : Finset M |
| 86 | partition : SmoothPartitionOfUnity centers 𝓘(ℝ, E) M |
| 87 | subordinate : ∀ i : centers, tsupport (partition i) ⊆ (chartAt E i.val).source |
| 88 | |
| 89 | theorem finiteChartPartition_nonempty : Nonempty (FiniteChartPartition E M) := by |
| 90 | classical |
| 91 | obtain ⟨s, hs⟩ := isCompact_univ.elim_finite_subcover |
| 92 | (fun x : M => (chartAt E x).source) (fun x => (chartAt E x).open_source) |
| 93 | (fun x _ => mem_iUnion.mpr ⟨x, mem_chart_source E x⟩) |
| 94 | have hcover : (Set.univ : Set M) ⊆ ⋃ i : s, (chartAt E i.val).source := by |
| 95 | intro x hx |
| 96 | obtain ⟨i, hi, hix⟩ := mem_iUnion₂.mp (hs hx) |
| 97 | exact mem_iUnion.mpr ⟨⟨i, hi⟩, hix⟩ |
| 98 | obtain ⟨p, hp⟩ := SmoothPartitionOfUnity.exists_isSubordinate |
| 99 | (I := 𝓘(ℝ, E)) isClosed_univ (fun i : s => (chartAt E i.val).source) |
| 100 | (fun i => (chartAt E i.val).open_source) hcover |
| 101 | exact ⟨⟨s, p, hp⟩⟩ |
| 102 | |
| 103 | def canonicalChartPartition : FiniteChartPartition E M := |
| 104 | (finiteChartPartition_nonempty E M).some |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing |