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.FrameCech.SectionIso |
| 2 | import Mathlib.Algebra.Homology.SingleHomology |
| 3 | |
| 4 | /-! # Injective Frame Cech Exactness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveFrameCechExactness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A genuine covering family has no positive Čech cohomology with |
| 11 | injective sheaf coefficients. The free sheaf resolution and injectivity |
| 12 | produce an actual cochain primitive. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v |
| 17 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {ι : Type v} (F : ι → C) (R : Type (max u v)) [CommRing R] |
| 19 | (J : GrothendieckTopology C) |
| 20 | (hcover : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ J U) |
| 21 | |
| 22 | include hcover in |
| 23 | omit [HasBinaryProducts C] in |
| 24 | theorem chain_exact (n : ℕ) : |
| 25 | (CoveringPresentationResolution.complex J R F).ExactAt (n + 1) := by |
| 26 | let a := CoveringPresentationResolution.augmentation J R F |
| 27 | let h : QuasiIso a := CoveringPresentationResolution.augmentation_quasiIso J R F hcover |
| 28 | let : QuasiIsoAt a (n + 1) := h.quasiIsoAt (n + 1) |
| 29 | exact (exactAt_iff_of_quasiIsoAt a (n + 1)).mpr |
| 30 | (ChainComplex.exactAt_succ_single_obj _ n) |
| 31 | |
| 32 | variable (H : Sheaf J (ModuleCat.{max u v} R)) [Injective H] |
| 33 | |
| 34 | include hcover in |
| 35 | theorem boundary (n : ℕ) (x : (FrameCech.Differential.complex F R H.obj).X (n + 1)) |
| 36 | (hx : (FrameCech.Differential.complex F R H.obj).d (n + 1) (n + 2) x = 0) : |
| 37 | ∃ y : (FrameCech.Differential.complex F R H.obj).X n, |
| 38 | (FrameCech.Differential.complex F R H.obj).d n (n + 1) y = x := by |
| 39 | let P := CoveringPresentationResolution.complex J R F |
| 40 | let K := FrameCech.Differential.complex F R H.obj |
| 41 | let e := FrameCech.SectionIso.component F R J H |
| 42 | let a : P.X (n + 1) ⟶ H := (e (n + 1)).inv x |
| 43 | have ha : (e (n + 1)).hom a = x := by |
| 44 | exact (e (n + 1)).inv_hom_id_apply x |
| 45 | have hda : P.d (n + 2) (n + 1) ≫ a = 0 := by |
| 46 | apply (e (n + 2)).toLinearEquiv.injective |
| 47 | change (e (n + 2)).hom (P.d (n + 2) (n + 1) ≫ a) = (e (n + 2)).hom 0 |
| 48 | rw [map_zero] |
| 49 | have he := congrArg (fun f => f a) (FrameCech.SectionIso.comm F R J H (n + 1)) |
| 50 | change K.d (n + 1) (n + 2) ((e (n + 1)).hom a) = |
| 51 | (e (n + 2)).hom (P.d (n + 2) (n + 1) ≫ a) at he |
| 52 | rw [ha, hx] at he |
| 53 | exact he.symm |
| 54 | have hS : (P.sc' (n + 2) (n + 1) n).Exact := |
| 55 | (HomologicalComplex.exactAt_iff' P (n + 2) (n + 1) n (by simp) (by simp)).mp |
| 56 | (chain_exact F R J hcover n) |
| 57 | let b : P.X n ⟶ H := hS.descToInjective a hda |
| 58 | refine ⟨(e n).hom b, ?_⟩ |
| 59 | have he := congrArg (fun f => f b) (FrameCech.SectionIso.comm F R J H n) |
| 60 | change K.d n (n + 1) ((e n).hom b) = (e (n + 1)).hom (P.d (n + 1) n ≫ b) at he |
| 61 | have hb : P.d (n + 1) n ≫ b = a := hS.comp_descToInjective a hda |
| 62 | exact he.trans ((congrArg (fun t : P.X (n + 1) ⟶ H => (e (n + 1)).hom t) hb).trans ha) |
| 63 | |
| 64 | def coordinatesEquiv (n : ℕ) : (FrameCech.Differential.complex F R H.obj).X n ≃ₗ[R] |
| 65 | (∀ t : Fin (n + 1) → ι, |
| 66 | H.obj.obj (op (Presentation.TupleProducts.family F n t))) := |
| 67 | (ModuleCat.piIsoPi.{max u v, v, max u v} |
| 68 | (fun t => H.obj.obj (op (Presentation.TupleProducts.family F n t)))).toLinearEquiv |
| 69 | |
| 70 | omit [Injective H] in |
| 71 | theorem coordinatesEquiv_apply (n : ℕ) |
| 72 | (x : (FrameCech.Differential.complex F R H.obj).X n) (t : Fin (n + 1) → ι) : |
| 73 | coordinatesEquiv F R J H n x t = FrameCech.Differential.coordinate F R H.obj n t x := |
| 74 | congrArg (fun f => f x) (ModuleCat.piIsoPi_hom_ker_subtype.{max u v, v, max u v} |
| 75 | (fun t => H.obj.obj (op (Presentation.TupleProducts.family F n t))) t) |
| 76 | |
| 77 | include hcover in |
| 78 | theorem boundary_coordinates (n : ℕ) |
| 79 | (x : ∀ t : Fin (n + 2) → ι, |
| 80 | H.obj.obj (op (Presentation.TupleProducts.family F (n + 1) t))) |
| 81 | (hx : ∀ t : Fin (n + 3) → ι, |
| 82 | (∑ i : Fin (n + 3), (-1 : ℤ) ^ (i : ℕ) • |
| 83 | H.obj.map (Presentation.ResolutionFaceMaps.productMap F i.succAbove t).op |
| 84 | (x (t ∘ i.succAbove))) = 0) : |
| 85 | ∃ y : ∀ t : Fin (n + 1) → ι, |
| 86 | H.obj.obj (op (Presentation.TupleProducts.family F n t)), |
| 87 | ∀ t : Fin (n + 2) → ι, |
| 88 | (∑ i : Fin (n + 2), (-1 : ℤ) ^ (i : ℕ) • |
| 89 | H.obj.map (Presentation.ResolutionFaceMaps.productMap F i.succAbove t).op |
| 90 | (y (t ∘ i.succAbove))) = x t := by |
| 91 | let c := (coordinatesEquiv F R J H (n + 1)).symm x |
| 92 | have hc : ∀ t, FrameCech.Differential.coordinate F R H.obj (n + 1) t c = x t := by |
| 93 | intro t |
| 94 | rw [← coordinatesEquiv_apply] |
| 95 | exact congrFun ((coordinatesEquiv F R J H (n + 1)).apply_symm_apply x) t |
| 96 | have hdc : (FrameCech.Differential.complex F R H.obj).d (n + 1) (n + 2) c = 0 := by |
| 97 | apply (coordinatesEquiv F R J H (n + 2)).injective |
| 98 | ext t |
| 99 | rw [coordinatesEquiv_apply, map_zero, Pi.zero_apply, |
| 100 | FrameCech.Differential.coordinates] |
| 101 | simp only [hc] |
| 102 | exact hx t |
| 103 | obtain ⟨b, hb⟩ := boundary F R J hcover H n c hdc |
| 104 | refine ⟨coordinatesEquiv F R J H n b, fun t => ?_⟩ |
| 105 | simp only [coordinatesEquiv_apply] |
| 106 | rw [← FrameCech.Differential.coordinates, hb, hc] |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveFrameCechExactness |