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.FrameScalarGlue |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SmoothScalarExterior |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.MetricWeight |
| 4 | |
| 5 | /-! # Base Partition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Projective.BasePartition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Literal Euclidean coordinates and derivatives of original smooth scalar functions on projective opens. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 22 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 23 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 24 | |
| 25 | def projectiveScalarChart (U : Opens V.analyticSpace) |
| 26 | (f : SmoothScalarForm.SmoothComplexOpenFunction (E := V.analyticModel) U) (z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : ℂ := |
| 27 | Analysis.DifferentialForms.Manifold.LocallyConstant.manifoldOpenScalarExtension U f (e.symm (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) |
| 28 | |
| 29 | theorem projectiveScalarChart_apply (U : Opens V.analyticSpace) |
| 30 | (f : SmoothScalarForm.SmoothComplexOpenFunction (E := V.analyticModel) U) {z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V} |
| 31 | (hz : z ∈ ConnectionChartDerivative.projectiveOpenChartDomain V e U) : |
| 32 | projectiveScalarChart V e U f z = f ⟨e.symm (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z), hz.2⟩ := |
| 33 | Analysis.DifferentialForms.Manifold.LocallyConstant.manifoldOpenScalarExtension_apply U f ⟨e.symm (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z), hz.2⟩ |
| 34 | |
| 35 | theorem projectiveOpenChartForm_restrict {U W : Opens V.analyticSpace} (hWU : W ≤ U) |
| 36 | (n : ℕ) (a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm V.analyticModel U n) {z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V} |
| 37 | (hz : z ∈ ConnectionChartDerivative.projectiveOpenChartDomain V e W) : |
| 38 | Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm V e n (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hWU a).extension z = |
| 39 | Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm V e n a.extension z := by |
| 40 | unfold Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm |
| 41 | rw [Open.ManifoldBidegree.openManifold_restrict_inChart hWU a e hz.2] |
| 42 | |
| 43 | include he |
| 44 | |
| 45 | theorem projectiveScalarChart_smooth (U : Opens V.analyticSpace) |
| 46 | (f : SmoothScalarForm.SmoothComplexOpenFunction (E := V.analyticModel) U) : |
| 47 | ContDiffOn ℝ ∞ (projectiveScalarChart V e U f) (ConnectionChartDerivative.projectiveOpenChartDomain V e U : Set _) := |
| 48 | (SmoothScalarForm.smoothOpenScalarExtension_chart_contDiff f e he).comp |
| 49 | ((ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).contDiff.restrict_scalars ℝ).contDiffOn (fun _ hz => hz) |
| 50 | |
| 51 | theorem projectiveScalarChart_derivative (U : Opens V.analyticSpace) |
| 52 | (f : SmoothScalarForm.SmoothComplexOpenFunction (E := V.analyticModel) U) {z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V} |
| 53 | (hz : z ∈ ConnectionChartDerivative.projectiveOpenChartDomain V e U) (v : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 54 | AntiOneFormCoordinates.oneFormLinear (Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm V e 1 (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f)).extension z) v = |
| 55 | fderiv ℝ (projectiveScalarChart V e U f) z v := by |
| 56 | have hf := ((SmoothScalarForm.smoothOpenScalarExtension_chart_contDiff f e he).contDiffAt |
| 57 | ((Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 58 | have hd := congrArg (fun T : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V →L[ℝ] ℂ => T v) |
| 59 | (hf.hasFDerivAt.comp z ((ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ).hasFDerivAt).fderiv |
| 60 | unfold Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm |
| 61 | rw [SmoothScalarExterior.smoothScalarOpenZeroForm_d_inChart f e he hz] |
| 62 | exact hd.symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! A fixed finite smooth partition in the original projective base charts, independent of all line bundles and twists. -/ |
| 67 | |
| 68 | open _root_.TopologicalSpace Set |
| 69 | open scoped _root_.Manifold ContDiff |
| 70 | set_option backward.isDefEq.respectTransparency false |
| 71 | set_option backward.isDefEq.respectTransparency.types false |
| 72 | set_option backward.defeqAttrib.useBackward true |
| 73 | |
| 74 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 75 | |
| 76 | local instance basePartition_realDimension (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : FiniteDimensional ℝ V.analyticModel := |
| 77 | FiniteDimensional.trans ℝ ℂ V.analyticModel |
| 78 | |
| 79 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 80 | |
| 81 | theorem exists_projectiveBaseFiniteCover : ∃ s : Finset V.analyticSpace, |
| 82 | ∀ x : V.analyticSpace, ∃ i : s, x ∈ (chartAt V.analyticModel i.val).source := by |
| 83 | obtain ⟨s, hs⟩ := isCompact_univ.elim_finite_subcover |
| 84 | (fun i : V.analyticSpace => (chartAt V.analyticModel i).source) |
| 85 | (fun i => (chartAt V.analyticModel i).open_source) |
| 86 | (fun x _ => mem_iUnion.mpr ⟨x, mem_chart_source V.analyticModel x⟩) |
| 87 | refine ⟨s, ?_⟩ |
| 88 | intro x |
| 89 | obtain ⟨i, hi, hxi⟩ := mem_iUnion₂.mp (hs (mem_univ x)) |
| 90 | exact ⟨⟨i, hi⟩, hxi⟩ |
| 91 | |
| 92 | def projectiveBaseFiniteCover : Finset V.analyticSpace := (exists_projectiveBaseFiniteCover V).choose |
| 93 | |
| 94 | theorem projectiveBaseFiniteCover_covers (x : V.analyticSpace) : |
| 95 | ∃ i : projectiveBaseFiniteCover V, x ∈ (chartAt V.analyticModel i.val).source := |
| 96 | (exists_projectiveBaseFiniteCover V).choose_spec x |
| 97 | |
| 98 | theorem exists_projectiveBaseSmoothPartition : |
| 99 | ∃ p : SmoothPartitionOfUnity (projectiveBaseFiniteCover V) 𝓘(ℝ, V.analyticModel) V.analyticSpace, |
| 100 | p.IsSubordinate (fun i => (chartAt V.analyticModel i.val).source) := by |
| 101 | apply SmoothPartitionOfUnity.exists_isSubordinate 𝓘(ℝ, V.analyticModel) isClosed_univ |
| 102 | (fun i : projectiveBaseFiniteCover V => (chartAt V.analyticModel i.val).source) |
| 103 | (fun i => (chartAt V.analyticModel i.val).open_source) |
| 104 | intro x _ |
| 105 | exact mem_iUnion.mpr (projectiveBaseFiniteCover_covers V x) |
| 106 | |
| 107 | def projectiveBaseSmoothPartition : |
| 108 | SmoothPartitionOfUnity (projectiveBaseFiniteCover V) 𝓘(ℝ, V.analyticModel) V.analyticSpace := |
| 109 | (exists_projectiveBaseSmoothPartition V).choose |
| 110 | |
| 111 | theorem projectiveBaseSmoothPartition_support (i : projectiveBaseFiniteCover V) : |
| 112 | tsupport (projectiveBaseSmoothPartition V i) ⊆ (chartAt V.analyticModel i.val).source := |
| 113 | (exists_projectiveBaseSmoothPartition V).choose_spec i |
| 114 | |
| 115 | theorem projectiveBaseSmoothPartition_smooth (i : projectiveBaseFiniteCover V) : |
| 116 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ) ∞ (projectiveBaseSmoothPartition V i) := |
| 117 | (projectiveBaseSmoothPartition V i).contMDiff |
| 118 | |
| 119 | theorem projectiveBaseSmoothPartition_sum (x : V.analyticSpace) : |
| 120 | ∑ i, projectiveBaseSmoothPartition V i x = 1 := by |
| 121 | simpa only [finsum_eq_sum_of_fintype] using (projectiveBaseSmoothPartition V).sum_eq_one (mem_univ x) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Projective.BasePartition |