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.Global.CanonicalBoundaryAtlas |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.AffinePullback |
| 4 | |
| 5 | /-! # Affine Boundary Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native affine refinements transport full boundary and admissible-center atlases to open subschemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {V X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (j : V ⟶ X) |
| 16 | |
| 17 | def Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap (U : X.affineOpens) (W : V.affineOpens) (h : W.1 ≤ j ⁻¹ᵁ U.1) : |
| 18 | letI := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 19 | letI := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) W |
| 20 | Γ(X, U) →ₐ[ℂ] Γ(V, W) := by |
| 21 | let : Algebra ℂ Γ(X, U) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 22 | let : Algebra ℂ Γ(V, W) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) W |
| 23 | exact { toRingHom := (j.appLE U.1 W.1 h).hom |
| 24 | commutes' := fun c => RingHom.congr_fun (Affine.ComplexNaturality.Construction.affineComplexScalars_appLE f j W U h) c } |
| 25 | |
| 26 | theorem Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap_etale [IsOpenImmersion j] |
| 27 | (U : X.affineOpens) (W : V.affineOpens) (h : W.1 ≤ j ⁻¹ᵁ U.1) : |
| 28 | letI := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 29 | letI := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) W |
| 30 | (Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap f j U W h).toRingHom.Etale := by |
| 31 | let : Algebra ℂ Γ(X, U) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 32 | let : Algebra ℂ Γ(V, W) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) W |
| 33 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 34 | let : IsOpenImmersion W.2.fromSpec := W.2.isOpenImmersion_fromSpec |
| 35 | let φ := j.appLE U.1 W.1 h |
| 36 | have he : Spec.map φ ≫ U.2.fromSpec = W.2.fromSpec ≫ j := |
| 37 | IsAffineOpen.SpecMap_appLE_fromSpec j U.2 W.2 h |
| 38 | let : IsOpenImmersion (Spec.map φ ≫ U.2.fromSpec) := he.symm ▸ inferInstance |
| 39 | let : IsOpenImmersion (Spec.map φ) := IsOpenImmersion.of_comp _ U.2.fromSpec |
| 40 | exact (HasRingHomProperty.Spec_iff (P := @Etale) (φ := φ)).mp inferInstance |
| 41 | |
| 42 | abbrev Open.AffineBoundaryRestriction.Construction.openAffineRefinement {ι : Type} (U : ι → X.affineOpens) : Type := |
| 43 | Σ i, {W : V.affineOpens // W.1 ≤ j ⁻¹ᵁ (U i).1} |
| 44 | |
| 45 | theorem Open.AffineBoundaryRestriction.Construction.openAffineRefinement_cover {ι : Type} (U : ι → X.affineOpens) |
| 46 | (hU : ⨆ i, (U i).1 = ⊤) : |
| 47 | (⨆ r : Open.AffineBoundaryRestriction.Construction.openAffineRefinement j U, r.2.val.1) = ⊤ := by |
| 48 | apply top_le_iff.mp |
| 49 | intro x _ |
| 50 | have hx : j x ∈ ⨆ i, (U i).1 := by rw [hU]; trivial |
| 51 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 52 | obtain ⟨W, hW, hxW, hsub⟩ := exists_isAffineOpen_mem_and_subset |
| 53 | (U := j ⁻¹ᵁ (U i).1) (x := x) hi |
| 54 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨i, ⟨⟨W, hW⟩, hsub⟩⟩, hxW⟩ |
| 55 | |
| 56 | def Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas.comapOpen [IsOpenImmersion j] |
| 57 | {β : Type} {D : β → X.IdealSheafData} {L : List (Finset β)} |
| 58 | (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D L) : |
| 59 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (j ≫ f) (fun l => (D l).comap j) L := by |
| 60 | let φ (r : Open.AffineBoundaryRestriction.Construction.openAffineRefinement j A.opens) := |
| 61 | Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap f j (A.opens r.1) r.2.val r.2.property |
| 62 | refine { indices := Open.AffineBoundaryRestriction.Construction.openAffineRefinement j A.opens |
| 63 | opens := fun r => r.2.val |
| 64 | cover := Open.AffineBoundaryRestriction.Construction.openAffineRefinement_cover j A.opens A.cover |
| 65 | equations := fun r l => φ r (A.equations r.1 l) |
| 66 | component := ?_ |
| 67 | boundary := ?_ |
| 68 | faces := ?_ } |
| 69 | · intro r l |
| 70 | rw [IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le (D l) j (A.opens r.1) r.2.val r.2.property, |
| 71 | A.component r.1 l, Ideal.map_span, Set.image_singleton] |
| 72 | rfl |
| 73 | · intro r |
| 74 | let : Algebra ℂ Γ(X, A.opens r.1) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens r.1) |
| 75 | let : Algebra ℂ Γ(V, r.2.val) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) r.2.val |
| 76 | exact (A.boundary r.1).etale_baseChange (S := .of Γ(V, r.2.val)) (φ r) |
| 77 | (Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap_etale f j _ _ _) |
| 78 | · intro r |
| 79 | let : Algebra ℂ Γ(X, A.opens r.1) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens r.1) |
| 80 | let : Algebra ℂ Γ(V, r.2.val) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) r.2.val |
| 81 | exact (A.faces r.1).map (φ r).toRingHom |
| 82 | |
| 83 | def Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.comapOpen [IsOpenImmersion j] |
| 84 | {I : X.IdealSheafData} {β : Type} {D : β → X.IdealSheafData} |
| 85 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) : |
| 86 | Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas (j ≫ f) (I.comap j) (fun l => (D l).comap j) := by |
| 87 | let φ (r : Open.AffineBoundaryRestriction.Construction.openAffineRefinement j A.opens) := |
| 88 | Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap f j (A.opens r.1) r.2.val r.2.property |
| 89 | refine { indices := Open.AffineBoundaryRestriction.Construction.openAffineRefinement j A.opens |
| 90 | opens := fun r => r.2.val |
| 91 | cover := Open.AffineBoundaryRestriction.Construction.openAffineRefinement_cover j A.opens A.cover |
| 92 | equations := fun r l => φ r (A.equations r.1 l) |
| 93 | divided := fun r => A.divided r.1 |
| 94 | component := ?_ |
| 95 | contained := ?_ |
| 96 | boundary := ?_ |
| 97 | center := ?_ } |
| 98 | · intro r l |
| 99 | rw [IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le (D l) j (A.opens r.1) r.2.val r.2.property, |
| 100 | A.component r.1 l, Ideal.map_span, Set.image_singleton] |
| 101 | rfl |
| 102 | · intro r l hl |
| 103 | rw [IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le I j (A.opens r.1) r.2.val r.2.property] |
| 104 | exact Ideal.mem_map_of_mem _ (A.contained r.1 l hl) |
| 105 | · intro r |
| 106 | let : Algebra ℂ Γ(X, A.opens r.1) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens r.1) |
| 107 | let : Algebra ℂ Γ(V, r.2.val) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) r.2.val |
| 108 | exact (A.boundary r.1).etale_baseChange (S := .of Γ(V, r.2.val)) (φ r) |
| 109 | (Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap_etale f j _ _ _) |
| 110 | · intro r |
| 111 | let : Algebra ℂ Γ(X, A.opens r.1) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens r.1) |
| 112 | let : Algebra ℂ Γ(V, r.2.val) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra (j ≫ f) r.2.val |
| 113 | rw [IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le I j (A.opens r.1) r.2.val r.2.property] |
| 114 | exact (A.center r.1).etale_baseChange (S := .of Γ(V, r.2.val)) (φ r) |
| 115 | (Open.AffineBoundaryRestriction.Construction.affineOpenSectionAlgMap_etale f j _ _ _) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.Resolution.Blowups |