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.GeometricComparison.FirstThree.OneEquivalence |
| 2 | |
| 3 | /-! # One Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.OneTransport.FirstThreeHOneTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A cochain map invertible in its first three terms preserves degree-one derived sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w} C] |
| 16 | |
| 17 | def derived : CochainComplex C ℕ ⥤ DerivedCategory C := |
| 18 | ComplexShape.embeddingUpNat.extendFunctor C ⋙ DerivedCategory.Q ⋙ shiftFunctor (DerivedCategory C) (1 : ℤ) |
| 19 | |
| 20 | def map (A : C) {K L : CochainComplex C ℕ} (f : K ⟶ L) : |
| 21 | ((DerivedCategory.singleFunctor C 0).obj A ⟶ (derived.obj K)) → |
| 22 | ((DerivedCategory.singleFunctor C 0).obj A ⟶ (derived.obj L)) := |
| 23 | fun x => x ≫ derived.map f |
| 24 | |
| 25 | omit [HasDerivedCategory.{w} C] in |
| 26 | theorem firstThree_isIso {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 27 | (h : ∀ n : ℕ, n ≤ 2 → IsIso (f.f n)) : IsIso (ThreeComplex.FirstThreeComplex.map f) := by |
| 28 | have (n : ℕ) : IsIso ((ThreeComplex.FirstThreeComplex.map f).f n) := by |
| 29 | rcases n with _ | (_ | (_ | n)) |
| 30 | · exact h 0 (by omega) |
| 31 | · exact h 1 (by omega) |
| 32 | · exact h 2 (by omega) |
| 33 | · exact (isZero_zero C).isIso (isZero_zero C) _ |
| 34 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 35 | |
| 36 | theorem postcompose_bijective {D : Type*} [Category* D] {X Y Z : D} (g : Y ⟶ Z) [IsIso g] : |
| 37 | Function.Bijective (fun x : X ⟶ Y => x ≫ g) := by |
| 38 | constructor |
| 39 | · intro x y h |
| 40 | exact (cancel_mono g).mp h |
| 41 | · intro z |
| 42 | refine ⟨z ≫ inv g, ?_⟩ |
| 43 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 44 | |
| 45 | theorem map_naturality (A : C) {K L : CochainComplex C ℕ} (f : K ⟶ L) : |
| 46 | map A (ThreeComplex.FirstThreeComplex.projection L) ∘ map A f = |
| 47 | map A (ThreeComplex.FirstThreeComplex.map f) ∘ map A (ThreeComplex.FirstThreeComplex.projection K) := by |
| 48 | funext x |
| 49 | change (x ≫ derived.map f) ≫ derived.map (ThreeComplex.FirstThreeComplex.projection L) = |
| 50 | (x ≫ derived.map (ThreeComplex.FirstThreeComplex.projection K)) ≫ derived.map (ThreeComplex.FirstThreeComplex.map f) |
| 51 | rw [Category.assoc, Category.assoc, ← Functor.map_comp, ← Functor.map_comp, |
| 52 | ThreeComplex.FirstThreeComplex.projection_naturality] |
| 53 | |
| 54 | theorem bijective (A : C) {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 55 | (h : ∀ n : ℕ, n ≤ 2 → IsIso (f.f n)) : Function.Bijective (map A f) := by |
| 56 | let : IsIso (ThreeComplex.FirstThreeComplex.map f) := firstThree_isIso f h |
| 57 | let : IsIso (derived.map (ThreeComplex.FirstThreeComplex.map f)) := derived.map_isIso _ |
| 58 | have hK : Function.Bijective (map A (ThreeComplex.FirstThreeComplex.projection K)) := |
| 59 | OneEquivalence.FirstThreeComplex.hone_bijective K A |
| 60 | have hL : Function.Bijective (map A (ThreeComplex.FirstThreeComplex.projection L)) := |
| 61 | OneEquivalence.FirstThreeComplex.hone_bijective L A |
| 62 | have hF : Function.Bijective (map A (ThreeComplex.FirstThreeComplex.map f)) := postcompose_bijective _ |
| 63 | apply (Function.Bijective.of_comp_iff' hL (map A f)).mp |
| 64 | rw [map_naturality] |
| 65 | exact hF.comp hK |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.OneTransport.FirstThreeHOneTransport |