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.IntersectionTheory.ProjectionFormula.Support.Fields |
| 2 | import OAI.AlgebraicGeometry.Betti.SmoothDimension |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.LocalDomainComponents |
| 4 | |
| 5 | /-! # Grading -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Grading |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The natural-number grading in ProjectionFormula is the actual function-field |
| 14 | dimension grading. This supplies the finite field extension whenever a |
| 15 | proper pushforward generator survives in its specified target degree. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | theorem integral_dimension_of_relativeDimension {X : Scheme} [IsIntegral X] |
| 20 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) [SmoothOfRelativeDimension n f] : |
| 21 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = n := by |
| 22 | let : Smooth f := SmoothOfRelativeDimension.smooth n f |
| 23 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := |
| 24 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension |
| 25 | (n := n) (f := f) (genericPoint X) |
| 26 | have htop : U = ⊤ := by |
| 27 | ext y |
| 28 | constructor |
| 29 | · intro _ |
| 30 | trivial |
| 31 | · intro _ |
| 32 | have hy : f (genericPoint X) = y := Subsingleton.elim _ _ |
| 33 | exact hy ▸ e hx |
| 34 | subst U |
| 35 | let : Nonempty V := ⟨⟨genericPoint X, hx⟩⟩ |
| 36 | let := Betti.AffineDimension.Realization.sectionBaseAlgebra f V |
| 37 | change Algebra.IsStandardSmoothOfRelativeDimension n Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) Γ(X, V) at hstd |
| 38 | obtain ⟨ι, σ, hσ, hι, P, hP⟩ := hstd.out |
| 39 | let : Finite σ := hσ |
| 40 | let : Finite ι := hι |
| 41 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension f] |
| 42 | exact (Betti.AffineDimension.Realization.affinePresentation_dimension f V hV ι σ P).symm.trans hP |
| 43 | |
| 44 | theorem component_dimension (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 45 | [SmoothOfRelativeDimension m P.structureMap] |
| 46 | (C : irreducibleComponents P.carrier) : |
| 47 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (P.componentVariety C).structureMap = m := by |
| 48 | let : SmoothOfRelativeDimension (0 + m) (P.componentInclusion C ≫ P.structureMap) := |
| 49 | smoothOfRelativeDimension_comp 0 m (P.componentInclusion C) P.structureMap |
| 50 | let : SmoothOfRelativeDimension m (P.componentVariety C).structureMap := by |
| 51 | simpa only [zero_add, P.componentInclusion_over] using |
| 52 | (inferInstance : SmoothOfRelativeDimension (0 + m) |
| 53 | (P.componentInclusion C ≫ P.structureMap)) |
| 54 | exact integral_dimension_of_relativeDimension _ m |
| 55 | |
| 56 | theorem supportDimension_add_codimension (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 57 | [SmoothOfRelativeDimension m P.structureMap] (W : IrreducibleCloseds P.carrier) : |
| 58 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W P.structureMap + P.supportCodimension W = m := by |
| 59 | let C := P.supportComponent W |
| 60 | let Z := P.componentSupportPreimage C W (P.support_subset_component W) |
| 61 | have hW : P.componentSupportImage C Z = W := P.componentSupportImage_preimage C W _ |
| 62 | have h := CycleClass.Geometric.DimensionCycles.supportDimension_add_dimensionCodimension (P.componentVariety C) Z |
| 63 | rw [← P.componentSupportImage_transcendenceDimension C Z, |
| 64 | ← P.supportCodimension_componentSupportImage C Z, hW, |
| 65 | component_dimension P m C] at h |
| 66 | exact h |
| 67 | |
| 68 | theorem image_dimension_eq_of_grade {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 69 | (f : X.toOver ⟶ Y.toOver) (m n p q : ℕ) |
| 70 | [SmoothOfRelativeDimension m X.structureMap] |
| 71 | [SmoothOfRelativeDimension n Y.structureMap] |
| 72 | (hdeg : p + n = q + m) (W : X.DimensionCycleSupport p) |
| 73 | (himage : Y.supportCodimension (ProperCycleLinearity.imageSupport f W.val) = q) : |
| 74 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f W.val) Y.structureMap = |
| 75 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W.val X.structureMap := by |
| 76 | have hX := supportDimension_add_codimension X m W.val |
| 77 | have hY := supportDimension_add_codimension Y n (ProperCycleLinearity.imageSupport f W.val) |
| 78 | rw [W.property] at hX |
| 79 | rw [himage] at hY |
| 80 | omega |
| 81 | |
| 82 | /-- The coefficient of a surviving generator is a positive field degree, |
| 83 | rather than the junk value of finrank for an infinite field extension. -/ |
| 84 | theorem residueDegree_pos_of_grade {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 85 | (f : X.toOver ⟶ Y.toOver) (m n p q : ℕ) |
| 86 | [SmoothOfRelativeDimension m X.structureMap] |
| 87 | [SmoothOfRelativeDimension n Y.structureMap] |
| 88 | (hdeg : p + n = q + m) (W : X.DimensionCycleSupport p) |
| 89 | (himage : Y.supportCodimension (ProperCycleLinearity.imageSupport f W.val) = q) : |
| 90 | 0 < f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W.val) := |
| 91 | Support.Fields.residueDegree_pos_of_dimension_eq f W.val |
| 92 | (image_dimension_eq_of_grade f m n p q hdeg W himage) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | /-! Every point of a Noetherian smooth scheme over the complex |
| 97 | field lies in an integral open with the same smooth relative dimension. -/ |
| 98 | |
| 99 | set_option backward.isDefEq.respectTransparency false |
| 100 | set_option backward.isDefEq.respectTransparency.types false |
| 101 | |
| 102 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 103 | |
| 104 | namespace SmoothIntegralNeighborhood |
| 105 | |
| 106 | theorem exists_open {S : Scheme} [NoetherianSpace S] (f : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (r : ℕ) |
| 107 | [SmoothOfRelativeDimension r f] (x : S) : |
| 108 | ∃ U : S.Opens, x ∈ U ∧ IsIntegral (U : Scheme) ∧ SmoothOfRelativeDimension r (U.ι ≫ f) := by |
| 109 | let : Smooth f := SmoothOfRelativeDimension.smooth r f |
| 110 | let C := irreducibleComponent x |
| 111 | have hC : C ∈ irreducibleComponents S := irreducibleComponent_mem_irreducibleComponents x |
| 112 | let U : S.Opens := ⟨C, Foundations.Scheme.LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains |
| 113 | (Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain f) NoetherianSpace.finite_irreducibleComponents hC⟩ |
| 114 | let : IrreducibleSpace (U : Scheme) := isIrreducible_iff_irreducibleSpace.mp hC.1 |
| 115 | let : IsReduced S := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced f |
| 116 | let : IsReduced (U : Scheme) := inferInstance |
| 117 | let : IsIntegral (U : Scheme) := isIntegral_of_irreducibleSpace_of_isReduced _ |
| 118 | refine ⟨U, mem_irreducibleComponent, inferInstance, ?_⟩ |
| 119 | have he : SmoothOfRelativeDimension (0 + r) (U.ι ≫ f) := inferInstance |
| 120 | rw [Nat.zero_add] at he |
| 121 | exact he |
| 122 | |
| 123 | end SmoothIntegralNeighborhood |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Grading |