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.Intersection.Supports |
| 2 | |
| 3 | /-! # Support Codimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Relative.SupportCodimension.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A support whose ambient codimension is one greater than a |
| 10 | containing integral support has a height-one generic point in that |
| 11 | actual reduced support, including in disconnected ambient presentations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 16 | |
| 17 | theorem point_lt_of_le_of_ne {S : Scheme} {x y : S} (h : x ≤ y) (hne : x ≠ y) : x < y := by |
| 18 | rw [lt_iff_le_not_ge] |
| 19 | exact ⟨h, fun hr => hne ((Scheme.le_iff_specializes.mp hr).antisymm |
| 20 | (Scheme.le_iff_specializes.mp h)).eq⟩ |
| 21 | |
| 22 | theorem supportPreimage_coheight_one (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 23 | (B C : IrreducibleCloseds X.carrier) (hx : IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 24 | (hd : X.supportCodimension C = X.supportCodimension B + 1) : |
| 25 | Order.coheight (IntersectionGeometry.supportPreimage B (IntersectionGeometry.supportPoint C) hx) = 1 := by |
| 26 | let S := Geometric.GenericPoint.reducedSupportScheme B |
| 27 | let x : S := IntersectionGeometry.supportPreimage B (IntersectionGeometry.supportPoint C) hx |
| 28 | let η : S := genericPoint S |
| 29 | have hyη (y : S) : y ≤ η := Scheme.le_iff_specializes.mpr (genericPoint_specializes y) |
| 30 | have hη : Order.coheight η = 0 := Order.coheight_eq_zero.mpr (fun y _ => hyη y) |
| 31 | have hmap : StrictMono (Geometric.GenericPoint.reducedSupportι B) := by |
| 32 | intro s t hst |
| 33 | exact point_lt_of_le_of_ne |
| 34 | (Scheme.le_iff_specializes.mpr |
| 35 | ((Scheme.le_iff_specializes.mp hst.le).map (Geometric.GenericPoint.reducedSupportι B).continuous)) |
| 36 | (fun h => hst.ne ((Geometric.GenericPoint.reducedSupportι B).isClosedEmbedding.injective h)) |
| 37 | have hηB : Geometric.GenericPoint.reducedSupportι B η = IntersectionGeometry.supportPoint B := Geometric.GenericPoint.reducedSupport_genericPoint_eq B |
| 38 | have hxC : Geometric.GenericPoint.reducedSupportι B x = IntersectionGeometry.supportPoint C := IntersectionGeometry.supportPreimage_spec B _ hx |
| 39 | have hxη : x ≠ η := by |
| 40 | intro h |
| 41 | have he : IntersectionGeometry.supportPoint C = IntersectionGeometry.supportPoint B := hxC.symm.trans ((congrArg (Geometric.GenericPoint.reducedSupportι B) h).trans hηB) |
| 42 | have hBC : C = B := irreducibleSetEquivPoints.injective he |
| 43 | rw [hBC] at hd |
| 44 | omega |
| 45 | have htop (y : S) (hxy : x < y) : y = η := by |
| 46 | by_contra hy |
| 47 | let D : IrreducibleCloseds X.carrier := irreducibleSetEquivPoints.symm (Geometric.GenericPoint.reducedSupportι B y) |
| 48 | have hCD : C < D := by |
| 49 | have h := irreducibleSetEquivPoints.symm.strictMono (hmap hxy) |
| 50 | rw [hxC] at h |
| 51 | simpa only [IntersectionGeometry.supportPoint, OrderIso.symm_apply_apply] using h |
| 52 | have hDB : D < B := by |
| 53 | have h := irreducibleSetEquivPoints.symm.strictMono (hmap (point_lt_of_le_of_ne (hyη y) hy)) |
| 54 | rw [hηB] at h |
| 55 | simpa only [IntersectionGeometry.supportPoint, OrderIso.symm_apply_apply] using h |
| 56 | have h₁ := Intersection.Supports.codimension_strictAnti X hCD |
| 57 | have h₂ := Intersection.Supports.codimension_strictAnti X hDB |
| 58 | omega |
| 59 | apply le_antisymm |
| 60 | · apply (Order.coheight_le_coe_iff (n := 1)).mpr |
| 61 | intro y hy |
| 62 | rw [htop y hy, hη] |
| 63 | exact zero_lt_one |
| 64 | · have h := Order.coheight_add_one_le (point_lt_of_le_of_ne (hyη x) hxη) |
| 65 | rwa [hη, zero_add] at h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.CycleClass.Thom.Relative.SupportCodimension.Constructions |