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.WindingCech |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.WindingComparisonD |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport |
| 4 | |
| 5 | /-! # Winding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.Winding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ChernClass: supported winding and invariance under extending units |
| 13 | |
| 14 | The actual connecting map of a pair turns winding on the complement into a |
| 15 | relative degree-two class. Multiplication by any nonvanishing function on the |
| 16 | whole ambient space leaves this relative class unchanged, by exactness and |
| 17 | proved singular naturality. Integer powers have their actual multiplicity. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | open OAI.AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | set_option backward.defeqAttrib.useBackward true |
| 26 | |
| 27 | variable (X : TopCat.{0}) |
| 28 | |
| 29 | /-- The product law transfers through the proved Cech-to-singular comparison. -/ |
| 30 | theorem singularWindingClass_mul (f g : C(X, ℂ)) |
| 31 | (hf : ∀ x, f x ≠ 0) (hg : ∀ x, g x ≠ 0) : |
| 32 | WindingSingular.singularWindingClass X (f * g) (fun x => mul_ne_zero (hf x) (hg x)) = |
| 33 | WindingSingular.singularWindingClass X f hf + WindingSingular.singularWindingClass X g hg := by |
| 34 | apply neg_injective |
| 35 | have h := WindingCech.RationalCech.logarithmicWindingClass_mul X f g hf hg |
| 36 | simpa only [WindingComparisonD.RationalCech.logarithmicWindingClass_eq_neg_singularWindingClass, neg_add] using h |
| 37 | |
| 38 | theorem singularWindingClass_int_power (g f : C(X, ℂ)) |
| 39 | (hg : ∀ x, g x ≠ 0) (hf : ∀ x, f x ≠ 0) (m : ℤ) |
| 40 | (hfg : ∀ x, f x = g x ^ m) : |
| 41 | WindingSingular.singularWindingClass X f hf = m • WindingSingular.singularWindingClass X g hg := by |
| 42 | apply neg_injective |
| 43 | have h := WindingCech.RationalCech.logarithmicWindingClass_int_power X g f hg hf m hfg |
| 44 | simpa only [WindingComparisonD.RationalCech.logarithmicWindingClass_eq_neg_singularWindingClass, smul_neg] using h |
| 45 | |
| 46 | variable (A : Set X) |
| 47 | |
| 48 | /-- The genuine degree-two connecting class of the complement's winding. -/ |
| 49 | def supportedWindingClass (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) : |
| 50 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A 2 := |
| 51 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A 1 (WindingSingular.singularWindingClass (TopCat.of A) g hg) |
| 52 | |
| 53 | theorem supportedWindingClass_congr (g f : C(A, ℂ)) |
| 54 | (hg : ∀ x, g x ≠ 0) (hf : ∀ x, f x ≠ 0) (h : g = f) : |
| 55 | supportedWindingClass X A g hg = supportedWindingClass X A f hf := by |
| 56 | subst f |
| 57 | rfl |
| 58 | |
| 59 | /-- The logarithmic Cech construction gives the same relative class, with |
| 60 | its now-proved minus sign. -/ |
| 61 | theorem supportedWindingClass_logarithmic (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) : |
| 62 | supportedWindingClass X A g hg = |
| 63 | -AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A 1 |
| 64 | (WindingCech.RationalCech.logarithmicWindingClass (TopCat.of A) g hg) := by |
| 65 | rw [WindingComparisonD.RationalCech.logarithmicWindingClass_eq_neg_singularWindingClass, map_neg, neg_neg] |
| 66 | rfl |
| 67 | |
| 68 | theorem supportedWindingClass_mul (f g : C(A, ℂ)) |
| 69 | (hf : ∀ x, f x ≠ 0) (hg : ∀ x, g x ≠ 0) : |
| 70 | supportedWindingClass X A (f * g) (fun x => mul_ne_zero (hf x) (hg x)) = |
| 71 | supportedWindingClass X A f hf + supportedWindingClass X A g hg := by |
| 72 | unfold supportedWindingClass |
| 73 | rw [singularWindingClass_mul, map_add] |
| 74 | |
| 75 | theorem supportedWindingClass_int_power (g f : C(A, ℂ)) |
| 76 | (hg : ∀ x, g x ≠ 0) (hf : ∀ x, f x ≠ 0) (m : ℤ) |
| 77 | (hfg : ∀ x, f x = g x ^ m) : |
| 78 | supportedWindingClass X A f hf = m • supportedWindingClass X A g hg := by |
| 79 | unfold supportedWindingClass |
| 80 | rw [singularWindingClass_int_power (TopCat.of A) g f hg hf m hfg, map_zsmul] |
| 81 | |
| 82 | /-- A nonvanishing function which extends across the support contributes |
| 83 | zero, even when it has no global continuous logarithm. -/ |
| 84 | theorem supportedWindingClass_extending_unit (u : C(X, ℂ)) (hu : ∀ x, u x ≠ 0) : |
| 85 | supportedWindingClass X A (u.comp ⟨Subtype.val, continuous_subtype_val⟩) |
| 86 | (fun x => hu x.val) = 0 := by |
| 87 | unfold supportedWindingClass |
| 88 | have hn := WindingSingular.singularWindingClass_naturality (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A) u hu |
| 89 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCohomologyRestriction (ModuleCat.of ℚ ℚ) X A 1 |
| 90 | (WindingSingular.singularWindingClass X u hu) = |
| 91 | WindingSingular.singularWindingClass (TopCat.of A) (u.comp ⟨Subtype.val, continuous_subtype_val⟩) |
| 92 | (fun x => hu x.val) at hn |
| 93 | rw [← hn] |
| 94 | exact ConcreteCategory.congr_hom |
| 95 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCohomologyRestriction_connecting (ModuleCat.of ℚ ℚ) X A 1) |
| 96 | (WindingSingular.singularWindingClass X u hu) |
| 97 | |
| 98 | /-- Changing a local equation by an actual ambient unit preserves its |
| 99 | supported class; no compatibility of divisor or Chern classes is assumed. -/ |
| 100 | theorem supportedWindingClass_mul_extending_unit (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) |
| 101 | (u : C(X, ℂ)) (hu : ∀ x, u x ≠ 0) : |
| 102 | supportedWindingClass X A (g * (u.comp ⟨Subtype.val, continuous_subtype_val⟩)) |
| 103 | (fun x => mul_ne_zero (hg x) (hu x.val)) = supportedWindingClass X A g hg := by |
| 104 | rw [supportedWindingClass_mul X A g _ hg (fun x => hu x.val), |
| 105 | supportedWindingClass_extending_unit, add_zero] |
| 106 | |
| 107 | /-- The local multiplicity survives multiplication by an actual extending unit. -/ |
| 108 | theorem supportedWindingClass_unit_power (g f : C(A, ℂ)) |
| 109 | (hg : ∀ x, g x ≠ 0) (hf : ∀ x, f x ≠ 0) |
| 110 | (u : C(X, ℂ)) (hu : ∀ x, u x ≠ 0) (m : ℤ) |
| 111 | (hfg : ∀ x, f x = g x ^ m * u x.val) : |
| 112 | supportedWindingClass X A f hf = m • supportedWindingClass X A g hg := by |
| 113 | let v := WindingCech.RationalCech.nonvanishingPower (TopCat.of A) g hg m |
| 114 | have hv : ∀ x, v x ≠ 0 := fun x => zpow_ne_zero m (hg x) |
| 115 | have hfun : f = v * (u.comp ⟨Subtype.val, continuous_subtype_val⟩) := ContinuousMap.ext hfg |
| 116 | subst f |
| 117 | rw [supportedWindingClass_mul_extending_unit X A v hv u hu] |
| 118 | exact supportedWindingClass_int_power X A g v hg hv m (fun _ => rfl) |
| 119 | |
| 120 | /-- Forgetting support kills the connecting class of a single global equation. -/ |
| 121 | theorem supportedWindingClass_absolute_zero (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) : |
| 122 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X A 2 |
| 123 | (supportedWindingClass X A g hg) = 0 := |
| 124 | ConcreteCategory.congr_hom |
| 125 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_inclusion (ModuleCat.of ℚ ℚ) X A 1) |
| 126 | (WindingSingular.singularWindingClass (TopCat.of A) g hg) |
| 127 | |
| 128 | /-- Pullback of pairs preserves the supported class of the actual composite function. -/ |
| 129 | theorem supportedWindingClass_pullback {Y : TopCat.{0}} (f : Y ⟶ X) (B : Set Y) |
| 130 | (hBA : Set.MapsTo f B A) (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) : |
| 131 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hBA 2 |
| 132 | (supportedWindingClass X A g hg) = |
| 133 | supportedWindingClass Y B (g.comp (CycleClass.Geometric.LocalHomology.Cycles.subspaceMap f hBA).hom) |
| 134 | (fun x => hg (CycleClass.Geometric.LocalHomology.Cycles.subspaceMap f hBA x)) := by |
| 135 | have h := ConcreteCategory.congr_hom |
| 136 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_naturality (ModuleCat.of ℚ ℚ) f hBA 1) |
| 137 | (WindingSingular.singularWindingClass (TopCat.of A) g hg) |
| 138 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hBA 2 |
| 139 | (supportedWindingClass X A g hg) = |
| 140 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) Y B 1 |
| 141 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (CycleClass.Geometric.LocalHomology.Cycles.subspaceMap f hBA) 1 |
| 142 | (WindingSingular.singularWindingClass (TopCat.of A) g hg)) at h |
| 143 | rw [WindingSingular.singularWindingClass_naturality] at h |
| 144 | exact h |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.Winding |