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.Crystalline.Cohomology.DeRhamPresentationTo |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BilinearQuotient |
| 3 | import Lean.Elab.Tactic.Omega |
| 4 | |
| 5 | /-! # Wedge -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.Wedge |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Concatenation of the original differential symbols over an |
| 12 | arbitrary commutative base ring, before descending the relations. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem append_update_left {A : Type*} {p q : ℕ} (v : Fin p → A) (w : Fin q → A) |
| 19 | (i : Fin p) (a : A) : |
| 20 | Fin.append (Function.update v i a) w = |
| 21 | Function.update (Fin.append v w) (i.castAdd q) a := by |
| 22 | funext j |
| 23 | refine Fin.addCases (fun k => ?_) (fun k => ?_) j |
| 24 | · by_cases h : k = i |
| 25 | · subst k |
| 26 | simp |
| 27 | · have h' : k.castAdd q ≠ i.castAdd q := |
| 28 | fun e => h (Fin.ext (congrArg (fun z : Fin (p + q) => z.val) e)) |
| 29 | simp [h, h'] |
| 30 | · have h : Fin.natAdd p k ≠ i.castAdd q := by |
| 31 | intro e |
| 32 | have he := congrArg Fin.val e |
| 33 | change p + k.val = i.val at he |
| 34 | omega |
| 35 | simp [h] |
| 36 | |
| 37 | theorem append_update_right {A : Type*} {p q : ℕ} (v : Fin p → A) (w : Fin q → A) |
| 38 | (i : Fin q) (a : A) : |
| 39 | Fin.append v (Function.update w i a) = |
| 40 | Function.update (Fin.append v w) (Fin.natAdd p i) a := by |
| 41 | funext j |
| 42 | refine Fin.addCases (fun k => ?_) (fun k => ?_) j |
| 43 | · have h : k.castAdd q ≠ Fin.natAdd p i := by |
| 44 | intro e |
| 45 | have he := congrArg Fin.val e |
| 46 | change k.val = p + i.val at he |
| 47 | omega |
| 48 | simp [h] |
| 49 | · by_cases h : k = i |
| 50 | · subst k |
| 51 | simp |
| 52 | · have h' : Fin.natAdd p k ≠ Fin.natAdd p i := by |
| 53 | intro e |
| 54 | apply h |
| 55 | exact Fin.ext (Nat.add_left_cancel (congrArg (fun z : Fin (p + q) => z.val) e)) |
| 56 | simp [h, h'] |
| 57 | |
| 58 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 59 | |
| 60 | def rawWedge (p q : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A p →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A q →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A (p + q) := |
| 61 | Finsupp.linearCombination A (fun v => |
| 62 | Finsupp.linearCombination A (fun w => AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 (Fin.append v w))) |
| 63 | |
| 64 | theorem rawWedge_single (p q : ℕ) (a b : A) (v : Fin p → A) (w : Fin q → A) : |
| 65 | rawWedge R A p q (Finsupp.single v a) (Finsupp.single w b) = |
| 66 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A (a * b) (Fin.append v w) := by |
| 67 | simp only [rawWedge, Finsupp.linearCombination_single, LinearMap.smul_apply] |
| 68 | rw [smul_smul, ← AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.Wedge |