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.Relative.DiagramNaturality |
| 2 | |
| 3 | /-! # Diagram Complex Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComplexMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: morphisms of original crystalline diagrams preserve the augmented relative complexes |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramFormMap |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} |
| 22 | (H K Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) (ρ : K ⟶ Q) |
| 23 | (θ : H ⟶ K) (hθ : θ ≫ ρ = π) |
| 24 | |
| 25 | def map : RelativeCrystalline.ModuleComplex.complex K Q ρ ⟶ |
| 26 | RelativeCrystalline.ModuleComplex.complex H Q π where |
| 27 | f n := DiagramNaturality.presheafMap H K Q π ρ θ hθ n |
| 28 | comm' n m h := by |
| 29 | change n + 1 = m at h |
| 30 | subst m |
| 31 | rw [RelativeCrystalline.ModuleComplex.complex_d, RelativeCrystalline.ModuleComplex.complex_d] |
| 32 | apply NatTrans.ext |
| 33 | funext U |
| 34 | apply ModuleCat.hom_ext |
| 35 | apply LinearMap.ext |
| 36 | intro ω |
| 37 | exact (DiagramFormMap.map_differential H K Q π ρ θ hθ U.unop n ω).symm |
| 38 | |
| 39 | theorem constants (U : C) (a : (Q.obj U).ring) : |
| 40 | DiagramFormMap.map H K Q π ρ θ hθ U 0 |
| 41 | (RelativeCrystalline.Augmentation.constants K Q ρ U a) = |
| 42 | RelativeCrystalline.Augmentation.constants H Q π U a := by |
| 43 | rw [RelativeCrystalline.Augmentation.constants_symbol, DiagramFormMap.map_symbol, |
| 44 | RelativeCrystalline.Augmentation.constants_symbol] |
| 45 | apply congrArg₂ (RelativeCrystalline.FormData.symbol H Q π U 0) |
| 46 | · exact congrArg (fun τ : H ⟶ Q => (τ.app U).ringMap a) hθ |
| 47 | · funext i |
| 48 | exact i.elim0 |
| 49 | |
| 50 | theorem augmentationZero : RelativeCrystalline.ModuleComplex.augmentationZero K Q ρ ≫ |
| 51 | DiagramNaturality.presheafMap H K Q π ρ θ hθ 0 = |
| 52 | RelativeCrystalline.ModuleComplex.augmentationZero H Q π := by |
| 53 | apply NatTrans.ext |
| 54 | funext U |
| 55 | apply ModuleCat.hom_ext |
| 56 | apply LinearMap.ext |
| 57 | intro a |
| 58 | exact constants H K Q π ρ θ hθ U.unop a |
| 59 | |
| 60 | theorem augmentation : RelativeCrystalline.ModuleComplex.augmentation K Q ρ ≫ map H K Q π ρ θ hθ = |
| 61 | RelativeCrystalline.ModuleComplex.augmentation H Q π := by |
| 62 | apply (CochainComplex.fromSingle₀Equiv (RelativeCrystalline.ModuleComplex.complex H Q π) |
| 63 | (RelativeCrystalline.ModuleComplex.ambientPresheaf Q)).injective |
| 64 | apply Subtype.ext |
| 65 | change (RelativeCrystalline.ModuleComplex.augmentation K Q ρ).f 0 ≫ |
| 66 | DiagramNaturality.presheafMap H K Q π ρ θ hθ 0 = |
| 67 | (RelativeCrystalline.ModuleComplex.augmentation H Q π).f 0 |
| 68 | rw [RelativeCrystalline.ModuleComplex.augmentation_zero, |
| 69 | RelativeCrystalline.ModuleComplex.augmentation_zero] |
| 70 | exact augmentationZero H K Q π ρ θ hθ |
| 71 | |
| 72 | theorem quasiIso [QuasiIso (RelativeCrystalline.ModuleComplex.augmentation K Q ρ)] |
| 73 | [QuasiIso (RelativeCrystalline.ModuleComplex.augmentation H Q π)] : QuasiIso (map H K Q π ρ θ hθ) := by |
| 74 | have : QuasiIso (RelativeCrystalline.ModuleComplex.augmentation K Q ρ ≫ map H K Q π ρ θ hθ) := by |
| 75 | rw [augmentation] |
| 76 | infer_instance |
| 77 | exact quasiIso_of_comp_left |
| 78 | (RelativeCrystalline.ModuleComplex.augmentation K Q ρ) (map H K Q π ρ θ hθ) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComplexMap |