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.AbelianModuli.HilbertConstruction.Linear.ProjectiveComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.CoordinateTransform |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateTransformationUniqueness |
| 4 | |
| 5 | /-! # Point Coordinate Projective Action -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointCoordinateProjectiveAction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Point-coordinate transformations act on the actual |
| 12 | projective scheme, with the transpose convention fixed by the |
| 13 | dual pairing. Frame agreement determines this action uniquely. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u v |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {R : Type u} [CommRing R] {ι : Type v} [Fintype ι] |
| 19 | |
| 20 | theorem pointCoordinateCoefficientTransform_unit_smul |
| 21 | (T U : (ι → R) ≃ₗ[R] (ι → R)) (a : Rˣ) |
| 22 | (h : T.toLinearMap = (a : R) • U.toLinearMap) : |
| 23 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).toLinearMap = |
| 24 | (a : R) • (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).toLinearMap := by |
| 25 | apply LinearMap.ext |
| 26 | intro x |
| 27 | apply (Module.evalEquiv R (ι →₀ R)).injective |
| 28 | apply LinearMap.ext |
| 29 | intro φ |
| 30 | change φ (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T x) = φ ((a : R) • Dual.CoordinateTransform.pointCoordinateCoefficientTransform U x) |
| 31 | rw [map_smul, Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing, Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing] |
| 32 | change (Finsupp.llift R R R ι (T ((Finsupp.llift R R R ι).symm φ))) x = |
| 33 | (a : R) • (Finsupp.llift R R R ι (U ((Finsupp.llift R R R ι).symm φ))) x |
| 34 | have hv : T ((Finsupp.llift R R R ι).symm φ) = |
| 35 | (a : R) • U ((Finsupp.llift R R R ι).symm φ) := LinearMap.congr_fun h _ |
| 36 | rw [hv, map_smul] |
| 37 | rfl |
| 38 | |
| 39 | theorem pointCoordinateCoefficientTransform_trans (T U : (ι → R) ≃ₗ[R] (ι → R)) : |
| 40 | Dual.CoordinateTransform.pointCoordinateCoefficientTransform (T.trans U) = |
| 41 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).trans (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T) := by |
| 42 | apply LinearEquiv.ext |
| 43 | intro x |
| 44 | apply (Module.evalEquiv R (ι →₀ R)).injective |
| 45 | apply LinearMap.ext |
| 46 | intro φ |
| 47 | change φ (Dual.CoordinateTransform.pointCoordinateCoefficientTransform (T.trans U) x) = |
| 48 | φ (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U x)) |
| 49 | rw [Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing, Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing, |
| 50 | Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing] |
| 51 | change (Finsupp.llift R R R ι (U (T ((Finsupp.llift R R R ι).symm φ)))) x = |
| 52 | (Finsupp.llift R R R ι (U ((Finsupp.llift R R R ι).symm |
| 53 | (Finsupp.llift R R R ι (T ((Finsupp.llift R R R ι).symm φ)))))) x |
| 54 | rw [LinearEquiv.symm_apply_apply] |
| 55 | |
| 56 | theorem pointCoordinateCoefficientTransform_refl : |
| 57 | Dual.CoordinateTransform.pointCoordinateCoefficientTransform (LinearEquiv.refl R (ι → R)) = LinearEquiv.refl R (ι →₀ R) := by |
| 58 | apply LinearEquiv.ext |
| 59 | intro x |
| 60 | apply (Module.evalEquiv R (ι →₀ R)).injective |
| 61 | apply LinearMap.ext |
| 62 | intro φ |
| 63 | change φ (Dual.CoordinateTransform.pointCoordinateCoefficientTransform (LinearEquiv.refl R (ι → R)) x) = φ x |
| 64 | rw [Dual.CoordinateTransform.pointCoordinateCoefficientTransform_pairing] |
| 65 | change (Finsupp.llift R R R ι ((Finsupp.llift R R R ι).symm φ)) x = φ x |
| 66 | rw [LinearEquiv.apply_symm_apply] |
| 67 | |
| 68 | variable {n : ℕ} |
| 69 | |
| 70 | def pointCoordinateProjectiveIso (T : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) : |
| 71 | Projective.ProjectivePresentations.affineProjectiveSpace R n ≅ Projective.ProjectivePresentations.affineProjectiveSpace R n := |
| 72 | Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).symm |
| 73 | |
| 74 | theorem pointCoordinateProjectiveIso_trans |
| 75 | (T U : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) : |
| 76 | (pointCoordinateProjectiveIso (T.trans U)).hom = |
| 77 | (pointCoordinateProjectiveIso T).hom ≫ (pointCoordinateProjectiveIso U).hom := by |
| 78 | have h : (Dual.CoordinateTransform.pointCoordinateCoefficientTransform (T.trans U)).symm = |
| 79 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).symm.trans |
| 80 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).symm := by |
| 81 | rw [pointCoordinateCoefficientTransform_trans] |
| 82 | rfl |
| 83 | exact (congrArg (fun e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R) => |
| 84 | (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e).hom) h).trans |
| 85 | (Linear.ProjectiveComposition.affineLinearCoordinateIso_trans (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).symm |
| 86 | (Dual.CoordinateTransform.pointCoordinateCoefficientTransform U).symm) |
| 87 | |
| 88 | theorem pointCoordinateProjectiveIso_refl : |
| 89 | (pointCoordinateProjectiveIso (LinearEquiv.refl R (Fin (n + 1) → R))).hom = 𝟙 _ := by |
| 90 | apply Over.OverMorphism.ext |
| 91 | unfold pointCoordinateProjectiveIso |
| 92 | rw [pointCoordinateCoefficientTransform_refl] |
| 93 | apply Scalar.LinearProjectiveIdentity.affineLinearCoordinateIso_eq_id_of_inverse_scalar _ (1 : Rˣ) |
| 94 | simp only [Units.val_one, one_smul] |
| 95 | rfl |
| 96 | |
| 97 | theorem pointCoordinateProjectiveIso_unit_smul |
| 98 | (T U : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) (a : Rˣ) |
| 99 | (h : T.toLinearMap = (a : R) • U.toLinearMap) : |
| 100 | (pointCoordinateProjectiveIso T).hom = (pointCoordinateProjectiveIso U).hom := |
| 101 | Linear.ProjectiveComposition.affineLinearCoordinateIso_eq_of_inverse_unit_smul _ _ a |
| 102 | (pointCoordinateCoefficientTransform_unit_smul T U a h) |
| 103 | |
| 104 | theorem pointCoordinateProjectiveIso_frame_unique |
| 105 | {κ : Type*} (v : κ → Fin (n + 1) → R) (σ : Fin (n + 1) → κ) (b : κ) |
| 106 | (hframe : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun R (Fin (n + 1))) (fun k => v (σ k)) (v b))) |
| 107 | (T U : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) (s : κ → Rˣ) |
| 108 | (h : ∀ k, T (v k) = (s k : R) • U (v k)) : |
| 109 | (pointCoordinateProjectiveIso T).hom = (pointCoordinateProjectiveIso U).hom := |
| 110 | pointCoordinateProjectiveIso_unit_smul T U (s b) |
| 111 | (Frame.CoordinateTransformationUniqueness.configurationFrame_linearEquiv_unique_up_to_unit (Pi.basisFun R (Fin (n + 1))) v σ b hframe T U s h) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointCoordinateProjectiveAction |