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.GlobalPairCoordinates |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Projective.BasePartition |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.TensorMetricTest |
| 4 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.NestedCutoffExistence |
| 5 | |
| 6 | /-! # Global Pair Smooth -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.DivisorClass.Chern |
| 13 | |
| 14 | /-! The original global bundle pairing has smooth coordinate density and is integrable against every compact base-chart cutoff. -/ |
| 15 | |
| 16 | open _root_.MeasureTheory _root_.TopologicalSpace |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 25 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 26 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 27 | |
| 28 | include he |
| 29 | |
| 30 | theorem Projective.GlobalPairSmooth.projectiveGlobalScalar_smooth (f : V.analyticSpace → ℂ) |
| 31 | (hf : ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ f) : |
| 32 | ContDiffOn ℝ ∞ (fun z => f (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z)) (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := by |
| 33 | let g : SmoothScalarForm.SmoothComplexOpenFunction (E := V.analyticModel) (⊤ : Opens V.analyticSpace) := |
| 34 | ⟨fun x => f x.val, hf.comp (contMDiff_subtype_val (I := 𝓘(ℝ, V.analyticModel)))⟩ |
| 35 | have hg : ContDiffOn ℝ ∞ (Projective.BasePartition.projectiveScalarChart V e ⊤ g) (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 36 | (Projective.BasePartition.projectiveScalarChart_smooth V e he ⊤ g).mono (fun _ hz => ⟨hz, trivial⟩) |
| 37 | apply hg.congr |
| 38 | intro z hz |
| 39 | rw [Projective.BasePartition.projectiveScalarChart_apply V e ⊤ g ⟨hz, trivial⟩] |
| 40 | rfl |
| 41 | |
| 42 | variable {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) |
| 43 | |
| 44 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.projectiveGlobalPair_smooth (n : ℕ) |
| 45 | (a c : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 46 | ContDiffOn ℝ ∞ (h.projectiveGlobalPair V e n a c) (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 47 | (Complex.ofRealCLM.contDiff.comp_contDiffOn (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity_smooth V e he)).mul |
| 48 | (Projective.GlobalPairSmooth.projectiveGlobalScalar_smooth V e he (h.globalFormPair V n a c) (h.globalFormPair_smooth V n a c)) |
| 49 | |
| 50 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.projectiveGlobalPair_cutoff_integrable (n : ℕ) |
| 51 | (a c : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) (χ : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ) |
| 52 | (hχ : ContDiff ℝ ∞ χ) (hc : HasCompactSupport χ) (hs : tsupport χ ⊆ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 53 | Integrable (fun z => h.projectiveGlobalPair V e n a c z * χ z) := |
| 54 | ComplexMultiplication.HodgeComparison.HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable volume _ χ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen |
| 55 | (h.projectiveGlobalPair_smooth V e he n a c) hχ hc hs |
| 56 | |
| 57 | end AlgebraicGeometry.DivisorClass.Chern |
| 58 | |
| 59 | namespace AlgebraicGeometry.DivisorClass.Chern.Projective.GlobalPairSmooth |
| 60 | |
| 61 | /-! Original smooth real manifold cutoffs supported in a base chart have compact smooth Euclidean representatives with the exact original values. -/ |
| 62 | |
| 63 | open Set Filter |
| 64 | open scoped _root_.Manifold ContDiff SchwartzMap _root_.Topology |
| 65 | set_option backward.isDefEq.respectTransparency false |
| 66 | set_option backward.isDefEq.respectTransparency.types false |
| 67 | set_option backward.defeqAttrib.useBackward true |
| 68 | |
| 69 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction |
| 70 | |
| 71 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 72 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 73 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 74 | |
| 75 | include he |
| 76 | |
| 77 | theorem exists_projectiveRealChartCutoff (ρ : V.analyticSpace → ℝ) |
| 78 | (hρ : ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ) ∞ ρ) (hρs : tsupport ρ ⊆ e.source) : |
| 79 | ∃ η : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℝ, ContDiff ℝ ∞ η ∧ HasCompactSupport η ∧ |
| 80 | tsupport η ⊆ Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward V e '' tsupport ρ ∧ tsupport η ⊆ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e ∧ |
| 81 | ∀ z ∈ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e, η z = ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) := by |
| 82 | let K := Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward V e '' tsupport ρ |
| 83 | have hK : IsCompact K := Analysis.HodgeTheory.Decomposition.SupportedCoordinates.Constructions.chartCoordinateForward_compact V e (isClosed_tsupport ρ).isCompact hρs |
| 84 | have hKD : K ⊆ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e := by |
| 85 | rintro _ ⟨x, hx, rfl⟩ |
| 86 | exact Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward_mem V e x (hρs hx) |
| 87 | obtain ⟨ψ, hψc, hψs, _, hψnear⟩ := |
| 88 | ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction.exists_real_schwartz_cutoff_near_compact hK (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen hKD |
| 89 | let w := fun z => (ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) : ℂ) |
| 90 | let β := fun z => w z * ψ z |
| 91 | have hw : ContDiffOn ℝ ∞ w (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 92 | projectiveGlobalScalar_smooth V e he (fun x => (ρ x : ℂ)) |
| 93 | (Complex.ofRealCLM.contDiff.contMDiff.comp hρ) |
| 94 | have hβsmooth : ContDiff ℝ ∞ β := ComplexMultiplication.HodgeComparison.HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test w ψ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen hw (ψ.smooth ⊤) hψs |
| 95 | have hβ (z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (hz : z ∈ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 96 | β z = (ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) : ℂ) := by |
| 97 | change (ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) : ℂ) * ψ z = _ |
| 98 | by_cases hzero : ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) = 0 |
| 99 | · rw [hzero, Complex.ofReal_zero, zero_mul] |
| 100 | · have hzK : z ∈ K := ⟨Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z, subset_tsupport ρ hzero, |
| 101 | Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward_inverse V e z hz⟩ |
| 102 | rw [(hψnear z hzK).eq_of_nhds] |
| 103 | exact mul_one _ |
| 104 | have hβzero (z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (hz : z ∉ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : β z = 0 := by |
| 105 | change w z * ψ z = 0 |
| 106 | rw [image_eq_zero_of_notMem_tsupport (fun ht => hz (hψs ht)), mul_zero] |
| 107 | have hβK : tsupport β ⊆ K := by |
| 108 | apply closure_minimal _ hK.isClosed |
| 109 | intro z hz |
| 110 | have hzD : z ∈ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e := by |
| 111 | by_contra hnot |
| 112 | exact hz (hβzero z hnot) |
| 113 | have hρz : ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) ≠ 0 := by |
| 114 | intro hzero |
| 115 | apply hz |
| 116 | rw [hβ z hzD, hzero, Complex.ofReal_zero] |
| 117 | exact ⟨Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z, subset_tsupport ρ hρz, Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateForward_inverse V e z hzD⟩ |
| 118 | have hηK : tsupport (fun z => (β z).re) ⊆ K := |
| 119 | (tsupport_comp_subset (show Complex.re 0 = 0 from rfl) β).trans hβK |
| 120 | refine ⟨fun z => (β z).re, Complex.reCLM.contDiff.comp hβsmooth, |
| 121 | hK.of_isClosed_subset (isClosed_tsupport _) hηK, hηK, hηK.trans hKD, ?_⟩ |
| 122 | intro z hz |
| 123 | change (β z).re = ρ (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) |
| 124 | rw [hβ z hz, Complex.ofReal_re] |
| 125 | |
| 126 | end AlgebraicGeometry.DivisorClass.Chern.Projective.GlobalPairSmooth |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI |