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.SmallCrystallineOperators |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallinePullback |
| 3 | |
| 4 | /-! # Period Invariants Pullback Adapter -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.PeriodInvariantsPullbackAdapter.CrystallineAdapter |
| 11 | |
| 12 | /-! Identify independently defined crystalline pullbacks through the actual big/small comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable (q : ℕ) [Fact q.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of (ZMod q)))) [IsSeparated X.hom] |
| 19 | |
| 20 | def nativeBigSmallEquiv : |
| 21 | (FractionRing (Crystalline.CoefficientAdapter.Witt q) ⊗[Crystalline.CoefficientAdapter.Witt q] Crystalline.CoefficientAdapter.IntegralH1 q X) ≃ₗ[ |
| 22 | FractionRing (Crystalline.CoefficientAdapter.Witt q)] IntegralComparison.Witt.Crystalline.rationalCohomology q (ZMod q) X 1 := |
| 23 | (IntegralComparison.Global.Crystalline.Comparison.integralEquivWitt q (ZMod q) X 1).baseChange |
| 24 | (Crystalline.CoefficientAdapter.Witt q) (FractionRing (Crystalline.CoefficientAdapter.Witt q)) _ _ |
| 25 | |
| 26 | theorem rationalEquiv_factor |
| 27 | (x : FractionRing (Crystalline.CoefficientAdapter.Witt q) ⊗[Crystalline.CoefficientAdapter.Witt q] Crystalline.CoefficientAdapter.IntegralH1 q X) : |
| 28 | GlobalCrystallineAdapter.CrystallineAdapter.rationalEquiv q (ZMod q) X 1 x = |
| 29 | SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv 1 (nativeBigSmallEquiv q X x) := by |
| 30 | induction x using TensorProduct.inductionOn with |
| 31 | | tmul a x => rfl |
| 32 | | add x y hx hy => |
| 33 | calc |
| 34 | _ = GlobalCrystallineAdapter.CrystallineAdapter.rationalEquiv q (ZMod q) X 1 x + GlobalCrystallineAdapter.CrystallineAdapter.rationalEquiv q (ZMod q) X 1 y := |
| 35 | (GlobalCrystallineAdapter.CrystallineAdapter.rationalEquiv q (ZMod q) X 1).map_add x y |
| 36 | _ = _ := congrArg₂ (· + ·) hx hy |
| 37 | _ = _ := by simp only [map_add] |
| 38 | |
| 39 | variable {X} {Y : Over (Spec (CommRingCat.of (ZMod q)))} [IsSeparated Y.hom] |
| 40 | |
| 41 | theorem nativeBigSmallEquiv_pullback (f : X ⟶ Y) |
| 42 | (x : FractionRing (Crystalline.CoefficientAdapter.Witt q) ⊗[Crystalline.CoefficientAdapter.Witt q] Crystalline.CoefficientAdapter.IntegralH1 q Y) : |
| 43 | PeriodInvariants.CrystallinePullback.rationalPullback q (ZMod q) f 1 (nativeBigSmallEquiv q Y x) = |
| 44 | nativeBigSmallEquiv q X (Crystalline.OperatorAdapter.CrystallineAdapter.fractionPullback q f x) := by |
| 45 | induction x using TensorProduct.inductionOn with |
| 46 | | tmul a x => |
| 47 | change a ⊗ₜ[Crystalline.CoefficientAdapter.Witt q] |
| 48 | (IntegralComparison.Global.Crystalline.Comparison.integralEquivWitt q (ZMod q) X 1 |
| 49 | (PeriodInvariants.CrystallinePullback.bigPullback q (ZMod q) f 1 |
| 50 | ((IntegralComparison.Global.Crystalline.Comparison.integralEquivWitt q (ZMod q) Y 1).symm |
| 51 | (IntegralComparison.Global.Crystalline.Comparison.integralEquivWitt q (ZMod q) Y 1 x)))) = _ |
| 52 | erw [LinearEquiv.symm_apply_apply] |
| 53 | rfl |
| 54 | | add x y hx hy => simp only [map_add, hx, hy] |
| 55 | |
| 56 | theorem smallPullback_eq_native (f : X ⟶ Y) |
| 57 | (x : IntegralComparison.Witt.Crystalline.rationalCohomology q (ZMod q) Y 1) : |
| 58 | SmallCrystallineOperators.CrystallineAdapter.smallPullback q f (SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv 1 x) = |
| 59 | SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv 1 |
| 60 | (PeriodInvariants.CrystallinePullback.rationalPullback q (ZMod q) f 1 x) := by |
| 61 | obtain ⟨y, rfl⟩ := (nativeBigSmallEquiv q Y).surjective x |
| 62 | rw [← rationalEquiv_factor, SmallCrystallineOperators.CrystallineAdapter.rationalEquiv_pullback, nativeBigSmallEquiv_pullback, |
| 63 | ← rationalEquiv_factor] |
| 64 | |
| 65 | end NumberTheory.PadicHodge.GeometricComparison.PeriodInvariantsPullbackAdapter.CrystallineAdapter |
| 66 | |
| 67 | namespace NumberTheory.PadicHodge.GeometricComparison.PeriodInvariantsPullbackAdapter |
| 68 | |
| 69 | /-! An explicit equality for independently defined small crystalline pullback operators. -/ |
| 70 | |
| 71 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 72 | |
| 73 | theorem operator_eq_conjugate {V V' W W' : Type*} (eX : V' ≃ W') (eY : V ≃ W) |
| 74 | (T : W → W') (U : V → V') |
| 75 | (h : ∀ x, T (eY x) = eX (U x)) (x : W) : T x = eX (U (eY.symm x)) := by |
| 76 | simpa only [eY.apply_symm_apply] using h (eY.symm x) |
| 77 | |
| 78 | namespace CrystallineAdapter |
| 79 | |
| 80 | variable (q : ℕ) [Fact q.Prime] |
| 81 | {X Y : Over (Spec (CommRingCat.of (ZMod q)))} [IsSeparated X.hom] [IsSeparated Y.hom] |
| 82 | |
| 83 | theorem smallPullback_eq_native_conjugate (f : X ⟶ Y) : |
| 84 | SmallCrystallineOperators.CrystallineAdapter.smallPullback q f = (SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv (p := q) (k := ZMod q) (X := X) 1).toLinearMap.comp |
| 85 | ((PeriodInvariants.CrystallinePullback.rationalPullback q (ZMod q) f 1).comp |
| 86 | (SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv (p := q) (k := ZMod q) (X := Y) 1).symm.toLinearMap) := by |
| 87 | apply LinearMap.ext |
| 88 | exact operator_eq_conjugate |
| 89 | (SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv (p := q) (k := ZMod q) (X := X) 1).toEquiv |
| 90 | (SmallCrystallineCohomologyAdapter.SmallCrystallineAdapter.rationalEquiv (p := q) (k := ZMod q) (X := Y) 1).toEquiv |
| 91 | (SmallCrystallineOperators.CrystallineAdapter.smallPullback q f) (PeriodInvariants.CrystallinePullback.rationalPullback q (ZMod q) f 1) |
| 92 | (smallPullback_eq_native q f) |
| 93 | |
| 94 | end CrystallineAdapter |
| 95 | |
| 96 | end NumberTheory.PadicHodge.GeometricComparison.PeriodInvariantsPullbackAdapter |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI |