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.Resolution.Blowups.Global.MonomialBoundaryAtlas |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Smooth |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.KernelOrderEquiv |
| 4 | |
| 5 | /-! # Model Atlas -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compact native normal-crossing boundaries admit finite affine covers with explicit étale coordinate models. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | structure GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) {β : Type} |
| 16 | (D : β → X.IdealSheafData) where |
| 17 | indices : Type |
| 18 | finite : Fintype indices |
| 19 | rings : indices → CommRingCat |
| 20 | algebra : ∀ i, Algebra ℂ (rings i) |
| 21 | map : ∀ i, Spec (rings i) ⟶ X |
| 22 | isOpenImmersion : ∀ i, IsOpenImmersion (map i) |
| 23 | quasiCompact : ∀ i, QuasiCompact (map i) |
| 24 | ground : ∀ i, map i ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (rings i) |
| 25 | cover : ⨆ i, (map i).opensRange = ⊤ |
| 26 | equations : ∀ i, β → rings i |
| 27 | component : ∀ i j, (D j).comap (map i) = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {equations i j}) |
| 28 | model : ∀ i, Etale.BoundaryModel.Construction.EtaleBoundaryModel ℂ (rings i) β (equations i) |
| 29 | |
| 30 | attribute [instance] GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.finite GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.algebra |
| 31 | GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.isOpenImmersion GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.quasiCompact |
| 32 | |
| 33 | theorem Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas.exists_modelAtlas |
| 34 | {X : Scheme} [CompactSpace X] [IsLocallyNoetherian X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 35 | {β : Type} {D : β → X.IdealSheafData} {L : List (Finset β)} |
| 36 | (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D L) : Nonempty (GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) := by |
| 37 | classical |
| 38 | let : ∀ i, Algebra ℂ Γ(X, A.opens i) := fun i => Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 39 | let κ := (i : A.indices) × PrimeSpectrum Γ(X, A.opens i) |
| 40 | let C (p : κ) := Classical.choice (A.boundary p.1 p.2) |
| 41 | let j (p : κ) : Spec (C p).carrier ⟶ X := |
| 42 | Spec.map (CommRingCat.ofHom (C p).map.toRingHom) ≫ (A.opens p.1).2.fromSpec |
| 43 | let : ∀ p, IsOpenImmersion (j p) := fun p => by |
| 44 | let : IsOpenImmersion (A.opens p.1).2.fromSpec := (A.opens p.1).2.isOpenImmersion_fromSpec |
| 45 | exact inferInstanceAs (IsOpenImmersion (_ ≫ _)) |
| 46 | have hall : Set.univ ⊆ ⋃ p : κ, ((j p).opensRange : Set X) := by |
| 47 | intro x _ |
| 48 | obtain ⟨i, q, hq⟩ := Global.MonomialBoundaryAtlas.Construction.exists_point_on_chosen_affine_spec A.opens A.cover x |
| 49 | apply Set.mem_iUnion.mpr |
| 50 | refine ⟨⟨i, q⟩, (C ⟨i, q⟩).point, ?_⟩ |
| 51 | change (A.opens i).2.fromSpec (PrimeSpectrum.comap (C ⟨i, q⟩).map.toRingHom (C ⟨i, q⟩).point) = x |
| 52 | rw [(C ⟨i, q⟩).point_over] |
| 53 | exact hq |
| 54 | obtain ⟨s, hs⟩ := isCompact_univ.elim_finite_subcover |
| 55 | (fun p : κ => ((j p).opensRange : Set X)) (fun p => (j p).opensRange.isOpen) hall |
| 56 | have hcover : ⨆ p : s, (j p.val).opensRange = ⊤ := by |
| 57 | apply top_le_iff.mp |
| 58 | intro x _ |
| 59 | obtain ⟨p, hp, hx⟩ := Set.mem_iUnion₂.mp (hs (Set.mem_univ x)) |
| 60 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨p, hp⟩, hx⟩ |
| 61 | have hg (p : κ) : j p ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (C p).carrier := by |
| 62 | dsimp only [j] |
| 63 | rw [Category.assoc, ← Affine.ComplexNaturality.Construction.affineComplexScalars_spec f (A.opens p.1), ← Spec.map_comp] |
| 64 | apply congrArg Spec.map |
| 65 | ext c |
| 66 | exact (C p).map.commutes c |
| 67 | refine ⟨{ |
| 68 | indices := s |
| 69 | finite := inferInstance |
| 70 | rings := fun p => (C p.val).carrier |
| 71 | algebra := fun p => (C p.val).algebra |
| 72 | map := fun p => j p.val |
| 73 | isOpenImmersion := fun p => inferInstance |
| 74 | quasiCompact := fun p => inferInstance |
| 75 | ground := fun p => hg p.val |
| 76 | cover := hcover |
| 77 | equations := fun p l => (C p.val).map (A.equations p.val.1 l) |
| 78 | component := ?_ |
| 79 | model := fun p => (C p.val).model }⟩ |
| 80 | intro p l |
| 81 | change (D l).comap (Spec.map (CommRingCat.ofHom (C p.val).map.toRingHom) ≫ (A.opens p.val.1).2.fromSpec) = _ |
| 82 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel, A.component, Ideal.map_span, Set.image_singleton] |
| 83 | |
| 84 | def GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.affineIdeal |
| 85 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β : Type} {D : β → X.IdealSheafData} |
| 86 | (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (J : X.IdealSheafData) (i : A.indices) : Ideal (A.rings i) := |
| 87 | (Affine.KernelOrderEquiv.Construction.exists_affineQuotientKernel (J.comap (A.map i))).choose |
| 88 | |
| 89 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.affineIdeal_eq |
| 90 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β : Type} {D : β → X.IdealSheafData} |
| 91 | (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (J : X.IdealSheafData) (i : A.indices) : |
| 92 | J.comap (A.map i) = Affine.QuotientKernel.Construction.affineQuotientKernel (A.affineIdeal J i) := |
| 93 | (Affine.KernelOrderEquiv.Construction.exists_affineQuotientKernel (J.comap (A.map i))).choose_spec.symm |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Resolution.Blowups |