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.ReferenceFamily.Dual.TransitionDerivationLaws |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.Derivation |
| 3 | |
| 4 | /-! # Tensor Coefficient Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorCoefficientNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tensor-coordinate equivalence retains arbitrary coefficient |
| 11 | maps. Actual commuting tensor transitions therefore restrict derivations. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B] [Algebra k A] [Algebra k B] |
| 16 | |
| 17 | local instance dualTensorCoefficientNaturality_sourceCommRing : CommRing (DualNumber k ⊗[k] A) := |
| 18 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := A) |
| 19 | |
| 20 | local instance dualTensorCoefficientNaturality_targetCommRing : CommRing (DualNumber k ⊗[k] B) := |
| 21 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := B) |
| 22 | |
| 23 | theorem dualTensorCoefficientEquiv_natural (q : A →ₐ[k] B) (u : DualNumber k ⊗[k] A) : |
| 24 | NumberCoefficients.dualTensorCoefficientEquiv k B (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q u) = |
| 25 | NumberCoefficients.dualNumberAlgMap q (NumberCoefficients.dualTensorCoefficientEquiv k A u) := by |
| 26 | induction u using TensorProduct.inductionOn with |
| 27 | | tmul c a => |
| 28 | change NumberCoefficients.dualTensorCoefficients k B (c ⊗ₜ[k] q a) = NumberCoefficients.dualNumberAlgMap q (NumberCoefficients.dualTensorCoefficients k A (c ⊗ₜ[k] a)) |
| 29 | rw [NumberCoefficients.dualTensorCoefficients_tmul, NumberCoefficients.dualTensorCoefficients_tmul] |
| 30 | apply TrivSqZeroExt.ext |
| 31 | · exact (q.toLinearMap.map_smul c.fst a).symm |
| 32 | · exact (q.toLinearMap.map_smul c.snd a).symm |
| 33 | | add u v hu hv => simp only [map_add, hu, hv] |
| 34 | |
| 35 | theorem dualTensorTransitionCoordinates_natural (q : A →ₐ[k] B) |
| 36 | (e : (DualNumber k ⊗[k] A) ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A)) |
| 37 | (f : (DualNumber k ⊗[k] B) ≃ₐ[DualNumber k] (DualNumber k ⊗[k] B)) |
| 38 | (h : (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q).comp e.toAlgHom = |
| 39 | f.toAlgHom.comp (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q)) : |
| 40 | (NumberCoefficients.dualNumberAlgMap q).comp (CoefficientLiftTensorMap.dualTensorTransitionCoordinates e).toAlgHom = |
| 41 | (CoefficientLiftTensorMap.dualTensorTransitionCoordinates f).toAlgHom.comp (NumberCoefficients.dualNumberAlgMap q) := by |
| 42 | let C := NumberCoefficients.dualTensorCoefficientEquiv k A |
| 43 | let D := NumberCoefficients.dualTensorCoefficientEquiv k B |
| 44 | let M := Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q |
| 45 | apply AlgHom.ext |
| 46 | intro u |
| 47 | have hm : M (C.symm u) = D.symm (NumberCoefficients.dualNumberAlgMap q u) := by |
| 48 | apply D.injective |
| 49 | exact (dualTensorCoefficientEquiv_natural q (C.symm u)).trans |
| 50 | ((congrArg (NumberCoefficients.dualNumberAlgMap q) (C.apply_symm_apply u)).trans (D.apply_symm_apply _).symm) |
| 51 | change NumberCoefficients.dualNumberAlgMap q (C (e (C.symm u))) = D (f (D.symm (NumberCoefficients.dualNumberAlgMap q u))) |
| 52 | calc |
| 53 | NumberCoefficients.dualNumberAlgMap q (C (e (C.symm u))) = D (M (e (C.symm u))) := |
| 54 | (dualTensorCoefficientEquiv_natural q (e (C.symm u))).symm |
| 55 | _ = D (f (M (C.symm u))) := congrArg D (AlgHom.congr_fun h (C.symm u)) |
| 56 | _ = D (f (D.symm (NumberCoefficients.dualNumberAlgMap q u))) := by rw [hm] |
| 57 | |
| 58 | theorem dualTensorTransitionDerivation_natural (q : A →ₐ[k] B) |
| 59 | (e : (DualNumber k ⊗[k] A) ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A)) |
| 60 | (f : (DualNumber k ⊗[k] B) ≃ₐ[DualNumber k] (DualNumber k ⊗[k] B)) |
| 61 | (he : ∀ u, TensorReduction.dualTensorReduction k A (e u) = TensorReduction.dualTensorReduction k A u) |
| 62 | (hf : ∀ u, TensorReduction.dualTensorReduction k B (f u) = TensorReduction.dualTensorReduction k B u) |
| 63 | (h : (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q).comp e.toAlgHom = |
| 64 | f.toAlgHom.comp (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q)) (a : A) : |
| 65 | q (TransitionDerivationLaws.dualTensorTransitionDerivation e he a) = TransitionDerivationLaws.dualTensorTransitionDerivation f hf (q a) := |
| 66 | Derivation.dualIdentityDerivation_natural q (CoefficientLiftTensorMap.dualTensorTransitionCoordinates e).toAlgHom |
| 67 | (CoefficientLiftTensorMap.dualTensorTransitionCoordinates f).toAlgHom |
| 68 | (CoefficientLiftTensorMap.dualTensorTransitionCoordinates_reduction e he) (CoefficientLiftTensorMap.dualTensorTransitionCoordinates_reduction f hf) |
| 69 | (dualTensorTransitionCoordinates_natural q e f h) a |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorCoefficientNaturality |