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.AbelianScheme.IsogenyQuotient.OpenPullbackMapGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PullbackSectionSquares |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BasisPullbackMapGluing |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapCoverEquality |
| 5 | |
| 6 | /-! # Open Section Gluing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OpenSectionGluing.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Glue actual local sections using the canonical pullback refinements. |
| 13 | The recovery equation is equality of sections, including the unit maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapCoverEquality |
| 18 | |
| 19 | universe u v |
| 20 | variable {X Y Z : Scheme.{u}} {M : Z.Modules} |
| 21 | |
| 22 | def refineSectionTo (f : X ⟶ Y) (g : Y ⟶ Z) (k : X ⟶ Z) (h : f ≫ g = k) |
| 23 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ (Scheme.Modules.pullback g).obj M) : |
| 24 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback k).obj M := |
| 25 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s ≫ (Scheme.Modules.pullbackComp f g).hom.app M ≫ |
| 26 | (Scheme.Modules.pullbackCongr h).hom.app M |
| 27 | |
| 28 | theorem refinePullbackMapTo_section (f : X ⟶ Y) (g : Y ⟶ Z) (k : X ⟶ Z) |
| 29 | (h : f ≫ g = k) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ (Scheme.Modules.pullback g).obj M) : |
| 30 | OpenPullbackMapGluing.Construction.refinePullbackMapTo f g k h ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g).hom ≫ s) = |
| 31 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso k).hom ≫ refineSectionTo f g k h s := by |
| 32 | subst k |
| 33 | have hu := congrArg (fun a => a ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv) |
| 34 | (Picard.PoincareBundle.StructureUnitComposition.unitIso_comp_inv f g) |
| 35 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] at hu |
| 36 | change (Scheme.Modules.pullbackComp f g).inv.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z) ≫ |
| 37 | (Scheme.Modules.pullback f).map (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g).hom = |
| 38 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (f ≫ g)).hom ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv at hu |
| 39 | simp only [OpenPullbackMapGluing.Construction.refinePullbackMapTo, refineSectionTo, Scheme.Modules.pullbackCongr, |
| 40 | eqToIso_refl, Iso.refl_inv, Iso.refl_hom, NatTrans.id_app, Category.id_comp, Category.comp_id, |
| 41 | AbelianModuli.HilbertConstruction.OpenPullback.Refinement.refineOpenPullbackMap, Functor.map_comp, AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection] |
| 42 | simp only [← Category.assoc] |
| 43 | rw [hu] |
| 44 | |
| 45 | theorem existsUnique_section_of_refinement_compatibility {ι : Type v} |
| 46 | (U : ι → Z.Opens) (hU : ∀ z : Z, ∃ i, z ∈ U i) |
| 47 | (s : ∀ i, AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (U i).toScheme ⟶ (Scheme.Modules.pullback (U i).ι).obj M) |
| 48 | (hs : ∀ i j (V : Z.Opens) (hi : V ≤ U i) (hj : V ≤ U j), |
| 49 | refineSectionTo (Z.homOfLE hi) (U i).ι V.ι (Z.homOfLE_ι hi) (s i) = |
| 50 | refineSectionTo (Z.homOfLE hj) (U j).ι V.ι (Z.homOfLE_ι hj) (s j)) : |
| 51 | ∃! a : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z ⟶ M, ∀ i, AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (U i).ι a = s i := by |
| 52 | have hmaps : ∀ i j (V : Z.Opens) (hi : V ≤ U i) (hj : V ≤ U j), |
| 53 | OpenPullbackMapGluing.Construction.refinePullbackMapTo (Z.homOfLE hi) (U i).ι V.ι (Z.homOfLE_ι hi) |
| 54 | ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (U i).ι).hom ≫ s i) = |
| 55 | OpenPullbackMapGluing.Construction.refinePullbackMapTo (Z.homOfLE hj) (U j).ι V.ι (Z.homOfLE_ι hj) |
| 56 | ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (U j).ι).hom ≫ s j) := by |
| 57 | intro i j V hi hj |
| 58 | rw [refinePullbackMapTo_section, refinePullbackMapTo_section, hs i j V hi hj] |
| 59 | obtain ⟨a, ha, hu⟩ := OpenPullbackMapGluing.Construction.existsUnique_hom_of_refinement_compatibility U hU |
| 60 | (fun i => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (U i).ι).hom ≫ s i) hmaps |
| 61 | refine ⟨a, ?_, ?_⟩ |
| 62 | · intro i |
| 63 | exact (congrArg (fun b => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (U i).ι).inv ≫ b) (ha i)).trans |
| 64 | ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (U i).ι).inv_hom_id_assoc (s i)) |
| 65 | · intro a' ha' |
| 66 | apply hu |
| 67 | intro i |
| 68 | have h := congrArg (fun b => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (U i).ι).hom ≫ b) (ha' i) |
| 69 | simpa only [AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Iso.hom_inv_id_assoc] using h |
| 70 | |
| 71 | theorem existsUnique_section_of_basis_refinements {ι : Type v} |
| 72 | (B : ι → Z.Opens) (hB : TopologicalSpace.Opens.IsBasis (Set.range B)) |
| 73 | (s : ∀ i, AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (B i).toScheme ⟶ (Scheme.Modules.pullback (B i).ι).obj M) |
| 74 | (hs : ∀ i j (h : B i ≤ B j), |
| 75 | refineSectionTo (Z.homOfLE h) (B j).ι (B i).ι (Z.homOfLE_ι h) (s j) = s i) : |
| 76 | ∃! a : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z ⟶ M, ∀ i, AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (B i).ι a = s i := by |
| 77 | let maps i := (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (B i).ι).hom ≫ s i |
| 78 | have hmaps : ∀ i j (h : B i ≤ B j), |
| 79 | OpenPullbackMapGluing.Construction.refinePullbackMapTo (Z.homOfLE h) (B j).ι (B i).ι (Z.homOfLE_ι h) (maps j) = maps i := by |
| 80 | intro i j h |
| 81 | exact (refinePullbackMapTo_section (Z.homOfLE h) (B j).ι (B i).ι |
| 82 | (Z.homOfLE_ι h) (s j)).trans |
| 83 | (congrArg (fun a => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (B i).ι).hom ≫ a) (hs i j h)) |
| 84 | let a := (BasisPullbackMapGluing.Construction.compatibleBasisPullbackMaps B maps hmaps).extend hB |
| 85 | have ha i : (Scheme.Modules.pullback (B i).ι).map a = maps i := |
| 86 | BasisPullbackMapGluing.Construction.basisPullbackMaps_extend_pullback B hB maps hmaps i |
| 87 | refine ⟨a, ?_, ?_⟩ |
| 88 | · intro i |
| 89 | exact (congrArg (fun b => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (B i).ι).inv ≫ b) (ha i)).trans |
| 90 | ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (B i).ι).inv_hom_id_assoc (s i)) |
| 91 | · intro a' ha' |
| 92 | have hcover : ∀ z : Z, ∃ i, z ∈ B i := by |
| 93 | intro z |
| 94 | obtain ⟨V, ⟨i, rfl⟩, hi, _⟩ := TopologicalSpace.Opens.isBasis_iff_nbhd.mp hB |
| 95 | (show z ∈ (⊤ : Z.Opens) from trivial) |
| 96 | exact ⟨i, hi⟩ |
| 97 | apply AbelianModuli.HilbertConstruction.Module.MapCoverEquality.moduleMap_eq_of_pullback_cover B hcover |
| 98 | intro i |
| 99 | rw [ha i] |
| 100 | have h := congrArg (fun b => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (B i).ι).hom ≫ b) (ha' i) |
| 101 | simpa only [AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, Iso.hom_inv_id_assoc] using h |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OpenSectionGluing.Construction |