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.RepresentationTheory.Theta.Geometric.FramedUnitRestriction |
| 2 | |
| 3 | /-! # Framed Regular Map Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FramedRegularMapGluing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible regular coefficients, including zeros, glue to an |
| 10 | actual module-sheaf morphism in the prescribed algebraic frames. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.RepresentationTheory.Theta.Geometric.FramedUnitRestriction |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def framedRegularMap {X : Scheme.{u}} (M N : X.Modules) (U : X.Opens) |
| 19 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 20 | (g : N.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 21 | (r : Γ(X, U)) : M.over U ⟶ N.over U := |
| 22 | e.hom ≫ SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r ≫ g.inv |
| 23 | |
| 24 | theorem framedRegularMap_eq_of_transitions {X : Scheme.{u}} (M N : X.Modules) (U : X.Opens) |
| 25 | (e₀ e₁ : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 26 | (g₀ g₁ : N.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 27 | (a b r s : Γ(X, U)) |
| 28 | (he : e₀.hom = e₁.hom ≫ SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U a) |
| 29 | (hg : g₀.hom = g₁.hom ≫ SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U b) |
| 30 | (hr : a * r = s * b) : |
| 31 | framedRegularMap M N U e₀ g₀ r = framedRegularMap M N U e₁ g₁ s := by |
| 32 | apply (cancel_mono g₀.hom).mp |
| 33 | change (e₀.hom ≫ SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r ≫ g₀.inv) ≫ g₀.hom = |
| 34 | (e₁.hom ≫ SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s ≫ g₁.inv) ≫ g₀.hom |
| 35 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 36 | rw [hg, Iso.inv_hom_id_assoc, he] |
| 37 | simp only [Category.assoc, RepresentationTheory.Theta.Geometric.FramedUnitIsomorphisms.overScalar_comp, hr] |
| 38 | |
| 39 | theorem framedRegularMap_restrict {X : Scheme.{u}} (M N : X.Modules) {U V : X.Opens} (h : V ≤ U) |
| 40 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 41 | (g : N.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) (r : Γ(X, U)) : |
| 42 | SheafCohomology.Projective.LinearHom.linearHomRestrict X.ringCatSheaf M N (homOfLE h).op (framedRegularMap M N U e g r) = |
| 43 | framedRegularMap M N V |
| 44 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U e (Over.mk (homOfLE h))) |
| 45 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N U g (Over.mk (homOfLE h))) |
| 46 | (X.presheaf.map (homOfLE h).op r) := by |
| 47 | have hg := congrArg Iso.hom ((RepresentationTheory.Theta.Geometric.FramedUnitRestriction.overIsoRestrict_symm (M := N) (N := SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) h g).trans |
| 48 | (congrArg Iso.symm (RepresentationTheory.Theta.Geometric.FramedUnitRestriction.overIsoRestrict_frame h g))) |
| 49 | change SheafCohomology.Projective.LinearHom.linearHomRestrict X.ringCatSheaf (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) N (homOfLE h).op g.inv = |
| 50 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N U g (Over.mk (homOfLE h))).inv at hg |
| 51 | have h₁ := SheafCohomology.Projective.OverGeneratorRestriction.linearHomRestrict_comp M (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) N h e.hom |
| 52 | (SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r ≫ g.inv) |
| 53 | have h₂ := SheafCohomology.Projective.OverGeneratorRestriction.linearHomRestrict_comp (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) N h |
| 54 | (SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r) g.inv |
| 55 | exact h₁.trans (congrArg₂ (· ≫ ·) (SheafCohomology.Projective.FramedLocalHom.linearHomRestrict_frame M h e) |
| 56 | (h₂.trans (congrArg₂ (· ≫ ·) (RepresentationTheory.Theta.Geometric.FramedUnitRestriction.overScalar_restrict h r) hg))) |
| 57 | |
| 58 | theorem exists_morphism_of_framed_regular_sections {X : Scheme.{u}} (M N : X.Modules) |
| 59 | {I : Type u} (U : I → X.Opens) (hU : iSup U = ⊤) |
| 60 | (e : ∀ i, M.over (U i) ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over (U i))) |
| 61 | (g : ∀ i, N.over (U i) ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over (U i))) |
| 62 | (r : ∀ i, Γ(X, U i)) (a b : ∀ i j, Γ(X, U i ⊓ U j)) |
| 63 | (he : ∀ i j, |
| 64 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M (U i) (e i) |
| 65 | (Over.mk (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)))).hom = |
| 66 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M (U j) (e j) |
| 67 | (Over.mk (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)))).hom ≫ |
| 68 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf (U i ⊓ U j) (a i j)) |
| 69 | (hg : ∀ i j, |
| 70 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N (U i) (g i) |
| 71 | (Over.mk (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)))).hom = |
| 72 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N (U j) (g j) |
| 73 | (Over.mk (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)))).hom ≫ |
| 74 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf (U i ⊓ U j) (b i j)) |
| 75 | (hr : ∀ i j, |
| 76 | a i j * X.presheaf.map (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op (r i) = |
| 77 | X.presheaf.map (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op (r j) * b i j) : |
| 78 | ∃ f : M ⟶ N, ∀ i, f.over (U i) = framedRegularMap M N (U i) (e i) (g i) (r i) := by |
| 79 | apply SheafCohomology.Projective.ModuleHomOverlapGluing.exists_moduleHom_of_overlap_localMaps M N U hU (fun i j => U i ⊓ U j) |
| 80 | (fun _ _ => inf_le_left) (fun _ _ => inf_le_right) (fun _ _ => le_rfl) |
| 81 | (fun i => framedRegularMap M N (U i) (e i) (g i) (r i)) |
| 82 | intro i j |
| 83 | rw [framedRegularMap_restrict, framedRegularMap_restrict] |
| 84 | exact framedRegularMap_eq_of_transitions M N (U i ⊓ U j) _ _ _ _ |
| 85 | (a i j) (b i j) _ _ (he i j) (hg i j) (hr i j) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FramedRegularMapGluing |