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.RepresentationTheory.Theta.Geometric.SquareZero.TensorDescent |
| 2 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 3 | |
| 4 | /-! # Zero Unit Naturality -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Square.ZeroUnitNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The unique normalized coefficient lifts commute with restriction to |
| 13 | smaller affine charts and reflect the change-of-frame equations. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | theorem tensorMap_base_coefficient_commute |
| 18 | {R S B C : Type*} [CommRing R] [Algebra ℂ R] [CommRing S] [Algebra ℂ S] |
| 19 | [CommRing B] [Algebra ℂ B] [CommRing C] [Algebra ℂ C] |
| 20 | (i : R →ₐ[ℂ] S) (f : B →ₐ[ℂ] C) (x : R ⊗[ℂ] B) : |
| 21 | Algebra.TensorProduct.map i (AlgHom.id ℂ C) (Algebra.TensorProduct.map (AlgHom.id ℂ R) f x) = |
| 22 | Algebra.TensorProduct.map (AlgHom.id ℂ S) f (Algebra.TensorProduct.map i (AlgHom.id ℂ B) x) := by |
| 23 | have h : (Algebra.TensorProduct.map i (AlgHom.id ℂ C)).comp |
| 24 | (Algebra.TensorProduct.map (AlgHom.id ℂ R) f) = |
| 25 | (Algebra.TensorProduct.map (AlgHom.id ℂ S) f).comp |
| 26 | (Algebra.TensorProduct.map i (AlgHom.id ℂ B)) := by |
| 27 | simp only [← Algebra.TensorProduct.map_comp, AlgHom.comp_id, AlgHom.id_comp] |
| 28 | exact DFunLike.congr_fun h x |
| 29 | |
| 30 | variable {M R S B C : Type*} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] |
| 31 | [IsCentralScalar ℂ M] [CommRing R] [Algebra ℂ R] [Nontrivial R] |
| 32 | [CommRing S] [Algebra ℂ S] [CommRing B] [Algebra ℂ B] [CommRing C] [Algebra ℂ C] |
| 33 | |
| 34 | def squareZeroTensorUnitLift |
| 35 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) |
| 36 | (q : R →ₐ[ℂ] S) (he : Function.Exact i q.toLinearMap) (x : (R ⊗[ℂ] B)ˣ) |
| 37 | (hx : Algebra.TensorProduct.map q (AlgHom.id ℂ B) (x : R ⊗[ℂ] B) = 1) : |
| 38 | (TrivSqZeroExt ℂ M ⊗[ℂ] B)ˣ := |
| 39 | (SquareZero.TensorDescent.squareZeroTensor_exists_unit_lift_of_reduction_one i hi hsq q he x hx).exists.choose |
| 40 | |
| 41 | theorem squareZeroTensorUnitLift_spec |
| 42 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) |
| 43 | (q : R →ₐ[ℂ] S) (he : Function.Exact i q.toLinearMap) (x : (R ⊗[ℂ] B)ˣ) |
| 44 | (hx : Algebra.TensorProduct.map q (AlgHom.id ℂ B) (x : R ⊗[ℂ] B) = 1) : |
| 45 | Algebra.TensorProduct.map (SquareZero.Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) |
| 46 | (squareZeroTensorUnitLift i hi hsq q he x hx : TrivSqZeroExt ℂ M ⊗[ℂ] B) = x := |
| 47 | (SquareZero.TensorDescent.squareZeroTensor_exists_unit_lift_of_reduction_one i hi hsq q he x hx).exists.choose_spec |
| 48 | |
| 49 | theorem squareZeroTensorUnitLift_natural |
| 50 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) |
| 51 | (q : R →ₐ[ℂ] S) (he : Function.Exact i q.toLinearMap) (f : B →ₐ[ℂ] C) |
| 52 | (x : (R ⊗[ℂ] B)ˣ) (y : (R ⊗[ℂ] C)ˣ) |
| 53 | (hf : Algebra.TensorProduct.map (AlgHom.id ℂ R) f (x : R ⊗[ℂ] B) = y) |
| 54 | (hx : Algebra.TensorProduct.map q (AlgHom.id ℂ B) (x : R ⊗[ℂ] B) = 1) |
| 55 | (hy : Algebra.TensorProduct.map q (AlgHom.id ℂ C) (y : R ⊗[ℂ] C) = 1) : |
| 56 | Algebra.TensorProduct.map (AlgHom.id ℂ (TrivSqZeroExt ℂ M)) f |
| 57 | (squareZeroTensorUnitLift i hi hsq q he x hx : TrivSqZeroExt ℂ M ⊗[ℂ] B) = |
| 58 | (squareZeroTensorUnitLift i hi hsq q he y hy : TrivSqZeroExt ℂ M ⊗[ℂ] C) := by |
| 59 | apply SquareZero.TensorDescent.squareZeroTensorMap_injective i hi hsq |
| 60 | rw [tensorMap_base_coefficient_commute, squareZeroTensorUnitLift_spec, |
| 61 | squareZeroTensorUnitLift_spec, hf] |
| 62 | |
| 63 | theorem squareZeroTensor_transition_reflects |
| 64 | (i : M →ₗ[ℂ] R) (hi : Function.Injective i) (hsq : ∀ x y, i x * i y = 0) |
| 65 | (a b u v : TrivSqZeroExt ℂ M ⊗[ℂ] B) |
| 66 | (h : Algebra.TensorProduct.map (SquareZero.Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) a * |
| 67 | Algebra.TensorProduct.map (SquareZero.Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) u = |
| 68 | Algebra.TensorProduct.map (SquareZero.Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) v * |
| 69 | Algebra.TensorProduct.map (SquareZero.Subalgebra.squareZeroSubalgebraMap i hsq) (AlgHom.id ℂ B) b) : |
| 70 | a * u = v * b := by |
| 71 | apply SquareZero.TensorDescent.squareZeroTensorMap_injective i hi hsq |
| 72 | simpa only [map_mul] using h |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! A coefficient on a complex scalar extension that agrees on its two |
| 77 | copies comes from the original coefficient algebra. The proof uses a |
| 78 | complex linear retraction of constants, not a ring-valued point. -/ |
| 79 | |
| 80 | open scoped TensorProduct |
| 81 | |
| 82 | variable {S B : Type*} [CommRing S] [Algebra ℂ S] [Nontrivial S] |
| 83 | [CommRing B] [Algebra ℂ B] |
| 84 | |
| 85 | theorem tensor_constant_of_two_copies_eq (x : S ⊗[ℂ] B) |
| 86 | (hx : Algebra.TensorProduct.map (Algebra.TensorProduct.includeLeft : S →ₐ[ℂ] S ⊗[ℂ] S) |
| 87 | (AlgHom.id ℂ B) x = |
| 88 | Algebra.TensorProduct.map (Algebra.TensorProduct.includeRight : S →ₐ[ℂ] S ⊗[ℂ] S) |
| 89 | (AlgHom.id ℂ B) x) : |
| 90 | ∃ b : B, Algebra.TensorProduct.includeRight b = x := by |
| 91 | obtain ⟨l, hl⟩ := Module.Projective.exists_dual_eq_one ℂ (show (1 : S) ≠ 0 from one_ne_zero) |
| 92 | let c : S ⊗[ℂ] B →ₗ[ℂ] B := (TensorProduct.lid ℂ B).toLinearMap.comp (l.rTensor B) |
| 93 | let d : S ⊗[ℂ] S →ₗ[ℂ] S := (TensorProduct.lid ℂ S).toLinearMap.comp (l.rTensor S) |
| 94 | have hleft (v : S ⊗[ℂ] B) : d.rTensor B |
| 95 | (Algebra.TensorProduct.map (Algebra.TensorProduct.includeLeft : S →ₐ[ℂ] S ⊗[ℂ] S) |
| 96 | (AlgHom.id ℂ B) v) = Algebra.TensorProduct.includeRight (c v) := by |
| 97 | induction v using TensorProduct.inductionOn with |
| 98 | | add u v hu hv => simp only [map_add, hu, hv] |
| 99 | | tmul s b => simp [c, d, TensorProduct.smul_tmul] |
| 100 | have hright (v : S ⊗[ℂ] B) : d.rTensor B |
| 101 | (Algebra.TensorProduct.map (Algebra.TensorProduct.includeRight : S →ₐ[ℂ] S ⊗[ℂ] S) |
| 102 | (AlgHom.id ℂ B) v) = v := by |
| 103 | induction v using TensorProduct.inductionOn with |
| 104 | | add u v hu hv => simp only [map_add, hu, hv] |
| 105 | | tmul s b => simp [d, hl] |
| 106 | exact ⟨c x, (hleft x).symm.trans ((congrArg (d.rTensor B) hx).trans (hright x))⟩ |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.RepresentationTheory.Theta.Geometric.Square.ZeroUnitNaturality |