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.Etale.ConormalBaseChange |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ExteriorAdjunctionBaseChange |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalRank |
| 4 | |
| 5 | /-! # Conormal Residue -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalResidue |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native smooth cotangent residue commutes with an étale map of |
| 12 | extensions whose conormal module is the actual scalar extension. -/ |
| 13 | |
| 14 | open _root_.Module _root_.Algebra.Extension KaehlerDifferential |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalBaseChange OAI.NumberTheory.PadicHodge.IntegralComparison.SplitExteriorAdjunction |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | variable {R S T : Type u} [CommRing R] [CommRing S] [CommRing T] |
| 24 | [Algebra R S] [Algebra R T] [Algebra S T] [IsScalarTower R S T] |
| 25 | (P : Algebra.Extension.{u} R S) (Q : Algebra.Extension.{u} R T) (f : P.Hom Q) |
| 26 | [Algebra P.Ring Q.Ring] (halg : algebraMap P.Ring Q.Ring = f.toRingHom) |
| 27 | (hker : Function.Bijective ((f.mapKer halg).liftBaseChange Q.Ring)) |
| 28 | (hf : f.toRingHom.FormallyEtale) [Algebra.FormallyEtale S T] |
| 29 | [Algebra.Smooth R P.Ring] [Algebra.Smooth R S] |
| 30 | [Algebra.Smooth R Q.Ring] [Algebra.Smooth R T] |
| 31 | |
| 32 | abbrev conormal : T ⊗[S] P.Cotangent ≃ₗ[T] Q.Cotangent := |
| 33 | Algebra.Extension.tensorCotangent f halg hker |
| 34 | |
| 35 | omit [IsScalarTower R S T] [Algebra.FormallyEtale S T] |
| 36 | [Algebra.Smooth R P.Ring] [Algebra.Smooth R S] |
| 37 | [Algebra.Smooth R Q.Ring] [Algebra.Smooth R T] in |
| 38 | theorem conormal_tmul (t : T) (x : P.Cotangent) : |
| 39 | conormal P Q f halg hker (t ⊗ₜ[S] x) = t • Cotangent.map f x := |
| 40 | LinearMap.liftBaseChange_tmul T (Cotangent.map f) t x |
| 41 | |
| 42 | abbrev sourceSplit := (IntegralComparison.Smooth.ConormalRank.differentialSplit P).symm |
| 43 | abbrev targetSplit := (IntegralComparison.Smooth.ConormalRank.differentialSplit Q).symm |
| 44 | abbrev baseSplit := ExteriorAdjunctionBaseChange.Split.splitting T (sourceSplit P) |
| 45 | |
| 46 | omit [Algebra.FormallyEtale S T] in |
| 47 | theorem inclusion (x : T ⊗[S] P.Cotangent) : |
| 48 | ConormalBaseChange.ambient P Q f hf (baseSplit P (x, 0)) = |
| 49 | targetSplit Q (conormal P Q f halg hker x, 0) := by |
| 50 | induction x using TensorProduct.inductionOn with |
| 51 | | add x y hx hy => |
| 52 | have hxy : (x + y, (0 : T ⊗[S] Ω[S⁄R])) = (x, 0) + (y, 0) := by simp |
| 53 | rw [hxy, map_add, map_add, hx, hy, map_add] |
| 54 | exact (map_add (targetSplit Q) _ _).symm |
| 55 | | tmul t x => |
| 56 | rw [ExteriorAdjunctionBaseChange.Split.splitting_left_tmul, |
| 57 | IntegralComparison.Smooth.ConormalRank.SplitNormalization.inl, ConormalBaseChange.ambient_tmul, |
| 58 | CotangentSpace.map_cotangentComplex, conormal_tmul, |
| 59 | IntegralComparison.Smooth.ConormalRank.SplitNormalization.inl, map_smul] |
| 60 | |
| 61 | omit [Algebra P.Ring Q.Ring] in |
| 62 | theorem projection (x : T ⊗[S] P.CotangentSpace) : |
| 63 | tensorKaehlerEquivOfFormallyEtale R S T ((baseSplit P).symm x).2 = |
| 64 | ((targetSplit Q).symm (ConormalBaseChange.ambient P Q f hf x)).2 := by |
| 65 | dsimp only [targetSplit, LinearEquiv.symm_symm] |
| 66 | rw [IntegralComparison.Smooth.ConormalRank.SplitNormalization.snd, ConormalBaseChange.ambient_toKaehler] |
| 67 | congr 1 |
| 68 | induction x using TensorProduct.inductionOn with |
| 69 | | add x y hx hy => simp only [map_add, Prod.snd_add, hx, hy] |
| 70 | | tmul t x => |
| 71 | rw [ExteriorAdjunctionBaseChange.Split.splitting_symm_tmul, |
| 72 | LinearMap.baseChange_tmul] |
| 73 | change t ⊗ₜ[S] (IntegralComparison.Smooth.ConormalRank.differentialSplit P x).2 = _ |
| 74 | rw [IntegralComparison.Smooth.ConormalRank.SplitNormalization.snd] |
| 75 | |
| 76 | variable {c g : ℕ} (bI : Basis (Fin c) S P.Cotangent) (bQ : Basis (Fin g) S Ω[S⁄R]) |
| 77 | |
| 78 | def conormalBasis : Basis (Fin c) T Q.Cotangent := |
| 79 | (bI.baseChange T).map (conormal P Q f halg hker) |
| 80 | |
| 81 | def quotientBasis : Basis (Fin g) T Ω[T⁄R] := |
| 82 | (bQ.baseChange T).map (tensorKaehlerEquivOfFormallyEtale R S T) |
| 83 | |
| 84 | theorem residue_naturality : |
| 85 | (SplitExteriorAdjunction.residue (conormalBasis P Q f halg hker bI) (quotientBasis bQ) (targetSplit Q)).toLinearMap.comp |
| 86 | ((exteriorPower.map (c + g) (ConormalBaseChange.ambient P Q f hf).toLinearMap).comp |
| 87 | (GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap S T P.CotangentSpace (c + g))) = |
| 88 | ((exteriorPower.map g (tensorKaehlerEquivOfFormallyEtale R S T).toLinearMap).comp |
| 89 | (GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap S T Ω[S⁄R] g)).comp |
| 90 | ((SplitExteriorAdjunction.residue bI bQ (sourceSplit P)).toLinearMap.baseChange T) := by |
| 91 | have h := ExteriorAdjunctionBaseChange.SplitNaturality.residue_naturality |
| 92 | (bI.baseChange T) (bQ.baseChange T) (baseSplit P) |
| 93 | (conormal P Q f halg hker) (tensorKaehlerEquivOfFormallyEtale R S T) |
| 94 | (ConormalBaseChange.ambient P Q f hf) (targetSplit Q) |
| 95 | (inclusion P Q f halg hker hf) (projection P Q f hf) |
| 96 | dsimp only [conormalBasis, quotientBasis] |
| 97 | rw [← LinearMap.comp_assoc, h, LinearMap.comp_assoc, |
| 98 | ExteriorAdjunctionBaseChange.Split.residue_baseChange, |
| 99 | ← LinearMap.comp_assoc] |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalResidue |