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.Quotients.FiniteDescent.ModelFrame |
| 2 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 3 | |
| 4 | /-! # Field Model Frame Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldModelFrameNeighborhood |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A cycle detected after an arbitrary field-valued base change gives a |
| 11 | frame near that field point. The Cartesian square retains the full base. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | universe u |
| 16 | |
| 17 | namespace Construction.SectionTrivialityOpen |
| 18 | |
| 19 | theorem mem_of_cartesian_frame |
| 20 | {X S Y T : Scheme.{u}} (π : X ⟶ S) [IsProper π] |
| 21 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf) |
| 22 | (f : Y ⟶ X) (ρ : Y ⟶ T) (q : T ⟶ S) (H : IsPullback f ρ π q) |
| 23 | (t : T) (hs : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)) : q t ∈ SectionTriviality.Construction.SectionTrivialityOpen.baseOpen π L s := by |
| 24 | have : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) := hs |
| 25 | have hn : f ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s = ⊤ := |
| 26 | (SectionBase.Construction.SectionBaseChange.nonvanishing_pullback f L s).symm.trans |
| 27 | ((AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s)).mp hs) |
| 28 | change q t ∉ π '' (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s : Set X)ᶜ |
| 29 | rintro ⟨x, hx, hxq⟩ |
| 30 | have hr : x ∈ Set.range (pullback.fst π q) := by |
| 31 | rw [Scheme.Pullback.range_fst] |
| 32 | exact ⟨t, hxq.symm⟩ |
| 33 | obtain ⟨z, hz⟩ := hr |
| 34 | let y := H.isoPullback.inv z |
| 35 | have hy : f y = x := |
| 36 | (congrArg (fun k : pullback π q ⟶ X => k z) H.isoPullback_inv_fst).trans hz |
| 37 | have hmem : f y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := by |
| 38 | change y ∈ f ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 39 | rw [hn] |
| 40 | trivial |
| 41 | exact hx (hy ▸ hmem) |
| 42 | |
| 43 | theorem isIso_of_baseOpen_eq_top |
| 44 | {X S : Scheme.{u}} (π : X ⟶ S) [IsProper π] |
| 45 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf) |
| 46 | (h : SectionTriviality.Construction.SectionTrivialityOpen.baseOpen π L s = ⊤) : IsIso s := by |
| 47 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top s).mpr |
| 48 | apply top_unique |
| 49 | intro x _ |
| 50 | have hx : π x ∈ SectionTriviality.Construction.SectionTrivialityOpen.baseOpen π L s := by rw [h]; trivial |
| 51 | by_contra hn |
| 52 | exact hx ⟨x, hn, rfl⟩ |
| 53 | |
| 54 | end Construction.SectionTrivialityOpen |
| 55 | |
| 56 | namespace Construction.ModelFrameNeighborhood |
| 57 | |
| 58 | theorem exists_open_of_field_point |
| 59 | {X S Y : Scheme.{u}} (π : X ⟶ S) [IsProper π] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 60 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 61 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 62 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π L.sheaf U) [QuasiIsoAt φ 0] |
| 63 | {K : Type u} [Field K] (q : Spec (.of K) ⟶ S) |
| 64 | (f : Y ⟶ X) (ρ : Y ⟶ Spec (.of K)) (H : IsPullback f ρ π q) |
| 65 | [ConnectedSpace Y] [IsReduced Y] |
| 66 | (he : Nonempty ((L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) |
| 67 | (hφ : QuasiIsoAt (CechModelBaseChange.Construction.CechBaseChangeMap.modelMap f π ρ q H.w L.sheaf U φ) 0) |
| 68 | (z : (D.d 0 1).hom.ker) (hz : (ModelOneTensor.Construction.CechBaseChangeMap.oneCycle q z).val ≠ 0) : |
| 69 | ∃ V : S.Opens, q (IsLocalRing.closedPoint K) ∈ V ∧ |
| 70 | Nonempty ((L.pullback (π ⁻¹ᵁ V).ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π ⁻¹ᵁ V).toScheme) := by |
| 71 | have := hφ |
| 72 | let a := GlobalModel.Construction.GlobalModelSections.equiv π L.sheaf U hU φ z |
| 73 | let s := (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf).symm a |
| 74 | have hs : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s ≠ 0 := by |
| 75 | intro h |
| 76 | have ha := PullbackSectionValue.Construction.PullbackSectionZero.value_zero f s h |
| 77 | have hv : AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf s = a := |
| 78 | (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf).apply_symm_apply a |
| 79 | rw [hv] at ha |
| 80 | exact ModelFiberNonzero.Construction.CechBaseChangeMap.global_section_pullback_ne_zero f π ρ q H.w |
| 81 | L.sheaf U hU φ z hz ha |
| 82 | let F : Over (Spec (.of K)) := Over.mk ρ |
| 83 | have : IsProper F.hom := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 84 | have : ConnectedSpace F.left := inferInstanceAs (ConnectedSpace Y) |
| 85 | have : IsReduced F.left := inferInstanceAs (IsReduced Y) |
| 86 | have hi := TrivialBundle.Construction.TrivialBundleFrame.isIso F he.some (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) hs |
| 87 | refine ⟨SectionTriviality.Construction.SectionTrivialityOpen.baseOpen π L s, |
| 88 | SectionTrivialityOpen.mem_of_cartesian_frame π L s f ρ q H (IsLocalRing.closedPoint K) hi, ?_⟩ |
| 89 | have := SectionTriviality.Construction.SectionTrivialityOpen.isIso_restrict π L s |
| 90 | exact ⟨(asIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (π ⁻¹ᵁ SectionTriviality.Construction.SectionTrivialityOpen.baseOpen π L s).ι s)).symm⟩ |
| 91 | |
| 92 | end Construction.ModelFrameNeighborhood |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldModelFrameNeighborhood |