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.FieldModelFrameNeighborhood |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness |
| 3 | import Mathlib.AlgebraicGeometry.Stalk |
| 4 | |
| 5 | /-! # Local Coefficient Frame Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalCoefficientFrameNeighborhood.Construction.ModelFrameNeighborhood |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On an affine scheme with local coefficient ring, a neighborhood of |
| 12 | the actual coefficient-residue point is the whole scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | universe u |
| 17 | |
| 18 | theorem coefficientResidue_open_eq_top |
| 19 | (S : Scheme.{u}) [IsAffine S] [IsLocalRing Γ(S, ⊤)] |
| 20 | (V : S.Opens) |
| 21 | (hV : AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)) |
| 22 | (IsLocalRing.closedPoint (IsLocalRing.ResidueField Γ(S, ⊤))) ∈ V) : V = ⊤ := by |
| 23 | let a := inv S.toSpecΓ |
| 24 | have hq : AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)) |
| 25 | (IsLocalRing.closedPoint (IsLocalRing.ResidueField Γ(S, ⊤))) = |
| 26 | a (IsLocalRing.closedPoint Γ(S, ⊤)) := by |
| 27 | change a (PrimeSpectrum.comap (IsLocalRing.residue Γ(S, ⊤)) |
| 28 | (IsLocalRing.closedPoint (IsLocalRing.ResidueField Γ(S, ⊤)))) = _ |
| 29 | rw [IsLocalRing.PrimeSpectrum.comap_residue] |
| 30 | have ha : a (IsLocalRing.closedPoint Γ(S, ⊤)) ∈ V := hq ▸ hV |
| 31 | have htop : a ⁻¹ᵁ V = ⊤ := Scheme.preimage_eq_top_of_closedPoint_mem a ha |
| 32 | apply top_unique |
| 33 | intro x _ |
| 34 | have hx : S.toSpecΓ x ∈ a ⁻¹ᵁ V := by rw [htop]; trivial |
| 35 | change a (S.toSpecΓ x) ∈ V at hx |
| 36 | have he : a (S.toSpecΓ x) = x := |
| 37 | congrArg (fun f : S ⟶ S => f x) (IsIso.hom_inv_id S.toSpecΓ) |
| 38 | exact he ▸ hx |
| 39 | |
| 40 | theorem exists_global_frame_of_coefficient_residue |
| 41 | {X S Y : Scheme.{u}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] |
| 42 | (π : X ⟶ S) [IsProper π] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 43 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 44 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 45 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π L.sheaf U) [QuasiIsoAt φ 0] |
| 46 | (f : Y ⟶ X) (ρ : Y ⟶ Spec (.of (IsLocalRing.ResidueField Γ(S, ⊤)))) |
| 47 | (H : IsPullback f ρ π |
| 48 | (AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)))) |
| 49 | [ConnectedSpace Y] [IsReduced Y] |
| 50 | (he : Nonempty ((L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) |
| 51 | (hφ : QuasiIsoAt (CechModelBaseChange.Construction.CechBaseChangeMap.modelMap f π ρ |
| 52 | (AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))) |
| 53 | H.w L.sheaf U φ) 0) |
| 54 | (z : (D.d 0 1).hom.ker) |
| 55 | (hz : (ModelOneTensor.Construction.CechBaseChangeMap.oneCycle |
| 56 | (AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))) z).val ≠ 0) : |
| 57 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := by |
| 58 | let q := AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)) |
| 59 | have := hφ |
| 60 | let a := GlobalModel.Construction.GlobalModelSections.equiv π L.sheaf U hU φ z |
| 61 | let s := (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf).symm a |
| 62 | have hs : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s ≠ 0 := by |
| 63 | intro h |
| 64 | have ha := PullbackSectionValue.Construction.PullbackSectionZero.value_zero f s h |
| 65 | have hv : AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf s = a := |
| 66 | (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf).apply_symm_apply a |
| 67 | rw [hv] at ha |
| 68 | exact ModelFiberNonzero.Construction.CechBaseChangeMap.global_section_pullback_ne_zero f π ρ q H.w |
| 69 | L.sheaf U hU φ z hz ha |
| 70 | let F := Over.mk ρ |
| 71 | have : IsProper F.hom := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 72 | have : ConnectedSpace F.left := inferInstanceAs (ConnectedSpace Y) |
| 73 | have : IsReduced F.left := inferInstanceAs (IsReduced Y) |
| 74 | have hi := TrivialBundle.Construction.TrivialBundleFrame.isIso F he.some (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s) hs |
| 75 | have hpoint := FieldModelFrameNeighborhood.Construction.SectionTrivialityOpen.mem_of_cartesian_frame π L s f ρ q H |
| 76 | (IsLocalRing.closedPoint (IsLocalRing.ResidueField Γ(S, ⊤))) hi |
| 77 | have htop := coefficientResidue_open_eq_top S (SectionTriviality.Construction.SectionTrivialityOpen.baseOpen π L s) hpoint |
| 78 | have : IsIso s := FieldModelFrameNeighborhood.Construction.SectionTrivialityOpen.isIso_of_baseOpen_eq_top π L s htop |
| 79 | exact ⟨(asIso s).symm⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalCoefficientFrameNeighborhood.Construction.ModelFrameNeighborhood |