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.WindingComparisonEq |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PeriodEdges |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LoopEvaluationEq |
| 4 | |
| 5 | /-! # Winding Normalization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.WindingNormalization.Constructions.ExponentialCocycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DegreeTwo: a nonzero winding class with its actual singular-loop normalization |
| 13 | |
| 14 | The lifted-edge cocycle evaluates to one on the positive exponential loop. |
| 15 | The existing Cech comparison therefore gives value minus one for its |
| 16 | logarithm-branch winding class. In particular that class is not zero. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Opposite |
| 20 | open scoped Simplicial |
| 21 | |
| 22 | /-- The actual positive exponential loop, lifted by the straight segment to `2πi`. -/ |
| 23 | def standardLoop : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured 1 := |
| 24 | (TopCat.toSSet.map ExponentialCocycleQ.Constructions.ExponentialCocycle.exponentialMap).app (op ⦋1⦌) |
| 25 | (PeriodEdges.Constructions.SingularPeriods.vectorEdge (2 * (Real.pi : ℂ) * Complex.I)) |
| 26 | |
| 27 | theorem standardLoop_closed : |
| 28 | (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured).δ 0 standardLoop = |
| 29 | (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured).δ 1 standardLoop := by |
| 30 | apply TopCat.toSSetObj₀Equiv.injective |
| 31 | erw [← TopCat.toSSetObj₁Equiv_apply_one, ← TopCat.toSSetObj₁Equiv_apply_zero] |
| 32 | change ExponentialCocycleQ.Constructions.ExponentialCocycle.exponentialMap (TopCat.toSSetObj₁Equiv |
| 33 | (PeriodEdges.Constructions.SingularPeriods.vectorEdge (2 * (Real.pi : ℂ) * Complex.I)) 1) = |
| 34 | ExponentialCocycleQ.Constructions.ExponentialCocycle.exponentialMap (TopCat.toSSetObj₁Equiv |
| 35 | (PeriodEdges.Constructions.SingularPeriods.vectorEdge (2 * (Real.pi : ℂ) * Complex.I)) 0) |
| 36 | rw [PeriodEdges.Constructions.SingularPeriods.vectorEdge_one, PeriodEdges.Constructions.SingularPeriods.vectorEdge_zero] |
| 37 | apply Subtype.ext |
| 38 | exact Complex.exp_two_pi_mul_I.trans Complex.exp_zero.symm |
| 39 | |
| 40 | variable (F : ℂ →ₗ[ℚ] ℚ) (hF : F (2 * (Real.pi : ℂ) * Complex.I) = 1) |
| 41 | |
| 42 | include hF in |
| 43 | /-- The genuine lifted-edge cocycle has value one on this explicit singular loop. -/ |
| 44 | theorem standardLoop_cocycle_evaluation : |
| 45 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q standardLoop |
| 46 | (ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom).val = 1 := by |
| 47 | let s := PeriodEdges.Constructions.SingularPeriods.vectorEdge (2 * (Real.pi : ℂ) * Complex.I) |
| 48 | have h := congrArg (fun c => (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Plane) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q 1).hom c s) |
| 49 | (ExponentialCocycleQ.Constructions.ExponentialCocycle.oneCochain_pullback F.toAddMonoidHom) |
| 50 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Plane) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q 1).hom |
| 51 | ((AlgebraicTopology.Cohomology.Singular.Functor.simplicialPullback ExponentialCocycleQ.Constructions.ExponentialCocycle.Q (TopCat.toSSet.map ExponentialCocycleQ.Constructions.ExponentialCocycle.exponentialMap)).f 1 (ExponentialCocycleQ.Constructions.ExponentialCocycle.oneCochain F.toAddMonoidHom)) s = _ at h |
| 52 | rw [AlgebraicTopology.Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback, AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso_hom_apply, |
| 53 | PeriodSurjectivityOne.Constructions.PeriodSurjectivity.additiveCoboundary_apply] at h |
| 54 | change AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q standardLoop |
| 55 | (ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom).val = |
| 56 | F (TopCat.toSSetObj₁Equiv s 1) - F (TopCat.toSSetObj₁Equiv s 0) at h |
| 57 | rw [PeriodEdges.Constructions.SingularPeriods.vectorEdge_one, PeriodEdges.Constructions.SingularPeriods.vectorEdge_zero, map_zero, sub_zero, hF] at h |
| 58 | exact h |
| 59 | |
| 60 | include hF in |
| 61 | /-- Its cohomology class is nonzero because coboundaries vanish on this loop. -/ |
| 62 | theorem cocycle_class_ne_zero : |
| 63 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains ExponentialCocycleQ.Constructions.ExponentialCocycle.Q ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) 1 (ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom) ≠ 0 := by |
| 64 | intro hz |
| 65 | have he := LoopEvaluationEq.Constructions.LoopEvaluation.cocycle_evaluation_eq (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q |
| 66 | (ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom) 0 (by simpa only [map_zero] using hz) |
| 67 | standardLoop standardLoop_closed |
| 68 | rw [standardLoop_cocycle_evaluation F hF] at he |
| 69 | change (1 : ℚ) = AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q standardLoop 0 at he |
| 70 | rw [map_zero] at he |
| 71 | exact one_ne_zero he |
| 72 | |
| 73 | /-- The tautological nonvanishing function on the punctured plane. -/ |
| 74 | def tautologicalFunction : C(ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured, ℂ) := ⟨Subtype.val, continuous_subtype_val⟩ |
| 75 | |
| 76 | /-- The already constructed logarithm-branch winding class of the coordinate function. -/ |
| 77 | def universalWindingClass := DivisorClass.Chern.WindingCech.RationalCech.logarithmicWindingClass ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured tautologicalFunction |
| 78 | (fun z => z.property) |
| 79 | |
| 80 | include hF in |
| 81 | theorem universalWindingClass_eq : |
| 82 | universalWindingClass = -AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains ExponentialCocycleQ.Constructions.ExponentialCocycle.Q ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) 1 |
| 83 | (ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom) := |
| 84 | WindingComparisonEq.Constructions.WindingComparison.branchWindingClass_eq_neg_exponentialClass |
| 85 | (DivisorClass.Chern.WindingCech.RationalCech.functionLogCover ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured tautologicalFunction) F hF |
| 86 | (DivisorClass.Chern.WindingCech.RationalCech.functionLogBranches ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured tautologicalFunction) |
| 87 | (DivisorClass.Chern.WindingCech.RationalCech.functionLogBranches_exp ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured tautologicalFunction (fun z => z.property)) |
| 88 | (DivisorClass.Chern.WindingCech.RationalCech.functionLogCover_covers ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured tautologicalFunction (fun z => z.property)) |
| 89 | (DivisorClass.Chern.WindingCech.RationalCech.functionLogBranches_compatible ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured tautologicalFunction (fun z => z.property)) |
| 90 | |
| 91 | omit F hF in |
| 92 | /-- A rational linear functional normalized on the actual nonzero exponential period exists. -/ |
| 93 | theorem exists_normalizedFunctional : |
| 94 | ∃ F : ℂ →ₗ[ℚ] ℚ, F (2 * (Real.pi : ℂ) * Complex.I) = 1 := |
| 95 | Module.Projective.exists_dual_eq_one ℚ Complex.two_pi_I_ne_zero |
| 96 | |
| 97 | omit F hF in |
| 98 | /-- The actual logarithm-branch winding construction gives a nonzero rational class. -/ |
| 99 | theorem universalWindingClass_ne_zero : universalWindingClass ≠ 0 := by |
| 100 | obtain ⟨F, hF⟩ := exists_normalizedFunctional |
| 101 | rw [universalWindingClass_eq F hF, neg_ne_zero] |
| 102 | exact cocycle_class_ne_zero F hF |
| 103 | |
| 104 | /-- Any genuine singular cocycle representing the logarithm-branch winding class |
| 105 | evaluates to minus one on the actual positive exponential loop. -/ |
| 106 | theorem universalWindingClass_loop_evaluation |
| 107 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains ExponentialCocycleQ.Constructions.ExponentialCocycle.Q ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) 1) |
| 108 | (hc : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains ExponentialCocycleQ.Constructions.ExponentialCocycle.Q ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) 1 c = universalWindingClass) : |
| 109 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q standardLoop c.val = -1 := by |
| 110 | obtain ⟨F, hF⟩ := exists_normalizedFunctional |
| 111 | have he := LoopEvaluationEq.Constructions.LoopEvaluation.cocycle_evaluation_eq (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q |
| 112 | c (-(ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom)) |
| 113 | (by rw [map_neg, hc, universalWindingClass_eq F hF]) standardLoop standardLoop_closed |
| 114 | change _ = AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj ExponentialCocycleQ.Constructions.ExponentialCocycle.Punctured) ExponentialCocycleQ.Constructions.ExponentialCocycle.Q standardLoop |
| 115 | (-(ExponentialCocycleQ.Constructions.ExponentialCocycle.cocycle F.toAddMonoidHom).val) at he |
| 116 | rw [map_neg, standardLoop_cocycle_evaluation F hF] at he |
| 117 | exact he |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.WindingNormalization.Constructions.ExponentialCocycle |