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.Deformation.Maps |
| 2 | import Mathlib.RingTheory.TensorProduct.MonoidAlgebra |
| 3 | import Mathlib.RingTheory.Flat.Basic |
| 4 | |
| 5 | /-! # Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Tensor.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Base change of the actual extended Rees algebra maps into the |
| 14 | Laurent algebra. Flat coefficients preserve this genuine embedding. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable {R : Type} [CommRing R] (I : Ideal R) (S : Type) [CommRing S] [Algebra R S] |
| 19 | |
| 20 | def deformationTensorToLaurent : S ⊗[R] Iff.BundleCycles.deformationAlgebra I →ₐ[S] LaurentPolynomial S := |
| 21 | (AddMonoidAlgebra.scalarTensorEquiv R S (M := ℤ)).toAlgHom.comp |
| 22 | (Algebra.TensorProduct.map (AlgHom.id S S) (Iff.BundleCycles.deformationAlgebra I).val) |
| 23 | |
| 24 | theorem deformationTensorToLaurent_tmul (s : S) (a : Iff.BundleCycles.deformationAlgebra I) : |
| 25 | deformationTensorToLaurent I S (s ⊗ₜ[R] a) = |
| 26 | s • AddMonoidAlgebra.mapRingHom ℤ (algebraMap R S) a.val := by |
| 27 | rw [deformationTensorToLaurent, AlgHom.comp_apply, Algebra.TensorProduct.map_tmul, |
| 28 | AlgHom.id_apply] |
| 29 | exact AddMonoidAlgebra.scalarTensorEquiv_tmul s a.val |
| 30 | |
| 31 | theorem deformationTensorToLaurent_injective [Module.Flat R S] : |
| 32 | Function.Injective (deformationTensorToLaurent I S) := by |
| 33 | have h : Function.Injective ((Iff.BundleCycles.deformationAlgebra I).val.toLinearMap.lTensor S) := |
| 34 | Module.Flat.lTensor_preserves_injective_linearMap (Iff.BundleCycles.deformationAlgebra I).val.toLinearMap Subtype.val_injective |
| 35 | exact (AddMonoidAlgebra.scalarTensorEquiv R S (M := ℤ)).injective.comp h |
| 36 | |
| 37 | end |
| 38 | |
| 39 | section |
| 40 | |
| 41 | /-! The image after any coefficient base change is exactly the extended |
| 42 | Rees algebra of the extended ideal. Every coefficient is retained. -/ |
| 43 | |
| 44 | open scoped TensorProduct BigOperators |
| 45 | |
| 46 | variable {R : Type} [CommRing R] (I : Ideal R) (S : Type) [CommRing S] [Algebra R S] |
| 47 | |
| 48 | theorem deformationTensorToLaurent_mem (a : S ⊗[R] Iff.BundleCycles.deformationAlgebra I) : |
| 49 | deformationTensorToLaurent I S a ∈ Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S)) := by |
| 50 | induction a using TensorProduct.inductionOn with |
| 51 | | tmul s b => |
| 52 | rw [deformationTensorToLaurent_tmul] |
| 53 | exact (Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S))).smul_mem |
| 54 | (Maps.BundleCycles.deformationMap I (I.map (algebraMap R S)) (algebraMap R S) Ideal.le_comap_map b).property s |
| 55 | | add a b ha hb => |
| 56 | rw [map_add] |
| 57 | exact (Iff.BundleCycles.deformationAlgebra _).add_mem ha hb |
| 58 | |
| 59 | theorem deformationTensorToLaurent_monomial_mem_range (n : ℤ) (s : S) |
| 60 | (hs : s ∈ I.map (algebraMap R S) ^ (-n).toNat) : |
| 61 | AddMonoidAlgebra.single n s ∈ (deformationTensorToLaurent I S).range := by |
| 62 | let K : Ideal S := (deformationTensorToLaurent I S).range.toSubmodule.comap |
| 63 | (AddMonoidAlgebra.lsingle (R := S) n) |
| 64 | have hK : (I ^ (-n).toNat).map (algebraMap R S) ≤ K := by |
| 65 | apply Ideal.map_le_iff_le_comap.mpr |
| 66 | intro r hr |
| 67 | change AddMonoidAlgebra.single n (algebraMap R S r) ∈ (deformationTensorToLaurent I S).range |
| 68 | refine ⟨1 ⊗ₜ[R] Iff.BundleCycles.deformationMonomial I n r hr, ?_⟩ |
| 69 | change deformationTensorToLaurent I S (1 ⊗ₜ[R] Iff.BundleCycles.deformationMonomial I n r hr) = _ |
| 70 | rw [deformationTensorToLaurent_tmul, one_smul] |
| 71 | exact AddMonoidAlgebra.mapRingHom_single (algebraMap R S) n r |
| 72 | have hs' : s ∈ (I ^ (-n).toNat).map (algebraMap R S) := by |
| 73 | rwa [Ideal.map_pow] |
| 74 | exact hK hs' |
| 75 | |
| 76 | theorem deformationTensorToLaurent_range : |
| 77 | (deformationTensorToLaurent I S).range = Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S)) := by |
| 78 | classical |
| 79 | apply le_antisymm |
| 80 | · rintro a ⟨b, rfl⟩ |
| 81 | exact deformationTensorToLaurent_mem I S b |
| 82 | · intro a ha |
| 83 | rw [← AddMonoidAlgebra.sum_coeff_single a] |
| 84 | exact Subalgebra.sum_mem _ (fun n _ => deformationTensorToLaurent_monomial_mem_range I S n _ (ha n)) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | /-! Flat base change commutes with the actual deformation algebra, |
| 89 | by its proved Laurent embedding and complete coefficient image. -/ |
| 90 | |
| 91 | open scoped TensorProduct |
| 92 | |
| 93 | variable {R : Type} [CommRing R] (I : Ideal R) (S : Type) [CommRing S] [Algebra R S] |
| 94 | |
| 95 | def deformationBaseChange : S ⊗[R] Iff.BundleCycles.deformationAlgebra I →ₐ[S] Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S)) := |
| 96 | (deformationTensorToLaurent I S).codRestrict (Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S))) |
| 97 | (deformationTensorToLaurent_mem I S) |
| 98 | |
| 99 | theorem deformationBaseChange_surjective : Function.Surjective (deformationBaseChange I S) := by |
| 100 | intro a |
| 101 | have ha : a.val ∈ (deformationTensorToLaurent I S).range := |
| 102 | (deformationTensorToLaurent_range I S).symm ▸ a.property |
| 103 | obtain ⟨b, hb⟩ := ha |
| 104 | exact ⟨b, Subtype.ext hb⟩ |
| 105 | |
| 106 | theorem deformationBaseChange_injective [Module.Flat R S] : Function.Injective (deformationBaseChange I S) := by |
| 107 | intro a b h |
| 108 | exact deformationTensorToLaurent_injective I S (congrArg Subtype.val h) |
| 109 | |
| 110 | def deformationBaseChangeEquiv [Module.Flat R S] : |
| 111 | S ⊗[R] Iff.BundleCycles.deformationAlgebra I ≃ₐ[S] Iff.BundleCycles.deformationAlgebra (I.map (algebraMap R S)) := |
| 112 | AlgEquiv.ofBijective (deformationBaseChange I S) |
| 113 | ⟨deformationBaseChange_injective I S, deformationBaseChange_surjective I S⟩ |
| 114 | |
| 115 | theorem deformationBaseChange_tmul (s : S) (a : Iff.BundleCycles.deformationAlgebra I) : |
| 116 | deformationBaseChange I S (s ⊗ₜ[R] a) = |
| 117 | s • Maps.BundleCycles.deformationMap I (I.map (algebraMap R S)) (algebraMap R S) Ideal.le_comap_map a := by |
| 118 | apply Subtype.ext |
| 119 | exact deformationTensorToLaurent_tmul I S s a |
| 120 | |
| 121 | theorem deformationBaseChange_parameter : |
| 122 | deformationBaseChange I S (1 ⊗ₜ[R] Iff.BundleCycles.deformationParameter I) = |
| 123 | Iff.BundleCycles.deformationParameter (I.map (algebraMap R S)) := by |
| 124 | rw [deformationBaseChange_tmul, one_smul, Maps.BundleCycles.deformationMap_parameter] |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Tensor.BundleCycles |