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.AlgebraicGeometry.Divisors.LineBundles.Affine.NormDivisor |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.FractionField |
| 3 | |
| 4 | /-! # Fraction Norm Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.FractionNormTransport.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: the affine norm coefficient in the specified fraction fields |
| 12 | -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | attribute [local instance] FractionRing.liftAlgebra |
| 17 | |
| 18 | variable (R S : Type) [CommRing R] [CommRing S] [IsDomain R] [IsDomain S] |
| 19 | [Algebra R S] [Module.IsTorsionFree R S] |
| 20 | (K L : Type) [Field K] [Field L] [Algebra R K] [IsFractionRing R K] |
| 21 | [Algebra S L] [IsFractionRing S L] [Algebra R L] [IsScalarTower R S L] |
| 22 | [Algebra K L] [IsScalarTower R K L] |
| 23 | |
| 24 | theorem fractionExtension_square : |
| 25 | (algebraMap K L).comp (FractionRing.algEquiv R K).toRingHom = |
| 26 | (FractionRing.algEquiv S L).toRingHom.comp |
| 27 | (algebraMap (FractionRing R) (FractionRing S)) := by |
| 28 | apply IsFractionRing.ringHom_ext (A := R) |
| 29 | intro a |
| 30 | change algebraMap K L (FractionRing.algEquiv R K (algebraMap R (FractionRing R) a)) = |
| 31 | FractionRing.algEquiv S L (algebraMap (FractionRing R) (FractionRing S) |
| 32 | (algebraMap R (FractionRing R) a)) |
| 33 | rw [AlgEquiv.commutes, ← IsScalarTower.algebraMap_apply R K L, |
| 34 | ← IsScalarTower.algebraMap_apply R (FractionRing R) (FractionRing S), |
| 35 | IsScalarTower.algebraMap_apply R S (FractionRing S), AlgEquiv.commutes, |
| 36 | ← IsScalarTower.algebraMap_apply R S L] |
| 37 | |
| 38 | theorem fractionNorm_transport (g : FractionRing S) : |
| 39 | FractionRing.algEquiv R K (Algebra.norm (FractionRing R) g) = |
| 40 | Algebra.norm K (FractionRing.algEquiv S L g) := by |
| 41 | exact (RingEquiv.eq_symm_apply (FractionRing.algEquiv R K).toRingEquiv).mp |
| 42 | (Algebra.norm_eq_of_equiv_equiv (FractionRing.algEquiv R K).toRingEquiv |
| 43 | (FractionRing.algEquiv S L).toRingEquiv (fractionExtension_square R S K L) g) |
| 44 | |
| 45 | theorem fractionNorm_order [IsNoetherianRing R] [Ring.KrullDimLE 1 R] |
| 46 | (g : FractionRing S) : |
| 47 | Ring.ordFrac R (Algebra.norm (FractionRing R) g) = |
| 48 | Ring.ordFrac R (Algebra.norm K (FractionRing.algEquiv S L g)) := by |
| 49 | have ht := RationalDivisorRestriction.BundleCycles.ringOrderFrac_equiv (RingEquiv.refl R) (FractionRing.algEquiv R K).toRingEquiv |
| 50 | (fun a => (FractionRing.algEquiv R K).commutes a) (Algebra.norm (FractionRing R) g) |
| 51 | exact ht.symm.trans (congrArg (Ring.ordFrac R) (fractionNorm_transport R S K L g)) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Divisors.LineBundles.FractionNormTransport.BundleCycles |