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.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionFaces |
| 2 | |
| 3 | /-! # Extension Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionDifferential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The relative extension includes the alternating sign forced by |
| 10 | placing the distinguished chart first in every ordered tuple. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.TopologicalSpace Opposite |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Indices OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionComponents OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionFaces |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v |
| 20 | variable {X : TopCat.{u}} (U : Opens X) |
| 21 | {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 22 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 23 | (P : X.Presheaf D) |
| 24 | |
| 25 | def faceValue {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) |
| 26 | (h : a.val 0 = ⊥) (j : Fin (n + 1)) := |
| 27 | (ExtensionComponents.sourceProjection U V P ((Indices.tail a h).delete j) ≫ |
| 28 | (Intersections.presheaf U P).map ((AugmentedOrdered.Cech.face V n j).φ (Indices.tail a h)).op) ≫ |
| 29 | P.map (Intersections.intersectionHom U V a h).op |
| 30 | |
| 31 | theorem left_bot {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) (h : a.val 0 = ⊥) : |
| 32 | (ExtensionComponents.component U V P n ≫ AugmentedOrdered.Cech.differential (Intersections.cover U V) P (n + 1)) ≫ |
| 33 | ExtensionComponents.targetProjection U V P a = |
| 34 | ∑ j : Fin (n + 1), (-1 : ℤ)^(j.val + 1) • |
| 35 | ((-1 : ℤ)^n • faceValue U V P a h j) := by |
| 36 | rw [Category.assoc, ExtensionComponents.differential_target, comp_sum, Fin.sum_univ_succ] |
| 37 | have hz : ExtensionComponents.component U V P n ≫ |
| 38 | ((-1 : ℤ)^(0 : Fin (n + 2)).val • |
| 39 | (ExtensionComponents.targetProjection U V P (a.delete 0) ≫ |
| 40 | P.map ((AugmentedOrdered.Cech.face (Intersections.cover U V) (n + 1) 0).φ a).op)) = 0 := by |
| 41 | rw [comp_zsmul, ← Category.assoc, |
| 42 | ExtensionComponents.component_ne_bot U V P (a.delete 0) (Indices.delete_zero_ne_bot a h), zero_comp, smul_zero] |
| 43 | rw [hz, zero_add] |
| 44 | apply Finset.sum_congr rfl |
| 45 | intro j _ |
| 46 | rw [comp_zsmul, ← Category.assoc, |
| 47 | ExtensionComponents.component_bot U V P (a.delete j.succ) (Indices.delete_succ_bot a h j), zsmul_comp] |
| 48 | rw [← ExtensionFaces.face_coordinate U V P a h j] |
| 49 | rfl |
| 50 | |
| 51 | theorem right_bot {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) (h : a.val 0 = ⊥) : |
| 52 | (AugmentedOrdered.Cech.differential V (Intersections.presheaf U P) n ≫ ExtensionComponents.component U V P (n + 1)) ≫ |
| 53 | ExtensionComponents.targetProjection U V P a = |
| 54 | ∑ j : Fin (n + 1), (-1 : ℤ)^(n + 1) • |
| 55 | ((-1 : ℤ)^j.val • faceValue U V P a h j) := by |
| 56 | rw [Category.assoc, ExtensionComponents.component_bot U V P a h, comp_zsmul, ← Category.assoc, |
| 57 | ExtensionComponents.differential_source, sum_comp, Finset.smul_sum] |
| 58 | apply Finset.sum_congr rfl |
| 59 | intro j _ |
| 60 | rw [zsmul_comp] |
| 61 | rfl |
| 62 | |
| 63 | theorem left_ne_bot {n : ℕ} (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) (h : a.val 0 ≠ ⊥) : |
| 64 | (ExtensionComponents.component U V P n ≫ AugmentedOrdered.Cech.differential (Intersections.cover U V) P (n + 1)) ≫ |
| 65 | ExtensionComponents.targetProjection U V P a = 0 := by |
| 66 | rw [Category.assoc, ExtensionComponents.differential_target, comp_sum] |
| 67 | apply Finset.sum_eq_zero |
| 68 | intro j _ |
| 69 | rw [comp_zsmul, ← Category.assoc, |
| 70 | ExtensionComponents.component_ne_bot U V P (a.delete j) (Indices.delete_ne_bot a h j), zero_comp, smul_zero] |
| 71 | |
| 72 | theorem comm (n : ℕ) : |
| 73 | ExtensionComponents.component U V P n ≫ AugmentedOrdered.Cech.differential (Intersections.cover U V) P (n + 1) = |
| 74 | AugmentedOrdered.Cech.differential V (Intersections.presheaf U P) n ≫ ExtensionComponents.component U V P (n + 1) := by |
| 75 | classical |
| 76 | apply Pi.hom_ext |
| 77 | intro (a : AugmentedOrdered.Cech.Index (WithBot ι) (n + 2)) |
| 78 | change _ ≫ ExtensionComponents.targetProjection U V P a = _ ≫ ExtensionComponents.targetProjection U V P a |
| 79 | by_cases h : a.val 0 = ⊥ |
| 80 | · rw [left_bot U V P a h, right_bot U V P a h] |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro j _ |
| 83 | rw [smul_smul, smul_smul] |
| 84 | congr 1 |
| 85 | simp only [pow_succ] |
| 86 | ring |
| 87 | · rw [left_ne_bot U V P a h, Category.assoc, ExtensionComponents.component_ne_bot U V P a h, comp_zero] |
| 88 | |
| 89 | def map : AugmentedOrdered.Cech.complex V (Intersections.presheaf U P) ⟶ |
| 90 | OrderedCech.Projection.complex (Intersections.cover U V) P := |
| 91 | CochainComplex.ofHom (ExtensionComponents.component U V P) (fun n => by |
| 92 | simpa only [AugmentedOrdered.Cech.complex, OrderedCech.Projection.complex, |
| 93 | CochainComplex.of_d, OrderedCech.Projection.differential] using comm U V P n) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ExtensionDifferential |