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.CechPrism.Differentials |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.EvaluationNaturality |
| 3 | |
| 4 | /-! # Faces -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.Faces |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Each native prism face is evaluation on the corresponding deleted |
| 11 | tuple, restricted to the common intersection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 14 | |
| 15 | universe u v w t |
| 16 | variable {C : Type u} [SemilatticeInf C] |
| 17 | {A : Type v} [Category.{w} A] [Abelian A] [HasProducts.{t} A] |
| 18 | {ι : Type t} [Finite ι] (U : ι → C) |
| 19 | (Q : Cᵒᵖ ⥤ A) (B : Cᵒᵖ ⥤ Cᵒᵖ ⥤ A) |
| 20 | (γ : (Functor.const Cᵒᵖ).obj Q ⟶ B) |
| 21 | (h : ∀ I V : C, IsIso ((B.obj (op V)).map |
| 22 | (homOfLE (inf_le_left : I ⊓ V ≤ I)).op)) |
| 23 | |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.IntrinsicComponents.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.EvaluationNaturality |
| 25 | |
| 26 | theorem evaluation (m n : ℕ) (a : Fin (m + 1) → ι) (b : Fin (n + 1) → ι) : |
| 27 | IntrinsicComponents.Intrinsic.map U Q B γ h m n ≫ IntrinsicComponents.Intrinsic.projection U B m n a b = |
| 28 | EvaluationNaturality.value U Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) (m + n + 1) |
| 29 | (List.ofFn a ++ List.ofFn b) := by |
| 30 | rw [IntrinsicComponents.Intrinsic.map_projection, Evaluation.Components.component_evaluation] |
| 31 | rfl |
| 32 | |
| 33 | theorem inner_face (m n : ℕ) (a : Fin (m + 2) → ι) (b : Fin (n + 1) → ι) |
| 34 | (i : Fin (m + 2)) : |
| 35 | IntrinsicComponents.Intrinsic.map U Q B γ h m n ≫ IntrinsicComponents.Intrinsic.projection U B m n (a ∘ i.succAbove) b ≫ |
| 36 | (B.obj (op (∏ᶜ (U ∘ b)))).map |
| 37 | (NonemptyCechDifferential.faceMap U m i a).op = |
| 38 | EvaluationNaturality.value U Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) (m + n + 1) |
| 39 | (List.ofFn (a ∘ i.succAbove) ++ List.ofFn b) := by |
| 40 | rw [← Category.assoc, evaluation, ← Evaluation.Components.ofFn_tuple] |
| 41 | exact EvaluationNaturality.inner U Q B γ h |
| 42 | (Cech.LocalTupleEvaluation.delete_le U m a i) (m + n + 1) |
| 43 | (Components.tuple (a ∘ i.succAbove) b) |
| 44 | (Components.product_tuple U (a ∘ i.succAbove) b).ge |
| 45 | |
| 46 | theorem outer_face (m n : ℕ) (a : Fin (m + 1) → ι) (b : Fin (n + 2) → ι) |
| 47 | (i : Fin (n + 2)) : |
| 48 | IntrinsicComponents.Intrinsic.map U Q B γ h m n ≫ IntrinsicComponents.Intrinsic.projection U B m n a (b ∘ i.succAbove) ≫ |
| 49 | (B.map (NonemptyCechDifferential.faceMap U n i b).op).app |
| 50 | (op (∏ᶜ (U ∘ a))) = |
| 51 | EvaluationNaturality.value U Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) (m + n + 1) |
| 52 | (List.ofFn a ++ List.ofFn (b ∘ i.succAbove)) := by |
| 53 | rw [← Category.assoc, evaluation, ← Evaluation.Components.ofFn_tuple] |
| 54 | exact EvaluationNaturality.outer U Q B γ h |
| 55 | (Cech.LocalTupleEvaluation.delete_le U n b i) (m + n + 1) |
| 56 | (Components.tuple a (b ∘ i.succAbove)) |
| 57 | (Components.product_tuple U a (b ∘ i.succAbove)).ge |
| 58 | |
| 59 | omit [HasProducts.{t} A] [Finite ι] in |
| 60 | private theorem boundary_comp {X Y Z : A} (f : List ι → (X ⟶ Y)) (g : Y ⟶ Z) |
| 61 | (l : List ι) : |
| 62 | Cech.TupleConcatenation.boundaryValue (fun a => f a ≫ g) l = |
| 63 | Cech.TupleConcatenation.boundaryValue f l ≫ g := by |
| 64 | simp only [Cech.TupleConcatenation.boundaryValue, sum_comp, zsmul_comp] |
| 65 | |
| 66 | theorem source (m n : ℕ) (a : Fin (m + 1) → ι) (b : Fin (n + 1) → ι) : |
| 67 | ((NonemptyCechNerve.complexFunctor U).obj Q).d (m + n) (m + n + 1) ≫ |
| 68 | IntrinsicComponents.Intrinsic.map U Q B γ h m n ≫ IntrinsicComponents.Intrinsic.projection U B m n a b = |
| 69 | Cech.TupleConcatenation.boundaryValue |
| 70 | (EvaluationNaturality.value U Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) (m + n)) |
| 71 | (List.ofFn a ++ List.ofFn b) := by |
| 72 | rw [evaluation, ← Evaluation.Components.ofFn_tuple] |
| 73 | change _ = Cech.TupleConcatenation.boundaryValue |
| 74 | (fun l => Cech.LocalTupleEvaluation.value U Q |
| 75 | ((∏ᶜ (U ∘ a)) ⊓ (∏ᶜ (U ∘ b))) (m + n) l ≫ |
| 76 | SemilatticeCechAmalgamation.map Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b))) _ |
| 77 | dsimp only [EvaluationNaturality.value] |
| 78 | rw [boundary_comp, Cech.LocalTupleEvaluation.boundary U Q _ (m + n) |
| 79 | (Components.tuple a b) (Components.product_tuple U a b).ge, |
| 80 | Cech.LocalTupleEvaluation.value_ofFn U Q _ (Components.tuple a b) |
| 81 | (Components.product_tuple U a b).ge] |
| 82 | simp only [Category.assoc] |
| 83 | |
| 84 | theorem inner (m n : ℕ) (a : Fin (m + 2) → ι) (b : Fin (n + 1) → ι) : |
| 85 | IntrinsicComponents.Intrinsic.map U Q B γ h m n ≫ ((IntrinsicComponents.Intrinsic.complex U B).d m (m + 1)).f n ≫ |
| 86 | IntrinsicComponents.Intrinsic.projection U B (m + 1) n a b = |
| 87 | Cech.FiniteTupleConcatenation.boundaryValue |
| 88 | (fun l => EvaluationNaturality.value U Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) |
| 89 | (m + n + 1) (l ++ List.ofFn b)) a := by |
| 90 | rw [Differentials.inner, comp_sum] |
| 91 | unfold Cech.FiniteTupleConcatenation.boundaryValue |
| 92 | apply Finset.sum_congr rfl |
| 93 | intro i _ |
| 94 | rw [comp_zsmul, inner_face] |
| 95 | |
| 96 | theorem outer (m n : ℕ) (a : Fin (m + 1) → ι) (b : Fin (n + 2) → ι) : |
| 97 | IntrinsicComponents.Intrinsic.map U Q B γ h m n ≫ ((IntrinsicComponents.Intrinsic.complex U B).X m).d n (n + 1) ≫ |
| 98 | IntrinsicComponents.Intrinsic.projection U B m (n + 1) a b = |
| 99 | Cech.FiniteTupleConcatenation.boundaryValue |
| 100 | (fun l => EvaluationNaturality.value U Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) |
| 101 | (m + n + 1) (List.ofFn a ++ l)) b := by |
| 102 | rw [Differentials.outer, comp_sum] |
| 103 | unfold Cech.FiniteTupleConcatenation.boundaryValue |
| 104 | apply Finset.sum_congr rfl |
| 105 | intro i _ |
| 106 | rw [comp_zsmul, outer_face] |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.Faces |