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.SupportTor |
| 2 | |
| 3 | /-! # Isomorphism Tor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IsomorphismTor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native support Tor lengths are preserved by any morphism with |
| 10 | an isomorphism on the ambient stalk and the corresponding generic |
| 11 | support points. This applies to spectra of stalks as well as open charts. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 18 | |
| 19 | theorem kernel_map {Y X : Scheme} (i : Y ⟶ X) |
| 20 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 21 | (hAB : i (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) |
| 22 | (y : Y) [IsIso (i.stalkMap y)] |
| 23 | (hy : y ∈ (A : Set Y)) (hx : i y ∈ (B : Set X)) : |
| 24 | (Stalk.PrimeQuotient.kernelPrime X B (i y) hx).asIdeal.map (i.stalkMap y).hom = |
| 25 | (Stalk.PrimeQuotient.kernelPrime Y A y hy).asIdeal := by |
| 26 | rw [← Open.StalkSupport.kernelPrime_comap i A B hAB y hy hx] |
| 27 | exact Ideal.map_comap_of_surjective _ (ConcreteCategory.bijective_of_isIso (i.stalkMap y)).surjective _ |
| 28 | |
| 29 | theorem length_eq {Y X : Scheme} (i : Y ⟶ X) |
| 30 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 31 | (hA : i (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint A') (hB : i (CycleClass.Thom.IntersectionGeometry.supportPoint B) = CycleClass.Thom.IntersectionGeometry.supportPoint B') |
| 32 | (y : Y) [IsIso (i.stalkMap y)] |
| 33 | (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 34 | (hxA : i y ∈ (A' : Set X)) (hxB : i y ∈ (B' : Set X)) (n : ℕ) : |
| 35 | CycleClass.Thom.IntersectionGeometry.localTorLength Y A B y hyA hyB n = CycleClass.Thom.IntersectionGeometry.localTorLength X A' B' (i y) hxA hxB n := by |
| 36 | let R := X.presheaf.stalk (i y) |
| 37 | let S := Y.presheaf.stalk y |
| 38 | let : Algebra R S := (i.stalkMap y).hom.toAlgebra |
| 39 | have hi : Function.Surjective (algebraMap R S) := |
| 40 | (ConcreteCategory.bijective_of_isIso (i.stalkMap y)).surjective |
| 41 | let : IsLocalHom (algebraMap R S) := IsLocalHom.of_surjective _ hi |
| 42 | let e : R ≃ₐ[R] S := |
| 43 | { (asIso (i.stalkMap y)).commRingCatIsoToRingEquiv with commutes' := fun _ => rfl } |
| 44 | let : Module.Flat R S := Module.Flat.of_linearEquiv e.symm.toLinearEquiv |
| 45 | let pA := Stalk.PrimeQuotient.kernelPrime X A' (i y) hxA |
| 46 | let pB := Stalk.PrimeQuotient.kernelPrime X B' (i y) hxB |
| 47 | let qA := Stalk.PrimeQuotient.kernelPrime Y A y hyA |
| 48 | let qB := Stalk.PrimeQuotient.kernelPrime Y B y hyB |
| 49 | have hX := Open.SupportTor.length_iso R |
| 50 | (Stalk.PrimeQuotient.moduleEquiv X A' (i y) hxA pA (Stalk.PrimeQuotient.kernelPrime_image X A' (i y) hxA)).toModuleIso |
| 51 | (Stalk.PrimeQuotient.moduleEquiv X B' (i y) hxB pB (Stalk.PrimeQuotient.kernelPrime_image X B' (i y) hxB)).toModuleIso n |
| 52 | have hY := Open.SupportTor.length_iso S |
| 53 | (Stalk.PrimeQuotient.moduleEquiv Y A y hyA qA (Stalk.PrimeQuotient.kernelPrime_image Y A y hyA)).toModuleIso |
| 54 | (Stalk.PrimeQuotient.moduleEquiv Y B y hyB qB (Stalk.PrimeQuotient.kernelPrime_image Y B y hyB)).toModuleIso n |
| 55 | have hpA : pA.asIdeal.map (algebraMap R S) = qA.asIdeal := kernel_map i A A' hA y hyA hxA |
| 56 | have hpB : pB.asIdeal.map (algebraMap R S) = qB.asIdeal := kernel_map i B B' hB y hyB hxB |
| 57 | change Module.length S (((Tor (ModuleCat S) n).obj (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA)).obj |
| 58 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB)) = |
| 59 | Module.length R (((Tor (ModuleCat R) n).obj (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (i y) hxA)).obj |
| 60 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (i y) hxB)) |
| 61 | rw [hY, hX, ← hpA, ← hpB] |
| 62 | exact QuotientTorBaseChange.length_eq R S pA.asIdeal pB.asIdeal n |
| 63 | (IsLocalRing.map_maximalIdeal_of_surjective _ hi) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IsomorphismTor |