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.NumberTheory.PadicHodge.IntegralComparison.AffineSection.Isomorphism |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.LinearHom |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Invertible |
| 4 | |
| 5 | /-! # Detection -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.Detection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Isomorphisms of quasicoherent module sheaves are detected by their |
| 12 | actual module sections on an affine open cover. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem spec {R : Type u} [CommRing R] |
| 21 | {M N : (Spec (CommRingCat.of R)).Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 22 | (a : M ⟶ N) [IsIso (Affine.InternalHom.sections.map a)] : IsIso a := by |
| 23 | let e := Isomorphism.iso M N (asIso (Affine.InternalHom.sections.map a)) |
| 24 | have he : a = e.hom := by |
| 25 | apply (Affine.InternalHom.homEquiv M N).injective |
| 26 | calc |
| 27 | _ = Affine.InternalHom.sections.map a := Affine.InternalHom.homEquiv_apply M N a |
| 28 | _ = Affine.InternalHom.sections.map e.hom := |
| 29 | (Isomorphism.sections_iso_hom M N |
| 30 | (asIso (Affine.InternalHom.sections.map a))).symm |
| 31 | _ = _ := (Affine.InternalHom.homEquiv_apply M N e.hom).symm |
| 32 | rw [he] |
| 33 | infer_instance |
| 34 | |
| 35 | theorem open_restrict {X : Scheme.{u}} {M N : X.Modules} |
| 36 | [M.IsQuasicoherent] [N.IsQuasicoherent] (a : M ⟶ N) |
| 37 | (U : X.Opens) (hU : IsAffineOpen U) |
| 38 | [IsIso ((Affine.ModuleExactSections.sections U).map a)] : |
| 39 | IsIso ((Scheme.Modules.restrictFunctor U.ι).map a) := by |
| 40 | let G := AffineOpen.InternalHom.chartFunctor U hU |
| 41 | let : (G.obj M).IsQuasicoherent := AffineOpen.InternalHom.chart_quasicoherent U hU M |
| 42 | let : (G.obj N).IsQuasicoherent := AffineOpen.InternalHom.chart_quasicoherent U hU N |
| 43 | have hS : IsIso ((AffineOpen.InternalHom.sections U hU).map a) := |
| 44 | (NatIso.isIso_map_iff (AffineOpen.LinearHom.sectionsIso U hU) a).mp inferInstance |
| 45 | let : IsIso (Affine.InternalHom.sections.map (G.map a)) := hS |
| 46 | let : IsIso (G.map a) := spec (G.map a) |
| 47 | let F := Scheme.Modules.restrictFunctor hU.isoSpec.inv |
| 48 | let : F.IsEquivalence := inferInstanceAs |
| 49 | (Scheme.Modules.restrictFunctor hU.isoSpec.symm.hom).IsEquivalence |
| 50 | let : IsIso (F.map ((Scheme.Modules.restrictFunctor U.ι).map a)) := |
| 51 | inferInstanceAs (IsIso (G.map a)) |
| 52 | exact isIso_of_reflects_iso ((Scheme.Modules.restrictFunctor U.ι).map a) F |
| 53 | |
| 54 | theorem cover {X : Scheme.{u}} {M N : X.Modules} |
| 55 | [M.IsQuasicoherent] [N.IsQuasicoherent] (a : M ⟶ N) |
| 56 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) (hAffine : ∀ i, IsAffineOpen (U i)) |
| 57 | (h : ∀ i, IsIso ((Affine.ModuleExactSections.sections (U i)).map a)) : IsIso a := by |
| 58 | apply AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isIso_of_isIso_restrict a U hU |
| 59 | intro i |
| 60 | let := h i |
| 61 | exact open_restrict a (U i) (hAffine i) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.Detection |