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.ZeroLevel.LevelFrame |
| 2 | |
| 3 | /-! # Frame Algebras -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameAlgebras |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: residue-field algebra maps attached to original zero-frame morphisms |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k C : Type u) [Field k] [CharP k p] |
| 20 | [CommRing C] [Algebra k C] |
| 21 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 22 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 23 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 24 | (β : U ⟶ ZeroLevel.LevelFrame.frame p k C) |
| 25 | |
| 26 | @[instance_reducible] |
| 27 | def ambientAlgebra : Algebra k U.ring := |
| 28 | (β.ringMap.toRingHom.comp (algebraMap k C)).toAlgebra |
| 29 | |
| 30 | def chartMap : letI := ambientAlgebra p k C U β |
| 31 | C →ₐ[k] U.ring := by |
| 32 | letI := ambientAlgebra p k C U β |
| 33 | exact { β.ringMap.toRingHom with commutes' := fun _ => rfl } |
| 34 | |
| 35 | theorem coefficient_base (w : WittVector p k) : |
| 36 | β.ringMap (algebraMap k C (WittVector.constantCoeff w)) = U.base w := |
| 37 | RingHom.congr_fun β.overBase w |
| 38 | |
| 39 | variable (V : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 41 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 42 | (ζ : V ⟶ ZeroLevel.LevelFrame.frame p k C) (α : V ⟶ U) |
| 43 | |
| 44 | theorem coefficients_agree (a : k) : |
| 45 | α.ringMap (β.ringMap (algebraMap k C a)) = ζ.ringMap (algebraMap k C a) := by |
| 46 | obtain ⟨w, rfl⟩ := WittVector.constantCoeff_surjective p a |
| 47 | rw [coefficient_base, coefficient_base] |
| 48 | exact RingHom.congr_fun α.overBase w |
| 49 | |
| 50 | def map : letI := ambientAlgebra p k C U β |
| 51 | letI := ambientAlgebra p k C V ζ |
| 52 | U.ring →ₐ[k] V.ring := by |
| 53 | letI := ambientAlgebra p k C U β |
| 54 | letI := ambientAlgebra p k C V ζ |
| 55 | exact { α.ringMap.toRingHom with commutes' := coefficients_agree p k C U β V ζ α } |
| 56 | |
| 57 | theorem chart_reduction (c : C) : |
| 58 | Ideal.Quotient.mk U.ideal (β.ringMap c) = BigCrystallineCover.closedRingMap p k C U c := by |
| 59 | have hs := β.overX |
| 60 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U (ZeroLevel.LevelFrame.frame p k C) β.ringMap)) ≫ |
| 61 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (⊥ : Ideal C))) = U.mapToX at hs |
| 62 | rw [← Spec.map_comp, ← BigCrystallineCover.closedRingMap_spec p k C U] at hs |
| 63 | have he := congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 64 | exact RingHom.congr_fun he c |
| 65 | |
| 66 | theorem closed_agreement (c : C) : |
| 67 | ζ.ringMap c - α.ringMap (β.ringMap c) ∈ V.ideal := by |
| 68 | apply Ideal.Quotient.eq.mp |
| 69 | rw [chart_reduction p k C V ζ c] |
| 70 | have hs := α.overX |
| 71 | rw [← BigCrystallineCover.closedRingMap_spec p k C U, |
| 72 | ← BigCrystallineCover.closedRingMap_spec p k C V] at hs |
| 73 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap V U α.ringMap)) ≫ |
| 74 | Spec.map (CommRingCat.ofHom (BigCrystallineCover.closedRingMap p k C U)) = |
| 75 | Spec.map (CommRingCat.ofHom (BigCrystallineCover.closedRingMap p k C V)) at hs |
| 76 | rw [← Spec.map_comp] at hs |
| 77 | have he := congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 78 | have hc := RingHom.congr_fun he c |
| 79 | change BigCrystallineSite.Object.quotientMap V U α.ringMap (BigCrystallineCover.closedRingMap p k C U c) = |
| 80 | BigCrystallineCover.closedRingMap p k C V c at hc |
| 81 | rw [← chart_reduction p k C U β c] at hc |
| 82 | exact hc.symm |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.FrameAlgebras |