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.SupportBaseChange |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |
| 3 | |
| 4 | /-! # Principal Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A principal-quotient Euler pairing is unchanged under an open |
| 11 | immersion, with the native modules and the native ambient stalk map. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | theorem euler {Y X : Scheme} (j : Y ⟶ X) [IsOpenImmersion j] |
| 19 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 20 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint A') (hB : j (CycleClass.Thom.IntersectionGeometry.supportPoint B) = CycleClass.Thom.IntersectionGeometry.supportPoint B') |
| 21 | (y : Y) (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 22 | (hxA : j y ∈ (A' : Set X)) (hxB : j y ∈ (B' : Set X)) |
| 23 | (r : X.presheaf.stalk (j y)) (d : ℕ) : |
| 24 | Tor.Euler.euler (Y.presheaf.stalk y) |
| 25 | (.of _ (QuotSMulTop (j.stalkMap y r) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA))) |
| 26 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB) d = |
| 27 | Tor.Euler.euler (X.presheaf.stalk (j y)) |
| 28 | (.of _ (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (j y) hxA))) |
| 29 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (j y) hxB) d := by |
| 30 | let R := X.presheaf.stalk (j y) |
| 31 | let S := Y.presheaf.stalk y |
| 32 | let : Algebra R S := (j.stalkMap y).hom.toAlgebra |
| 33 | have hi : Function.Surjective (algebraMap R S) := |
| 34 | (ConcreteCategory.bijective_of_isIso (j.stalkMap y)).surjective |
| 35 | let : IsLocalHom (algebraMap R S) := IsLocalHom.of_surjective _ hi |
| 36 | let e : R ≃ₐ[R] S := |
| 37 | { (asIso (j.stalkMap y)).commRingCatIsoToRingEquiv with commutes' := fun _ => rfl } |
| 38 | let : Module.Flat R S := Module.Flat.of_linearEquiv e.symm.toLinearEquiv |
| 39 | let eM := SupportBaseChange.quotientEquiv j A A' hA y hyA hxA r |
| 40 | let eN := SupportBaseChange.equiv j B B' hB y hyB hxB |
| 41 | apply Finset.sum_congr rfl |
| 42 | intro n _ |
| 43 | apply congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ n * (l.toNat : ℚ)) |
| 44 | rw [SupportTor.length_iso S eM.symm.toModuleIso eN.symm.toModuleIso n] |
| 45 | have hl := ProjectionFormula.Flat.TorLength.tor_length R S (.of R (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (j y) hxA))) |
| 46 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (j y) hxB) n |
| 47 | rw [IsLocalRing.map_maximalIdeal_of_surjective _ hi, |
| 48 | SurfacePrimeEuler.residue_quotient_length, mul_one] at hl |
| 49 | exact hl |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalEuler |