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.Cohomology.Singular.Contractible |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.Augmentation |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality |
| 4 | |
| 5 | /-! # One Primitives -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OnePrimitives.Constructions.DegreeOnePrimitives |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DegreeTwo: normalized primitives of actual singular one-cocycles |
| 13 | |
| 14 | On a contractible space, a one-cocycle has a zero-cochain primitive. Fixing its |
| 15 | value at one point removes the constant ambiguity, so the primitive depends |
| 16 | linearly on the cocycle. This is the source of the period homomorphism on a |
| 17 | lattice covering. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory |
| 21 | |
| 22 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 23 | |
| 24 | /-- Equal coboundaries make the difference of point functions constant. -/ |
| 25 | theorem difference_point_value [PathConnectedSpace X] |
| 26 | (a b : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X 0) |
| 27 | (hd : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 a = (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 b) |
| 28 | (x y : X) : |
| 29 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom a x - (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom b x = |
| 30 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom a y - (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom b y := by |
| 31 | have hz : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 (a - b) = 0 := by |
| 32 | rw [map_sub, hd, sub_self] |
| 33 | have h := (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCoboundary_eq_zero_iff M X (a - b)).mp hz x y |
| 34 | (PathConnectedSpace.joined x y) |
| 35 | simpa only [map_sub, Pi.sub_apply] using h |
| 36 | |
| 37 | /-- On a path-connected space, a zero-cochain with zero coboundary is |
| 38 | determined by its value at a single point. -/ |
| 39 | theorem zeroCochain_eq_of_d_eq [PathConnectedSpace X] |
| 40 | (x₀ : X) (a b : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X 0) |
| 41 | (hd : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 a = (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 b) |
| 42 | (h₀ : (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom a x₀ = |
| 43 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom b x₀) : a = b := by |
| 44 | have hz : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 (a - b) = 0 := by |
| 45 | rw [map_sub, hd, sub_self] |
| 46 | have hp := (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCoboundary_eq_zero_iff M X (a - b)).mp hz |
| 47 | apply (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).toLinearEquiv.injective |
| 48 | ext x |
| 49 | have h := hp x₀ x (PathConnectedSpace.joined x₀ x) |
| 50 | simp only [map_sub, Pi.sub_apply, h₀, sub_self] at h |
| 51 | exact sub_eq_zero.mp h.symm |
| 52 | |
| 53 | /-- Every actual singular one-cocycle has a unique primitive normalized at |
| 54 | the chosen point of a contractible space. -/ |
| 55 | theorem existsUnique_normalizedPrimitive [ContractibleSpace X] (x₀ : X) |
| 56 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles M X 1) : |
| 57 | ∃! b : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X 0, |
| 58 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 b = c.1 ∧ |
| 59 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom b x₀ = 0 := by |
| 60 | obtain ⟨b, hb⟩ := AlgebraicTopology.Cohomology.Singular.Contractible.exists_singularPrimitive_of_contractible M X 0 c |
| 61 | let a : LocallyConstant X M := |
| 62 | LocallyConstant.const X ((AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom b x₀) |
| 63 | let k := AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero M X a |
| 64 | have hk : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 k = 0 := by |
| 65 | apply (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCoboundary_eq_zero_iff M X k).mpr |
| 66 | intro x y _ |
| 67 | change (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom |
| 68 | (AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero M X a) x = |
| 69 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom (AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero M X a) y |
| 70 | rw [AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_apply, AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_apply] |
| 71 | rfl |
| 72 | have hd : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 (b - k) = c.1 := by |
| 73 | rw [map_sub, hb, hk, sub_zero] |
| 74 | have h₀ : (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom (b - k) x₀ = 0 := by |
| 75 | rw [map_sub] |
| 76 | change _ - (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom k x₀ = 0 |
| 77 | rw [AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_apply] |
| 78 | exact sub_self _ |
| 79 | refine ⟨b - k, ⟨hd, h₀⟩, ?_⟩ |
| 80 | intro b' hb' |
| 81 | exact zeroCochain_eq_of_d_eq M X x₀ b' (b - k) |
| 82 | (hb'.1.trans hd.symm) (hb'.2.trans h₀.symm) |
| 83 | |
| 84 | variable [ContractibleSpace X] (x₀ : X) |
| 85 | |
| 86 | /-- The canonical primitive after fixing its value at the basepoint. -/ |
| 87 | def normalizedPrimitive (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles M X 1) : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X 0 := |
| 88 | (existsUnique_normalizedPrimitive M X x₀ c).choose |
| 89 | |
| 90 | theorem normalizedPrimitive_d (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles M X 1) : |
| 91 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 0 1 (normalizedPrimitive M X x₀ c) = c.1 := |
| 92 | (existsUnique_normalizedPrimitive M X x₀ c).choose_spec.1.1 |
| 93 | |
| 94 | @[simp] |
| 95 | theorem normalizedPrimitive_at_basepoint (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles M X 1) : |
| 96 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso M X).hom (normalizedPrimitive M X x₀ c) x₀ = 0 := |
| 97 | (existsUnique_normalizedPrimitive M X x₀ c).choose_spec.1.2 |
| 98 | |
| 99 | /-- Normalization makes the primitive operation genuinely linear. -/ |
| 100 | def normalizedPrimitiveLinearMap : |
| 101 | AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles M X 1 →ₗ[R] (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X 0 where |
| 102 | toFun := normalizedPrimitive M X x₀ |
| 103 | map_add' c d := by |
| 104 | apply zeroCochain_eq_of_d_eq M X x₀ |
| 105 | · rw [map_add, normalizedPrimitive_d, normalizedPrimitive_d, normalizedPrimitive_d] |
| 106 | rfl |
| 107 | · simp only [map_add, Pi.add_apply] |
| 108 | erw [normalizedPrimitive_at_basepoint, normalizedPrimitive_at_basepoint, |
| 109 | normalizedPrimitive_at_basepoint] |
| 110 | exact (add_zero 0).symm |
| 111 | map_smul' r c := by |
| 112 | apply zeroCochain_eq_of_d_eq M X x₀ |
| 113 | · rw [map_smul, normalizedPrimitive_d, normalizedPrimitive_d] |
| 114 | rfl |
| 115 | · simp only [map_smul, Pi.smul_apply, RingHom.id_apply] |
| 116 | erw [normalizedPrimitive_at_basepoint, normalizedPrimitive_at_basepoint] |
| 117 | exact (smul_zero r).symm |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OnePrimitives.Constructions.DegreeOnePrimitives |