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.AlternatingOrderedSpan |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialFormFiniteness |
| 3 | import Mathlib.LinearAlgebra.ExteriorPower.Basis |
| 4 | |
| 5 | /-! # Exact Differential Basis -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExactDifferentialBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: bases of ordinary differential symbols in arbitrary characteristic |
| 13 | |
| 14 | An exact Kähler basis gives a basis of every differential-symbol module. |
| 15 | Spanning follows from tensor symbols and ordering alternating tuples; |
| 16 | independence follows from the native exterior-power basis. |
| 17 | -/ |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R A σ : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 24 | [LinearOrder σ] (x : σ → A) (n : ℕ) |
| 25 | |
| 26 | def coordinateForm (s : Set.powersetCard σ n) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n := |
| 27 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 (fun j => x (Set.powersetCard.ofFinEmbEquiv.symm s j)) |
| 28 | |
| 29 | theorem toExterior_coordinateForm (s : Set.powersetCard σ n) : |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R A n (coordinateForm R A σ x n s) = |
| 31 | exteriorPower.ιMulti_family A n (fun i => KaehlerDifferential.D R A (x i)) s := by |
| 32 | rw [coordinateForm, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior_symbol, one_smul] |
| 33 | rfl |
| 34 | |
| 35 | theorem span_eq_top (hx : Submodule.span A (Set.range (fun i => KaehlerDifferential.D R A (x i))) = ⊤) : |
| 36 | Submodule.span A (Set.range (coordinateForm R A σ x n)) = ⊤ := by |
| 37 | let S := Submodule.span A (Set.range (coordinateForm R A σ x n)) |
| 38 | have ht := PiTensorProduct.submodule_span_eq_top |
| 39 | (g := fun {_ : Fin n} (i : σ) => KaehlerDifferential.D R A (x i)) (fun _ => hx) |
| 40 | have hle : (⊤ : Submodule A (PiTensorProduct A (fun _ : Fin n => KaehlerDifferential R A))) ≤ |
| 41 | S.comap (DifferentialFormFiniteness.tensorSymbols R A n) := by |
| 42 | rw [← ht] |
| 43 | apply Submodule.span_le.mpr |
| 44 | rintro _ ⟨v, rfl⟩ |
| 45 | change DifferentialFormFiniteness.tensorSymbols R A n |
| 46 | (PiTensorProduct.tprod A (fun i => KaehlerDifferential.D R A (x (v i)))) ∈ S |
| 47 | rw [DifferentialFormFiniteness.tensorSymbols_tprod] |
| 48 | exact AlternatingOrderedSpan.mem_span R A A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) σ n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbols R A n) x v |
| 49 | apply top_unique |
| 50 | intro ω _ |
| 51 | obtain ⟨t, rfl⟩ := DifferentialFormFiniteness.tensorSymbols_surjective R A n ω |
| 52 | exact hle (Submodule.mem_top) |
| 53 | |
| 54 | variable (b : Module.Basis σ A (KaehlerDifferential R A)) |
| 55 | (hx : ∀ i, b i = KaehlerDifferential.D R A (x i)) |
| 56 | |
| 57 | include hx in |
| 58 | theorem linearIndependent : LinearIndependent A (coordinateForm R A σ x n) := by |
| 59 | apply LinearIndependent.of_comp (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R A n) |
| 60 | have he : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R A n) ∘ coordinateForm R A σ x n = exteriorPower.ιMulti_family A n b := by |
| 61 | funext s |
| 62 | rw [Function.comp_apply, toExterior_coordinateForm] |
| 63 | exact congrArg (fun v => exteriorPower.ιMulti_family A n v s) (funext (fun i => (hx i).symm)) |
| 64 | rw [he] |
| 65 | exact exteriorPower.ιMulti_family_linearIndependent_ofBasis A n b |
| 66 | |
| 67 | def basis : Module.Basis (Set.powersetCard σ n) A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) := |
| 68 | Module.Basis.mk (linearIndependent R A σ x n b hx) |
| 69 | (eq_top_iff.mp (span_eq_top R A σ x n ((congrArg (fun v => Submodule.span A (Set.range v)) |
| 70 | (funext hx)).symm.trans b.span_eq))) |
| 71 | |
| 72 | theorem basis_apply (s : Set.powersetCard σ n) : basis R A σ x n b hx s = coordinateForm R A σ x n s := |
| 73 | Module.Basis.mk_apply _ _ _ |
| 74 | |
| 75 | def exteriorEquiv : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n ≃ₗ[A] ⋀[A]^n (KaehlerDifferential R A) := |
| 76 | (basis R A σ x n b hx).equiv (b.exteriorPower n) (Equiv.refl _) |
| 77 | |
| 78 | theorem exteriorEquiv_eq : (exteriorEquiv R A σ x n b hx).toLinearMap = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R A n := by |
| 79 | apply (basis R A σ x n b hx).ext |
| 80 | intro s |
| 81 | change (basis R A σ x n b hx).equiv (b.exteriorPower n) (Equiv.refl _) (basis R A σ x n b hx s) = _ |
| 82 | rw [Module.Basis.equiv_apply, Equiv.refl_apply, exteriorPower.basis_apply, ExactDifferentialBasis.basis_apply, |
| 83 | toExterior_coordinateForm] |
| 84 | exact congrArg (fun v => exteriorPower.ιMulti_family A n v s) (funext hx) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExactDifferentialBasis |