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.SheafCohomology.Cech.FlasqueProducts |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.Resolution |
| 3 | |
| 4 | /-! # Flasque Resolution -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.FlasqueResolution.TopCat.Sheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.TopCat |
| 11 | open _root_.TopCat.Sheaf |
| 12 | |
| 13 | /-! Flasque cycle sheaves and section lifting in every positive Čech degree. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : TopCat.{u}} (F : Sheaf AddCommGrpCat.{u} X) |
| 20 | {ι : Type u} (U : ι → Opens X) |
| 21 | |
| 22 | /-- The two consecutive Čech differentials starting in degree `n`. -/ |
| 23 | abbrev cechDifferentialShortComplex (n : ℕ) : |
| 24 | ShortComplex (Sheaf AddCommGrpCat.{u} X) := |
| 25 | ShortComplex.mk (SheafDifferential.TopCat.Sheaf.cechDifferential F U n) (SheafDifferential.TopCat.Sheaf.cechDifferential F U (n + 1)) |
| 26 | (SheafComplex.TopCat.Sheaf.cechDifferential_comp F U n) |
| 27 | |
| 28 | private abbrev cechInitialCycleSequence : |
| 29 | ShortComplex (Sheaf AddCommGrpCat.{u} X) := |
| 30 | let T := cechDifferentialShortComplex F U 0 |
| 31 | ShortComplex.mk (Augmentation.TopCat.Sheaf.cechAugmentation F U) T.toCycles (by |
| 32 | rw [← cancel_mono T.iCycles, Category.assoc, T.toCycles_i, zero_comp, |
| 33 | Augmentation.TopCat.Sheaf.cechAugmentation_comp]) |
| 34 | |
| 35 | private theorem cechInitialCycleSequence_shortExact (hU : ⨆ i, U i = ⊤) : |
| 36 | (cechInitialCycleSequence F U).ShortExact := by |
| 37 | let T := cechDifferentialShortComplex F U 0 |
| 38 | let A := cechInitialCycleSequence F U |
| 39 | let B := Augmentation.TopCat.Sheaf.cechAugmentedShortComplex F U |
| 40 | have hB : B.Exact := ZeroExact.TopCat.Sheaf.cechAugmentedShortComplex_exact F U hU |
| 41 | have : Mono A.f := Resolution.TopCat.Sheaf.cechAugmentation_mono F U hU |
| 42 | have : Mono B.f := Resolution.TopCat.Sheaf.cechAugmentation_mono F U hU |
| 43 | have hker : IsLimit (KernelFork.ofι A.f A.zero) := |
| 44 | isKernelOfComp T.iCycles T.f hB.fIsKernel A.zero T.toCycles_i |
| 45 | have hA : A.Exact := ShortComplex.exact_of_f_is_kernel A hker |
| 46 | have hT : T.Exact := PositiveExact.TopCat.Sheaf.cechShortComplex_exact F U hU 0 |
| 47 | have : Epi A.g := hT.epi_toCycles |
| 48 | exact { exact := hA } |
| 49 | |
| 50 | /-- Successive cycle sheaves, with the intervening Čech term. -/ |
| 51 | abbrev cechSuccessiveCycleSequence (n : ℕ) : |
| 52 | ShortComplex (Sheaf AddCommGrpCat.{u} X) := |
| 53 | let T := cechDifferentialShortComplex F U n |
| 54 | let T' := cechDifferentialShortComplex F U (n + 1) |
| 55 | ShortComplex.mk T.iCycles T'.toCycles (by |
| 56 | rw [← cancel_mono T'.iCycles, Category.assoc, T'.toCycles_i, zero_comp] |
| 57 | exact T.iCycles_g) |
| 58 | |
| 59 | /-- Exactness of the sheaf Čech resolution gives short exact sequences of cycles. -/ |
| 60 | theorem cechSuccessiveCycleSequence_shortExact (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 61 | (cechSuccessiveCycleSequence F U n).ShortExact := by |
| 62 | let T := cechDifferentialShortComplex F U n |
| 63 | let T' := cechDifferentialShortComplex F U (n + 1) |
| 64 | let A := cechSuccessiveCycleSequence F U n |
| 65 | have hker : IsLimit (KernelFork.ofι A.f A.zero) := |
| 66 | isKernelOfComp T'.iCycles T'.f T.cyclesIsKernel A.zero T'.toCycles_i |
| 67 | have hA : A.Exact := ShortComplex.exact_of_f_is_kernel A hker |
| 68 | have hT' : T'.Exact := PositiveExact.TopCat.Sheaf.cechShortComplex_exact F U hU (n + 1) |
| 69 | have : Epi A.g := hT'.epi_toCycles |
| 70 | exact { exact := hA } |
| 71 | |
| 72 | /-- All positive cycle sheaves of the Čech resolution of a flasque sheaf are flasque. -/ |
| 73 | theorem cechPositiveCycles_isFlasque [IsFlasque F] |
| 74 | (hU : ⨆ i, U i = ⊤) (n : ℕ) : |
| 75 | IsFlasque (cechDifferentialShortComplex F U n).cycles := by |
| 76 | induction n with |
| 77 | | zero => |
| 78 | have : IsFlasque (Terms.TopCat.Sheaf.cechTerm F U 0) := FlasqueProducts.TopCat.Sheaf.cechTerm_isFlasque F U 0 |
| 79 | exact IsFlasque.of_shortExact_of_isFlasque₁₂ |
| 80 | (cechInitialCycleSequence_shortExact F U hU) |
| 81 | | succ n ih => |
| 82 | have : IsFlasque (cechDifferentialShortComplex F U n).cycles := ih |
| 83 | have : IsFlasque (Terms.TopCat.Sheaf.cechTerm F U (n + 1)) := FlasqueProducts.TopCat.Sheaf.cechTerm_isFlasque F U (n + 1) |
| 84 | exact IsFlasque.of_shortExact_of_isFlasque₁₂ |
| 85 | (cechSuccessiveCycleSequence_shortExact F U hU n) |
| 86 | |
| 87 | /-- Čech boundaries lift on every open set when the original sheaf is flasque. -/ |
| 88 | theorem cechSections_exact_succ [IsFlasque F] |
| 89 | (hU : ⨆ i, U i = ⊤) (n : ℕ) (V : Opens X) |
| 90 | (x : (Terms.TopCat.Sheaf.cechTerm F U (n + 1)).obj.obj (op V)) |
| 91 | (hx : (SheafDifferential.TopCat.Sheaf.cechDifferential F U (n + 1)).hom.app (op V) x = 0) : |
| 92 | ∃ y : (Terms.TopCat.Sheaf.cechTerm F U n).obj.obj (op V), |
| 93 | (SheafDifferential.TopCat.Sheaf.cechDifferential F U n).hom.app (op V) y = x := by |
| 94 | let T := cechDifferentialShortComplex F U n |
| 95 | let K := ShortComplex.mk T.iCycles T.g T.iCycles_g |
| 96 | have hK : K.Exact := ShortComplex.exact_of_f_is_kernel K T.cyclesIsKernel |
| 97 | obtain ⟨z, hz⟩ := Sheaf.sections_exact_of_left_exact hK (inferInstance : Mono K.f) x hx |
| 98 | have : Epi (T.toCycles.hom.app (op V)) := by |
| 99 | cases n with |
| 100 | | zero => |
| 101 | exact IsFlasque.epi_of_shortExact (cechInitialCycleSequence_shortExact F U hU) |
| 102 | | succ n => |
| 103 | have : IsFlasque (cechDifferentialShortComplex F U n).cycles := |
| 104 | cechPositiveCycles_isFlasque F U hU n |
| 105 | exact IsFlasque.epi_of_shortExact |
| 106 | (cechSuccessiveCycleSequence_shortExact F U hU n) |
| 107 | obtain ⟨y, hy⟩ := (AddCommGrpCat.epi_iff_surjective _).mp |
| 108 | (inferInstance : Epi (T.toCycles.hom.app (op V))) z |
| 109 | refine ⟨y, ?_⟩ |
| 110 | calc |
| 111 | T.f.hom.app (op V) y = (T.toCycles ≫ T.iCycles).hom.app (op V) y := by |
| 112 | rw [T.toCycles_i] |
| 113 | _ = T.iCycles.hom.app (op V) (T.toCycles.hom.app (op V) y) := rfl |
| 114 | _ = T.iCycles.hom.app (op V) z := congrArg _ hy |
| 115 | _ = x := hz |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.FlasqueResolution.TopCat.Sheaf |