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.FramedUnitIsomorphisms |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.PowerGaugeCover |
| 3 | |
| 4 | /-! # Framed Unit Restriction -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.FramedUnitRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction of the native local isomorphisms defined by regular units. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def overIsoRestrict {X : Scheme.{u}} {M N : X.Modules} {U V : X.Opens} (h : V ≤ U) |
| 17 | (e : M.over U ≅ N.over U) : M.over V ≅ N.over V := |
| 18 | (_root_.SheafOfModules.overFunctorMap X.ringCatSheaf (homOfLE h)).symm.app M ≪≫ |
| 19 | (_root_.SheafOfModules.overMap X.ringCatSheaf (homOfLE h)).mapIso e ≪≫ |
| 20 | (_root_.SheafOfModules.overFunctorMap X.ringCatSheaf (homOfLE h)).app N |
| 21 | |
| 22 | theorem overIsoRestrict_trans {X : Scheme.{u}} {M N P : X.Modules} {U V : X.Opens} |
| 23 | (h : V ≤ U) (e : M.over U ≅ N.over U) (g : N.over U ≅ P.over U) : |
| 24 | overIsoRestrict h (e ≪≫ g) = overIsoRestrict h e ≪≫ overIsoRestrict h g := by |
| 25 | apply Iso.ext |
| 26 | exact AlgebraicGeometry.SheafCohomology.Projective.OverGeneratorRestriction.linearHomRestrict_comp M N P h e.hom g.hom |
| 27 | |
| 28 | theorem overIsoRestrict_symm {X : Scheme.{u}} {M N : X.Modules} {U V : X.Opens} |
| 29 | (h : V ≤ U) (e : M.over U ≅ N.over U) : |
| 30 | overIsoRestrict h e.symm = (overIsoRestrict h e).symm := by |
| 31 | apply Iso.ext |
| 32 | simp only [overIsoRestrict, Iso.trans_hom, Iso.symm_hom, Iso.trans_inv, Functor.mapIso_hom, |
| 33 | Functor.mapIso_inv, Category.assoc] |
| 34 | rfl |
| 35 | |
| 36 | theorem overIsoRestrict_frame {X : Scheme.{u}} {M : X.Modules} {U V : X.Opens} |
| 37 | (h : V ≤ U) (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 38 | overIsoRestrict (M := M) (N := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) h e = |
| 39 | AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U e (Over.mk (homOfLE h)) := by |
| 40 | apply Iso.ext |
| 41 | exact AlgebraicGeometry.SheafCohomology.Projective.FramedLocalHom.linearHomRestrict_frame M h e |
| 42 | |
| 43 | theorem overScalar_restrict {X : Scheme.{u}} {U V : X.Opens} (h : V ≤ U) (r : Γ(X, U)) : |
| 44 | AlgebraicGeometry.SheafCohomology.Projective.LinearHom.linearHomRestrict X.ringCatSheaf (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) |
| 45 | (homOfLE h).op (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r) = |
| 46 | AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf V (X.presheaf.map (homOfLE h).op r) := by |
| 47 | apply _root_.SheafOfModules.hom_ext |
| 48 | apply PresheafOfModules.hom_ext |
| 49 | intro Z |
| 50 | apply ModuleCat.hom_ext |
| 51 | apply LinearMap.ext |
| 52 | intro a |
| 53 | change (show Γ(X, Z.unop.left) from a) * X.presheaf.map (Z.unop.hom ≫ homOfLE h).op r = |
| 54 | (show Γ(X, Z.unop.left) from a) * |
| 55 | X.presheaf.map Z.unop.hom.op (X.presheaf.map (homOfLE h).op r) |
| 56 | rw [op_comp, X.presheaf.map_comp_apply] |
| 57 | |
| 58 | theorem overUnitIso_restrict {X : Scheme.{u}} {U V : X.Opens} (h : V ≤ U) (r : Γ(X, U)ˣ) : |
| 59 | overIsoRestrict (M := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) (N := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) h (FramedUnitIsomorphisms.overUnitIso U r) = |
| 60 | FramedUnitIsomorphisms.overUnitIso V (PowerGaugeCover.restrictRegularUnit h r) := by |
| 61 | apply Iso.ext |
| 62 | exact overScalar_restrict h r |
| 63 | |
| 64 | theorem framedUnitIso_restrict {X : Scheme.{u}} (M N : X.Modules) {U V : X.Opens} (h : V ≤ U) |
| 65 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 66 | (g : N.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) (r : Γ(X, U)ˣ) : |
| 67 | overIsoRestrict h (FramedUnitIsomorphisms.framedUnitIso M N U e g r) = |
| 68 | FramedUnitIsomorphisms.framedUnitIso M N V |
| 69 | (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U e (Over.mk (homOfLE h))) |
| 70 | (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N U g (Over.mk (homOfLE h))) |
| 71 | (PowerGaugeCover.restrictRegularUnit h r) := by |
| 72 | have hg := (overIsoRestrict_symm (M := N) (N := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) h g).trans |
| 73 | (congrArg Iso.symm (overIsoRestrict_frame h g)) |
| 74 | have hr := (overIsoRestrict_trans (M := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) |
| 75 | (N := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) (P := N) h (FramedUnitIsomorphisms.overUnitIso U r) g.symm).trans |
| 76 | (congrArg₂ (fun a b => a ≪≫ b) (overUnitIso_restrict h r) hg) |
| 77 | exact (overIsoRestrict_trans (M := M) (N := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) (P := N) |
| 78 | h e (FramedUnitIsomorphisms.overUnitIso U r ≪≫ g.symm)).trans |
| 79 | (congrArg₂ (fun a b => a ≪≫ b) (overIsoRestrict_frame h e) hr) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.RepresentationTheory.Theta.Geometric.FramedUnitRestriction |