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.Projective.IntrinsicTopForms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.OrientedDifferentials |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.DifferentialBasis |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistMaps |
| 5 | |
| 6 | /-! # Intrinsic Overlap -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original differential-symbol top forms on projective charts have |
| 13 | the actual hyperplane-ideal transition on their genuine affine overlaps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.MvPolynomial |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | variable (R : Type u) [CommRing R] (n : ℕ) |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | abbrev space := Proj (homogeneousSubmodule (Fin (n + 1)) R) |
| 25 | abbrev model : Over (Spec (CommRingCat.of R)) := |
| 26 | Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 1))) |
| 27 | abbrev ring (U : (space R n).Opens) := IntrinsicDeRham.SectionUnit.Intrinsic.ring R (model R n) U |
| 28 | |
| 29 | variable {R n} |
| 30 | |
| 31 | theorem overlap_affine (i k : Fin (n + 1)) : |
| 32 | IsAffineOpen (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k) := by |
| 33 | rw [← AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_basicOpen] |
| 34 | exact (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen i).basicOpen _ |
| 35 | |
| 36 | def restrictedBasis (i : Fin (n + 1)) {V : (space R n).Opens} |
| 37 | (a : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (hV : IsAffineOpen V) : |
| 38 | Module.Basis (ULift.{u} (Fin n)) (ring R n V) Ω[ring R n V⁄R] := |
| 39 | AffineOpen.DifferentialBasis.basis R (model R n) a |
| 40 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen i) hV (IntrinsicTopForms.Intrinsic.liftedBasis i) |
| 41 | |
| 42 | def restrictedCoordinate (i : Fin (n + 1)) {V : (space R n).Opens} |
| 43 | (a : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (j : ULift.{u} (Fin n)) : ring R n V := |
| 44 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (model R n)).map a.op).hom |
| 45 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := R) i (i.succAbove j.down)) |
| 46 | |
| 47 | theorem restrictedBasis_apply (i : Fin (n + 1)) {V : (space R n).Opens} |
| 48 | (a : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (hV : IsAffineOpen V) (j : ULift.{u} (Fin n)) : |
| 49 | restrictedBasis i a hV j = KaehlerDifferential.D R (ring R n V) (restrictedCoordinate i a j) := |
| 50 | AffineOpen.DifferentialBasis.basis_apply R (model R n) a |
| 51 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen i) hV (IntrinsicTopForms.Intrinsic.liftedBasis i) |
| 52 | (IntrinsicTopForms.Intrinsic.coordinate i) (IntrinsicTopForms.Intrinsic.liftedBasis_apply i) j |
| 53 | |
| 54 | def restrictedExteriorEquiv (i : Fin (n + 1)) {V : (space R n).Opens} |
| 55 | (a : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (hV : IsAffineOpen V) (d : ℕ) : |
| 56 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (ring R n V) d ≃ₗ[ring R n V] ⋀[ring R n V]^d Ω[ring R n V⁄R] := |
| 57 | ExactDifferentialBasis.exteriorEquiv R (ring R n V) (ULift.{u} (Fin n)) |
| 58 | (restrictedCoordinate i a) d (restrictedBasis i a hV) (restrictedBasis_apply i a hV) |
| 59 | |
| 60 | theorem restrictedExteriorEquiv_eq (i : Fin (n + 1)) {V : (space R n).Opens} |
| 61 | (a : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (hV : IsAffineOpen V) (d : ℕ) : |
| 62 | (restrictedExteriorEquiv i a hV d).toLinearMap = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R (ring R n V) d := |
| 63 | ExactDifferentialBasis.exteriorEquiv_eq R (ring R n V) (ULift.{u} (Fin n)) |
| 64 | (restrictedCoordinate i a) d (restrictedBasis i a hV) (restrictedBasis_apply i a hV) |
| 65 | |
| 66 | def generator (i : Fin (n + 1)) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (ring R n (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen i)) n := |
| 67 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (ring R n (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen i)) ((-1) ^ i.val) |
| 68 | (fun j => AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := R) i (i.succAbove j)) |
| 69 | |
| 70 | theorem generator_transition {R : Type u} [CommRing R] {n : ℕ} (i k : Fin (n + 1)) : |
| 71 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (model R n)).map |
| 72 | (homOfLE (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k)).op) n (generator i) = |
| 73 | (show ring R n (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap i k) from (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k).val) ^ (n + 1) • |
| 74 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (model R n)).map |
| 75 | (homOfLE (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k)).op) n (generator k) := by |
| 76 | let V := AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k |
| 77 | let a : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i := homOfLE (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left i k) |
| 78 | let b : V ⟶ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k := homOfLE (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right i k) |
| 79 | let u : (ring R n V)ˣ := AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit i k |
| 80 | let x : Fin (n + 1) → ring R n V := fun j => |
| 81 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (model R n)).map a.op).hom |
| 82 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation i j) |
| 83 | let y : Fin (n + 1) → ring R n V := fun j => |
| 84 | ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (model R n)).map b.op).hom |
| 85 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation k j) |
| 86 | have hi : x i = 1 := by |
| 87 | dsimp only [x] |
| 88 | rw [AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_self] |
| 89 | exact map_one _ |
| 90 | have hk : x k = (u : ring R n V) := rfl |
| 91 | have hy (j : Fin (n + 1)) : ((u⁻¹ : (ring R n V)ˣ) : ring R n V) * x j = y j := by |
| 92 | have hxy : x j = (u : ring R n V) * y j := |
| 93 | AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_restrict_eq_transition_mul i k j |
| 94 | rw [hxy, ← mul_assoc, Units.inv_mul, one_mul] |
| 95 | apply (restrictedExteriorEquiv i a (overlap_affine i k) n).injective |
| 96 | change (restrictedExteriorEquiv i a (overlap_affine i k) n).toLinearMap _ = |
| 97 | (restrictedExteriorEquiv i a (overlap_affine i k) n).toLinearMap _ |
| 98 | rw [restrictedExteriorEquiv_eq] |
| 99 | simp only [generator, AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol, map_pow, map_neg, map_one, |
| 100 | map_smul] |
| 101 | change AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R (ring R n V) n |
| 102 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (ring R n V) ((-1) ^ i.val) (fun j => x (i.succAbove j))) = |
| 103 | (u : ring R n V) ^ (n + 1) • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior R (ring R n V) n |
| 104 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (ring R n V) ((-1) ^ k.val) (fun j => y (k.succAbove j))) |
| 105 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior_symbol, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.toExterior_symbol] |
| 106 | change (-1 : ring R n V) ^ i.val • |
| 107 | exteriorPower.ιMulti (ring R n V) n (fun j => KaehlerDifferential.D R (ring R n V) (x (i.succAbove j))) = |
| 108 | (u : ring R n V) ^ (n + 1) • ((-1 : ring R n V) ^ k.val • |
| 109 | exteriorPower.ιMulti (ring R n V) n (fun j => KaehlerDifferential.D R (ring R n V) (y (k.succAbove j)))) |
| 110 | by_cases hik : k = i |
| 111 | · subst k |
| 112 | have hu : (u : ring R n V) = 1 := hk.symm.trans hi |
| 113 | have hxy : x = y := by |
| 114 | funext j |
| 115 | have h := hy j |
| 116 | have hui : ((u⁻¹ : (ring R n V)ˣ) : ring R n V) = 1 := by |
| 117 | rw [show u = 1 from Units.ext hu] |
| 118 | rfl |
| 119 | simpa only [hui, one_mul] using h |
| 120 | rw [hu, one_pow, one_smul, hxy] |
| 121 | · have h := OrientedDifferentials.oriented_wedge_transition |
| 122 | (KaehlerDifferential.D R (ring R n V)) i k hik u x hi hk |
| 123 | simpa only [hy] using h |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |