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.SheafCohomology.Projective.OpenFrames |
| 2 | |
| 3 | /-! # Restricted Unit Frame -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RestrictedUnitFrame |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map to the structure sheaf agrees with a restriction frame exactly |
| 10 | when its map on the equivalent over-site agrees with that frame. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} (U : X.Opens) |
| 19 | |
| 20 | theorem unit_comparison : |
| 21 | ((Scheme.Modules.overFunctorEquiv U).app (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).hom ≫ |
| 22 | (Scheme.Modules.restrictUnitIso U.ι).hom = |
| 23 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom := by |
| 24 | ext V r |
| 25 | change (U.ι.appIso V).hom |
| 26 | (((Scheme.Modules.overFunctorEquiv U).app (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).hom.val.app (.op V) r) = r |
| 27 | simp only [Scheme.Modules.overFunctorEquiv, Scheme.Opens.ι_appIso] |
| 28 | rfl |
| 29 | |
| 30 | theorem over_map_comparison {M : X.Modules} (g : M ⟶ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) : |
| 31 | (Scheme.Modules.overEquiv U).functor.map (g.over U) ≫ |
| 32 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom = |
| 33 | ((Scheme.Modules.overFunctorEquiv U).app M).hom ≫ |
| 34 | (Scheme.Modules.restrictFunctor U.ι).map g ≫ (Scheme.Modules.restrictUnitIso U.ι).hom := by |
| 35 | rw [← unit_comparison, ← Category.assoc] |
| 36 | have h := (Scheme.Modules.overFunctorEquiv U).hom.naturality g |
| 37 | exact (congrArg (fun f => f ≫ (Scheme.Modules.restrictUnitIso U.ι).hom) h).trans |
| 38 | (Category.assoc _ _ _) |
| 39 | |
| 40 | theorem frame_comparison {M : X.Modules} |
| 41 | (e : M.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 42 | (Scheme.Modules.overEquiv U).functor.map |
| 43 | (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e).hom ≫ |
| 44 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom = |
| 45 | ((Scheme.Modules.overFunctorEquiv U).app M).hom ≫ e.hom := by |
| 46 | simp only [AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso, |
| 47 | Functor.FullyFaithful.preimageIso_hom, Functor.FullyFaithful.map_preimage, |
| 48 | Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 49 | |
| 50 | theorem restriction_eq_of_over_eq {M : X.Modules} (g : M ⟶ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) |
| 51 | (e : M.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) |
| 52 | (h : g.over U = (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e).hom) : |
| 53 | (Scheme.Modules.restrictFunctor U.ι).map g ≫ (Scheme.Modules.restrictUnitIso U.ι).hom = e.hom := by |
| 54 | apply (cancel_epi ((Scheme.Modules.overFunctorEquiv U).app M).hom).mp |
| 55 | rw [← over_map_comparison, h, frame_comparison] |
| 56 | |
| 57 | theorem over_eq_of_restriction_eq {M : X.Modules} (g : M ⟶ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) |
| 58 | (e : M.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) |
| 59 | (h : (Scheme.Modules.restrictFunctor U.ι).map g ≫ |
| 60 | (Scheme.Modules.restrictUnitIso U.ι).hom = e.hom) : |
| 61 | g.over U = (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e).hom := by |
| 62 | apply (Scheme.Modules.overEquiv U).functor.map_injective |
| 63 | apply (cancel_mono (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom).mp |
| 64 | rw [over_map_comparison, h, frame_comparison] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RestrictedUnitFrame |