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.BinarySmallRightCup |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.BinarySmallRelativeComparison |
| 3 | |
| 4 | /-! # Cochain Prescribed Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CochainPrescribedLift.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Lift a cochain through an actual cohomology equivalence while preserving its prescribed differential. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | theorem cochainClass_succ_eq_zero_iff (C : CochainComplex (ModuleCat.{0} ℚ) ℕ) (n : ℕ) |
| 17 | (u : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles C (n+1)) : |
| 18 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass C (n+1) u = 0 ↔ ∃ v : C.X n, C.d n (n+1) v = u.val := by |
| 19 | rw [AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_eq_zero_iff] |
| 20 | change (∃ v : (C.sc (n+1)).X₁, AlgebraicTopology.Cohomology.Singular.Representatives.cochainBoundaryMap C (n+1) v = u) ↔ _ |
| 21 | constructor |
| 22 | · rintro ⟨v,hv⟩ |
| 23 | exact (BinarySmallRightCup.Constructions.cochainBoundary_succ_iff C n u.val).mp ⟨v,congrArg Subtype.val hv⟩ |
| 24 | · intro hv |
| 25 | obtain ⟨v,hv⟩ := (BinarySmallRightCup.Constructions.cochainBoundary_succ_iff C n u.val).mpr hv |
| 26 | exact ⟨v,Subtype.ext hv⟩ |
| 27 | |
| 28 | theorem cochain_prescribed_lift {C D : CochainComplex (ModuleCat.{0} ℚ) ℕ} |
| 29 | (e : C ⟶ D) (n : ℕ) |
| 30 | (he : Function.Surjective (HomologicalComplex.homologyMap e n)) |
| 31 | (he' : Function.Injective (HomologicalComplex.homologyMap e (n+1))) |
| 32 | (u : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles C (n+1)) (w : D.X n) |
| 33 | (hw : D.d n (n+1) w = e.f (n+1) u.val) : |
| 34 | ∃ (v : C.X n) (z : (D.sc n).X₁), |
| 35 | C.d n (n+1) v = u.val ∧ (D.sc n).f z = e.f n v - w := by |
| 36 | have hu0 : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass C (n+1) u = 0 := by |
| 37 | apply he' |
| 38 | rw [map_zero, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 39 | exact (cochainClass_succ_eq_zero_iff D n (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap e (n+1) u)).mpr ⟨w,hw⟩ |
| 40 | obtain ⟨v₀,hv₀⟩ := (cochainClass_succ_eq_zero_iff C n u).mp hu0 |
| 41 | have hz : e.f n v₀ - w ∈ AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles D n := by |
| 42 | rw [AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff, map_sub] |
| 43 | have h := ConcreteCategory.congr_hom (e.comm n (n+1)) v₀ |
| 44 | change D.d n (n+1) (e.f n v₀) = e.f (n+1) (C.d n (n+1) v₀) at h |
| 45 | rw [h, hv₀, hw, sub_self] |
| 46 | let a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles D n := ⟨e.f n v₀ - w,hz⟩ |
| 47 | obtain ⟨t,ht⟩ := he (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass D n a) |
| 48 | obtain ⟨t,ht'⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective C n t |
| 49 | rw [← ht', AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] at ht |
| 50 | obtain ⟨z,hz⟩ := (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_eq_iff_exists D n a (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap e n t)).mp ht.symm |
| 51 | refine ⟨v₀-t.val,z,?_,?_⟩ |
| 52 | · rw [map_sub, hv₀, AlgebraicTopology.Cohomology.Singular.Evaluation.cochainCocycle_d_eq_zero _ _ _ t, sub_zero] |
| 53 | · rw [map_sub] |
| 54 | change (D.sc n).f z = e.f n v₀ - e.f n t.val - w |
| 55 | change (D.sc n).f z = (e.f n v₀ - w) - e.f n t.val at hz |
| 56 | rw [hz] |
| 57 | abel |
| 58 | |
| 59 | theorem binarySmallRelative_prescribed_lift (X : TopCat.{0}) (A B : Set X) |
| 60 | (hA : IsOpen A) (hB : IsOpen B) (n : ℕ) |
| 61 | (u : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)) (n+1)) |
| 62 | (w : (BinarySmallCochains.Constructions.binarySmallCochains X A B).X n) |
| 63 | (hw : (BinarySmallCochains.Constructions.binarySmallCochains X A B).d n (n+1) w = |
| 64 | (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B).f (n+1) u.val) : |
| 65 | ∃ (v : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)).X n) |
| 66 | (z : ((BinarySmallCochains.Constructions.binarySmallCochains X A B).sc n).X₁), |
| 67 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)).d n (n+1) v = u.val ∧ |
| 68 | ((BinarySmallCochains.Constructions.binarySmallCochains X A B).sc n).f z = |
| 69 | (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B).f n v - w := |
| 70 | cochain_prescribed_lift (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B) n |
| 71 | (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCohomologyMap_bijective X A B hA hB n).surjective |
| 72 | (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCohomologyMap_bijective X A B hA hB (n+1)).injective u w hw |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CochainPrescribedLift.Constructions |