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.HodgeTheory.Decomposition.Form |
| 2 | |
| 3 | /-! # Local Metric -/ |
| 4 | |
| 5 | namespace OAI.Analysis.HodgeTheory.Decomposition.LocalMetric.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local regularity and support of the actual pointwise form pairing. -/ |
| 10 | |
| 11 | open scoped ContDiff _root_.Manifold _root_.Topology BigOperators |
| 12 | |
| 13 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) |
| 14 | |
| 15 | theorem projectiveFormPointPair_congr_at |
| 16 | (a b c d : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) (x : V.analyticSpace) |
| 17 | (hac : a x = c x) (hbd : b x = d x) : |
| 18 | ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a b x = ProjectiveFormMetric.Constructions.projectiveFormPointPair V n c d x := by |
| 19 | let e := chartAt V.analyticModel x |
| 20 | have he := chart_mem_atlas V.analyticModel x |
| 21 | have hx := mem_chart_source V.analyticModel x |
| 22 | have hac' : a.inChart e (e x) = c.inChart e (e x) := by |
| 23 | ext v |
| 24 | rw [DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_at a e he x hx, DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_at c e he x hx, hac] |
| 25 | have hbd' : b.inChart e (e x) = d.inChart e (e x) := by |
| 26 | ext v |
| 27 | rw [DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_at b e he x hx, DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_at d e he x hx, hbd] |
| 28 | unfold ProjectiveFormMetric.Constructions.projectiveFormPointPair |
| 29 | rw [hac', hbd'] |
| 30 | |
| 31 | theorem projectiveFormPointPair_zero_left |
| 32 | (b : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) (x : V.analyticSpace) : |
| 33 | ProjectiveFormMetric.Constructions.projectiveFormPointPair V n 0 b x = 0 := by |
| 34 | have h := Form.Constructions.projectiveFormPointPair_smul_left V n 0 b 0 x |
| 35 | have hz : (0 : ℂ) • (0 : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) = 0 := by |
| 36 | funext y |
| 37 | exact zero_smul ℂ (0 : TangentSpace 𝓘(ℝ, V.analyticModel) y [⋀^Fin n]→L[ℝ] ℂ) |
| 38 | rw [hz] at h |
| 39 | simpa only [star_zero, zero_mul] using h |
| 40 | |
| 41 | theorem projectiveFormPointPair_zero_right |
| 42 | (a : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) (x : V.analyticSpace) : |
| 43 | ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a 0 x = 0 := by |
| 44 | rw [← ProjectiveFormMetric.Constructions.projectiveFormPointPair_symm, projectiveFormPointPair_zero_left, star_zero] |
| 45 | |
| 46 | theorem projectiveFormPointPair_zero_of_right |
| 47 | (a b : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) (x : V.analyticSpace) |
| 48 | (hb : b x = 0) : ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a b x = 0 := |
| 49 | (projectiveFormPointPair_congr_at V n a b a 0 x rfl hb).trans |
| 50 | (projectiveFormPointPair_zero_right V n a x) |
| 51 | |
| 52 | theorem projectiveFormMetricExpression_smooth_on |
| 53 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 54 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 55 | (a c : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) |
| 56 | {S : Set V.analyticModel} (hS : S ⊆ e.target) |
| 57 | (ha : ContDiffOn ℝ ∞ (a.inChart e) S) (hc : ContDiffOn ℝ ∞ (c.inChart e) S) : |
| 58 | ContDiffOn ℝ ∞ (MetricCoefficients.Constructions.projectiveFormMetricExpression V e n a c) S := by |
| 59 | let b := Module.finBasis ℝ V.analyticModel |
| 60 | have hevala (s : Set.powersetCard (Fin (Module.finrank ℝ V.analyticModel)) n) : |
| 61 | ContDiffOn ℝ ∞ (fun y => a.inChart e y (MetricCoefficients.Constructions.exteriorCoordinateTuple V b n s)) S := |
| 62 | MetricCoefficients.Constructions.smooth_fixed_form_evaluation n _ ha |
| 63 | have hevalc (s : Set.powersetCard (Fin (Module.finrank ℝ V.analyticModel)) n) : |
| 64 | ContDiffOn ℝ ∞ (fun y => c.inChart e y (MetricCoefficients.Constructions.exteriorCoordinateTuple V b n s)) S := |
| 65 | MetricCoefficients.Constructions.smooth_fixed_form_evaluation n _ hc |
| 66 | have hcoeff (s t : Set.powersetCard (Fin (Module.finrank ℝ V.analyticModel)) n) : |
| 67 | ContDiffOn ℝ ∞ (fun y => ((MetricCoefficients.Constructions.projectiveExteriorGram V e b n y)⁻¹ s t : ℂ)) S := |
| 68 | Complex.ofRealCLM.contDiff.comp_contDiffOn |
| 69 | ((MetricCoefficients.Constructions.projectiveExteriorGram_inverse_smooth V e he b n s t).mono hS) |
| 70 | have hconj : ContDiff ℝ ∞ (star : ℂ → ℂ) := Complex.conjCLE.contDiff |
| 71 | unfold MetricCoefficients.Constructions.projectiveFormMetricExpression |
| 72 | change ContDiffOn ℝ ∞ (fun y => ∑ s, ∑ t, |
| 73 | star (a.inChart e y (MetricCoefficients.Constructions.exteriorCoordinateTuple V b n t)) * |
| 74 | ((MetricCoefficients.Constructions.projectiveExteriorGram V e b n y)⁻¹ s t : ℂ) * |
| 75 | c.inChart e y (MetricCoefficients.Constructions.exteriorCoordinateTuple V b n s)) S |
| 76 | fun_prop |
| 77 | |
| 78 | theorem projectiveFormPointPair_continuousAt_of_smoothOn |
| 79 | (a b : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) {U : Set V.analyticSpace} |
| 80 | (hU : IsOpen U) (ha : DifferentialForms.Manifold.Algebra.IsSmoothManifoldFormOn a U) (hb : DifferentialForms.Manifold.Algebra.IsSmoothManifoldFormOn b U) |
| 81 | {x : V.analyticSpace} (hx : x ∈ U) : ContinuousAt (ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a b) x := by |
| 82 | let e := chartAt V.analyticModel x |
| 83 | have he := chart_mem_atlas V.analyticModel x |
| 84 | have hxe := mem_chart_source V.analyticModel x |
| 85 | have hdom : e x ∈ DifferentialForms.Manifold.Algebra.manifoldFormChartDomain e U := by |
| 86 | refine ⟨e.map_source hxe, ?_⟩ |
| 87 | change e.symm (e x) ∈ U |
| 88 | simpa only [e.left_inv hxe] using hx |
| 89 | have hc := (projectiveFormMetricExpression_smooth_on V n e he a b Set.inter_subset_left |
| 90 | (ha e he) (hb e he)).continuousOn.continuousAt |
| 91 | ((DifferentialForms.Manifold.Algebra.isOpen_manifoldFormChartDomain e hU).mem_nhds hdom) |
| 92 | have hcomp : ContinuousAt (fun z => MetricCoefficients.Constructions.projectiveFormMetricExpression V e n a b (e z)) x := |
| 93 | hc.comp (e.continuousOn.continuousAt (e.open_source.mem_nhds hxe)) |
| 94 | apply hcomp.congr |
| 95 | filter_upwards [e.open_source.mem_nhds hxe] with z hz |
| 96 | have h := MetricCoefficients.Constructions.projectiveFormPointPair_chartExpression V e he n a b (e z) (e.map_source hz) |
| 97 | simpa only [e.left_inv hz] using h.symm |
| 98 | |
| 99 | /-- A locally smooth pairing with a supported smooth test form is continuous everywhere. -/ |
| 100 | theorem projectiveFormPointPair_continuous_supported |
| 101 | (a : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) |
| 102 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 103 | {K U : Set V.analyticSpace} (hK : IsClosed K) (hU : IsOpen U) (hKU : K ⊆ U) |
| 104 | (ha : DifferentialForms.Manifold.Algebra.IsSmoothManifoldFormOn a U) (hb : ∀ x, x ∉ K → b x = 0) : |
| 105 | Continuous (ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a b.val) := by |
| 106 | rw [continuous_iff_continuousAt] |
| 107 | intro x |
| 108 | by_cases hx : x ∈ U |
| 109 | · exact projectiveFormPointPair_continuousAt_of_smoothOn V n a b.val hU ha |
| 110 | (b.smooth.mono (Set.subset_univ _)) hx |
| 111 | · have hxK : x ∈ Kᶜ := fun h => hx (hKU h) |
| 112 | have hzero : ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a b.val =ᶠ[𝓝 x] (fun _ => 0) := by |
| 113 | filter_upwards [hK.isOpen_compl.mem_nhds hxK] with y hy |
| 114 | exact projectiveFormPointPair_zero_of_right V n a b.val y (hb y hy) |
| 115 | exact continuousAt_const.congr hzero.symm |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.Analysis.HodgeTheory.Decomposition.LocalMetric.Constructions |