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.DegreeTwo.PeriodSurjectivityOne |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Logarithms |
| 3 | import Mathlib.Analysis.Complex.CoveringMap |
| 4 | |
| 5 | /-! # Exponential Cocycle Q -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialCocycleQ.Constructions.ExponentialCocycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DegreeTwo: genuine singular cocycles from the exponential covering |
| 13 | |
| 14 | An additive rational functional on the complex logarithm plane gives endpoint |
| 15 | differences of lifted edges. Continuous logarithm lifts differ by one constant |
| 16 | integral period on a connected simplex, so these differences descend to an |
| 17 | actual singular cocycle on the punctured complex plane. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Opposite |
| 21 | open scoped Simplicial |
| 22 | open OAI.AlgebraicGeometry.DivisorClass.Chern.Logarithms.Construction |
| 23 | |
| 24 | abbrev Plane := TopCat.of ℂ |
| 25 | abbrev Punctured := TopCat.of {z : ℂ // z ≠ 0} |
| 26 | abbrev Q := ModuleCat.of ℚ ℚ |
| 27 | |
| 28 | /-- The actual exponential covering, with its nonzero codomain. -/ |
| 29 | def exponentialMap : Plane ⟶ Punctured := |
| 30 | TopCat.ofHom ⟨fun z => ⟨Complex.exp z, Complex.exp_ne_zero z⟩, |
| 31 | Complex.continuous_exp.subtype_mk _⟩ |
| 32 | |
| 33 | theorem exponentialMap_covering : IsCoveringMap exponentialMap := Complex.isCoveringMap_exp |
| 34 | |
| 35 | theorem exponentialMap_surjective : Function.Surjective exponentialMap := by |
| 36 | intro z |
| 37 | exact ⟨Complex.log z.val, Subtype.ext (Complex.exp_log z.property)⟩ |
| 38 | |
| 39 | /-- Two actual logarithm lifts on a connected space differ by a constant. -/ |
| 40 | theorem logarithm_difference_constant {S : Type} [TopologicalSpace S] [PreconnectedSpace S] |
| 41 | (a b : C(S, ℂ)) (hab : ∀ s, Complex.exp (a s) = Complex.exp (b s)) (s t : S) : |
| 42 | a s - b s = a t - b t := by |
| 43 | have h (x : S) : Complex.exp (a x) * Complex.exp (0 : ℂ) = Complex.exp (b x) := by |
| 44 | simpa only [Complex.exp_zero, mul_one] using hab x |
| 45 | have hl := DivisorClass.Chern.Logarithms.Construction.isLocallyConstant_logarithmicDefect a 0 b h |
| 46 | have he := congrArg (fun n : ℤ => (n : ℂ) * (2 * (Real.pi : ℂ) * Complex.I)) |
| 47 | (hl.apply_eq_of_preconnectedSpace s t) |
| 48 | simp only [ContinuousMap.zero_apply] at he |
| 49 | rw [← DivisorClass.Chern.Logarithms.Construction.logarithmicDefect_spec (a s) 0 (b s) (h s), |
| 50 | ← DivisorClass.Chern.Logarithms.Construction.logarithmicDefect_spec (a t) 0 (b t) (h t)] at he |
| 51 | simpa only [add_zero] using he |
| 52 | |
| 53 | variable (F : ℂ →+ ℚ) |
| 54 | |
| 55 | abbrev primitiveZeroCochain : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).X 0 := |
| 56 | PeriodSurjectivityOne.Constructions.PeriodSurjectivity.additiveZeroCochain F |
| 57 | |
| 58 | /-- Endpoint differences of the additive functional agree for every lift of an edge. -/ |
| 59 | theorem primitiveCoboundary_lift_independent (s t : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Plane 1) |
| 60 | (hst : (TopCat.toSSet.map exponentialMap).app (op ⦋1⦌) s = |
| 61 | (TopCat.toSSet.map exponentialMap).app (op ⦋1⦌) t) : |
| 62 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Plane) Q 1).hom |
| 63 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d 0 1 (primitiveZeroCochain F)) s = |
| 64 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Plane) Q 1).hom |
| 65 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d 0 1 (primitiveZeroCochain F)) t := by |
| 66 | let a := TopCat.toSSetObj₁Equiv s |
| 67 | let b := TopCat.toSSetObj₁Equiv t |
| 68 | let : PreconnectedSpace TopCat.I := by |
| 69 | constructor |
| 70 | rw [← TopCat.I.homeomorph.symm.surjective.range_eq] |
| 71 | exact isPreconnected_range TopCat.I.homeomorph.symm.continuous |
| 72 | have hab (x : TopCat.I) : Complex.exp (a x) = Complex.exp (b x) := |
| 73 | congrArg (fun u : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Punctured 1 => (TopCat.toSSetObj₁Equiv u x).val) hst |
| 74 | have hd := congrArg F (logarithm_difference_constant a.hom b.hom hab 1 0) |
| 75 | rw [map_sub, map_sub] at hd |
| 76 | rw [PeriodSurjectivityOne.Constructions.PeriodSurjectivity.additiveCoboundary_apply, PeriodSurjectivityOne.Constructions.PeriodSurjectivity.additiveCoboundary_apply] |
| 77 | exact sub_eq_sub_iff_sub_eq_sub.mp hd |
| 78 | |
| 79 | /-- A chosen continuous logarithm lift of a genuine singular edge. -/ |
| 80 | def edgeLift (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Punctured 1) : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Plane 1 := |
| 81 | (SingularCoveringLift.Constructions.SingularCovering.singularSimplex_map_surjective exponentialMap exponentialMap_covering |
| 82 | exponentialMap_surjective 1 s).choose |
| 83 | |
| 84 | theorem edgeLift_spec (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Punctured 1) : |
| 85 | (TopCat.toSSet.map exponentialMap).app (op ⦋1⦌) (edgeLift s) = s := |
| 86 | (SingularCoveringLift.Constructions.SingularCovering.singularSimplex_map_surjective exponentialMap exponentialMap_covering |
| 87 | exponentialMap_surjective 1 s).choose_spec |
| 88 | |
| 89 | /-- The actual rational singular one-cochain given by lifted endpoint differences. -/ |
| 90 | def oneCochain : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Punctured).X 1 := |
| 91 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Punctured) Q 1).inv |
| 92 | (fun s => (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Plane) Q 1).hom |
| 93 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d 0 1 (primitiveZeroCochain F)) (edgeLift s)) |
| 94 | |
| 95 | theorem oneCochain_apply (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Punctured 1) : |
| 96 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Punctured) Q 1).hom (oneCochain F) s = |
| 97 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Plane) Q 1).hom |
| 98 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d 0 1 (primitiveZeroCochain F)) (edgeLift s) := by |
| 99 | unfold oneCochain |
| 100 | rw [Iso.inv_hom_id_apply] |
| 101 | |
| 102 | /-- Pullback to the actual logarithm plane is exactly the original coboundary. -/ |
| 103 | theorem oneCochain_pullback : |
| 104 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q exponentialMap).f 1 (oneCochain F) = |
| 105 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d 0 1 (primitiveZeroCochain F) := by |
| 106 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Plane) Q 1).toLinearEquiv.injective |
| 107 | ext s |
| 108 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Plane) Q 1).hom |
| 109 | ((AlgebraicTopology.Cohomology.Singular.Functor.simplicialPullback Q (TopCat.toSSet.map exponentialMap)).f 1 (oneCochain F)) s = _ |
| 110 | rw [AlgebraicTopology.Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback, oneCochain_apply] |
| 111 | exact primitiveCoboundary_lift_independent F _ s (edgeLift_spec _) |
| 112 | |
| 113 | /-- Closedness is verified after injective actual cochain pullback to the covering. -/ |
| 114 | theorem oneCochain_closed : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Punctured).d 1 2 (oneCochain F) = 0 := by |
| 115 | apply SingularCoveringLift.Constructions.SingularCovering.singularPullback_injective exponentialMap exponentialMap_covering |
| 116 | exponentialMap_surjective Q 2 |
| 117 | rw [map_zero] |
| 118 | have hc := ConcreteCategory.congr_hom ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q exponentialMap).comm 1 2) |
| 119 | (oneCochain F) |
| 120 | change (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d 1 2 |
| 121 | ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q exponentialMap).f 1 (oneCochain F)) = |
| 122 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q exponentialMap).f 2 ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Punctured).d 1 2 (oneCochain F)) at hc |
| 123 | rw [← hc, oneCochain_pullback] |
| 124 | exact ConcreteCategory.congr_hom ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Plane).d_comp_d 0 1 2) |
| 125 | (primitiveZeroCochain F) |
| 126 | |
| 127 | def cocycle : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Punctured) 1 := |
| 128 | ⟨oneCochain F, (AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff _ _ _).mpr (oneCochain_closed F)⟩ |
| 129 | |
| 130 | /-- Every actual local logarithm pulls the cocycle back to its zero-cochain primitive. -/ |
| 131 | theorem localPrimitive {Y : TopCat.{0}} (g : Y ⟶ Punctured) (b : Y ⟶ Plane) |
| 132 | (hb : b ≫ exponentialMap = g) : |
| 133 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains Q Y).d 0 1 ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q b).f 0 (primitiveZeroCochain F)) = |
| 134 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q g).f 1 (oneCochain F) := by |
| 135 | rw [SingularPeriodsD.Constructions.SingularPeriods.zeroPullback_d, ← oneCochain_pullback F] |
| 136 | change ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q exponentialMap ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback Q b).f 1) (oneCochain F) = _ |
| 137 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, hb] |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialCocycleQ.Constructions.ExponentialCocycle |