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.Truncated.SmoothFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BaseFormCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateFormBasis |
| 4 | |
| 5 | /-! # Frame Form Basis -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameFormBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coordinate bases for the actual divided-power forms of a smooth |
| 12 | finite-level algebra with étale coordinates. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (A σ : Type) [CommRing A] |
| 19 | [Algebra (Witt.Ring p k n) A] |
| 20 | [Algebra.Smooth (Witt.Ring p k n) A] |
| 21 | [LinearOrder σ] [Algebra (MvPolynomial σ (Witt.Ring p k n)) A] |
| 22 | [IsScalarTower (Witt.Ring p k n) |
| 23 | (MvPolynomial σ (Witt.Ring p k n)) A] |
| 24 | [Algebra.FormallyEtale (MvPolynomial σ (Witt.Ring p k n)) A] |
| 25 | |
| 26 | local notation "W" => WittVector p k |
| 27 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 28 | local notation "I" => Ideal.span {(p : A)} |
| 29 | local notation "δ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothDividedPowers.dividedPowers p k n A |
| 30 | |
| 31 | def formsEquiv (m : ℕ) : letI := SmoothFrame.Complex.wittAlgebra p k n A; |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form W A I δ m ≃ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S A m := by |
| 33 | letI := SmoothFrame.Complex.wittAlgebra p k n A |
| 34 | letI : IsScalarTower W S A := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 35 | exact (Principal.BaseFormCoordinates.formsEquiv W A (p : W) |
| 36 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) I δ |
| 37 | (SmoothFrame.Complex.ideal_eq p k n A) |
| 38 | (SmoothDividedPowers.wittBase_isDPMorphism p k n A) m).trans |
| 39 | (OrdinaryBaseQuotient.Ordinary.formsEquiv W S A Ideal.Quotient.mk_surjective m) |
| 40 | |
| 41 | omit [Fintype k] in |
| 42 | theorem formsEquiv_symbol (m : ℕ) (a : A) (v : Fin m → A) : |
| 43 | letI := SmoothFrame.Complex.wittAlgebra p k n A; |
| 44 | formsEquiv p k n A m (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol W A I δ a v) = |
| 45 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S A a v := by |
| 46 | let := SmoothFrame.Complex.wittAlgebra p k n A |
| 47 | let : IsScalarTower W S A := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 48 | change OrdinaryBaseQuotient.Ordinary.formsEquiv W S A Ideal.Quotient.mk_surjective m |
| 49 | (Principal.BaseFormCoordinates.formsEquiv W A (p : W) |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) I δ |
| 51 | (SmoothFrame.Complex.ideal_eq p k n A) |
| 52 | (SmoothDividedPowers.wittBase_isDPMorphism p k n A) m |
| 53 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol W A I δ a v)) = _ |
| 54 | rw [Principal.BaseFormCoordinates.formsEquiv_symbol] |
| 55 | exact OrdinaryBaseQuotient.Ordinary.formsEquiv_symbol W S A Ideal.Quotient.mk_surjective m a v |
| 56 | |
| 57 | def basis (m : ℕ) : letI := SmoothFrame.Complex.wittAlgebra p k n A; |
| 58 | Module.Basis (Set.powersetCard σ m) A (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form W A I δ m) := by |
| 59 | letI := SmoothFrame.Complex.wittAlgebra p k n A |
| 60 | exact (Etale.CoordinateFormBasis.basis S A σ m).map (formsEquiv p k n A m).symm |
| 61 | |
| 62 | omit [Fintype k] in |
| 63 | theorem basis_apply (m : ℕ) (s : Set.powersetCard σ m) : |
| 64 | letI := SmoothFrame.Complex.wittAlgebra p k n A; |
| 65 | basis p k n A σ m s = AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol W A I δ 1 |
| 66 | (fun j => Etale.CoordinateFormBasis.coordinate S A σ |
| 67 | (Set.powersetCard.ofFinEmbEquiv.symm s j)) := by |
| 68 | let := SmoothFrame.Complex.wittAlgebra p k n A |
| 69 | apply (formsEquiv p k n A m).injective |
| 70 | rw [basis, Module.Basis.map_apply, LinearEquiv.apply_symm_apply, formsEquiv_symbol] |
| 71 | exact Etale.CoordinateFormBasis.basis_apply S A σ m s |
| 72 | |
| 73 | variable (C : Type) [CommRing C] [Algebra k C] (ρ : A →+* C) |
| 74 | (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 75 | (hbase : ∀ w : WittVector p k, |
| 76 | ρ (algebraMap (Witt.Ring p k n) A (Witt.quotient p k n w)) = |
| 77 | algebraMap k C (WittVector.constantCoeff w)) |
| 78 | |
| 79 | def frameBasis (m : ℕ) : |
| 80 | let F := SmoothFrame.object p A C ρ hρ hker k n hbase |
| 81 | letI : Algebra W F.ring := F.base.toAlgebra |
| 82 | Module.Basis (Set.powersetCard σ m) F.ring (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form W F.ring F.ideal F.dividedPowers m) := |
| 83 | basis p k n A σ m |
| 84 | |
| 85 | omit [Fintype k] in |
| 86 | theorem frameBasis_apply (m : ℕ) (s : Set.powersetCard σ m) : |
| 87 | let F := SmoothFrame.object p A C ρ hρ hker k n hbase |
| 88 | letI : Algebra W F.ring := F.base.toAlgebra |
| 89 | frameBasis p k n A σ C ρ hρ hker hbase m s = AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol W F.ring F.ideal F.dividedPowers 1 |
| 90 | (fun j => Etale.CoordinateFormBasis.coordinate S A σ |
| 91 | (Set.powersetCard.ofFinEmbEquiv.symm s j)) := |
| 92 | basis_apply p k n A σ m s |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameFormBasis |