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.CycleLinearExpansion |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperTripleProduct |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowSymmetry |
| 4 | |
| 5 | /-! # Triple Cycles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.TripleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Proper triple position for finite cycles gives an equality of |
| 12 | successive native intersection cycles, with the grading transported. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical BigOperators |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 20 | |
| 21 | def MeetTriply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q t : ℕ) |
| 22 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) (c : X.RationalDimensionCycle t) : Prop := |
| 23 | ∀ A ∈ a.support, ∀ B ∈ b.support, ∀ D ∈ c.support, ∀ E : IrreducibleCloseds X.carrier, |
| 24 | (E : Set X.carrier) ⊆ ((A.val : Set X.carrier) ∩ B.val) ∩ D.val → |
| 25 | p + q + t ≤ X.supportCodimension E |
| 26 | |
| 27 | theorem meetTriply_swap (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q t : ℕ) |
| 28 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) (c : X.RationalDimensionCycle t) |
| 29 | (h : MeetTriply X p q t a b c) : MeetTriply X p t q a c b := by |
| 30 | intro A hA D hD B hB E hE |
| 31 | have he := h A hA B hB D hD E (fun x hx => ⟨⟨(hE hx).1.1, (hE hx).2⟩, (hE hx).1.2⟩) |
| 32 | omega |
| 33 | |
| 34 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q t : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 35 | |
| 36 | theorem pair_swap (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) |
| 37 | (D : X.DimensionCycleSupport t) (hAB : Supports.ProperCycle.pairMeetsProperly X p q A B) |
| 38 | (hAD : Supports.ProperCycle.pairMeetsProperly X p t A D) |
| 39 | (ht : ∀ E : IrreducibleCloseds X.carrier, |
| 40 | (E : Set X.carrier) ⊆ ((A.val : Set X.carrier) ∩ B.val) ∩ D.val → |
| 41 | p + q + t ≤ X.supportCodimension E) : |
| 42 | DegreeCast.cycle X (show p + q + t = p + t + q by omega) |
| 43 | (Supports.ProperCycle.intersectionBilinear X m (p + q) t (Supports.ProperCycle.pairCycle X m p q A B) (Finsupp.single D 1)) = |
| 44 | Supports.ProperCycle.intersectionBilinear X m (p + t) q (Supports.ProperCycle.pairCycle X m p t A D) (Finsupp.single B 1) := by |
| 45 | ext C |
| 46 | rw [DegreeCast.cycle_apply] |
| 47 | exact ProperTripleProduct.swap_coefficient X m p q t A B D hAB ht hAD _ |
| 48 | |
| 49 | theorem proper (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 50 | (c : X.RationalDimensionCycle t) (hab : CycleClass.Thom.IntersectionGeometry.MeetProperly X p q a b) |
| 51 | (ht : MeetTriply X p q t a b c) : |
| 52 | CycleClass.Thom.IntersectionGeometry.MeetProperly X (p + q) t (Supports.ProperCycle.intersectionBilinear X m p q a b) c := by |
| 53 | intro E hE D hD W hW |
| 54 | obtain ⟨A, hA, B, hB, hE'⟩ := CycleLinearExpansion.support X m p q a b E hE |
| 55 | have hs := General.RestrictedPrincipalCycle.pair_support X m p q A B (hab A hA B hB) E hE' |
| 56 | exact ht A hA B hB D hD W (fun x hx => ⟨⟨hs.1 (hW hx).1, hs.2 (hW hx).1⟩, (hW hx).2⟩) |
| 57 | |
| 58 | theorem swap (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 59 | (c : X.RationalDimensionCycle t) (hab : CycleClass.Thom.IntersectionGeometry.MeetProperly X p q a b) (hac : CycleClass.Thom.IntersectionGeometry.MeetProperly X p t a c) |
| 60 | (ht : MeetTriply X p q t a b c) : |
| 61 | DegreeCast.cycle X (show p + q + t = p + t + q by omega) |
| 62 | (Supports.ProperCycle.intersectionBilinear X m (p + q) t (Supports.ProperCycle.intersectionBilinear X m p q a b) c) = |
| 63 | Supports.ProperCycle.intersectionBilinear X m (p + t) q (Supports.ProperCycle.intersectionBilinear X m p t a c) b := by |
| 64 | rw [CycleLinearExpansion.nested X m p q t a b c, |
| 65 | CycleLinearExpansion.nested X m p t q a c b] |
| 66 | simp only [map_sum, map_smul] |
| 67 | apply Finset.sum_congr rfl |
| 68 | intro A hA |
| 69 | rw [Finset.sum_comm] |
| 70 | apply Finset.sum_congr rfl |
| 71 | intro D hD |
| 72 | apply Finset.sum_congr rfl |
| 73 | intro B hB |
| 74 | rw [pair_swap X m p q t A B D (hab A hA B hB) (hac A hA D hD) (ht A hA B hB D hD)] |
| 75 | congr 1 |
| 76 | ring |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.TripleCycles |