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.CycleClass.Thom.Open.StalkSupport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.QuotientBaseChange |
| 3 | |
| 4 | /-! # Support Tor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.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 | namespace Constructions |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | theorem localTorLength_congr_point (X : Scheme) (A B : IrreducibleCloseds X) |
| 25 | {x y : X} (h : x = y) (hxA : x ∈ (A : Set X)) (hxB : x ∈ (B : Set X)) |
| 26 | (hyA : y ∈ (A : Set X)) (hyB : y ∈ (B : Set X)) (n : ℕ) : |
| 27 | IntersectionGeometry.localTorLength X A B x hxA hxB n = IntersectionGeometry.localTorLength X A B y hyA hyB n := by |
| 28 | subst y |
| 29 | rfl |
| 30 | |
| 31 | theorem length_iso (R : Type u) [CommRing R] {M M' N N' : ModuleCat.{u} R} |
| 32 | (eM : M ≅ M') (eN : N ≅ N') (n : ℕ) : |
| 33 | Module.length R (((Tor (ModuleCat R) n).obj M).obj N) = |
| 34 | Module.length R (((Tor (ModuleCat R) n).obj M').obj N') := |
| 35 | ((((Tor (ModuleCat R) n).mapIso eM).app N) ≪≫ |
| 36 | (((Tor (ModuleCat R) n).obj M').mapIso eN)).toLinearEquiv.length_eq |
| 37 | |
| 38 | theorem localTorLength_eq {Y X : Scheme} (i : Y ⟶ X) [IsOpenImmersion i] |
| 39 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 40 | (hA : i (IntersectionGeometry.supportPoint A) = IntersectionGeometry.supportPoint A') (hB : i (IntersectionGeometry.supportPoint B) = IntersectionGeometry.supportPoint B') |
| 41 | (y : Y) (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 42 | (hxA : i y ∈ (A' : Set X)) (hxB : i y ∈ (B' : Set X)) (n : ℕ) : |
| 43 | IntersectionGeometry.localTorLength Y A B y hyA hyB n = IntersectionGeometry.localTorLength X A' B' (i y) hxA hxB n := by |
| 44 | let R := X.presheaf.stalk (i y) |
| 45 | let S := Y.presheaf.stalk y |
| 46 | let : Algebra R S := (i.stalkMap y).hom.toAlgebra |
| 47 | have hi : Function.Surjective (algebraMap R S) := |
| 48 | (ConcreteCategory.bijective_of_isIso (i.stalkMap y)).surjective |
| 49 | let : IsLocalHom (algebraMap R S) := IsLocalHom.of_surjective _ hi |
| 50 | let e : R ≃ₐ[R] S := |
| 51 | { (asIso (i.stalkMap y)).commRingCatIsoToRingEquiv with commutes' := fun _ => rfl } |
| 52 | let : Module.Flat R S := Module.Flat.of_linearEquiv e.symm.toLinearEquiv |
| 53 | let pA := StalkPrimeQuotient.Constructions.kernelPrime X A' (i y) hxA |
| 54 | let pB := StalkPrimeQuotient.Constructions.kernelPrime X B' (i y) hxB |
| 55 | let qA := StalkPrimeQuotient.Constructions.kernelPrime Y A y hyA |
| 56 | let qB := StalkPrimeQuotient.Constructions.kernelPrime Y B y hyB |
| 57 | have hX := length_iso R |
| 58 | (StalkPrimeQuotient.Constructions.moduleEquiv X A' (i y) hxA pA (StalkPrimeQuotient.Constructions.kernelPrime_image X A' (i y) hxA)).toModuleIso |
| 59 | (StalkPrimeQuotient.Constructions.moduleEquiv X B' (i y) hxB pB (StalkPrimeQuotient.Constructions.kernelPrime_image X B' (i y) hxB)).toModuleIso n |
| 60 | have hY := length_iso S |
| 61 | (StalkPrimeQuotient.Constructions.moduleEquiv Y A y hyA qA (StalkPrimeQuotient.Constructions.kernelPrime_image Y A y hyA)).toModuleIso |
| 62 | (StalkPrimeQuotient.Constructions.moduleEquiv Y B y hyB qB (StalkPrimeQuotient.Constructions.kernelPrime_image Y B y hyB)).toModuleIso n |
| 63 | have hpA : pA.asIdeal.map (algebraMap R S) = qA.asIdeal := |
| 64 | StalkSupport.Constructions.kernelPrime_map i A A' hA y hyA hxA |
| 65 | have hpB : pB.asIdeal.map (algebraMap R S) = qB.asIdeal := |
| 66 | StalkSupport.Constructions.kernelPrime_map i B B' hB y hyB hxB |
| 67 | change Module.length S (((Tor (ModuleCat S) n).obj (IntersectionGeometry.localSupportModule Y A y hyA)).obj |
| 68 | (IntersectionGeometry.localSupportModule Y B y hyB)) = |
| 69 | Module.length R (((Tor (ModuleCat R) n).obj (IntersectionGeometry.localSupportModule X A' (i y) hxA)).obj |
| 70 | (IntersectionGeometry.localSupportModule X B' (i y) hxB)) |
| 71 | rw [hY, hX, ← hpA, ← hpB] |
| 72 | exact TorAlgebra.QuotientBaseChange.Tor.length_eq R S pA.asIdeal pB.asIdeal n |
| 73 | (IsLocalRing.map_maximalIdeal_of_surjective _ hi) |
| 74 | |
| 75 | end Constructions |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportTor |