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.Crystalline.EtaleSections |
| 2 | |
| 3 | /-! # Etale Algebra Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.EtaleAlgebraMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps of actual étale affine factors act on their canonical crystalline lifts and sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.EtaleResidue OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.EtaleLift |
| 16 | |
| 17 | attribute [local instance] EtaleResidue.objectAlgebra |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 21 | (A C : Type u) [CommRing A] [CommRing C] [Algebra B A] [Algebra B C] |
| 22 | (ψ : A →ₐ[B] C) (j : X ⟶ Spec (CommRingCat.of A)) (g : X ⟶ Spec (CommRingCat.of C)) |
| 23 | (hrel : j = g ≫ Spec.map (CommRingCat.ofHom ψ.toRingHom)) |
| 24 | |
| 25 | include hrel in |
| 26 | theorem residue (U : BigCrystallineSite.Object p B J δ f) : |
| 27 | EtaleResidue.residueRingMap A j U = (EtaleResidue.residueRingMap C g U).comp ψ.toRingHom := by |
| 28 | have h : Spec.preimage (U.mapToX ≫ j) = |
| 29 | CommRingCat.ofHom ψ.toRingHom ≫ Spec.preimage (U.mapToX ≫ g) := by |
| 30 | rw [hrel, ← Category.assoc, Spec.preimage_comp, Spec.preimage_map] |
| 31 | exact congrArg CommRingCat.Hom.hom h |
| 32 | |
| 33 | variable [Algebra.Etale B A] [Algebra.Etale B C] |
| 34 | (hj : j ≫ Spec.map (CommRingCat.ofHom (algebraMap B A)) = f) |
| 35 | (hg : g ≫ Spec.map (CommRingCat.ofHom (algebraMap B C)) = f) |
| 36 | |
| 37 | include hrel in |
| 38 | theorem lift_comp (U : BigCrystallineSite.Object p B J δ f) : |
| 39 | EtaleLift.lift A j hj U = (EtaleLift.lift C g hg U).comp ψ := by |
| 40 | symm |
| 41 | apply EtaleLift.unique A j hj U |
| 42 | apply AlgHom.ext |
| 43 | intro a |
| 44 | change Ideal.Quotient.mk U.ideal (EtaleLift.lift C g hg U (ψ a)) = EtaleResidue.residueRingMap A j U a |
| 45 | exact (EtaleLift.reduction_apply C g hg U (ψ a)).trans (RingHom.congr_fun (residue A C ψ j g hrel U) a).symm |
| 46 | |
| 47 | include hrel in |
| 48 | theorem section_comp (a : A) : |
| 49 | EtaleSections.sectionOf (p := p) (J := J) (δ := δ) A j hj a = |
| 50 | EtaleSections.sectionOf C g hg (ψ a) := by |
| 51 | apply ConstantSections.ext f |
| 52 | intro U |
| 53 | rw [EtaleSections.value_sectionOf, EtaleSections.value_sectionOf] |
| 54 | exact AlgHom.congr_fun (lift_comp A C ψ j g hrel hj hg U) a |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.EtaleAlgebraMap |