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.Isogenies.NeighborCounting.OpenHomComparison |
| 2 | |
| 3 | /-! # Disjoint Open Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DisjointOpenGluing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Gluing actual module isomorphisms on disjoint open components. |
| 10 | This assembles a covering family before effective fpqc descent. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenHomComparison |
| 17 | |
| 18 | variable {X : Scheme.{u}} (M N : X.Modules) |
| 19 | |
| 20 | theorem hom_bottom_subsingleton : |
| 21 | Subsingleton ((ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj.obj (op ⊥)) := by |
| 22 | constructor |
| 23 | intro a b |
| 24 | let F : TopCat.Sheaf (Type u) X := ⟨(ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj, (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).property⟩ |
| 25 | apply F.eq_of_locally_eq' (fun _ : Empty ↦ (⊥ : X.Opens)) ⊥ |
| 26 | (fun _ ↦ homOfLE le_rfl) (by simp) |
| 27 | intro i |
| 28 | cases i |
| 29 | |
| 30 | theorem disjoint_compatible {ι : Type*} (U : ι → X.Opens) |
| 31 | (hd : Pairwise (fun i j ↦ Disjoint (U i) (U j))) |
| 32 | (q : ∀ i, (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj.obj (op (U i))) : |
| 33 | TopCat.Presheaf.IsCompatible (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj U q := by |
| 34 | intro i j |
| 35 | by_cases hij : i = j |
| 36 | · subst j |
| 37 | rfl |
| 38 | · have h : U i ⊓ U j = ⊥ := (hd hij).eq_bot |
| 39 | have : Subsingleton ((ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj.obj (op (U i ⊓ U j))) := by |
| 40 | rw [h] |
| 41 | exact hom_bottom_subsingleton M N |
| 42 | exact Subsingleton.elim _ _ |
| 43 | |
| 44 | theorem existsUnique_disjoint_hom {ι : Type*} (U : ι → X.Opens) |
| 45 | (hU : (⊤ : X.Opens) ≤ iSup U) (hd : Pairwise (fun i j ↦ Disjoint (U i) (U j))) |
| 46 | (q : ∀ i, (Scheme.Modules.pullback (U i).ι).obj M ⟶ |
| 47 | (Scheme.Modules.pullback (U i).ι).obj N) : |
| 48 | ∃! a : M ⟶ N, ∀ i, (Scheme.Modules.pullback (U i).ι).map a = q i := |
| 49 | OpenHomComparison.existsUnique_hom_of_open_pullbacks M N U hU q |
| 50 | (disjoint_compatible M N U hd (fun i ↦ (OpenHomComparison.openHomEquiv M N (U i)).symm (q i))) |
| 51 | |
| 52 | theorem existsUnique_disjoint_iso {ι : Type*} (U : ι → X.Opens) |
| 53 | (hU : (⊤ : X.Opens) ≤ iSup U) (hd : Pairwise (fun i j ↦ Disjoint (U i) (U j))) |
| 54 | (e : ∀ i, (Scheme.Modules.pullback (U i).ι).obj M ≅ |
| 55 | (Scheme.Modules.pullback (U i).ι).obj N) : |
| 56 | ∃! d : M ≅ N, ∀ i, (Scheme.Modules.pullback (U i).ι).mapIso d = e i := by |
| 57 | obtain ⟨a, ha, hu⟩ := existsUnique_disjoint_hom M N U hU hd (fun i ↦ (e i).hom) |
| 58 | obtain ⟨b, hb, _⟩ := existsUnique_disjoint_hom N M U hU hd (fun i ↦ (e i).inv) |
| 59 | have hab : a ≫ b = 𝟙 M := by |
| 60 | apply OpenHomComparison.hom_eq_of_open_pullbacks M M U hU |
| 61 | intro i |
| 62 | let L := Scheme.Modules.pullback (U i).ι |
| 63 | exact (L.map_comp a b).trans ((congrArg₂ (fun r s ↦ r ≫ s) (ha i) (hb i)).trans |
| 64 | ((e i).hom_inv_id.trans (L.map_id M).symm)) |
| 65 | have hba : b ≫ a = 𝟙 N := by |
| 66 | apply OpenHomComparison.hom_eq_of_open_pullbacks N N U hU |
| 67 | intro i |
| 68 | let L := Scheme.Modules.pullback (U i).ι |
| 69 | exact (L.map_comp b a).trans ((congrArg₂ (fun r s ↦ r ≫ s) (hb i) (ha i)).trans |
| 70 | ((e i).inv_hom_id.trans (L.map_id N).symm)) |
| 71 | let d : M ≅ N := ⟨a, b, hab, hba⟩ |
| 72 | refine ⟨d, fun i ↦ Iso.ext (ha i), ?_⟩ |
| 73 | intro d' hd' |
| 74 | apply Iso.ext |
| 75 | exact hu d'.hom (fun i ↦ congrArg Iso.hom (hd' i)) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DisjointOpenGluing |