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.AbelianModuli.ReferenceFamily.Regular.TransitionCocycle |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Cech.LineSections |
| 3 | |
| 4 | /-! # Cech Generator -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CechGenerator |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Pairwise regular transitions give coefficients on the original |
| 13 | Cech intersections, with their literal restriction formulas. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {X : Scheme.{0}} {I : Type} (U : I → X.Opens) |
| 18 | |
| 19 | theorem cechIntersection_le_component (n : ℕ) (a : Fin (n + 1) → I) (k : Fin (n + 1)) : |
| 20 | Cech.ExtensionCoordinates.cechIntersection U n a ≤ U (a k) := |
| 21 | leOfHom (Pi.π (fun j : Fin (n + 1) => U (a j)) k) |
| 22 | |
| 23 | theorem cechFaceIndex_zero_eval (a : Fin 2 → I) : Cech.ExtensionCoordinates.cechFaceIndex 0 0 a 0 = a 1 := rfl |
| 24 | theorem cechFaceIndex_one_eval (a : Fin 2 → I) : Cech.ExtensionCoordinates.cechFaceIndex 0 1 a 0 = a 0 := rfl |
| 25 | |
| 26 | def regularCechTransition (r : TransitionCocycle.RegularTransitionCoefficients U) (a : Fin 2 → I) : |
| 27 | Γ(X, Cech.ExtensionCoordinates.cechIntersection U 1 a)ˣ := |
| 28 | TransitionCocycle.regularTransitionOn U r (a 0) (a 1) (Cech.ExtensionCoordinates.cechIntersection U 1 a) |
| 29 | (cechIntersection_le_component U 1 a 0) (cechIntersection_le_component U 1 a 1) |
| 30 | |
| 31 | def regularCechCoefficients (r : TransitionCocycle.RegularTransitionCoefficients U) (a : Fin 2 → I) : |
| 32 | Γ(X, Cech.ExtensionCoordinates.cechIntersection U 1 a) := (regularCechTransition U r a).val |
| 33 | |
| 34 | theorem regularTransitionOn_restrict_val (r : TransitionCocycle.RegularTransitionCoefficients U) (i j : I) |
| 35 | {V W : X.Opens} (h : W ≤ V) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 36 | X.presheaf.map (homOfLE h).op (TransitionCocycle.regularTransitionOn U r i j V hi hj).val = |
| 37 | (TransitionCocycle.regularTransitionOn U r i j W (h.trans hi) (h.trans hj)).val := |
| 38 | congrArg Units.val (TransitionCocycle.regularTransitionOn_restrict U r i j h hi hj) |
| 39 | |
| 40 | theorem regularCechCoefficients_restrict (r : TransitionCocycle.RegularTransitionCoefficients U) (a : Fin 2 → I) |
| 41 | {W : X.Opens} (h : W ≤ Cech.ExtensionCoordinates.cechIntersection U 1 a) : |
| 42 | X.presheaf.map (homOfLE h).op (regularCechCoefficients U r a) = |
| 43 | (TransitionCocycle.regularTransitionOn U r (a 0) (a 1) W |
| 44 | (h.trans (cechIntersection_le_component U 1 a 0)) |
| 45 | (h.trans (cechIntersection_le_component U 1 a 1))).val := |
| 46 | regularTransitionOn_restrict_val U r (a 0) (a 1) h _ _ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | /-! A regular transition cocycle supplies an actual local generator |
| 51 | of its kernel sheaf, with its original coordinates and restrictions. -/ |
| 52 | |
| 53 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 54 | open _root_.TopCat.Sheaf |
| 55 | |
| 56 | variable {X : Scheme.{0}} {I : Type} (U : I → X.Opens) |
| 57 | (r : TransitionCocycle.RegularTransitionCoefficients U) |
| 58 | |
| 59 | def regularCechGenerator (j : I) (W : X.Opens) (hW : W ≤ U j) : Γ(Cech.TermModules.cechTermModule X U 0, W) := |
| 60 | (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (Cech.TermModules.structureAbelianSheaf X) U 0 W).symm |
| 61 | (fun a => (TransitionCocycle.regularTransitionOn U r j (a 0) (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 a) |
| 62 | (inf_le_left.trans hW) (inf_le_right.trans (cechIntersection_le_component U 0 a 0))).val) |
| 63 | |
| 64 | theorem regularCechGenerator_coefficient (j : I) (W : X.Opens) (hW : W ≤ U j) (a : Fin 1 → I) : |
| 65 | Cech.ExtensionCoordinates.cechCoefficient U 0 W (regularCechGenerator U r j W hW) a = |
| 66 | (TransitionCocycle.regularTransitionOn U r j (a 0) (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 a) |
| 67 | (inf_le_left.trans hW) (inf_le_right.trans (cechIntersection_le_component U 0 a 0))).val := |
| 68 | congrArg (fun b => b a) |
| 69 | ((SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (Cech.TermModules.structureAbelianSheaf X) U 0 W).apply_symm_apply _) |
| 70 | |
| 71 | theorem regularCechGenerator_restrict (j : I) {V W : X.Opens} (h : W ≤ V) (hV : V ≤ U j) : |
| 72 | (Cech.TermModules.cechTermModule X U 0).presheaf.map (homOfLE h).op (regularCechGenerator U r j V hV) = |
| 73 | regularCechGenerator U r j W (h.trans hV) := by |
| 74 | apply (SheafCohomology.Cech.Terms.TopCat.Sheaf.cechTermSectionsAddEquiv (Cech.TermModules.structureAbelianSheaf X) U 0 W).injective |
| 75 | funext a |
| 76 | change Cech.ExtensionCoordinates.cechCoefficient U 0 W _ a = Cech.ExtensionCoordinates.cechCoefficient U 0 W _ a |
| 77 | rw [Cech.ExtensionCoordinates.cechCoefficient_restrict, regularCechGenerator_coefficient, regularCechGenerator_coefficient, |
| 78 | regularTransitionOn_restrict_val] |
| 79 | |
| 80 | theorem regularCechGenerator_compatible (hr : TransitionCocycle.RegularTransitionCocycle U r) |
| 81 | (j : I) (W : X.Opens) (hW : W ≤ U j) : |
| 82 | Cech.LineSections.CechLineCompatible U (regularCechCoefficients U r) W (regularCechGenerator U r j W hW) := by |
| 83 | intro a |
| 84 | rw [regularCechGenerator_coefficient, regularCechGenerator_coefficient, |
| 85 | regularTransitionOn_restrict_val, regularTransitionOn_restrict_val, regularCechCoefficients_restrict] |
| 86 | have h := TransitionCocycle.regularTransition_cocycle_on U r hr j (a 0) (a 1) (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 1 a) |
| 87 | (inf_le_left.trans hW) (inf_le_right.trans (cechIntersection_le_component U 1 a 0)) |
| 88 | (inf_le_right.trans (cechIntersection_le_component U 1 a 1)) |
| 89 | exact congrArg Units.val (h.symm.trans (mul_comm _ _)) |
| 90 | |
| 91 | def regularCechLineGenerator (hr : TransitionCocycle.RegularTransitionCocycle U r) (j : I) : |
| 92 | Γ(Cech.LineModule.cechLineModule U (regularCechCoefficients U r), U j) := |
| 93 | Cech.LineSections.cechLineSectionLift U (regularCechCoefficients U r) (U j) (regularCechGenerator U r j (U j) le_rfl) |
| 94 | (regularCechGenerator_compatible U r hr j (U j) le_rfl) |
| 95 | |
| 96 | theorem regularCechLineGenerator_inclusion (hr : TransitionCocycle.RegularTransitionCocycle U r) (j : I) : |
| 97 | (Cech.LineModule.cechLineModuleInclusion U (regularCechCoefficients U r)).app (U j) (regularCechLineGenerator U r hr j) = |
| 98 | regularCechGenerator U r j (U j) le_rfl := |
| 99 | Cech.LineSections.cechLineSectionLift_inclusion U (regularCechCoefficients U r) (U j) _ _ |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CechGenerator |