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.FractionNormTransport |
| 2 | |
| 3 | /-! # Specified Norm -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SpecifiedNorm.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: finite affine norm-divisor pushforward in actual field coordinates |
| 11 | -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 16 | |
| 17 | local instance specifiedNorm_affineAlgebra (S : Type) [CommRing S] [IsDomain S] : |
| 18 | Algebra S (Spec (CommRingCat.of S)).functionField := |
| 19 | (StructureSheaf.toStalk S (genericPoint (Spec (CommRingCat.of S)))).hom.toAlgebra |
| 20 | |
| 21 | theorem normalAffineFieldIso_specified (S : Type) [CommRing S] [IsDedekindDomain S] |
| 22 | (L : Type) [Field L] [Algebra S L] [IsFractionRing S L] (g : FractionRing S) : |
| 23 | (FractionField.BundleCycles.AffineFractionField.fieldIso S L).hom (Normal.AffineOrder.BundleCycles.normalAffineFieldIso S g) = |
| 24 | FractionRing.algEquiv S L g := by |
| 25 | let : IsFractionRing S (Spec (CommRingCat.of S)).functionField := |
| 26 | functionField_isFractionRing_of_affine (CommRingCat.of S) |
| 27 | let e : FractionRing S ≃ₐ[S] L := (Normal.AffineOrder.BundleCycles.normalAffineFieldIso S).trans |
| 28 | (IsLocalization.algEquiv (nonZeroDivisors S) (Spec (CommRingCat.of S)).functionField L) |
| 29 | have h : e.toAlgHom = (FractionRing.algEquiv S L).toAlgHom := |
| 30 | (IsLocalization.algHom_subsingleton (nonZeroDivisors S)).elim _ _ |
| 31 | exact congrArg (fun t : FractionRing S →ₐ[S] L => t g) h |
| 32 | |
| 33 | variable (R S : Type) [CommRing R] [CommRing S] [IsDomain R] |
| 34 | [IsDiscreteValuationRing R] [IsDedekindDomain S] |
| 35 | [Algebra R S] [Module.Finite R S] [Module.IsTorsionFree R S] |
| 36 | [PerfectField (FractionRing R)] |
| 37 | (K L : Type) [Field K] [Field L] [Algebra R K] [IsFractionRing R K] |
| 38 | [Algebra S L] [IsFractionRing S L] [Algebra R L] [IsScalarTower R S L] |
| 39 | [Algebra K L] [IsScalarTower R K L] |
| 40 | |
| 41 | theorem affineSpecifiedNormPrincipalDivisor_pushforward |
| 42 | (g : (Spec (CommRingCat.of S)).functionField) (hg : g ≠ 0) : |
| 43 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 44 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (CommRingCat.of S)) g) = |
| 45 | Finsupp.single (IsLocalRing.closedPoint R : Spec (CommRingCat.of R)) |
| 46 | ((WithZero.log (Ring.ordFrac R |
| 47 | (Algebra.norm K ((FractionField.BundleCycles.AffineFractionField.fieldIso S L).hom g))) : ℤ) : ℚ) := by |
| 48 | obtain ⟨a, rfl⟩ := (Normal.AffineOrder.BundleCycles.normalAffineFieldIso S).surjective g |
| 49 | have ha : a ≠ 0 := fun h => hg (by rw [h, map_zero]) |
| 50 | rw [NormDivisor.BundleCycles.affineNormPrincipalDivisor_pushforward R S a ha, normalAffineFieldIso_specified] |
| 51 | exact congrArg (fun t : WithZero (Multiplicative ℤ) => |
| 52 | Finsupp.single (IsLocalRing.closedPoint R : Spec (CommRingCat.of R)) |
| 53 | ((WithZero.log t : ℤ) : ℚ)) (FractionNormTransport.BundleCycles.fractionNorm_order R S K L a) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SpecifiedNorm.BundleCycles |