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.HodgeConjecture.ThetaCycle.UnsignedChartIntegral |
| 2 | import OAI.AlgebraicTopology.FundamentalClass.ChartLocalEvaluation |
| 3 | |
| 4 | /-! # Integral Chart Partition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralChartPartition.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: local simplex evaluation extends over a compact chart and then |
| 11 | over the actual finite smooth chart partition. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Set _root_.MeasureTheory _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicTopology.FundamentalClass.ChartLocalEvaluation.IntegrationConstruction |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | variable {d : ℕ} {M : Type} [TopologicalSpace M] [ChartedSpace (Fin d → ℝ) M] |
| 18 | [IsManifold 𝓘(ℝ, Fin d → ℝ) ∞ M] [T2Space M] |
| 19 | |
| 20 | structure UnsignedSmallChartRegion (e : OpenPartialHomeomorph M (Fin d → ℝ)) where |
| 21 | domain : Opens M |
| 22 | a : Fin d → ℝ |
| 23 | r : ℝ |
| 24 | positive : 0 < r |
| 25 | parameter : (Fin d → ℝ) → M |
| 26 | smooth : ContMDiff 𝓘(ℝ, Fin d → ℝ) 𝓘(ℝ, Fin d → ℝ) ∞ parameter |
| 27 | source : ∀ x, x + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d ∈ AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube d → parameter x ∈ e.source |
| 28 | coordinates : ∀ x, x + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d ∈ AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube d → |
| 29 | e (parameter x) = AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.positiveAffine (Fin d → ℝ) a r x |
| 30 | domain_source : (domain : Set M) ⊆ e.source |
| 31 | domain_image : e '' (domain : Set M) ⊆ AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d a r |
| 32 | |
| 33 | omit [T2Space M] in |
| 34 | theorem exists_unsigned_small_chart_region (e : OpenPartialHomeomorph M (Fin d → ℝ)) |
| 35 | (he : e ∈ atlas (Fin d → ℝ) M) (x : M) (hx : x ∈ e.source) : |
| 36 | ∃ D : UnsignedSmallChartRegion e, x ∈ D.domain := by |
| 37 | obtain ⟨r, hr, hcube⟩ := AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.exists_small_affine_cube d e.target e.open_target (e x) (e.map_source hx) |
| 38 | obtain ⟨g, hg, hagree⟩ := AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.exists_smooth_chart_simplex_parameter e he (e x) r hcube |
| 39 | let V : Opens M := ⟨e.source ∩ e ⁻¹' AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d (e x) r, |
| 40 | e.isOpen_inter_preimage (AlgebraicTopology.FundamentalClass.ChartLocalEvaluation.IntegrationConstruction.affineInterior_isOpen d (e x) r hr)⟩ |
| 41 | refine ⟨⟨V, e x, r, hr, g, hg, ?_, ?_, (fun _ hy => hy.1), ?_⟩, ?_⟩ |
| 42 | · intro y hy |
| 43 | exact (hagree y hy).2 |
| 44 | · intro y hy |
| 45 | have ht : AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.positiveAffine (Fin d → ℝ) (e x) r y ∈ e.target := by |
| 46 | simpa only [add_sub_cancel_right] using hcube (y + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d) hy |
| 47 | rw [(hagree y hy).1, e.right_inv ht] |
| 48 | · rintro _ ⟨y, hy, rfl⟩ |
| 49 | exact hy.2 |
| 50 | · exact ⟨hx, AlgebraicTopology.FundamentalClass.ChartLocalEvaluation.IntegrationConstruction.affineCenter_mem d (e x) r⟩ |
| 51 | |
| 52 | omit [IsManifold 𝓘(ℝ, Fin d → ℝ) ∞ M] [T2Space M] in |
| 53 | theorem unsigned_small_chart_affine_target (e : OpenPartialHomeomorph M (Fin d → ℝ)) |
| 54 | (D : UnsignedSmallChartRegion e) : AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d D.a D.r ⊆ e.target := by |
| 55 | rintro _ ⟨x, hx, rfl⟩ |
| 56 | rw [← D.coordinates x (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveInterior_shift_mem_cube d x hx)] |
| 57 | exact e.map_source (D.source x (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveInterior_shift_mem_cube d x hx)) |
| 58 | |
| 59 | theorem integral_cycle_evaluation_small_region |
| 60 | (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) |
| 61 | (e : OpenPartialHomeomorph M (Fin d → ℝ)) (he : e ∈ atlas (Fin d → ℝ) M) |
| 62 | (D : UnsignedSmallChartRegion e) (K : Set M) (hK : IsCompact K) (hKD : K ⊆ D.domain) |
| 63 | (hchart : HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) Kᶜ) d z = |
| 64 | AlgebraicTopology.FundamentalClass.IntegrationOrientation.Geometry.chartCompactClass e K hK (hKD.trans D.domain_source)) |
| 65 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (hform : ∀ x, x ∉ K → form.val x = 0) : |
| 66 | IntegralEvaluation.CM.integralCycleEvaluation z form = ∫ y, UnsignedChartIntegral.CM.unsignedChartIntegrand e form y := by |
| 67 | have h := IntegralEvaluation.CM.integral_cycle_evaluation_small_chart z e he K hK (hKD.trans D.domain_source) |
| 68 | hchart D.a D.r D.positive ((image_mono hKD).trans D.domain_image) |
| 69 | D.parameter D.smooth D.source D.coordinates form hform |
| 70 | exact h.trans (UnsignedChartIntegral.CM.unsigned_chart_integral_supported e K (AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d D.a D.r) |
| 71 | (AlgebraicTopology.FundamentalClass.ChartLocalEvaluation.IntegrationConstruction.affineInterior_isOpen d D.a D.r D.positive).measurableSet |
| 72 | (unsigned_small_chart_affine_target e D) ((image_mono hKD).trans D.domain_image) form hform) |
| 73 | |
| 74 | variable [CompactSpace M] |
| 75 | |
| 76 | theorem integral_cycle_evaluation_supported_chart |
| 77 | (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) |
| 78 | (e : OpenPartialHomeomorph M (Fin d → ℝ)) (he : e ∈ atlas (Fin d → ℝ) M) |
| 79 | (hchart : ∀ (K : Set M) (hK : IsCompact K) (hKs : K ⊆ e.source), |
| 80 | HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) Kᶜ) d z = |
| 81 | AlgebraicTopology.FundamentalClass.IntegrationOrientation.Geometry.chartCompactClass e K hK hKs) |
| 82 | (K : Set M) (hK : IsCompact K) (hKs : K ⊆ e.source) |
| 83 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (hform : ∀ x, x ∉ K → form.val x = 0) : |
| 84 | IntegralEvaluation.CM.integralCycleEvaluation z form = ∫ y, UnsignedChartIntegral.CM.unsignedChartIntegrand e form y := by |
| 85 | classical |
| 86 | choose D hD using fun x : K => exists_unsigned_small_chart_region e he x (hKs x.property) |
| 87 | have hcover : K ⊆ ⋃ x : K, (D x).domain := by |
| 88 | intro x hx |
| 89 | exact mem_iUnion.mpr ⟨⟨x, hx⟩, hD ⟨x, hx⟩⟩ |
| 90 | obtain ⟨s, hs⟩ := hK.elim_finite_subcover (fun x : K => ((D x).domain : Set M)) |
| 91 | (fun x => (D x).domain.isOpen) hcover |
| 92 | have hcover' : K ⊆ ⋃ i : s, (D i.val).domain := by |
| 93 | intro x hx |
| 94 | obtain ⟨i, hi, hix⟩ := mem_iUnion₂.mp (hs hx) |
| 95 | exact mem_iUnion.mpr ⟨⟨i, hi⟩, hix⟩ |
| 96 | obtain ⟨ρ, hρ⟩ := SmoothPartitionOfUnity.exists_isSubordinate |
| 97 | (I := 𝓘(ℝ, Fin d → ℝ)) hK.isClosed (fun i : s => ((D i.val).domain : Set M)) |
| 98 | (fun i => (D i.val).domain.isOpen) hcover' |
| 99 | have hρsource (i : s) : tsupport (ρ i) ⊆ e.source := (hρ i).trans (D i.val).domain_source |
| 100 | have hlocal (i : s) : IntegralEvaluation.CM.integralCycleEvaluation z (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm (ρ i) (ρ i).contMDiff form) = |
| 101 | ∫ y, UnsignedChartIntegral.CM.unsignedChartIntegrand e (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm (ρ i) (ρ i).contMDiff form) y := |
| 102 | integral_cycle_evaluation_small_region z e he (D i.val) (tsupport (ρ i)) |
| 103 | isClosed_closure.isCompact (hρ i) (hchart _ _ _) |
| 104 | (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm (ρ i) (ρ i).contMDiff form) |
| 105 | (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm_zero_of_notMem_tsupport (ρ i) (ρ i).contMDiff form) |
| 106 | have hsum : (∑ i : s, UnsignedChartIntegral.CM.unsignedChartIntegrand e (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm (ρ i) (ρ i).contMDiff form)) = |
| 107 | UnsignedChartIntegral.CM.unsignedChartIntegrand e form := by |
| 108 | rw [← map_sum, AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.sum_weightForm K ρ form hform] |
| 109 | rw [AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.linearFunctional_partition K ρ (IntegralEvaluation.CM.integralCycleEvaluation z) form hform] |
| 110 | simp_rw [hlocal] |
| 111 | rw [← integral_finsetSum Finset.univ (fun i _ => |
| 112 | UnsignedChartIntegral.CM.unsigned_chart_integrand_weight_integrable e he (ρ i) (ρ i).contMDiff (hρsource i) form)] |
| 113 | apply integral_congr_ae |
| 114 | filter_upwards [] with y |
| 115 | simpa only [Finset.sum_apply] using congrFun hsum y |
| 116 | |
| 117 | theorem integral_cycle_evaluation_chart_partition |
| 118 | (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) |
| 119 | (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) |
| 120 | (hchart : ∀ (i : D.centers) (K : Set M) (hK : IsCompact K) |
| 121 | (hKs : K ⊆ (chartAt (Fin d → ℝ) i.val).source), |
| 122 | HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) Kᶜ) d z = |
| 123 | AlgebraicTopology.FundamentalClass.IntegrationOrientation.Geometry.chartCompactClass (chartAt (Fin d → ℝ) i.val) K hK hKs) |
| 124 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) : |
| 125 | IntegralEvaluation.CM.integralCycleEvaluation z form = ∑ i : D.centers, ∫ y, |
| 126 | Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff (chartAt (Fin d → ℝ) i.val) (D.partition i) |
| 127 | (fun y => form.val.inChart (chartAt (Fin d → ℝ) i.val) y (Pi.basisFun ℝ (Fin d))) y := by |
| 128 | rw [AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.linearFunctional_partition univ D.partition (IntegralEvaluation.CM.integralCycleEvaluation z) form |
| 129 | (fun x hx => False.elim (hx (mem_univ x)))] |
| 130 | apply Finset.sum_congr rfl |
| 131 | intro i _ |
| 132 | rw [integral_cycle_evaluation_supported_chart z (chartAt (Fin d → ℝ) i.val) |
| 133 | (chart_mem_atlas (Fin d → ℝ) i.val) (hchart i) (tsupport (D.partition i)) |
| 134 | isClosed_closure.isCompact (D.subordinate i) |
| 135 | (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm (D.partition i) (D.partition i).contMDiff form) |
| 136 | (AlgebraicTopology.FundamentalClass.FormPartition.IntegrationConstruction.weightForm_zero_of_notMem_tsupport (D.partition i) (D.partition i).contMDiff form), |
| 137 | UnsignedChartIntegral.CM.unsigned_chart_integrand_weight] |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralChartPartition.CM |