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.LocalizedExtensionKernel |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedConormalBases |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.ConormalProjective |
| 4 | |
| 5 | /-! # Localized Quotient Extension -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedQuotientExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual quotient extensions under localization, with no kernel |
| 12 | base-change hypothesis left to supply. Their cotangent maps are the |
| 13 | original maps on ideal classes. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open _root_.Algebra.Extension |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | variable {k A B : Type u} [CommRing k] [CommRing A] [CommRing B] |
| 24 | [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] |
| 25 | (I : Ideal A) |
| 26 | |
| 27 | abbrev presentation : Algebra.Extension.{u} k (A ⧸ I) := |
| 28 | .ofSurjective (Ideal.Quotient.mkₐ k I) Ideal.Quotient.mk_surjective |
| 29 | |
| 30 | abbrev extendedIdeal : Ideal B := I.map (algebraMap A B) |
| 31 | |
| 32 | local instance baseTower : IsScalarTower k (A ⧸ I) (B ⧸ extendedIdeal (B := B) I) := |
| 33 | AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 34 | |
| 35 | local instance presentationAlgebra : |
| 36 | Algebra (presentation (k := k) I).Ring (presentation (k := k) (extendedIdeal (B := B) I)).Ring := |
| 37 | inferInstanceAs (Algebra A B) |
| 38 | |
| 39 | def map : (presentation (k := k) I).Hom (presentation (k := k) (extendedIdeal (B := B) I)) where |
| 40 | toRingHom := algebraMap A B |
| 41 | toRingHom_algebraMap x := (IsScalarTower.algebraMap_apply k A B x).symm |
| 42 | algebraMap_toRingHom _ := rfl |
| 43 | |
| 44 | theorem ker_eq : (presentation (k := k) I).ker = I := |
| 45 | Ideal.mk_ker |
| 46 | |
| 47 | omit [IsScalarTower k A B] in |
| 48 | theorem kernel_map : |
| 49 | (presentation (k := k) I).ker.map (algebraMap A B) = |
| 50 | (presentation (k := k) (extendedIdeal (B := B) I)).ker := by |
| 51 | rw [ker_eq, ker_eq] |
| 52 | |
| 53 | variable (r : A) [IsLocalization.Away r B] |
| 54 | |
| 55 | local instance presentationLocalization : |
| 56 | IsLocalization.Away (show (presentation (k := k) I).Ring from r) |
| 57 | (presentation (k := k) (extendedIdeal (B := B) I)).Ring := |
| 58 | inferInstanceAs (IsLocalization.Away r B) |
| 59 | |
| 60 | include r in |
| 61 | theorem formallyEtale : (LocalizedQuotientExtension.map (k := k) (B := B) I).toRingHom.FormallyEtale := |
| 62 | show (algebraMap A B).FormallyEtale from |
| 63 | RingHom.formallyEtale_algebraMap.mpr |
| 64 | (Algebra.FormallyEtale.of_isLocalization (Rₘ := B) (Submonoid.powers r)) |
| 65 | |
| 66 | include r in |
| 67 | theorem kernel_bijective : Function.Bijective |
| 68 | (((LocalizedQuotientExtension.map (k := k) (B := B) I).mapKer rfl).liftBaseChange |
| 69 | (presentation (k := k) (extendedIdeal (B := B) I)).Ring) := |
| 70 | LocalizedExtensionKernel.kernel_bijective |
| 71 | (presentation (k := k) I) (presentation (k := k) (extendedIdeal (B := B) I)) |
| 72 | (LocalizedQuotientExtension.map (k := k) (B := B) I) rfl (Submonoid.powers r) (kernel_map (k := k) (B := B) I) |
| 73 | |
| 74 | omit [Algebra k B] [IsScalarTower k A B] [IsLocalization.Away r B] in |
| 75 | theorem idealEquiv_mk (x : (presentation (k := k) I).ker) : |
| 76 | AlgebraicGeometry.Resolution.Blowups.Quotient.ConormalProjective.Construction.quotientExtensionCotangentEquiv (k := k) I (Cotangent.mk x) = |
| 77 | I.toCotangent ⟨x.val, Ideal.Quotient.eq_zero_iff_mem.mp x.property⟩ := by |
| 78 | rfl |
| 79 | |
| 80 | omit [IsLocalization.Away r B] in |
| 81 | theorem idealEquiv_map (x : (presentation (k := k) I).Cotangent) : |
| 82 | AlgebraicGeometry.Resolution.Blowups.Quotient.ConormalProjective.Construction.quotientExtensionCotangentEquiv (k := k) (extendedIdeal (B := B) I) |
| 83 | (Cotangent.map (LocalizedQuotientExtension.map (k := k) (B := B) I) x) = |
| 84 | AlgebraicGeometry.Resolution.Blowups.Quotient.LocalizedConormal.Construction.extendedQuotientCotangentMap (S := B) I |
| 85 | (AlgebraicGeometry.Resolution.Blowups.Quotient.ConormalProjective.Construction.quotientExtensionCotangentEquiv (k := k) I x) := by |
| 86 | obtain ⟨x, rfl⟩ := Cotangent.mk_surjective x |
| 87 | rfl |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LocalizedQuotientExtension |