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 | /-! # Binary Small Endomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.BinarySmallEndomorphism.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A cochain endomorphism compatible with both actual subspace restrictions acts on the binary-small relative cochain complex. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (X : TopCat.{0}) (A B : Set X) |
| 18 | (f : AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X ⟶ AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X) |
| 19 | |
| 20 | theorem endomorphism_restriction_zero (U : Set X) |
| 21 | (hU : Geometric.LocalHomology.Cycles.subspaceChainInclusion X U ≫ Geometric.HomologyWithSupports.Cycles.binarySmallComplementProjection X A B = 0) |
| 22 | (fU : AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) ⟶ |
| 23 | AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U)) |
| 24 | (hfU : AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X U ≫ fU = |
| 25 | f ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X U) |
| 26 | (n : ℕ) (c : (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).X n) : |
| 27 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X U).f n |
| 28 | (f.f n (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n c)) = 0 := by |
| 29 | have h := ConcreteCategory.congr_hom (HomologicalComplex.congr_hom hfU n) |
| 30 | (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n c) |
| 31 | change fU.f n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X U).f n |
| 32 | (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n c)) = _ at h |
| 33 | rw [HodgeConjecture.DegreeTwo.BinarySmallRightCup.Constructions.binarySmallCochainInclusion_restriction X A B U hU, map_zero] at h |
| 34 | exact h.symm |
| 35 | |
| 36 | variable |
| 37 | (fA : AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of A) ⟶ AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of A)) |
| 38 | (fB : AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of B) ⟶ AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of B)) |
| 39 | (hfA : AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A ≫ fA = |
| 40 | f ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A) |
| 41 | (hfB : AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X B ≫ fB = |
| 42 | f ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X B) |
| 43 | |
| 44 | def binaryEndomorphismFn (n : ℕ) (c : (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).X n) : |
| 45 | (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).X n := |
| 46 | HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainLift X A B n (f.f n (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n c)) |
| 47 | (endomorphism_restriction_zero X A B f A |
| 48 | (Geometric.HomologyWithSupports.Cycles.subspaceChainInclusion_binarySmallComplement_left X A B) fA hfA n c) |
| 49 | (endomorphism_restriction_zero X A B f B |
| 50 | (Geometric.HomologyWithSupports.Cycles.subspaceChainInclusion_binarySmallComplement_right X A B) fB hfB n c) |
| 51 | |
| 52 | theorem binaryEndomorphismFn_inclusion (n : ℕ) (c : (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).X n) : |
| 53 | HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n (binaryEndomorphismFn X A B f fA fB hfA hfB n c) = |
| 54 | f.f n (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n c) := |
| 55 | HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainLift_inclusion X A B n _ _ _ |
| 56 | |
| 57 | def binaryEndomorphism : HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B ⟶ HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B where |
| 58 | f n := ModuleCat.ofHom { |
| 59 | toFun := binaryEndomorphismFn X A B f fA fB hfA hfB n |
| 60 | map_add' := by |
| 61 | intro a b |
| 62 | apply HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion_injective X A B n |
| 63 | simp only [map_add, binaryEndomorphismFn_inclusion X A B f fA fB hfA hfB n] |
| 64 | map_smul' := by |
| 65 | intro r a |
| 66 | apply HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion_injective X A B n |
| 67 | simp only [map_smul, binaryEndomorphismFn_inclusion X A B f fA fB hfA hfB n, |
| 68 | RingHom.id_apply] } |
| 69 | comm' i j _ := by |
| 70 | apply ModuleCat.hom_ext |
| 71 | apply LinearMap.ext |
| 72 | intro c |
| 73 | apply HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion_injective X A B j |
| 74 | change HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B j |
| 75 | ((HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).d i j (binaryEndomorphismFn X A B f fA fB hfA hfB i c)) = |
| 76 | HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B j |
| 77 | (binaryEndomorphismFn X A B f fA fB hfA hfB j ((HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).d i j c)) |
| 78 | rw [HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion_d, binaryEndomorphismFn_inclusion, |
| 79 | binaryEndomorphismFn_inclusion, HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion_d] |
| 80 | exact ConcreteCategory.congr_hom (f.comm i j) _ |
| 81 | |
| 82 | theorem binaryEndomorphism_inclusion (n : ℕ) (c : (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochains X A B).X n) : |
| 83 | HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n ((binaryEndomorphism X A B f fA fB hfA hfB).f n c) = |
| 84 | f.f n (HodgeConjecture.DegreeTwo.BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B n c) := |
| 85 | binaryEndomorphismFn_inclusion X A B f fA fB hfA hfB n c |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.CycleClass.Thom.BinarySmallEndomorphism.Constructions |