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.DVRResidueOf |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.ResidueRegular |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierCycle |
| 4 | |
| 5 | /-! # Factored Residue -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.FactoredResidue.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: factored residues are actual restricted rational functions |
| 13 | |
| 14 | The residue-field isomorphism preserves quotients and powers. Local |
| 15 | units represented by ambient sections therefore give their actual |
| 16 | restrictions on the reduced prime support. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | |
| 21 | variable (X : Scheme) (x : X) |
| 22 | |
| 23 | theorem pointSupportResidueFunction_div (r s : (X.residueField x)ˣ) : |
| 24 | Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x (r / s) = |
| 25 | Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x r / Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x s := by |
| 26 | unfold Point.SupportResidue.BundleCycles.pointSupportResidueFunction |
| 27 | rw [Units.val_div_eq_div_val] |
| 28 | exact map_div₀ (Point.SupportResidue.BundleCycles.pointSupportResidueIso X x).hom.hom _ _ |
| 29 | |
| 30 | theorem pointSupportResidueFunction_zpow (r : (X.residueField x)ˣ) (m : ℤ) : |
| 31 | Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x (r ^ m) = (Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x r) ^ m := by |
| 32 | unfold Point.SupportResidue.BundleCycles.pointSupportResidueFunction |
| 33 | rw [Units.val_zpow_eq_zpow_val] |
| 34 | exact map_zpow₀ (Point.SupportResidue.BundleCycles.pointSupportResidueIso X x).hom.hom _ _ |
| 35 | |
| 36 | theorem pointSupportResidueFunction_quotient_regular (a c : Γ(X, ⊤)) |
| 37 | (u s : (X.presheaf.stalk x)ˣ) |
| 38 | (hu : (u : X.presheaf.stalk x) = X.presheaf.germ ⊤ x (by trivial) a) |
| 39 | (hs : (s : X.presheaf.stalk x) = X.presheaf.germ ⊤ x (by trivial) c) : |
| 40 | Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x (Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom (u / s)) = |
| 41 | Principal.CartierCycle.BundleCycles.supportRegularFunction a (irreducibleSetEquivPoints.symm x) / |
| 42 | Principal.CartierCycle.BundleCycles.supportRegularFunction c (irreducibleSetEquivPoints.symm x) := by |
| 43 | let ru : (X.residueField x)ˣ := Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom u |
| 44 | let rs : (X.residueField x)ˣ := Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom s |
| 45 | have he : Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom (u / s) = ru / rs := |
| 46 | map_div _ u s |
| 47 | exact (congrArg (Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x) he).trans |
| 48 | ((pointSupportResidueFunction_div X x ru rs).trans |
| 49 | (congrArg₂ (· / ·) (ResidueRegular.BundleCycles.pointSupportResidueFunction_regular X x a u hu) |
| 50 | (ResidueRegular.BundleCycles.pointSupportResidueFunction_regular X x c s hs))) |
| 51 | |
| 52 | variable [IsIntegral X] [IsDiscreteValuationRing (X.presheaf.stalk x)] |
| 53 | |
| 54 | theorem geometricResidueFunction_of_factors (π : X.presheaf.stalk x) (hπ : Irreducible π) |
| 55 | (g h : X.functionFieldˣ) (u v : (X.presheaf.stalk x)ˣ) (m n : ℤ) |
| 56 | (hg : (g : X.functionField) = u • (algebraMap (X.presheaf.stalk x) X.functionField π) ^ m) |
| 57 | (hh : (h : X.functionField) = v • (algebraMap (X.presheaf.stalk x) X.functionField π) ^ n) : |
| 58 | ResidueFunction.BundleCycles.geometricResidueFunction X x π hπ g h = |
| 59 | (Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x (Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom u)) ^ n / |
| 60 | (Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x (Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom v)) ^ m := by |
| 61 | let ru : (X.residueField x)ˣ := Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom u |
| 62 | let rv : (X.residueField x)ˣ := Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom v |
| 63 | have he : DVRResidueOf.BundleCycles.dvrResidueQuotient π hπ g h = ru ^ n / rv ^ m := |
| 64 | DVRResidueOf.BundleCycles.dvrResidueQuotient_of_factors π hπ g h u v m n hg hh |
| 65 | exact (congrArg (Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x) he).trans |
| 66 | ((pointSupportResidueFunction_div X x (ru ^ n) (rv ^ m)).trans |
| 67 | (congrArg₂ (· / ·) (pointSupportResidueFunction_zpow X x ru n) |
| 68 | (pointSupportResidueFunction_zpow X x rv m))) |
| 69 | |
| 70 | theorem geometricResidueFunction_of_quotient_factors (π : X.presheaf.stalk x) (hπ : Irreducible π) |
| 71 | (g h : X.functionFieldˣ) (a c b d : Γ(X, ⊤)) (u s v w : (X.presheaf.stalk x)ˣ) (m n : ℤ) |
| 72 | (hu : (u : X.presheaf.stalk x) = X.presheaf.germ ⊤ x (by trivial) a) |
| 73 | (hs : (s : X.presheaf.stalk x) = X.presheaf.germ ⊤ x (by trivial) c) |
| 74 | (hv : (v : X.presheaf.stalk x) = X.presheaf.germ ⊤ x (by trivial) b) |
| 75 | (hw : (w : X.presheaf.stalk x) = X.presheaf.germ ⊤ x (by trivial) d) |
| 76 | (hg : (g : X.functionField) = (u / s) • (algebraMap (X.presheaf.stalk x) X.functionField π) ^ m) |
| 77 | (hh : (h : X.functionField) = (v / w) • (algebraMap (X.presheaf.stalk x) X.functionField π) ^ n) : |
| 78 | ResidueFunction.BundleCycles.geometricResidueFunction X x π hπ g h = |
| 79 | (Principal.CartierCycle.BundleCycles.supportRegularFunction a (irreducibleSetEquivPoints.symm x) / |
| 80 | Principal.CartierCycle.BundleCycles.supportRegularFunction c (irreducibleSetEquivPoints.symm x)) ^ n / |
| 81 | (Principal.CartierCycle.BundleCycles.supportRegularFunction b (irreducibleSetEquivPoints.symm x) / |
| 82 | Principal.CartierCycle.BundleCycles.supportRegularFunction d (irreducibleSetEquivPoints.symm x)) ^ m := by |
| 83 | rw [geometricResidueFunction_of_factors X x π hπ g h (u / s) (v / w) m n hg hh, |
| 84 | pointSupportResidueFunction_quotient_regular X x a c u s hu hs, |
| 85 | pointSupportResidueFunction_quotient_regular X x b d v w hv hw] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.FactoredResidue.BundleCycles |