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.Differential |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionDifferential |
| 3 | import Mathlib.CategoryTheory.Linear.Yoneda |
| 4 | |
| 5 | /-! # Section Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.SectionIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual dual of the frame presentation resolution is the native frame Čech cochain complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {ι : Type v} (F : ι → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 19 | |
| 20 | local instance moduleProducts : HasProducts.{v} (ModuleCat.{max u v} R) := by |
| 21 | let h : HasLimitsOfSize.{v, v} (ModuleCat.{max u v} R) := |
| 22 | ModuleCat.hasLimitsOfSize.{v, v, max u v, max u v} |
| 23 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 24 | |
| 25 | variable (H : Sheaf J (ModuleCat.{max u v} R)) |
| 26 | |
| 27 | def homComplex : CochainComplex (ModuleCat.{max u v} R) ℕ := |
| 28 | (((linearYoneda R (Sheaf J (ModuleCat.{max u v} R))).obj H).mapHomologicalComplex (.up ℕ)).obj |
| 29 | (CoveringPresentationResolution.complex J R F).op |
| 30 | |
| 31 | def component (n : ℕ) : (homComplex F R J H).X n ≅ (Differential.complex F R H.obj).X n := |
| 32 | ((Presentation.ResolutionCoordinates.sheaf F R n J H).trans |
| 33 | (ModuleCat.piIsoPi.{max u v, v, max u v} |
| 34 | (fun t => H.obj.obj (op (Presentation.TupleProducts.family F n t)))).symm.toLinearEquiv).toModuleIso |
| 35 | |
| 36 | theorem component_coordinate (n : ℕ) (a : (CoveringPresentationResolution.complex J R F).X n ⟶ H) |
| 37 | (t : Fin (n + 1) → ι) : |
| 38 | Differential.coordinate F R H.obj n t ((component F R J H n).hom a) = |
| 39 | Presentation.ResolutionCoordinates.sheaf F R n J H a t := |
| 40 | congrArg (fun f => f (Presentation.ResolutionCoordinates.sheaf F R n J H a)) |
| 41 | (ModuleCat.piIsoPi_inv_kernel_ι.{max u v, v, max u v} |
| 42 | (fun t => H.obj.obj (op (Presentation.TupleProducts.family F n t))) t) |
| 43 | |
| 44 | theorem comm (n : ℕ) : (component F R J H n).hom ≫ (Differential.complex F R H.obj).d n (n + 1) = |
| 45 | (homComplex F R J H).d n (n + 1) ≫ (component F R J H (n + 1)).hom := by |
| 46 | apply Pi.hom_ext |
| 47 | intro t |
| 48 | apply ModuleCat.hom_ext |
| 49 | apply LinearMap.ext |
| 50 | intro a |
| 51 | change (CoveringPresentationResolution.complex J R F).X n ⟶ H at a |
| 52 | have hs := Finset.sum_congr (s₁ := Finset.univ) (s₂ := Finset.univ) rfl |
| 53 | (fun (i : Fin (n + 2)) _ => congrArg |
| 54 | (fun x => (-1 : ℤ) ^ (i : ℕ) • H.obj.map (Presentation.ResolutionFaceMaps.productMap F i.succAbove t).op x) |
| 55 | (component_coordinate F R J H n a (t ∘ i.succAbove))) |
| 56 | exact (Differential.coordinates F R H.obj n t ((component F R J H n).hom a)).trans |
| 57 | (hs.trans ((Presentation.ResolutionDifferential.coordinates F R J H n a t).symm.trans |
| 58 | (component_coordinate F R J H (n + 1) |
| 59 | ((CoveringPresentationResolution.complex J R F).d (n + 1) n ≫ a) t).symm)) |
| 60 | |
| 61 | def iso : homComplex F R J H ≅ Differential.complex F R H.obj := |
| 62 | HomologicalComplex.Hom.isoOfComponents (component F R J H) (by |
| 63 | intro i j hij |
| 64 | have h : i + 1 = j := hij |
| 65 | subst j |
| 66 | exact comm F R J H i) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.SectionIso |