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.Support |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Intersection Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntersectionZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact local intersection coefficients when the first support has |
| 11 | codimension zero. Such a support is an open component, so its local module |
| 12 | is free of rank one and its intersection just selects that component. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical BigOperators |
| 16 | |
| 17 | theorem eq_of_subset_of_codimension_eq (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 18 | [SmoothOfRelativeDimension m X.structureMap] {A B : IrreducibleCloseds X.carrier} |
| 19 | (h : A ≤ B) (he : X.supportCodimension A = X.supportCodimension B) : A = B := by |
| 20 | by_contra hne |
| 21 | have ht := Supports.codimension_strictAnti X m (lt_of_le_of_ne h hne) |
| 22 | omega |
| 23 | |
| 24 | theorem meetProperly_zero_left (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 25 | [SmoothOfRelativeDimension m X.structureMap] |
| 26 | (a : X.RationalDimensionCycle 0) (b : X.RationalDimensionCycle q) : |
| 27 | CycleClass.Thom.IntersectionGeometry.MeetProperly X 0 q a b := by |
| 28 | intro A _ B _ C hC |
| 29 | have hCB : C ≤ B.val := fun x hx => (hC hx).2 |
| 30 | have h := (Supports.codimension_strictAnti X m).antitone hCB |
| 31 | simpa only [B.property, zero_add] using h |
| 32 | |
| 33 | theorem subset_of_mem_zero_support (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 34 | [SmoothOfRelativeDimension m X.structureMap] (A : X.DimensionCycleSupport 0) |
| 35 | (W : IrreducibleCloseds X.carrier) (x : X.carrier) |
| 36 | (hxW : x ∈ (W : Set X.carrier)) (hxA : x ∈ (A.val : Set X.carrier)) : W ≤ A.val := by |
| 37 | apply (Supports.supportPoint_mem_iff_subset |
| 38 | ⟨A.val, A.val.isClosed⟩ W).mp |
| 39 | exact ((W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem_open_set_iff |
| 40 | (Open.Support.codimension_zero_isOpen X m A)).mpr ⟨x, hxW, hxA⟩ |
| 41 | |
| 42 | theorem multiplicity_zero_left (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 43 | [SmoothOfRelativeDimension m X.structureMap] (A : X.DimensionCycleSupport 0) |
| 44 | (B C : X.DimensionCycleSupport q) : |
| 45 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val = |
| 46 | if B = C ∧ C.val ≤ A.val then 1 else 0 := by |
| 47 | by_cases h : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier) ∩ (B.val : Set X.carrier) |
| 48 | · have hCA := (Supports.supportPoint_mem_iff_subset |
| 49 | ⟨A.val, A.val.isClosed⟩ C.val).mp h.1 |
| 50 | have hCB := (Supports.supportPoint_mem_iff_subset |
| 51 | ⟨B.val, B.val.isClosed⟩ C.val).mp h.2 |
| 52 | have he : B = C := Subtype.ext (eq_of_subset_of_codimension_eq X m hCB |
| 53 | (C.property.trans B.property.symm)).symm |
| 54 | subst B |
| 55 | rw [ite_eq_left ⟨rfl, hCA⟩, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left h] |
| 56 | let : IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι A.val) := Open.Support.inclusion_isOpenImmersion |
| 57 | A.val (Open.Support.codimension_zero_isOpen X m A) |
| 58 | change (∑ i ∈ Finset.range (X.ambientDimension + 1), (-1 : ℚ) ^ i * |
| 59 | (Module.length (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) |
| 60 | (((Tor (ModuleCat (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val))) i).obj |
| 61 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h.1)).obj |
| 62 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier C.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h.2))).toNat) = 1 |
| 63 | rw [ProjectionFormula.Tor.Flat.euler_length_of_unit _ _ _ |
| 64 | (Open.Support.localModuleEquiv A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h.1)] |
| 65 | simp [Open.Support.localModule_length_at_generic] |
| 66 | · rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right h, ite_eq_right] |
| 67 | rintro ⟨rfl, hCA⟩ |
| 68 | have hc : CycleClass.Thom.IntersectionGeometry.supportPoint B.val ∈ (B.val : Set X.carrier) := |
| 69 | (B.val.isIrreducible.isGenericPoint_genericPoint B.val.isClosed).mem |
| 70 | exact h ⟨hCA hc, hc⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntersectionZero |