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.SimultaneousAffineEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalBaseChange |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalWeight |
| 4 | |
| 5 | /-! # Affine Expansion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.AffineExpansion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! After meeting fixed affine strata properly, intersecting a |
| 14 | principal quotient uses the actual divisor orders and native support |
| 15 | stalks, with no unspecified cycle or multiplicity data. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportStalk |
| 23 | |
| 24 | def Expansion (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 25 | {R : Type} [CommRing R] [IsNoetherianRing R] (j : Spec (.of R) ⟶ V.carrier) |
| 26 | (v : PrimeSpectrum R) (r : R) (F : Finset (PrimeSpectrum R)) |
| 27 | (a : V.RationalDimensionCycle p) : Prop := |
| 28 | ∀ A ∈ a.support, ∀ C : V.DimensionCycleSupport (p + q), ∀ x : PrimeSpectrum R, |
| 29 | j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val → CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier) → |
| 30 | ∀ hvx : v.asIdeal ≤ x.asIdeal, |
| 31 | letI : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 32 | ∀ (N : ModuleCat ((Spec (.of R)).presheaf.stalk x)) [Module.Finite ((Spec (.of R)).presheaf.stalk x) N] |
| 33 | (d : ℕ) [HasProjectiveDimensionLE N d], |
| 34 | Module.support ((Spec (.of R)).presheaf.stalk x) |
| 35 | (QuotSMulTop (StructureSheaf.toStalk R x r) |
| 36 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) (Affine.SupportStalk.support R v) x (Affine.SupportStalk.mem R v x hvx))) ∩ |
| 37 | Module.support ((Spec (.of R)).presheaf.stalk x) N ⊆ |
| 38 | {IsLocalRing.closedPoint ((Spec (.of R)).presheaf.stalk x)} → |
| 39 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 40 | (.of _ (QuotSMulTop (StructureSheaf.toStalk R x r) |
| 41 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) (Affine.SupportStalk.support R v) x (Affine.SupportStalk.mem R v x hvx)))) N d = |
| 42 | ∑ z ∈ F, Affine.PrincipalWeight.weight R v r z * |
| 43 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 44 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj |
| 45 | (.of R (R ⧸ z.asIdeal))) N d |
| 46 | |
| 47 | theorem of_expansion (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 48 | {R : Type} [CommRing R] [IsNoetherianRing R] |
| 49 | (j : Spec (.of R) ⟶ V.carrier) (v : PrimeSpectrum R) (r : R) (hr : r ∉ v.asIdeal) |
| 50 | (F : Finset (PrimeSpectrum R)) (a : V.RationalDimensionCycle p) |
| 51 | (hF : ∀ z ∈ F, z ∈ Module.support R (QuotSMulTop r (R ⧸ v.asIdeal))) |
| 52 | (he : SimultaneousAffineEuler.Expansion V p q j (.of R (QuotSMulTop r (R ⧸ v.asIdeal))) F a) : |
| 53 | Expansion V p q j v r F a := by |
| 54 | intro A hA C x hx hAC hvx |
| 55 | let : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 56 | intro N _ d _ hisolated |
| 57 | have hs := (Affine.PrincipalBaseChange.equiv R v x hvx r).support_eq |
| 58 | have hiso : Module.support ((Spec (.of R)).presheaf.stalk x) |
| 59 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj |
| 60 | (.of R (QuotSMulTop r (R ⧸ v.asIdeal)))) ∩ |
| 61 | Module.support ((Spec (.of R)).presheaf.stalk x) N ⊆ |
| 62 | {IsLocalRing.closedPoint ((Spec (.of R)).presheaf.stalk x)} := by |
| 63 | rwa [hs] |
| 64 | rw [← Affine.PrincipalBaseChange.euler R v x hvx r N d, he A hA C x hx hAC N d hiso] |
| 65 | apply Finset.sum_congr rfl |
| 66 | intro z hz |
| 67 | rw [Affine.PrincipalWeight.eq_length R v r hr z (hF z hz)] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! One move gives the native divisor-order expansion for finitely |
| 72 | many actual principal equations on integral affine supports. -/ |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false |
| 75 | set_option backward.isDefEq.respectTransparency.types false |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 78 | |
| 79 | namespace Simultaneous |
| 80 | |
| 81 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 82 | |
| 83 | theorem exists_moved (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 84 | [SmoothOfRelativeDimension m V.structureMap] |
| 85 | {τ ι : Type} [Finite τ] [Finite ι] |
| 86 | (R : τ → Type) [∀ i, CommRing (R i)] [∀ i, IsNoetherianRing (R i)] |
| 87 | (j : ∀ i, Spec (.of (R i)) ⟶ V.carrier) [∀ i, IsOpenImmersion (j i)] |
| 88 | (k : τ → ℕ) (v : ∀ i, PrimeSpectrum (R i)) |
| 89 | (hv : ∀ i, V.supportCodimension (Affine.FiltrationAvoidance.support (j i) (v i)) = k i) |
| 90 | (r : ∀ i, R i) (hr : ∀ i, r i ∉ (v i).asIdeal) |
| 91 | (Z₀ : ι → IrreducibleCloseds V.carrier) (a : V.RationalDimensionCycle p) : |
| 92 | ∃ (F : ∀ i, Finset (PrimeSpectrum (R i))) (a' : V.RationalDimensionCycle p), |
| 93 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent V p a a' ∧ |
| 94 | a' ∈ Proper.SupportCycles.submodule V p Z₀ ∧ |
| 95 | (∀ i, ∀ z ∈ F i, (v i).asIdeal ≤ z.asIdeal ∧ r i ∈ z.asIdeal ∧ |
| 96 | V.supportCodimension (Affine.FiltrationAvoidance.support (j i) z) = k i + 1) ∧ |
| 97 | (∀ i, ∀ z : PrimeSpectrum (R i), V.supportCodimension (Affine.FiltrationAvoidance.support (j i) z) = k i + 1 → z ∉ F i → |
| 98 | Affine.PrincipalWeight.weight (R i) (v i) (r i) z = 0) ∧ |
| 99 | ∀ i, Expansion V p (k i + 1) (j i) (v i) (r i) (F i) a' := by |
| 100 | let M := fun i => ModuleCat.of (R i) (QuotSMulTop (r i) (R i ⧸ (v i).asIdeal)) |
| 101 | have hM (i : τ) : ∀ z ∈ Module.support (R i) (M i), |
| 102 | k i + 1 ≤ V.supportCodimension (Affine.FiltrationAvoidance.support (j i) z) := |
| 103 | Affine.PrincipalCodimension.bound V m (k i) (j i) (v i) (hv i) (r i) (hr i) |
| 104 | obtain ⟨F, a', ha', hproper, hF, hout, he⟩ := |
| 105 | SimultaneousAffineEuler.exists_moved V m p R j (fun i => k i + 1) M hM Z₀ a |
| 106 | refine ⟨F, a', ha', hproper, ?_, ?_, ?_⟩ |
| 107 | · intro i z hz |
| 108 | have h := Affine.PrincipalCodimension.mem_support (v i) z (r i) (hF i z hz).1 |
| 109 | exact ⟨h.1, h.2, (hF i z hz).2.1⟩ |
| 110 | · intro i z hz hnot |
| 111 | rw [Affine.PrincipalWeight.eq_length_all (R i) (v i) (r i) (hr i) z, hout i z hz hnot] |
| 112 | rfl |
| 113 | · intro i |
| 114 | exact of_expansion V p (k i + 1) (j i) (v i) (r i) (hr i) |
| 115 | (F i) a' (fun z hz => (hF i z hz).1) (he i) |
| 116 | |
| 117 | end Simultaneous |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.AffineExpansion |