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.Open.StalkSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.QuotientTorBaseChange |
| 3 | |
| 4 | /-! # Support Tor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every native local Tor length of two reduced supports is unchanged |
| 11 | on an open component. The comparison uses their actual defining primes |
| 12 | and the actual isomorphism of ambient stalk rings. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem localTorLength_congr_point (X : Scheme) (A B : IrreducibleCloseds X) |
| 23 | {x y : X} (h : x = y) (hxA : x ∈ (A : Set X)) (hxB : x ∈ (B : Set X)) |
| 24 | (hyA : y ∈ (A : Set X)) (hyB : y ∈ (B : Set X)) (n : ℕ) : |
| 25 | CycleClass.Thom.IntersectionGeometry.localTorLength X A B x hxA hxB n = CycleClass.Thom.IntersectionGeometry.localTorLength X A B y hyA hyB n := by |
| 26 | subst y |
| 27 | rfl |
| 28 | |
| 29 | theorem length_iso (R : Type u) [CommRing R] {M M' N N' : ModuleCat.{u} R} |
| 30 | (eM : M ≅ M') (eN : N ≅ N') (n : ℕ) : |
| 31 | Module.length R (((Tor (ModuleCat R) n).obj M).obj N) = |
| 32 | Module.length R (((Tor (ModuleCat R) n).obj M').obj N') := |
| 33 | ((((Tor (ModuleCat R) n).mapIso eM).app N) ≪≫ |
| 34 | (((Tor (ModuleCat R) n).obj M').mapIso eN)).toLinearEquiv.length_eq |
| 35 | |
| 36 | theorem localTorLength_eq {Y X : Scheme} (i : Y ⟶ X) [IsOpenImmersion i] |
| 37 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 38 | (hA : i (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint A') (hB : i (CycleClass.Thom.IntersectionGeometry.supportPoint B) = CycleClass.Thom.IntersectionGeometry.supportPoint B') |
| 39 | (y : Y) (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 40 | (hxA : i y ∈ (A' : Set X)) (hxB : i y ∈ (B' : Set X)) (n : ℕ) : |
| 41 | CycleClass.Thom.IntersectionGeometry.localTorLength Y A B y hyA hyB n = CycleClass.Thom.IntersectionGeometry.localTorLength X A' B' (i y) hxA hxB n := by |
| 42 | let R := X.presheaf.stalk (i y) |
| 43 | let S := Y.presheaf.stalk y |
| 44 | let : Algebra R S := (i.stalkMap y).hom.toAlgebra |
| 45 | have hi : Function.Surjective (algebraMap R S) := |
| 46 | (ConcreteCategory.bijective_of_isIso (i.stalkMap y)).surjective |
| 47 | let : IsLocalHom (algebraMap R S) := IsLocalHom.of_surjective _ hi |
| 48 | let e : R ≃ₐ[R] S := |
| 49 | { (asIso (i.stalkMap y)).commRingCatIsoToRingEquiv with commutes' := fun _ => rfl } |
| 50 | let : Module.Flat R S := Module.Flat.of_linearEquiv e.symm.toLinearEquiv |
| 51 | let pA := Stalk.PrimeQuotient.kernelPrime X A' (i y) hxA |
| 52 | let pB := Stalk.PrimeQuotient.kernelPrime X B' (i y) hxB |
| 53 | let qA := Stalk.PrimeQuotient.kernelPrime Y A y hyA |
| 54 | let qB := Stalk.PrimeQuotient.kernelPrime Y B y hyB |
| 55 | have hX := length_iso R |
| 56 | (Stalk.PrimeQuotient.moduleEquiv X A' (i y) hxA pA (Stalk.PrimeQuotient.kernelPrime_image X A' (i y) hxA)).toModuleIso |
| 57 | (Stalk.PrimeQuotient.moduleEquiv X B' (i y) hxB pB (Stalk.PrimeQuotient.kernelPrime_image X B' (i y) hxB)).toModuleIso n |
| 58 | have hY := length_iso S |
| 59 | (Stalk.PrimeQuotient.moduleEquiv Y A y hyA qA (Stalk.PrimeQuotient.kernelPrime_image Y A y hyA)).toModuleIso |
| 60 | (Stalk.PrimeQuotient.moduleEquiv Y B y hyB qB (Stalk.PrimeQuotient.kernelPrime_image Y B y hyB)).toModuleIso n |
| 61 | have hpA : pA.asIdeal.map (algebraMap R S) = qA.asIdeal := |
| 62 | StalkSupport.kernelPrime_map i A A' hA y hyA hxA |
| 63 | have hpB : pB.asIdeal.map (algebraMap R S) = qB.asIdeal := |
| 64 | StalkSupport.kernelPrime_map i B B' hB y hyB hxB |
| 65 | change Module.length S (((Tor (ModuleCat S) n).obj (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA)).obj |
| 66 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB)) = |
| 67 | Module.length R (((Tor (ModuleCat R) n).obj (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (i y) hxA)).obj |
| 68 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (i y) hxB)) |
| 69 | rw [hY, hX, ← hpA, ← hpB] |
| 70 | exact QuotientTorBaseChange.length_eq R S pA.asIdeal pB.asIdeal n |
| 71 | (IsLocalRing.map_maximalIdeal_of_surjective _ hi) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |