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.AlgebraicTopology.FundamentalClass.RelativeCoefficients |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts |
| 3 | |
| 4 | /-! # Projected Classes -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.FundamentalClass.ProjectedClasses.IntegrationConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Representative formulas for relative chain classes and chart transport. |
| 11 | The input chain need only become a cycle after relative projection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Set |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | def projectedClass (X : TopCat.{0}) (A : Set X) (n : ℕ) |
| 20 | (c : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).X n) |
| 21 | (hc : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X A).f n c ∈ Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains X A) n) : |
| 22 | AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X A n := |
| 23 | Cohomology.Singular.ChainRepresentatives.chainClass _ n ⟨(AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X A).f n c, hc⟩ |
| 24 | |
| 25 | theorem projectedClass_map {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 26 | (hf : MapsTo f A B) (n : ℕ) (c : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).X n) |
| 27 | (hc : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X A).f n c ∈ Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains X A) n) |
| 28 | (hd : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection Y B).f n ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map f).f n c) ∈ |
| 29 | Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains Y B) n) : |
| 30 | AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f hf n (projectedClass X A n c hc) = |
| 31 | projectedClass Y B n ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map f).f n c) hd := by |
| 32 | change HomologicalComplex.homologyMap (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChainsMap f hf) n (Cohomology.Singular.ChainRepresentatives.chainClass _ n _) = _ |
| 33 | rw [Cohomology.Singular.EvaluationNaturality.chainClass_naturality] |
| 34 | apply congrArg (Cohomology.Singular.ChainRepresentatives.chainClass _ n) |
| 35 | apply Subtype.ext |
| 36 | exact ConcreteCategory.congr_hom |
| 37 | (HomologicalComplex.congr_hom (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection_naturality f hf) n) c |
| 38 | |
| 39 | def chartSourceToModel {X Y : TopCat.{0}} (e : OpenPartialHomeomorph X Y) : |
| 40 | TopCat.of e.source ⟶ Y := |
| 41 | (TopCat.isoOfHomeo (X := TopCat.of e.source) (Y := TopCat.of e.target) |
| 42 | e.toHomeomorphSourceTarget).hom ≫ AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion Y e.target |
| 43 | |
| 44 | theorem chartSourceToModel_mapsTo {X Y : TopCat.{0}} (e : OpenPartialHomeomorph X Y) |
| 45 | (K : Set X) (hKs : K ⊆ e.source) : |
| 46 | MapsTo (chartSourceToModel e) ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ (e '' K)ᶜ := by |
| 47 | intro x hx hy |
| 48 | exact hx ((AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.compactSupportChart_sourceTarget_mem e K hKs x).mpr hy) |
| 49 | |
| 50 | theorem compactSupportChartHomologyIso_from_source {X Y : TopCat.{0}} [T2Space X] [T2Space Y] |
| 51 | (e : OpenPartialHomeomorph X Y) (K : Set X) (hK : IsCompact K) (hKs : K ⊆ e.source) (n : ℕ) : |
| 52 | (AlgebraicGeometry.CycleClass.Geometric.CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso X e.source K hK e.open_source hKs n).hom ≫ |
| 53 | (AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.compactSupportChartHomologyIso e K hK hKs n).hom = |
| 54 | AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap (chartSourceToModel e) (chartSourceToModel_mapsTo e K hKs) n := by |
| 55 | rw [AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.compactSupportChartHomologyIso_hom, CategoryTheory.Iso.hom_inv_id_assoc] |
| 56 | simp only [AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.compactSupportChartSourceTargetIso, AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.homeomorphSupportHomologyIso, |
| 57 | AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyIso_hom, AlgebraicGeometry.CycleClass.Geometric.CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso_hom] |
| 58 | unfold AlgebraicGeometry.CycleClass.Geometric.CompactSupportExcision.Cycles.compactSupportExcisionChainMap AlgebraicGeometry.CycleClass.Geometric.LocalExcision.Cycles.relativeCoverInclusion |
| 59 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = |
| 60 | HomologicalComplex.homologyMap _ n |
| 61 | rw [← HomologicalComplex.homologyMap_comp, AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChainsMap_comp] |
| 62 | rfl |
| 63 | |
| 64 | theorem compactSupportChartHomologyIso_projectedClass {X Y : TopCat.{0}} [T2Space X] [T2Space Y] |
| 65 | (e : OpenPartialHomeomorph X Y) (K : Set X) (hK : IsCompact K) (hKs : K ⊆ e.source) (n : ℕ) |
| 66 | (c : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of e.source)).X n) |
| 67 | (hc : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of e.source) ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ).f n c ∈ |
| 68 | Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains (TopCat.of e.source) ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ) n) |
| 69 | (hambient : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X Kᶜ).f n |
| 70 | ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source)).f n c) ∈ |
| 71 | Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains X Kᶜ) n) |
| 72 | (hmodel : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection Y (e '' K)ᶜ).f n |
| 73 | ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (chartSourceToModel e)).f n c) ∈ |
| 74 | Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains Y (e '' K)ᶜ) n) : |
| 75 | (AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.compactSupportChartHomologyIso e K hK hKs n).hom |
| 76 | (projectedClass X Kᶜ n |
| 77 | ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source)).f n c) hambient) = |
| 78 | projectedClass Y (e '' K)ᶜ n |
| 79 | ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (chartSourceToModel e)).f n c) hmodel := by |
| 80 | let hf : MapsTo (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) |
| 81 | ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ Kᶜ := fun _ h => h |
| 82 | have hp := projectedClass_map (X := TopCat.of e.source) (Y := X) |
| 83 | (A := ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ) (B := Kᶜ) |
| 84 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) hf n c hc hambient |
| 85 | have h := ConcreteCategory.congr_hom |
| 86 | (compactSupportChartHomologyIso_from_source e K hK hKs n) |
| 87 | (projectedClass (TopCat.of e.source) ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ n c hc) |
| 88 | exact (congrArg (AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts.Cycles.compactSupportChartHomologyIso e K hK hKs n).hom hp.symm).trans |
| 89 | (h.trans (projectedClass_map (X := TopCat.of e.source) (Y := Y) |
| 90 | (A := ((AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ) (B := (e '' K)ᶜ) |
| 91 | (chartSourceToModel e) (chartSourceToModel_mapsTo e K hKs) n c hc hmodel)) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicTopology.FundamentalClass.ProjectedClasses.IntegrationConstruction |