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.AlgebraicGeometry.DivisorClass.Chern.Projective.GlobalPairSmooth |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestFunction |
| 3 | |
| 4 | /-! # Real Chart Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RealChartExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Compact smooth real coordinate functions extend to original global manifold functions with exact chart values. -/ |
| 13 | |
| 14 | open Set |
| 15 | open scoped _root_.Manifold ContDiff SchwartzMap |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 23 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 24 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 25 | |
| 26 | def projectiveRealChartExtension (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) : V.analyticSpace → ℝ := |
| 27 | e.source.indicator (fun x => f (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward V e x)) |
| 28 | |
| 29 | theorem projectiveRealChartExtension_apply (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) |
| 30 | {x : V.analyticSpace} (hx : x ∈ e.source) : |
| 31 | projectiveRealChartExtension V e f x = f (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward V e x) := indicator_of_mem hx _ |
| 32 | |
| 33 | theorem projectiveRealChartExtension_zero (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) |
| 34 | {x : V.analyticSpace} (hx : x ∉ e.source) : projectiveRealChartExtension V e f x = 0 := |
| 35 | indicator_of_notMem hx _ |
| 36 | |
| 37 | theorem projectiveRealChartExtension_inverse (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) |
| 38 | {z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 39 | projectiveRealChartExtension V e f (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) = f z := by |
| 40 | rw [projectiveRealChartExtension_apply V e f (x := Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) (e.map_target hz), |
| 41 | Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward_inverse V e z hz] |
| 42 | |
| 43 | theorem projectiveRealChartExtension_bound (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) |
| 44 | (C : ℝ) (hC : 0 ≤ C) (hf : ∀ z, f z ≤ C) (x : V.analyticSpace) : |
| 45 | projectiveRealChartExtension V e f x ≤ C := by |
| 46 | by_cases hx : x ∈ e.source |
| 47 | · rw [projectiveRealChartExtension_apply V e f hx] |
| 48 | exact hf _ |
| 49 | · rw [projectiveRealChartExtension_zero V e f hx] |
| 50 | exact hC |
| 51 | |
| 52 | include he |
| 53 | |
| 54 | theorem projectiveRealChartExtension_smooth (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) |
| 55 | (hf : ContDiff ℝ ∞ f) (hc : HasCompactSupport f) (hs : tsupport f ⊆ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 56 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ) ∞ (projectiveRealChartExtension V e f) := by |
| 57 | have hfc : HasCompactSupport (fun z => (f z : ℂ)) := hc.comp_left Complex.ofReal_zero |
| 58 | have hfs : ContDiff ℝ ∞ (fun z => (f z : ℂ)) := Complex.ofRealCLM.contDiff.comp hf |
| 59 | let g : 𝓢(ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ) := hfc.toSchwartzMap hfs |
| 60 | have hgs : tsupport g ⊆ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e := |
| 61 | (tsupport_comp_subset Complex.ofReal_zero f).trans hs |
| 62 | have hg := ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction.varietyChartTestScalar_smooth V e he g hfc hgs |
| 63 | have heq : projectiveRealChartExtension V e f = (fun x => (ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction.varietyChartTestScalar V e g x).re) := by |
| 64 | funext x |
| 65 | by_cases hx : x ∈ e.source |
| 66 | · rw [projectiveRealChartExtension_apply V e f hx, ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction.varietyChartTestScalar, indicator_of_mem hx] |
| 67 | rfl |
| 68 | · rw [projectiveRealChartExtension_zero V e f hx, ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction.varietyChartTestScalar, indicator_of_notMem hx] |
| 69 | rfl |
| 70 | rw [heq] |
| 71 | exact Complex.reCLM.contDiff.contMDiff.comp hg |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! The actual compact real chart extension has support in the original compact chart image. -/ |
| 76 | |
| 77 | open Set |
| 78 | set_option backward.isDefEq.respectTransparency false |
| 79 | set_option backward.isDefEq.respectTransparency.types false |
| 80 | set_option backward.defeqAttrib.useBackward true |
| 81 | |
| 82 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction |
| 83 | |
| 84 | theorem projectiveRealChartExtension_tsupport (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 85 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 86 | (f : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ) (hc : HasCompactSupport f) (hs : tsupport f ⊆ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 87 | tsupport (projectiveRealChartExtension V e f) ⊆ ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage V e (tsupport f) := by |
| 88 | apply closure_minimal ?_ (ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs).isClosed |
| 89 | intro x hx |
| 90 | have hxe : x ∈ e.source := by |
| 91 | by_contra he |
| 92 | exact hx (projectiveRealChartExtension_zero V e f he) |
| 93 | have hfx : f (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward V e x) ≠ 0 := by |
| 94 | intro hf |
| 95 | exact hx ((projectiveRealChartExtension_apply V e f hxe).trans hf) |
| 96 | exact ⟨Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward V e x, subset_tsupport f hfx, Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse_forward V e x hxe⟩ |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RealChartExtension |