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.SourceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.Ext |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Global.SectionCechEdge |
| 4 | |
| 5 | /-! # Source Component -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.SourceComponent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The mixed Hom source edge becomes genuine global-section |
| 12 | restriction under the native free-frame Čech coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u z |
| 17 | variable {C : Type u} [Category.{0} C] [HasBinaryProducts C] |
| 18 | {ι : Type} [Finite ι] (F : ι → C) (R : Type u) [CommRing R] |
| 19 | (J : GrothendieckTopology C) |
| 20 | [HasExt.{max u z} (Sheaf J (ModuleCat.{u} R))] |
| 21 | (H : Sheaf J (ModuleCat.{u} R)) |
| 22 | |
| 23 | local notation "ε" => OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringPresentationResolution.augmentation J R F |
| 24 | local notation "A" => Functor.obj (constantSheaf J (ModuleCat R)) (ModuleCat.of R R) |
| 25 | |
| 26 | def restriction : (ExhaustiveSectionNaturality.globalSectionsFunctor R (ModuleCat.of R R)).obj H.obj ⟶ |
| 27 | (Differential.complex F R H.obj).X 0 := |
| 28 | Pi.lift (fun t : Fin 1 → ι => ModuleCat.ofHom |
| 29 | { toFun := fun s => s.app (op (Presentation.TupleProducts.family F 0 t)) (1 : R) |
| 30 | map_add' := fun _ _ => rfl |
| 31 | map_smul' := fun _ _ => rfl }) |
| 32 | |
| 33 | omit [Finite ι] [HasExt.{max u z} (Sheaf J (ModuleCat.{u} R))] in |
| 34 | theorem restriction_apply (b : (ExhaustiveSectionNaturality.globalSectionsFunctor R (ModuleCat.of R R)).obj H.obj) |
| 35 | (t : Fin 1 → ι) : |
| 36 | Differential.coordinate F R H.obj 0 t (restriction F R J H b) = |
| 37 | b.app (op (Presentation.TupleProducts.family F 0 t)) (1 : R) := |
| 38 | ConcreteCategory.congr_hom (Pi.lift_comp_π _ t) b |
| 39 | |
| 40 | omit [Finite ι] in |
| 41 | theorem coordinate (b : A ⟶ H) : |
| 42 | (FrameCech.Ext.Comparison.comparison.{u,0,z} F R J H).hom.f 0 |
| 43 | (Abelian.Ext.mk₀ ((ε).f 0 ≫ b)) = |
| 44 | ULift.up (restriction F R J H (IntegralComparison.Ext.ZeroPresheafSections.homLinearEquiv R J H b)) := by |
| 45 | change ULift.up ((SectionIso.component F R J H 0).hom |
| 46 | (Abelian.Ext.linearEquiv₀ (R := R) (Abelian.Ext.mk₀ ((ε).f 0 ≫ b)))) = _ |
| 47 | erw [Abelian.Ext.linearEquiv₀.apply_symm_apply] |
| 48 | apply ULift.ext |
| 49 | apply Module.ProductScalarKernel.element_ext |
| 50 | (fun t : Fin 1 → ι => H.obj.obj (op (Presentation.TupleProducts.family F 0 t))) |
| 51 | intro t |
| 52 | exact (SectionIso.component_coordinate F R J H 0 ((ε).f 0 ≫ b) t).trans |
| 53 | ((SourceCoordinates.coordinate F R J H b t).trans |
| 54 | (restriction_apply F R J H (IntegralComparison.Ext.ZeroPresheafSections.homLinearEquiv R J H b) t).symm) |
| 55 | |
| 56 | omit [Finite ι] in |
| 57 | theorem square : |
| 58 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R H 0).map ((ε).f 0).op ≫ |
| 59 | (FrameCech.Ext.Comparison.comparison.{u,0,z} F R J H).hom.f 0 = |
| 60 | (IntegralComparison.Ext.ZeroPresheafSections.iso.{u,0,u,z} R J).hom.app H ≫ |
| 61 | (ModuleCat.uliftFunctor.{z,u} R).map (restriction F R J H) := by |
| 62 | apply ModuleCat.hom_ext |
| 63 | apply LinearMap.ext |
| 64 | intro x |
| 65 | obtain ⟨b, rfl⟩ := (Abelian.Ext.mk₀_bijective A H).surjective x |
| 66 | change (FrameCech.Ext.Comparison.comparison.{u,0,z} F R J H).hom.f 0 |
| 67 | ((Abelian.Ext.mk₀ ((ε).f 0)).comp (Abelian.Ext.mk₀ b) (Nat.zero_add 0)) = _ |
| 68 | erw [Abelian.Ext.mk₀_comp_mk₀, coordinate] |
| 69 | exact congrArg (fun s => ULift.up (restriction F R J H s.down)) |
| 70 | (IntegralComparison.Ext.ZeroPresheafSections.equivalence_mk.{u,0,u,z} R J H b).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.SourceComponent |