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.Residue |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Foundations |
| 3 | |
| 4 | /-! # DVR -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DVR.PadicBase |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual split p-adic base as a complete mixed-characteristic DVR for Cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Foundations |
| 15 | |
| 16 | variable (q : ℕ) [Fact q.Prime] |
| 17 | |
| 18 | abbrev dvr : AlgebraicGeometry.Crystalline.Cohomology.Foundations.MixedCharacteristicDVR q where |
| 19 | R := ℤ_[q] |
| 20 | k := ZMod q |
| 21 | residueEquiv := PadicInt.residueField |
| 22 | wittLift := (WittVector.equiv q).toRingHom |
| 23 | wittLift_injective := (WittVector.equiv q).injective |
| 24 | wittLift_residue := by |
| 25 | rw [Residue.PadicBase.residueField_residue] |
| 26 | exact Residue.PadicBase.wittEquiv_residue q |
| 27 | |
| 28 | @[simp] |
| 29 | theorem reduction_eq : (dvr q).reduction = PadicInt.toZMod := |
| 30 | Residue.PadicBase.residueField_residue q |
| 31 | |
| 32 | theorem specialFiber_eq (X : Over (Spec (CommRingCat.of ℤ_[q]))) : |
| 33 | (dvr q).specialFiber X = |
| 34 | (Over.pullback (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q)))).obj X := |
| 35 | congrArg (fun r : ℤ_[q] →+* ZMod q => |
| 36 | (Over.pullback (Spec.map (CommRingCat.ofHom r))).obj X) (reduction_eq q) |
| 37 | |
| 38 | theorem coefficientFrobenius_eq_id : |
| 39 | (dvr q).coefficientFrobenius = RingEquiv.refl (dvr q).K₀ := |
| 40 | WittFrobenius.Crystalline.fractionFrobenius_eq_id q |
| 41 | |
| 42 | /-- The actual unramified coefficient inclusion is an equivalence at the split prime. -/ |
| 43 | def unramifiedFieldEquiv : (dvr q).K₀ ≃+* (dvr q).K := |
| 44 | IsFractionRing.ringEquivOfRingEquiv (WittVector.equiv q) |
| 45 | |
| 46 | theorem coefficientInclusion_eq : |
| 47 | (dvr q).coefficientInclusion = (unramifiedFieldEquiv q).toRingHom := by |
| 48 | apply IsFractionRing.ringHom_ext (A := Crystalline.CoefficientAdapter.Witt q) |
| 49 | intro w |
| 50 | rw [AlgebraicGeometry.Crystalline.Cohomology.Foundations.MixedCharacteristicDVR.coefficientInclusion_algebraMap] |
| 51 | exact (IsFractionRing.ringEquivOfRingEquiv_algebraMap (WittVector.equiv q) w).symm |
| 52 | |
| 53 | /-- Identify the generic coefficient field with the actual Q_q used by GeometricComparison. -/ |
| 54 | def localFieldEquiv : (dvr q).K ≃+* ℚ_[q] := |
| 55 | IsFractionRing.ringEquivOfRingEquiv (RingEquiv.refl ℤ_[q]) |
| 56 | |
| 57 | theorem localFieldEquiv_algebraMap (x : ℤ_[q]) : |
| 58 | localFieldEquiv q (algebraMap ℤ_[q] (dvr q).K x) = algebraMap ℤ_[q] ℚ_[q] x := |
| 59 | IsFractionRing.ringEquivOfRingEquiv_algebraMap (RingEquiv.refl ℤ_[q]) x |
| 60 | |
| 61 | theorem coefficientField_square : |
| 62 | (localFieldEquiv q).toRingHom.comp (dvr q).coefficientInclusion = |
| 63 | (Crystalline.CoefficientAdapter.coefficientFieldEquiv q).toRingHom := by |
| 64 | apply IsFractionRing.ringHom_ext (A := Crystalline.CoefficientAdapter.Witt q) |
| 65 | intro w |
| 66 | change localFieldEquiv q ((dvr q).coefficientInclusion |
| 67 | (algebraMap (Crystalline.CoefficientAdapter.Witt q) (dvr q).K₀ w)) = _ |
| 68 | rw [AlgebraicGeometry.Crystalline.Cohomology.Foundations.MixedCharacteristicDVR.coefficientInclusion_algebraMap, |
| 69 | localFieldEquiv_algebraMap] |
| 70 | exact (Crystalline.CoefficientAdapter.coefficientFieldEquiv_algebraMap q w).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DVR.PadicBase |