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.TripleExpansion |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.MultiplicitySum |
| 3 | |
| 4 | /-! # Triple Coefficient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TripleCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local triple Euler expansion is the coefficient pairing of the |
| 11 | actual intermediate proper-intersection cycle. -/ |
| 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 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 20 | |
| 21 | theorem reindex (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q t : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] |
| 23 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) (D : X.DimensionCycleSupport t) |
| 24 | (hpair : Supports.ProperCycle.pairMeetsProperly X p q A B) (C : X.DimensionCycleSupport (p + q + t)) |
| 25 | (F : Finset (PrimeSpectrum (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)))) |
| 26 | (hF : ∀ v ∈ F, X.supportCodimension (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) v) = p + q) |
| 27 | (hout : ∀ v, X.supportCodimension (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) v) = p + q → v ∉ F → |
| 28 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) v) = 0) : |
| 29 | (Supports.ProperCycle.pairCycle X m p q A B).sum (fun E c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X E.val D.val C.val) = |
| 30 | ∑ s ∈ F, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) s) * |
| 31 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) s) D.val C.val := by |
| 32 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 33 | let v (s : {s // s ∈ F}) : X.DimensionCycleSupport (p + q) := |
| 34 | ⟨Stalk.DivisorSupport.primeClosure X.carrier x s.val, hF s.val s.property⟩ |
| 35 | let w (s : {s // s ∈ F}) := CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val (Stalk.DivisorSupport.primeClosure X.carrier x s.val) |
| 36 | let e (E : X.DimensionCycleSupport (p + q)) := CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X E.val D.val C.val |
| 37 | have hv : Function.Injective v := by |
| 38 | intro s s' h |
| 39 | apply Subtype.ext |
| 40 | apply (X.carrier.fromSpecStalk x).isEmbedding.injective |
| 41 | rw [← Stalk.DivisorSupport.primeClosure_point X.carrier x s.val, ← Stalk.DivisorSupport.primeClosure_point X.carrier x s'.val] |
| 42 | exact congrArg CycleClass.Thom.IntersectionGeometry.supportPoint (congrArg Subtype.val h) |
| 43 | have hc (s : {s // s ∈ F}) (_hs : s ∈ (Finset.univ : Finset {s // s ∈ F})) : |
| 44 | Supports.ProperCycle.pairCycle X m p q A B (v s) = w s := Supports.ProperCycle.pairCycle_apply X m p q A B hpair (v s) |
| 45 | have ho (E : X.DimensionCycleSupport (p + q)) (hE : E ∉ Finset.univ.image v) : |
| 46 | Supports.ProperCycle.pairCycle X m p q A B E * e E = 0 := by |
| 47 | by_cases hxE : x ∈ (E.val : Set X.carrier) |
| 48 | · have hr : CycleClass.Thom.IntersectionGeometry.supportPoint E.val ∈ Set.range (X.carrier.fromSpecStalk x) := by |
| 49 | rw [Scheme.range_fromSpecStalk] |
| 50 | exact (E.val.isIrreducible.isGenericPoint_genericPoint E.val.isClosed).specializes hxE |
| 51 | obtain ⟨s, hs⟩ := hr |
| 52 | have hsE : Stalk.DivisorSupport.primeClosure X.carrier x s = E.val := by |
| 53 | apply irreducibleSetEquivPoints.injective |
| 54 | exact (Stalk.DivisorSupport.primeClosure_point X.carrier x s).trans hs |
| 55 | have hsF : s ∉ F := by |
| 56 | intro hsF |
| 57 | apply hE |
| 58 | refine Finset.mem_image.mpr ⟨⟨s, hsF⟩, Finset.mem_univ _, ?_⟩ |
| 59 | apply Subtype.ext |
| 60 | exact hsE |
| 61 | have hz := hout s (by rw [hsE]; exact E.property) hsF |
| 62 | rw [hsE] at hz |
| 63 | rw [Supports.ProperCycle.pairCycle_apply X m p q A B hpair E, hz, zero_mul] |
| 64 | · have hz : e E = 0 := dite_eq_right (fun h => hxE h.1) |
| 65 | rw [hz, mul_zero] |
| 66 | have h := Finite.MultiplicitySum.LocalCycle.reindex (Supports.ProperCycle.pairCycle X m p q A B) e Finset.univ v hv w hc ho |
| 67 | calc |
| 68 | _ = ∑ s : {s // s ∈ F}, w s * e (v s) := h |
| 69 | _ = _ := by |
| 70 | change (∑ s : {s // s ∈ F}, |
| 71 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val (Stalk.DivisorSupport.primeClosure X.carrier x s.val) * |
| 72 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Stalk.DivisorSupport.primeClosure X.carrier x s.val) D.val C.val) = _ |
| 73 | rw [Finset.univ_eq_attach] |
| 74 | exact Finset.sum_attach F (fun s => |
| 75 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val (Stalk.DivisorSupport.primeClosure X.carrier x s) * |
| 76 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Stalk.DivisorSupport.primeClosure X.carrier x s) D.val C.val) |
| 77 | |
| 78 | theorem euler_eq_pair_sum (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q t : ℕ) |
| 79 | [SmoothOfRelativeDimension m X.structureMap] |
| 80 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) (D : X.DimensionCycleSupport t) |
| 81 | (hpair : Supports.ProperCycle.pairMeetsProperly X p q A B) |
| 82 | (htriple : ∀ E : IrreducibleCloseds X.carrier, |
| 83 | (E : Set X.carrier) ⊆ ((A.val : Set X.carrier) ∩ B.val) ∩ D.val → p + q + t ≤ X.supportCodimension E) |
| 84 | (C : X.DimensionCycleSupport (p + q + t)) |
| 85 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)) |
| 86 | (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (B.val : Set X.carrier)) |
| 87 | (hxD : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (D.val : Set X.carrier)) : |
| 88 | IteratedTorEuler.euler (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) |
| 89 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier D.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxD) |
| 90 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxB) |
| 91 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA) m m = |
| 92 | (Supports.ProperCycle.pairCycle X m p q A B).sum (fun E c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X E.val D.val C.val) := by |
| 93 | obtain ⟨F, hF, hout, he⟩ := TripleExpansion.exists_sum X m p q t A B D hpair htriple C hxA hxB hxD |
| 94 | exact he.trans (reindex X m p q t A B D hpair C F (fun s hs => (hF s hs).1) hout).symm |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TripleCoefficient |