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.RealModelForms |
| 2 | import OAI.AlgebraicTopology.FundamentalClass.ChartLocalEvaluation |
| 3 | |
| 4 | /-! # Integral Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralEvaluation.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: actual integration against any integral top cycle whose local |
| 11 | restriction is the geometric chart simplex class. The input concerns only |
| 12 | the local homology restriction of that cycle. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite Set _root_.MeasureTheory _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicTopology.FundamentalClass.ChartLocalEvaluation.IntegrationConstruction |
| 16 | open scoped Simplicial _root_.Manifold ContDiff |
| 17 | |
| 18 | variable {d : ℕ} {M : Type} [TopologicalSpace M] [ChartedSpace (Fin d → ℝ) M] |
| 19 | [IsManifold 𝓘(ℝ, Fin d → ℝ) ∞ M] |
| 20 | |
| 21 | def integralCycleEvaluation |
| 22 | (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) : |
| 23 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d →ₗ[ℂ] ℂ := |
| 24 | ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℂ ℂ) (TopCat.of M) d).flip |
| 25 | (AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℂ) (TopCat.of M) d z)).comp |
| 26 | (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.topIntegrationClass d M) |
| 27 | |
| 28 | variable [T2Space M] |
| 29 | |
| 30 | theorem integral_cycle_evaluation_small_chart |
| 31 | (z : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology d) |
| 32 | (e : OpenPartialHomeomorph M (Fin d → ℝ)) (he : e ∈ atlas (Fin d → ℝ) M) |
| 33 | (K : Set M) (hK : IsCompact K) (hKs : K ⊆ e.source) |
| 34 | (hchart : HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) Kᶜ) d z = |
| 35 | AlgebraicTopology.FundamentalClass.IntegrationOrientation.Geometry.chartCompactClass e K hK hKs) |
| 36 | (a : Fin d → ℝ) (r : ℝ) (hr : 0 < r) (hKi : e '' K ⊆ AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d a r) |
| 37 | (g : (Fin d → ℝ) → M) (hg : ContMDiff 𝓘(ℝ, Fin d → ℝ) 𝓘(ℝ, Fin d → ℝ) ∞ g) |
| 38 | (hsource : ∀ x, x + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d ∈ AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube d → g x ∈ e.source) |
| 39 | (hcoords : ∀ x, x + AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.simplexBarycenter d ∈ AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube d → |
| 40 | e (g x) = AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.positiveAffine (Fin d → ℝ) a r x) |
| 41 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (hform : ∀ x, x ∉ K → form.val x = 0) : |
| 42 | integralCycleEvaluation z form = |
| 43 | ∫ y in AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.affineInterior d a r, form.val.inChart e y (Pi.basisFun ℝ (Fin d)) := by |
| 44 | let σ : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex (Fin d → ℝ) M).toSSet _⦋d⦌ := |
| 45 | (AlgebraicTopology.Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothSingularMap (Fin d → ℝ) (Fin d → ℝ) g hg).app _ (AlgebraicTopology.FundamentalClass.SimplexGeometry.IntegrationConstruction.positiveSmoothSimplex d) |
| 46 | have hσsource : ∀ t, (TopCat.of M).toSSetObjEquiv (op ⦋d⦌) σ.val t ∈ e.source := by |
| 47 | intro t |
| 48 | exact hsource (AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry.positiveSimplex d t) (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveSimplex_shift_mem_cube d t) |
| 49 | have hσcoords : ∀ t, e ((TopCat.of M).toSSetObjEquiv (op ⦋d⦌) σ.val t) = |
| 50 | AlgebraicTopology.FundamentalClass.AffineOrientation.IntegrationConstruction.positiveAffine (Fin d → ℝ) a r (AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry.positiveSimplex d t) := by |
| 51 | intro t |
| 52 | exact hcoords (AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry.positiveSimplex d t) (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveSimplex_shift_mem_cube d t) |
| 53 | have hfaces := AlgebraicTopology.FundamentalClass.AffineCycle.IntegrationConstruction.chartSimplex_faces_avoid (X := TopCat.of M) e K a r hr hKi σ.val hσcoords |
| 54 | let U : Opens M := ⟨Kᶜ, hK.isClosed.isOpen_compl⟩ |
| 55 | have hclass : (1 : ℤ) • AlgebraicTopology.FundamentalClass.ProjectedClasses.IntegrationConstruction.projectedClass (TopCat.of M) U d |
| 56 | (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj (TopCat.of M)) σ.val) |
| 57 | (AlgebraicTopology.FundamentalClass.SimplexCycles.IntegrationConstruction.integralSimplex_relative_cycle _ _ d σ.val hfaces) = |
| 58 | HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of M) U) d z := by |
| 59 | rw [one_smul] |
| 60 | exact (AlgebraicTopology.FundamentalClass.AffineCycle.IntegrationConstruction.chartProjectedSimplex_eq_chartCompactClass (X := TopCat.of M) |
| 61 | e K hK hKs a r hr hKi σ.val hσsource hσcoords).trans hchart.symm |
| 62 | have heval := AlgebraicTopology.FundamentalClass.RelativeSimplexEvaluation.IntegrationConstruction.evaluation_on_integral_relative_simplex (Fin d → ℝ) M U d |
| 63 | (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.closedTopForm d M form) (fun x => hform x x.property) |
| 64 | (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.topIntegrationClass d M form) (AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.topIntegrationClass_restriction d M form) |
| 65 | z σ hfaces 1 hclass |
| 66 | have heval' : integralCycleEvaluation z form = AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration σ form := by |
| 67 | simpa only [integralCycleEvaluation, AlgebraicTopology.FundamentalClass.TopEvaluation.IntegrationConstruction.closedTopForm, LinearMap.comp_apply, |
| 68 | LinearMap.flip_apply, LinearMap.codRestrict_apply, LinearMap.id_apply, one_smul] using! heval |
| 69 | exact heval'.trans (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.smoothSimplexIntegration_affine_chart g hg e he a r hr |
| 70 | (fun x hx => hsource x (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveInterior_shift_mem_cube d x hx)) |
| 71 | (fun x hx => hcoords x (AlgebraicTopology.FundamentalClass.ChartIntegral.IntegrationConstruction.positiveInterior_shift_mem_cube d x hx)) form) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralEvaluation.CM |