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.Closed.ImmersionQuotientSections |
| 2 | |
| 3 | /-! # Quotient Section Normalization -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.QuotientSectionNormalization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The quotient presentation of closed-immersion sections is the |
| 10 | literal pullback of functions and commutes with actual restrictions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem quotient_cast_inv_mk {A : Type u} [CommRing A] (I J : Ideal A) (h : I = J) (a : A) : |
| 20 | (eqToIso (congrArg (fun L : Ideal A => ModuleCat.of A (A ⧸ L)) h)).inv |
| 21 | (Ideal.Quotient.mk J a) = Ideal.Quotient.mk I a := by |
| 22 | subst J |
| 23 | rfl |
| 24 | |
| 25 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 26 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 27 | |
| 28 | abbrev directImage := ImmersionQuotientSections.directImage f |
| 29 | abbrev ideal := f.ker.ideal ⟨U, hU⟩ |
| 30 | |
| 31 | def iso : (Affine.ModuleExactSections.sections U).obj (directImage f) ≅ |
| 32 | ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ QuotientSectionNormalization.ideal f U hU) := |
| 33 | (ImmersionQuotientSections.quotientIso f U hU).symm ≪≫ |
| 34 | eqToIso (congrArg (fun I : Ideal Γ(Y, U) => ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ I)) |
| 35 | (f.ker_apply ⟨U, hU⟩).symm) |
| 36 | |
| 37 | theorem iso_inv_mk (a : Γ(Y, U)) : |
| 38 | (iso f U hU).inv (Ideal.Quotient.mk (QuotientSectionNormalization.ideal f U hU) a) = f.app U a := by |
| 39 | change (ImmersionQuotientSections.quotientIso f U hU).hom |
| 40 | ((eqToIso (congrArg (fun I : Ideal Γ(Y, U) => ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ I)) |
| 41 | (f.ker_apply ⟨U, hU⟩).symm)).inv (Ideal.Quotient.mk (QuotientSectionNormalization.ideal f U hU) a)) = _ |
| 42 | rw [quotient_cast_inv_mk (RingHom.ker (f.app U).hom) (QuotientSectionNormalization.ideal f U hU) |
| 43 | (f.ker_apply ⟨U, hU⟩).symm a] |
| 44 | rfl |
| 45 | |
| 46 | theorem iso_pullback (a : Γ(Y, U)) : |
| 47 | (iso f U hU).hom (f.app U a) = Ideal.Quotient.mk (QuotientSectionNormalization.ideal f U hU) a := by |
| 48 | rw [← iso_inv_mk, Iso.inv_hom_id_apply] |
| 49 | |
| 50 | def chartIso : (AffineOpen.InternalHom.sections U hU).obj (directImage f) ≅ |
| 51 | ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ QuotientSectionNormalization.ideal f U hU) := |
| 52 | (Affine.ChartSections.iso U hU (directImage f)).symm ≪≫ iso f U hU |
| 53 | |
| 54 | theorem chartIso_apply (m : Γ(directImage f, U)) : |
| 55 | (chartIso f U hU).hom ((Affine.ChartSections.iso U hU (directImage f)).hom m) = |
| 56 | (iso f U hU).hom m := by |
| 57 | change (iso f U hU).hom ((Affine.ChartSections.iso U hU (directImage f)).inv |
| 58 | ((Affine.ChartSections.iso U hU (directImage f)).hom m)) = _ |
| 59 | rw [Iso.hom_inv_id_apply] |
| 60 | |
| 61 | theorem chartIso_inv_mk (a : Γ(Y, U)) : |
| 62 | (chartIso f U hU).inv (Ideal.Quotient.mk (QuotientSectionNormalization.ideal f U hU) a) = |
| 63 | (Affine.ChartSections.iso U hU (directImage f)).hom (f.app U a) := by |
| 64 | change (Affine.ChartSections.iso U hU (directImage f)).hom |
| 65 | ((iso f U hU).inv (Ideal.Quotient.mk (QuotientSectionNormalization.ideal f U hU) a)) = _ |
| 66 | rw [iso_inv_mk] |
| 67 | |
| 68 | variable (V : Y.Opens) (hV : IsAffineOpen V) (i : V ⟶ U) |
| 69 | |
| 70 | def quotientRestriction : (Γ(Y, U) ⧸ QuotientSectionNormalization.ideal f U hU) →+* (Γ(Y, V) ⧸ QuotientSectionNormalization.ideal f V hV) := |
| 71 | Ideal.quotientMap (QuotientSectionNormalization.ideal f V hV) (Y.presheaf.map i.op).hom |
| 72 | (f.ker.ideal_le_comap_ideal (U := ⟨V, hV⟩) (V := ⟨U, hU⟩) i.le) |
| 73 | |
| 74 | theorem restriction (m : Γ(directImage f, U)) : |
| 75 | (iso f V hV).hom ((directImage f).presheaf.map i.op m) = |
| 76 | quotientRestriction f U hU V hV i ((iso f U hU).hom m) := by |
| 77 | obtain ⟨a, rfl⟩ := f.app_surjective U hU m |
| 78 | have h : (directImage f).presheaf.map i.op (f.app U a) = f.app V (Y.presheaf.map i.op a) := |
| 79 | (ConcreteCategory.congr_hom (f.naturality i.op) a).symm |
| 80 | rw [h, iso_pullback, iso_pullback] |
| 81 | rfl |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.QuotientSectionNormalization |