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.RelativeCupHomotopy |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SheafComplexLift |
| 3 | |
| 4 | /-! # Sheaf Lift Homotopy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SheafLiftHomotopy.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sheafification preserves the actual primitive identities used in the good shift. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {R : Type} [Ring R] {X : TopCat.{0}} |
| 17 | |
| 18 | def sheafDegreeLift {P : X.Presheaf (ModuleCat.{0} R)} |
| 19 | {F : TopCat.Sheaf (ModuleCat.{0} R) X} (f : P ⟶ F.obj) : |
| 20 | (presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R)).obj P ⟶ F := |
| 21 | ⟨CategoryTheory.sheafifyLift (Opens.grothendieckTopology X) f F.property⟩ |
| 22 | |
| 23 | theorem sheafDegreeLift_unit {P : X.Presheaf (ModuleCat.{0} R)} |
| 24 | {F : TopCat.Sheaf (ModuleCat.{0} R) X} (f : P ⟶ F.obj) : |
| 25 | CategoryTheory.toSheafify (Opens.grothendieckTopology X) P ≫ |
| 26 | (sheafDegreeLift f).hom = f := |
| 27 | CategoryTheory.toSheafify_sheafifyLift _ _ _ |
| 28 | |
| 29 | theorem sheafDegreeLift_sub {P : X.Presheaf (ModuleCat.{0} R)} |
| 30 | {F : TopCat.Sheaf (ModuleCat.{0} R) X} (f g : P ⟶ F.obj) : |
| 31 | sheafDegreeLift (f-g) = sheafDegreeLift f - sheafDegreeLift g := by |
| 32 | apply Sheaf.hom_ext |
| 33 | apply CategoryTheory.sheafify_hom_ext _ _ _ F.property |
| 34 | change CategoryTheory.toSheafify _ P ≫ (sheafDegreeLift (f-g)).hom = |
| 35 | CategoryTheory.toSheafify _ P ≫ ((sheafDegreeLift f).hom - (sheafDegreeLift g).hom) |
| 36 | rw [sheafDegreeLift_unit, comp_sub, sheafDegreeLift_unit, sheafDegreeLift_unit] |
| 37 | |
| 38 | theorem sheafDegreeLift_add {P : X.Presheaf (ModuleCat.{0} R)} |
| 39 | {F : TopCat.Sheaf (ModuleCat.{0} R) X} (f g : P ⟶ F.obj) : |
| 40 | sheafDegreeLift (f+g) = sheafDegreeLift f + sheafDegreeLift g := by |
| 41 | apply Sheaf.hom_ext |
| 42 | apply CategoryTheory.sheafify_hom_ext _ _ _ F.property |
| 43 | change CategoryTheory.toSheafify _ P ≫ (sheafDegreeLift (f+g)).hom = |
| 44 | CategoryTheory.toSheafify _ P ≫ ((sheafDegreeLift f).hom + (sheafDegreeLift g).hom) |
| 45 | rw [sheafDegreeLift_unit, comp_add, sheafDegreeLift_unit, sheafDegreeLift_unit] |
| 46 | |
| 47 | theorem sheafDegreeLift_precomp {P Q : X.Presheaf (ModuleCat.{0} R)} |
| 48 | {F : TopCat.Sheaf (ModuleCat.{0} R) X} (f : P ⟶ Q) (g : Q ⟶ F.obj) : |
| 49 | sheafDegreeLift (f ≫ g) = |
| 50 | (presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R)).map f ≫ |
| 51 | sheafDegreeLift g := by |
| 52 | apply Sheaf.hom_ext |
| 53 | exact (CategoryTheory.sheafifyMap_sheafifyLift _ f g F.property).symm |
| 54 | |
| 55 | theorem sheafDegreeLift_postcomp {P : X.Presheaf (ModuleCat.{0} R)} |
| 56 | {F G : TopCat.Sheaf (ModuleCat.{0} R) X} (f : P ⟶ F.obj) (g : F ⟶ G) : |
| 57 | sheafDegreeLift (f ≫ g.hom) = sheafDegreeLift f ≫ g := by |
| 58 | apply Sheaf.hom_ext |
| 59 | exact CategoryTheory.sheafifyLift_comp _ f F.property g.hom G.property |
| 60 | |
| 61 | variable {K : CochainComplex (X.Presheaf (ModuleCat.{0} R)) ℕ} |
| 62 | variable {L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} |
| 63 | |
| 64 | def sheafLiftTwoGoodShiftHomotopy |
| 65 | (f g : K ⟶ AlgebraicTopology.Cohomology.Singular.SheafSections.sheafUnderlyingCochainComplex (L.restriction (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2))) |
| 66 | (h : ∀ n, K.X (n+1) ⟶ (L.X (2+n)).obj) (v : K.X 0 ⟶ (L.X 1).obj) |
| 67 | (hzero : f.f 0 - g.f 0 = K.d 0 1 ≫ h 0 + v ≫ (L.d 1 2).hom) |
| 68 | (hsucc : ∀ n, f.f (n+1) - g.f (n+1) = |
| 69 | K.d (n+1) (n+2) ≫ h (n+1) + h n ≫ (L.d (2+n) (2+(n+1))).hom) : |
| 70 | Homotopy (SheafComplexLift.Constructions.sheafComplexLift f ≫ L.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2)) |
| 71 | (SheafComplexLift.Constructions.sheafComplexLift g ≫ L.restrictionToTruncGE' (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding 2)) := by |
| 72 | apply RelativeCupHomotopy.Constructions.cochainTwoGoodShiftHomotopy (SheafComplexLift.Constructions.sheafComplexLift f) (SheafComplexLift.Constructions.sheafComplexLift g) |
| 73 | (fun n => sheafDegreeLift (h n)) (sheafDegreeLift v) |
| 74 | · have hz := congrArg sheafDegreeLift hzero |
| 75 | rw [sheafDegreeLift_sub, sheafDegreeLift_add, |
| 76 | sheafDegreeLift_precomp, sheafDegreeLift_postcomp] at hz |
| 77 | exact hz |
| 78 | · intro n |
| 79 | have hs := congrArg sheafDegreeLift (hsucc n) |
| 80 | rw [sheafDegreeLift_sub, sheafDegreeLift_add, |
| 81 | sheafDegreeLift_precomp, sheafDegreeLift_postcomp] at hs |
| 82 | exact hs |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SheafLiftHomotopy.Constructions |