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.CycleClass.Thom.Finite.SupportHomologySpanning |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration |
| 3 | |
| 4 | /-! # Point Cohomology -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions |
| 11 | |
| 12 | /-! Canonical point classes form the dual basis on an actual finite support. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.CanonicalLocalDual.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 23 | [ChartedSpace (Fin d → ℂ) M] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] |
| 24 | |
| 25 | theorem pointClass_insert_self (K : Set M) (U : Opens M) (x : U) (hx : x.val ∈ K) |
| 26 | (hUK : ∀ y : U, y.val ∈ K → y = x) : |
| 27 | AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kᶜ (2 * d) |
| 28 | (CompactPointIntegration.Constructions.compactPointClass d K x.val hx) |
| 29 | (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K U x hUK (2 * d) |
| 30 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x)) = 1 := by |
| 31 | rw [CompactPointIntegration.Constructions.compactPointClass, AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation_naturality] |
| 32 | exact (congrArg (AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) ({x.val}ᶜ) (2 * d) |
| 33 | (CanonicalLocalDual.Constructions.canonicalLocalDual d x.val)) (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion_fundamental_self d K U x hx hUK)).trans |
| 34 | (CanonicalLocalDual.Constructions.canonicalLocalDual_integralEvaluation d x.val) |
| 35 | |
| 36 | omit [T2Space M] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] in |
| 37 | theorem pointClass_insert_other (K : Set M) (U : Opens M) (x : U) |
| 38 | (hUK : ∀ y : U, y.val ∈ K → y = x) (z : M) (hz : z ∈ K) (hzx : z ≠ x.val) : |
| 39 | AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kᶜ (2 * d) |
| 40 | (CompactPointIntegration.Constructions.compactPointClass d K z hz) |
| 41 | (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K U x hUK (2 * d) |
| 42 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x)) = 0 := by |
| 43 | rw [CompactPointIntegration.Constructions.compactPointClass, AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation_naturality] |
| 44 | have h := ConcreteCategory.congr_hom |
| 45 | (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion_to_other K U x hUK z hz hzx (2 * d)) |
| 46 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x) |
| 47 | exact (congrArg (AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) ({z}ᶜ) (2 * d) |
| 48 | (CanonicalLocalDual.Constructions.canonicalLocalDual d z)) h).trans (map_zero _) |
| 49 | |
| 50 | theorem cohomology_eq_point_sum (K : Set M) [Fintype K] (U : K → Opens M) |
| 51 | (hxU : ∀ x : K, x.val ∈ U x) |
| 52 | (hUK : ∀ (x : K) (y : U x), y.val ∈ K → y.val = x.val) |
| 53 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of M) Kᶜ (2 * d)) : |
| 54 | c = ∑ x : K, |
| 55 | AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kᶜ (2 * d) c |
| 56 | (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K (U x) ⟨x.val, hxU x⟩ |
| 57 | (fun y hy => Subtype.ext (hUK x y hy)) (2 * d) |
| 58 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U x) ⟨x.val, hxU x⟩)) • |
| 59 | CompactPointIntegration.Constructions.compactPointClass d K x.val x.property := by |
| 60 | classical |
| 61 | apply (AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalUniversalCoefficientEquiv (TopCat.of M) Kᶜ (2 * d)).injective |
| 62 | apply SupportHomologySpanning.Constructions.functional_ext d K U hxU hUK |
| 63 | intro x |
| 64 | change AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kᶜ (2 * d) c _ = |
| 65 | AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kᶜ (2 * d) _ _ |
| 66 | simp only [map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply, smul_eq_mul] |
| 67 | rw [Finset.sum_eq_single x] |
| 68 | · rw [pointClass_insert_self d K (U x) ⟨x.val, hxU x⟩ x.property |
| 69 | (fun y hy => Subtype.ext (hUK x y hy)), mul_one] |
| 70 | · intro y _ hyx |
| 71 | have hv : y.val ≠ x.val := fun he => hyx (Subtype.ext he) |
| 72 | rw [pointClass_insert_other d K (U x) ⟨x.val, hxU x⟩ |
| 73 | (fun z hz => Subtype.ext (hUK x z hz)) y.val y.property hv, mul_zero] |
| 74 | · simp |
| 75 | |
| 76 | end AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions |
| 77 | |
| 78 | namespace AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions.LocalCoefficients |
| 79 | |
| 80 | /-! Actual restrictions on isolating neighborhoods determine finite point coefficients. -/ |
| 81 | |
| 82 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 83 | open scoped _root_.Manifold |
| 84 | |
| 85 | open OAI.AlgebraicGeometry.CycleClass.Thom.CanonicalLocalDual.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions |
| 86 | |
| 87 | set_option backward.isDefEq.respectTransparency false |
| 88 | set_option backward.isDefEq.respectTransparency.types false |
| 89 | |
| 90 | theorem isolationMapsTo {M : Type} [TopologicalSpace M] (K : Set M) (U : Opens M) (x : U) |
| 91 | (hUK : ∀ y : U, y.val ∈ K → y = x) : |
| 92 | Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) ({x}ᶜ) Kᶜ := |
| 93 | fun y hy h => hy (hUK y h) |
| 94 | |
| 95 | variable (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 96 | [ChartedSpace (Fin d → ℂ) M] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] |
| 97 | |
| 98 | omit [T2Space M] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] in |
| 99 | theorem local_coefficient (K : Set M) (U : Opens M) (x : U) |
| 100 | (hUK : ∀ y : U, y.val ∈ K → y = x) |
| 101 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of M) Kᶜ (2 * d)) |
| 102 | (w : ℚ) |
| 103 | (hc : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 104 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) (isolationMapsTo K U x hUK) (2 * d) c = |
| 105 | w • CanonicalLocalDual.Constructions.canonicalLocalDual d x) : |
| 106 | AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kᶜ (2 * d) c |
| 107 | (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K U x hUK (2 * d) |
| 108 | (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x)) = w := by |
| 109 | have h := AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation_naturality |
| 110 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) (isolationMapsTo K U x hUK) |
| 111 | (2 * d) c (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x) |
| 112 | refine h.symm.trans ?_ |
| 113 | rw [hc, map_smul, LinearMap.smul_apply, CanonicalLocalDual.Constructions.canonicalLocalDual_integralEvaluation, |
| 114 | smul_eq_mul, mul_one] |
| 115 | |
| 116 | theorem cohomology_eq_sum_of_local (K : Set M) [Fintype K] (U : K → Opens M) |
| 117 | (hxU : ∀ x : K, x.val ∈ U x) |
| 118 | (hUK : ∀ (x : K) (y : U x), y.val ∈ K → y.val = x.val) |
| 119 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of M) Kᶜ (2 * d)) (w : K → ℚ) |
| 120 | (hc : ∀ x : K, AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 121 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U x : Set M)) |
| 122 | (isolationMapsTo K (U x) ⟨x.val, hxU x⟩ (fun y hy => Subtype.ext (hUK x y hy))) |
| 123 | (2 * d) c = w x • CanonicalLocalDual.Constructions.canonicalLocalDual d (⟨x.val, hxU x⟩ : U x)) : |
| 124 | c = ∑ x : K, w x • CompactPointIntegration.Constructions.compactPointClass d K x.val x.property := by |
| 125 | classical |
| 126 | refine (cohomology_eq_point_sum d K U hxU hUK c).trans ?_ |
| 127 | apply Finset.sum_congr rfl |
| 128 | intro x _ |
| 129 | rw [local_coefficient d K (U x) ⟨x.val, hxU x⟩ |
| 130 | (fun y hy => Subtype.ext (hUK x y hy)) c (w x) (hc x)] |
| 131 | |
| 132 | end AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions.LocalCoefficients |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI |