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.Affine.ExternalDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.GeometricRank |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ScalarMaps |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Grading |
| 5 | |
| 6 | /-! # Geometric Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.GeometricEuler |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Serre vanishing for native stalk Tor Euler characteristics on |
| 13 | smooth schemes, stated using the actual geometric support dimensions. |
| 14 | The codimension form applies to every smooth projective presentation, |
| 15 | including disconnected presentations. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | |
| 22 | theorem euler_zero {K : Type} [Field K] {X : Scheme} |
| 23 | (f : X ⟶ Spec (.of K)) (d : ℕ) [SmoothOfRelativeDimension d f] |
| 24 | (x : X) (M N : ModuleCat (X.presheaf.stalk x)) |
| 25 | [Module.Finite (X.presheaf.stalk x) M] [Module.Finite (X.presheaf.stalk x) N] |
| 26 | (A B : IrreducibleCloseds X) |
| 27 | (hM : ∀ p ∈ Module.support (X.presheaf.stalk x) M, X.fromSpecStalk x p ∈ (A : Set X)) |
| 28 | (hN : ∀ p ∈ Module.support (X.presheaf.stalk x) N, X.fromSpecStalk x p ∈ (B : Set X)) |
| 29 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f + Foundations.Scheme.SupportDimension.supportTranscendenceDimension B f < |
| 30 | d + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f) |
| 31 | (hi : Module.support (X.presheaf.stalk x) M ∩ Module.support (X.presheaf.stalk x) N ⊆ |
| 32 | {IsLocalRing.closedPoint (X.presheaf.stalk x)}) : |
| 33 | Tor.Euler.euler (X.presheaf.stalk x) M N d = 0 := by |
| 34 | let : Smooth f := SmoothOfRelativeDimension.smooth d f |
| 35 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := |
| 36 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension (n := d) (f := f) x |
| 37 | have hu : U = ⊤ := by |
| 38 | ext y |
| 39 | constructor |
| 40 | · intro _; trivial |
| 41 | · intro _; exact (Subsingleton.elim (f x) y) ▸ e hx |
| 42 | subst U |
| 43 | let : Nonempty V := ⟨⟨x, hx⟩⟩ |
| 44 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f V |
| 45 | let := Stalk.PointAlgebra.scalarAlgebra f x |
| 46 | let : Algebra.IsStandardSmoothOfRelativeDimension d K Γ(X, V) := |
| 47 | Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra_standardSmooth d f V hstd |
| 48 | let := TopCat.Presheaf.algebra_section_stalk X.presheaf (⟨x, hx⟩ : V) |
| 49 | let : IsScalarTower K Γ(X, V) (X.presheaf.stalk x) := |
| 50 | IsScalarTower.of_algebraMap_eq fun c => ((Stalk.ScalarMaps.germ f V x hx).commutes c).symm |
| 51 | let p := hV.primeIdealOf ⟨x, hx⟩ |
| 52 | let : IsLocalization p.asIdeal.primeCompl (X.presheaf.stalk x) := hV.isLocalization_stalk ⟨x, hx⟩ |
| 53 | apply Affine.ExternalDimension.StandardSmoothEuler.euler_zero K Γ(X, V) (X.presheaf.stalk x) d p M N |
| 54 | (Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f) (Foundations.Scheme.SupportDimension.supportTranscendenceDimension B f) |
| 55 | · intro q hq |
| 56 | exact Affine.GeometricRank.bound f ⟨V, hV⟩ x hx A q (hM q hq) |
| 57 | · intro q hq |
| 58 | exact Affine.GeometricRank.bound f ⟨V, hV⟩ x hx B q (hN q hq) |
| 59 | · rw [Affine.GeometricRank.point_dimension f ⟨V, hV⟩ x hx] |
| 60 | exact hd |
| 61 | · exact hi |
| 62 | |
| 63 | theorem supports_at (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (d : ℕ) |
| 64 | [SmoothOfRelativeDimension d X.structureMap] |
| 65 | (A B C : IrreducibleCloseds X.carrier) |
| 66 | (x : X.carrier) (hx : x = CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 67 | (hA : x ∈ (A : Set X.carrier)) |
| 68 | (hB : x ∈ (B : Set X.carrier)) |
| 69 | (hd : X.supportCodimension C < X.supportCodimension A + X.supportCodimension B) |
| 70 | (hi : Module.support (X.carrier.presheaf.stalk x) |
| 71 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A x hA) ∩ |
| 72 | Module.support (X.carrier.presheaf.stalk x) |
| 73 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B x hB) ⊆ |
| 74 | {IsLocalRing.closedPoint (X.carrier.presheaf.stalk x)}) : |
| 75 | Tor.Euler.euler (X.carrier.presheaf.stalk x) |
| 76 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A x hA) |
| 77 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B x hB) d = 0 := by |
| 78 | let := Local.TorFinite.localSupportModule_finite X.carrier A x hA |
| 79 | let := Local.TorFinite.localSupportModule_finite X.carrier B x hB |
| 80 | apply euler_zero X.structureMap d x _ _ A B |
| 81 | (Local.SupportSpectrum.image_mem_support X.carrier A x hA) |
| 82 | (Local.SupportSpectrum.image_mem_support X.carrier B x hB) |
| 83 | · have hAd := Grading.supportDimension_add_codimension X d A |
| 84 | have hBd := Grading.supportDimension_add_codimension X d B |
| 85 | have hCd := Grading.supportDimension_add_codimension X d C |
| 86 | rw [hx] |
| 87 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.structureMap + Foundations.Scheme.SupportDimension.supportTranscendenceDimension B X.structureMap < |
| 88 | d + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm (irreducibleSetEquivPoints C)) X.structureMap |
| 89 | rw [irreducibleSetEquivPoints.symm_apply_apply] |
| 90 | omega |
| 91 | · exact hi |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.GeometricEuler |