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.NumberTheory.PadicHodge.IntegralComparison.FlasqueCechZero |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueCechSubfamily |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Exact |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechZero |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ProductScalarKernel |
| 6 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 7 | |
| 8 | /-! # Flasque Ordered Rows -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueOrderedRows |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual augmented ordered rows of a flasque module sheaf are |
| 15 | exact whenever the indexing functor preserves the native nonempty tuple |
| 16 | intersections. Degree one follows from gluing and flasque extension. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 19 | |
| 20 | universe u w |
| 21 | variable (R : Type u) [CommRing R] (X : TopCat.{0}) |
| 22 | {C : Type} [Preorder C] [HasFiniteProducts C] (G : C ⥤ Opens X) |
| 23 | {ι : Type} [LinearOrder ι] (U : ι → C) |
| 24 | (F : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u w} R)) |
| 25 | |
| 26 | local notation "P" => G.op ⋙ F.obj |
| 27 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionFunctor.complex U P |
| 28 | |
| 29 | def augmentation : F.obj.obj (op ⊤) ⟶ (K).X 0 := |
| 30 | Pi.lift fun a : Fin 1 → ι => |
| 31 | F.obj.map (homOfLE (le_top : G.obj (∏ᶜ (U ∘ a)) ≤ ⊤)).op |
| 32 | |
| 33 | omit [LinearOrder ι] in |
| 34 | theorem augmentation_projection (a : Fin 1 → ι) : |
| 35 | augmentation R X G U F ≫ Cech.TupleRestrictionFunctor.projection U P a = |
| 36 | F.obj.map (homOfLE (le_top : G.obj (∏ᶜ (U ∘ a)) ≤ ⊤)).op := Pi.lift_comp_π _ a |
| 37 | |
| 38 | variable [∀ (n : ℕ) (a : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ a)) G] |
| 39 | |
| 40 | abbrev comparison := GeometricComparison.NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso G U F.obj |
| 41 | |
| 42 | omit [LinearOrder ι] in |
| 43 | theorem comparison_projection (a : Fin 1 → ι) : |
| 44 | (comparison R X G U F).hom.f 0 ≫ |
| 45 | NonemptyCechDifferential.projection (G.obj ∘ U) F.obj 0 a = |
| 46 | Cech.TupleRestrictionFunctor.projection U P a ≫ |
| 47 | F.obj.map (PreservesProduct.iso G (U ∘ a)).inv.op := by |
| 48 | exact Pi.mapIso_hom_π (fun t : Fin 1 → ι => |
| 49 | F.obj.mapIso (PreservesProduct.iso G (U ∘ t)).symm.op) a |
| 50 | |
| 51 | omit [LinearOrder ι] in |
| 52 | theorem augmentation_comparison (a : Fin 1 → ι) : |
| 53 | augmentation R X G U F ≫ (comparison R X G U F).hom.f 0 ≫ |
| 54 | NonemptyCechDifferential.projection (G.obj ∘ U) F.obj 0 a = |
| 55 | F.obj.map (homOfLE (le_top : (∏ᶜ ((G.obj ∘ U) ∘ a)) ≤ ⊤)).op := by |
| 56 | rw [comparison_projection, ← Category.assoc, augmentation_projection, ← F.obj.map_comp] |
| 57 | congr 1 |
| 58 | |
| 59 | omit [LinearOrder ι] in |
| 60 | theorem exists_native [TopCat.Presheaf.IsFlasque (X := X) F.obj] |
| 61 | (x : (K).X 0) (hx : (K).d 0 1 x = 0) : |
| 62 | ∃ s : F.obj.obj (op ⊤), augmentation R X G U F s = x := by |
| 63 | let e := comparison R X G U F |
| 64 | let y := e.hom.f 0 x |
| 65 | have hy : ((NonemptyCechNerve.complexFunctor (G.obj ∘ U)).obj F.obj).d 0 1 y = 0 := by |
| 66 | have h := ConcreteCategory.congr_hom (e.hom.comm 0 1) x |
| 67 | change ((NonemptyCechNerve.complexFunctor (G.obj ∘ U)).obj F.obj).d 0 1 y = |
| 68 | e.hom.f 1 ((K).d 0 1 x) at h |
| 69 | exact h.trans (by rw [hx, map_zero]) |
| 70 | obtain ⟨s, hs⟩ := FlasqueCechZero.exists_global R X F (G.obj ∘ U) y hy |
| 71 | refine ⟨s, ?_⟩ |
| 72 | apply (ModuleCat.mono_iff_injective (e.hom.f 0)).mp inferInstance |
| 73 | apply Module.ProductScalarKernel.element_ext |
| 74 | intro a |
| 75 | exact (ConcreteCategory.congr_hom (augmentation_comparison R X G U F a) s).trans (hs a) |
| 76 | |
| 77 | omit [∀ (n : ℕ) (a : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ a)) G] in |
| 78 | theorem first_augmentation : |
| 79 | F.obj.map (homOfLE (le_top : G.obj (⊤_ C) ≤ ⊤)).op ≫ |
| 80 | (AugmentedOrdered.CechZero.zeroIso U P).inv ≫ |
| 81 | AugmentedOrdered.Cech.differential U P 0 = |
| 82 | augmentation R X G U F ≫ OrderedCech.Projection.mapF U P 0 := by |
| 83 | apply Pi.hom_ext |
| 84 | intro (a : {a : Fin 1 → ι // StrictMono a}) |
| 85 | change _ ≫ OrderedCech.Projection.projection U P 0 a = |
| 86 | _ ≫ OrderedCech.Projection.projection U P 0 a |
| 87 | simp only [Category.assoc] |
| 88 | erw [AugmentedOrdered.CechZero.zeroIso_inv_differential_π, |
| 89 | OrderedCech.Projection.mapF_projection, augmentation_projection] |
| 90 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ |
| 91 | rw [← F.obj.map_comp] |
| 92 | congr 1 |
| 93 | |
| 94 | theorem exactAt_one [TopCat.Presheaf.IsFlasque (X := X) F.obj] : |
| 95 | (AugmentedOrdered.Cech.complex U P).ExactAt 1 := by |
| 96 | rw [HomologicalComplex.exactAt_iff' _ 0 1 2 (by simp) (by simp), |
| 97 | ShortComplex.moduleCat_exact_iff] |
| 98 | intro x hx |
| 99 | let y := OrderedCech.Retraction.inclusionF U P 0 x |
| 100 | have hy : (K).d 0 1 y = 0 := by |
| 101 | have h := ConcreteCategory.congr_hom (OrderedCech.Retraction.inclusionF_d U P 0) x |
| 102 | change (K).d 0 1 y = OrderedCech.Retraction.inclusionF U P 1 |
| 103 | (OrderedCech.Projection.differential U P 0 x) at h |
| 104 | have hz : OrderedCech.Projection.differential U P 0 x = 0 := by |
| 105 | exact hx |
| 106 | exact h.trans (by rw [hz, map_zero]) |
| 107 | obtain ⟨s, hs⟩ := exists_native R X G U F y hy |
| 108 | let t := F.obj.map (homOfLE (le_top : G.obj (⊤_ C) ≤ ⊤)).op s |
| 109 | refine ⟨(AugmentedOrdered.CechZero.zeroIso U P).inv t, ?_⟩ |
| 110 | have h := ConcreteCategory.congr_hom (first_augmentation R X G U F) s |
| 111 | change AugmentedOrdered.Cech.differential U P 0 ((AugmentedOrdered.CechZero.zeroIso U P).inv t) = |
| 112 | OrderedCech.Projection.mapF U P 0 (augmentation R X G U F s) at h |
| 113 | rw [hs] at h |
| 114 | exact h.trans (ConcreteCategory.congr_hom (OrderedCech.Retraction.inclusionF_mapF U P 0) x) |
| 115 | |
| 116 | theorem exactAt_succ [TopCat.Presheaf.IsFlasque (X := X) F.obj] (n : ℕ) : |
| 117 | (AugmentedOrdered.Cech.complex U P).ExactAt (n + 1) := by |
| 118 | cases n with |
| 119 | | zero => exact exactAt_one R X G U F |
| 120 | | succ n => |
| 121 | apply OrderedCech.Exact.augmented |
| 122 | exact (FlasqueCechSubfamily.exactAt_succ R X F (G.obj ∘ U) n).of_iso |
| 123 | (comparison R X G U F).symm |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueOrderedRows |