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.Local.Principal |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.TorLeft |
| 3 | |
| 4 | /-! # Principal Left -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrincipalLeft |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThomClass's exact native intersection multiplicity equals the order of a |
| 11 | local equation when one reduced support has a regular principal ideal and |
| 12 | that equation does not vanish identically on the other support. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Pointwise |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem euler_eq_order (R A : Type u) [CommRing R] [CommRing A] [IsDomain A] |
| 24 | [Algebra R A] (hA : Function.Surjective (algebraMap R A)) (r : R) |
| 25 | (hr : IsSMulRegular R r) (hra : algebraMap R A r ≠ 0) (N : ModuleCat.{u} R) |
| 26 | (e : N ≃ₗ[R] QuotSMulTop r R) (d : ℕ) : |
| 27 | (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 28 | (Module.length R (((Tor (ModuleCat R) i).obj N).obj (ModuleCat.of R A))).toNat) = |
| 29 | (Ring.ord A (algebraMap R A r)).toNat := by |
| 30 | have hlen (i : ℕ) : |
| 31 | Module.length R (((Tor (ModuleCat R) i).obj N).obj (.of R A)) = |
| 32 | Module.length R (((Tor (ModuleCat R) i).obj (.of R (QuotSMulTop r R))).obj (.of R A)) := |
| 33 | ((((Tor (ModuleCat R) i).flip.obj (.of R A)).mapIso e.toModuleIso).toLinearEquiv).length_eq |
| 34 | simp_rw [hlen] |
| 35 | have hm : IsSMulRegular (ModuleCat.of R A) r := by |
| 36 | intro x y h |
| 37 | apply mul_left_cancel₀ hra |
| 38 | change r • (x : A) = r • (y : A) at h |
| 39 | simpa only [Algebra.smul_def] using h |
| 40 | rw [Principal.TorLeft.euler_length R r hr (.of R A) hm, |
| 41 | Principal.Order.quotient_length R A hA r] |
| 42 | |
| 43 | theorem intersectionMultiplicity_eq_order (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 44 | (A B C : IrreducibleCloseds X.carrier) |
| 45 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 46 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) (hr : r ≠ 0) |
| 47 | (hB : RingHom.ker (Principal.supportStalkMap X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB).hom = Ideal.span {r}) |
| 48 | (hAr : Principal.supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA r ≠ 0) : |
| 49 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B A C = |
| 50 | (Ring.ord ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA)) |
| 51 | (Principal.supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA r)).toNat := by |
| 52 | let R := X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 53 | let S := (CycleClass.Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA) |
| 54 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme B).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB) |
| 55 | let σ := Principal.supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA |
| 56 | let τ := Principal.supportStalkMap X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB |
| 57 | let : Algebra R S := σ.hom.toAlgebra |
| 58 | let : Algebra R T := τ.hom.toAlgebra |
| 59 | let : IsDomain R := X.stalk_isDomain (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 60 | have hσ : Function.Surjective (algebraMap R S) := Principal.supportStalkMap_surjective X.carrier A _ hxA |
| 61 | have hτ : Function.Surjective (Algebra.ofId R T) := Principal.supportStalkMap_surjective X.carrier B _ hxB |
| 62 | have hI : RingHom.ker (Algebra.ofId R T) = r • (⊤ : Submodule R R) := by |
| 63 | change RingHom.ker τ.hom = _ |
| 64 | rw [hB, ← Submodule.ideal_span_singleton_smul, smul_eq_mul, Ideal.mul_top] |
| 65 | let e : CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB ≃ₗ[R] QuotSMulTop r R := |
| 66 | (Ideal.quotientKerAlgEquivOfSurjective hτ).symm.toLinearEquiv.trans |
| 67 | (Submodule.quotEquivOfEq _ _ hI) |
| 68 | have hr' : IsSMulRegular R r := fun _ _ h => mul_left_cancel₀ hr h |
| 69 | rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left ⟨hxB, hxA⟩] |
| 70 | exact euler_eq_order R S hσ r hr' hAr |
| 71 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB) e X.ambientDimension |
| 72 | |
| 73 | theorem intersectionMultiplicity_comm_of_principal (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 74 | (A B C : IrreducibleCloseds X.carrier) |
| 75 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 76 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) (hr : r ≠ 0) |
| 77 | (hB : RingHom.ker (Principal.supportStalkMap X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB).hom = Ideal.span {r}) |
| 78 | (hAr : Principal.supportStalkMap X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA r ≠ 0) : |
| 79 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A B C = CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B A C := |
| 80 | (Principal.intersectionMultiplicity_eq_order X A B C hxA hxB r hr hB hAr).trans |
| 81 | (intersectionMultiplicity_eq_order X A B C hxA hxB r hr hB hAr).symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrincipalLeft |