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 | |
| 3 | /-! # Tensor Derivation Gauges -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorDerivationGauges |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Derivation gauges act on the actual tensor product over the complete |
| 10 | dual-number base, preserve reduction, and have the prescribed coefficients. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {k A : Type*} [CommRing k] [CommRing A] [Algebra k A] |
| 15 | |
| 16 | local instance dualTensorDerivationGauges_commRing : CommRing (DualNumber k ⊗[k] A) := |
| 17 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := A) |
| 18 | |
| 19 | def dualTensorDerivationGauge (d : Derivation k A A) : |
| 20 | (DualNumber k ⊗[k] A) ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A) := by |
| 21 | let C := NumberCoefficients.dualTensorCoefficientEquiv k A |
| 22 | let e : (DualNumber k ⊗[k] A) ≃ₐ[k] (DualNumber k ⊗[k] A) := |
| 23 | C.trans ((Dual.Derivation.dualDerivationAutomorphism d).trans C.symm) |
| 24 | refine { e.toRingEquiv with commutes' := ?_ } |
| 25 | intro c |
| 26 | apply C.injective |
| 27 | change C (C.symm (Dual.Derivation.dualDerivationAutomorphism d |
| 28 | (C (algebraMap (DualNumber k) (DualNumber k ⊗[k] A) c)))) = |
| 29 | C (algebraMap (DualNumber k) (DualNumber k ⊗[k] A) c) |
| 30 | rw [C.apply_symm_apply, CoefficientLiftTensorMap.dualTensorCoefficientEquiv_base] |
| 31 | apply TrivSqZeroExt.ext |
| 32 | · rfl |
| 33 | · change d (algebraMap k A c.fst) + algebraMap k A c.snd = algebraMap k A c.snd |
| 34 | rw [d.map_algebraMap, zero_add] |
| 35 | |
| 36 | theorem dualTensorDerivationGauge_reduction (d : Derivation k A A) (u : DualNumber k ⊗[k] A) : |
| 37 | TensorReduction.dualTensorReduction k A (dualTensorDerivationGauge d u) = TensorReduction.dualTensorReduction k A u := by |
| 38 | let C := NumberCoefficients.dualTensorCoefficientEquiv k A |
| 39 | change (C (C.symm (Dual.Derivation.dualDerivationAutomorphism d (C u)))).fst = (C u).fst |
| 40 | rw [C.apply_symm_apply] |
| 41 | rfl |
| 42 | |
| 43 | theorem dualTensorDerivationGauge_coordinates (d : Derivation k A A) : |
| 44 | CoefficientLiftTensorMap.dualTensorTransitionCoordinates (dualTensorDerivationGauge d) = Dual.Derivation.dualDerivationAutomorphism d := by |
| 45 | apply AlgEquiv.ext |
| 46 | intro u |
| 47 | let C := NumberCoefficients.dualTensorCoefficientEquiv k A |
| 48 | change C (C.symm (Dual.Derivation.dualDerivationAutomorphism d (C (C.symm u)))) = Dual.Derivation.dualDerivationAutomorphism d u |
| 49 | rw [C.apply_symm_apply, C.apply_symm_apply] |
| 50 | |
| 51 | theorem dualTensorDerivationGauge_derivation (d : Derivation k A A) : |
| 52 | TransitionDerivationLaws.dualTensorTransitionDerivation (dualTensorDerivationGauge d) (dualTensorDerivationGauge_reduction d) = d := by |
| 53 | apply Derivation.ext |
| 54 | intro a |
| 55 | rw [TransitionDerivationLaws.dualTensorTransitionDerivation_apply, dualTensorDerivationGauge_coordinates] |
| 56 | change d a + 0 = d a |
| 57 | exact add_zero _ |
| 58 | |
| 59 | theorem dualTensorDerivationGauge_zero : |
| 60 | dualTensorDerivationGauge (0 : Derivation k A A) = AlgEquiv.refl := by |
| 61 | apply AlgEquiv.ext |
| 62 | intro u |
| 63 | let C := NumberCoefficients.dualTensorCoefficientEquiv k A |
| 64 | change C.symm (Dual.Derivation.dualDerivationAutomorphism (0 : Derivation k A A) (C u)) = u |
| 65 | rw [Dual.Derivation.dualDerivationAutomorphism_zero] |
| 66 | exact C.symm_apply_apply u |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorDerivationGauges |