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.HilbertScheme.Presentations.CartesianMorphismIsomorphismComparison |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 3 | import Mathlib.RingTheory.TensorProduct.Maps |
| 4 | |
| 5 | /-! # Relative Isomorphism Tensor Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.RelativeIsomorphismTensorCriterion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Isomorphism of the actual base-changed affine family morphism is |
| 12 | equivalent to bijectivity of its coefficient-tensor linear map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | variable {R A C K : Type u} [CommRing R] [CommRing A] [CommRing C] [CommRing K] |
| 18 | variable [Algebra R A] [Algebra R C] [Algebra R K] |
| 19 | |
| 20 | theorem affineRelativeBaseChange_isIso_iff_tensor (φ : A →ₐ[R] C) : |
| 21 | IsIso (Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (Spec.map (CommRingCat.ofHom φ.toRingHom)) |
| 22 | (Spec.map (CommRingCat.ofHom (algebraMap R A))) |
| 23 | (Spec.map (CommRingCat.ofHom (algebraMap R K)))) ↔ |
| 24 | Function.Bijective (φ.toLinearMap.lTensor K) := by |
| 25 | let f := Spec.map (CommRingCat.ofHom φ.toRingHom) |
| 26 | let q := Spec.map (CommRingCat.ofHom (algebraMap R A)) |
| 27 | let g := Spec.map (CommRingCat.ofHom (algebraMap R K)) |
| 28 | let u := Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeLeftRingHom : C →+* C ⊗[R] K)) |
| 29 | let p := Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight.toRingHom : K →+* C ⊗[R] K)) |
| 30 | let v := Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeLeftRingHom : A →+* A ⊗[R] K)) |
| 31 | let r := Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight.toRingHom : K →+* A ⊗[R] K)) |
| 32 | let ψ := Algebra.TensorProduct.map φ (AlgHom.id R K) |
| 33 | let k := Spec.map (CommRingCat.ofHom ψ.toRingHom) |
| 34 | have hbase : f ≫ q = Spec.map (CommRingCat.ofHom (algebraMap R C)) := by |
| 35 | rw [← Spec.map_comp] |
| 36 | apply congrArg Spec.map |
| 37 | apply CommRingCat.hom_ext |
| 38 | exact φ.comp_algebraMap |
| 39 | have hX : IsPullback u p (f ≫ q) g := by |
| 40 | rw [hbase] |
| 41 | exact isPullback_SpecMap_of_isPushout _ _ _ _ (CommRingCat.isPushout_tensorProduct R C K) |
| 42 | have hY : IsPullback v r q g := |
| 43 | isPullback_SpecMap_of_isPushout _ _ _ _ (CommRingCat.isPushout_tensorProduct R A K) |
| 44 | have hk : k ≫ v = u ≫ f := by |
| 45 | change Spec.map (CommRingCat.ofHom ψ.toRingHom) ≫ |
| 46 | Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeLeftRingHom : A →+* A ⊗[R] K)) = |
| 47 | Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeLeftRingHom : C →+* C ⊗[R] K)) ≫ |
| 48 | Spec.map (CommRingCat.ofHom φ.toRingHom) |
| 49 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 50 | apply congrArg Spec.map |
| 51 | apply CommRingCat.hom_ext |
| 52 | exact Algebra.TensorProduct.map_comp_includeLeftRingHom φ (AlgHom.id R K) |
| 53 | have hr : k ≫ r = p := by |
| 54 | change Spec.map (CommRingCat.ofHom ψ.toRingHom) ≫ |
| 55 | Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight.toRingHom : K →+* A ⊗[R] K)) = |
| 56 | Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight.toRingHom : K →+* C ⊗[R] K)) |
| 57 | rw [← Spec.map_comp] |
| 58 | apply congrArg Spec.map |
| 59 | apply CommRingCat.hom_ext |
| 60 | apply RingHom.ext |
| 61 | intro a |
| 62 | change ψ (1 ⊗ₜ[R] a) = 1 ⊗ₜ[R] a |
| 63 | simp only [ψ, Algebra.TensorProduct.map_tmul, map_one, AlgHom.id_apply] |
| 64 | have he := CartesianMorphismIsomorphismComparison.relativeMorphismBaseChange_isIso_iff_cartesian_comparison f q g u p v r k hX hY hk hr |
| 65 | have hi : IsIso k ↔ Function.Bijective (φ.toLinearMap.rTensor K) := by |
| 66 | rw [isIso_SpecMap_iff] |
| 67 | rfl |
| 68 | exact he.trans (hi.trans (LinearMap.lTensor_bij_iff_rTensor_bij (M := K) (f := φ.toLinearMap)).symm) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.RelativeIsomorphismTensorCriterion |