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.Product.ChartMorphismCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ProductRetractionDifferences |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorMapCoordinateLaws |
| 4 | |
| 5 | /-! # Chart Retraction Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartRetractionRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! When selected product charts commute with an original map of |
| 14 | affine families, their retractions commute in arbitrary reference |
| 15 | product coordinates. The square retains the actual coefficient map. -/ |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable {k A B S T : Type} [CommRing k] [CommRing A] [CommRing B] |
| 20 | [CommRing S] [CommRing T] [Algebra k A] [Algebra k B] |
| 21 | [Algebra (DualNumber k) S] [Algebra (DualNumber k) T] |
| 22 | (m : S →ₐ[DualNumber k] T) |
| 23 | (f r : S ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A)) |
| 24 | (g s : T ≃ₐ[DualNumber k] (DualNumber k ⊗[k] B)) |
| 25 | (q : A →ₐ[k] B) |
| 26 | (h : g.toAlgHom.comp m = |
| 27 | (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q).comp f.toAlgHom) |
| 28 | |
| 29 | include h |
| 30 | |
| 31 | theorem productChartRetraction_tensor_square : |
| 32 | (ChartMorphismCoordinates.productChartMorphismCoordinates m r s).comp (Smooth.DualChartDifferences.dualProductChartTransition f r).toAlgHom = |
| 33 | (Smooth.DualChartDifferences.dualProductChartTransition g s).toAlgHom.comp |
| 34 | (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q) := by |
| 35 | apply AlgHom.ext |
| 36 | intro u |
| 37 | change s (m (r.symm (r (f.symm u)))) = |
| 38 | s (g.symm (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q u)) |
| 39 | rw [r.symm_apply_apply] |
| 40 | apply congrArg s |
| 41 | apply g.injective |
| 42 | rw [g.apply_symm_apply] |
| 43 | have H := AlgHom.congr_fun h (f.symm u) |
| 44 | change g (m (f.symm u)) = |
| 45 | Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q (f (f.symm u)) at H |
| 46 | rw [f.apply_symm_apply] at H |
| 47 | exact H |
| 48 | |
| 49 | theorem productChartRetraction_coefficient_square : |
| 50 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (ChartMorphismCoordinates.productChartMorphismCoordinates m r s)).comp |
| 51 | (Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates (Smooth.DualChartDifferences.dualProductChartTransition f r)).toAlgHom = |
| 52 | (Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates (Smooth.DualChartDifferences.dualProductChartTransition g s)).toAlgHom.comp (Dual.NumberCoefficients.dualNumberAlgMap q) := by |
| 53 | have H := congrArg Dual.TensorMapCoordinates.dualTensorMapCoordinates (productChartRetraction_tensor_square m f r g s q h) |
| 54 | rw [Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_comp, Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_comp, |
| 55 | Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_equiv, Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_equiv, Dual.TensorMapCoordinateLaws.dualTensorMapCoordinates_coefficient] at H |
| 56 | exact H |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! The algebra restriction square for the original product-chart |
| 61 | retractions is exactly a square of their actual affine-scheme lifts. -/ |
| 62 | |
| 63 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 64 | open scoped TensorProduct |
| 65 | |
| 66 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 67 | |
| 68 | variable (k A B S T : Type) [CommRing k] [CommRing A] [CommRing B] |
| 69 | [CommRing S] [CommRing T] [Algebra k A] [Algebra k B] |
| 70 | [Algebra (DualNumber k) S] [Algebra (DualNumber k) T] |
| 71 | (m : S →ₐ[DualNumber k] T) |
| 72 | (f r : S ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A)) |
| 73 | (g s : T ≃ₐ[DualNumber k] (DualNumber k ⊗[k] B)) |
| 74 | (q : A →ₐ[k] B) |
| 75 | (h : g.toAlgHom.comp m = |
| 76 | (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) q).comp f.toAlgHom) |
| 77 | (qS : S →+* A) (qT : T →+* B) |
| 78 | (hf : ∀ x, Dual.TensorReduction.dualTensorReduction k A (f x) = qS x) |
| 79 | (hr : ∀ x, Dual.TensorReduction.dualTensorReduction k A (r x) = qS x) |
| 80 | (hg : ∀ x, Dual.TensorReduction.dualTensorReduction k B (g x) = qT x) |
| 81 | (hs : ∀ x, Dual.TensorReduction.dualTensorReduction k B (s x) = qT x) |
| 82 | |
| 83 | include h |
| 84 | |
| 85 | theorem productChartRetraction_scheme_square : |
| 86 | Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k (DualNumber A) (DualNumber B) |
| 87 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (ChartMorphismCoordinates.productChartMorphismCoordinates m r s)) ≫ |
| 88 | (Dual.ProductRetractionDifferences.dualProductRetractionLift k A S qS f r hf hr).val = |
| 89 | (Dual.ProductRetractionDifferences.dualProductRetractionLift k B T qT g s hg hs).val ≫ Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k A B q := by |
| 90 | change Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k (DualNumber A) (DualNumber B) |
| 91 | (Dual.TensorMapCoordinates.dualTensorMapCoordinates (ChartMorphismCoordinates.productChartMorphismCoordinates m r s)) ≫ |
| 92 | Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k A (DualNumber A) |
| 93 | ((Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates (Smooth.DualChartDifferences.dualProductChartTransition f r)).toAlgHom.comp |
| 94 | (TrivSqZeroExt.inlAlgHom k A A)) = |
| 95 | Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k B (DualNumber B) |
| 96 | ((Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates (Smooth.DualChartDifferences.dualProductChartTransition g s)).toAlgHom.comp |
| 97 | (TrivSqZeroExt.inlAlgHom k B B)) ≫ Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k A B q |
| 98 | rw [Affine.OverMorphismAlgebra.affineOverAlgHom_comp, Affine.OverMorphismAlgebra.affineOverAlgHom_comp] |
| 99 | apply congrArg (Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k A (DualNumber B)) |
| 100 | apply AlgHom.ext |
| 101 | intro a |
| 102 | have H := AlgHom.congr_fun (productChartRetraction_coefficient_square m f r g s q h) (TrivSqZeroExt.inl a) |
| 103 | have hq : Dual.NumberCoefficients.dualNumberAlgMap q (TrivSqZeroExt.inl a) = TrivSqZeroExt.inl (q a) := by |
| 104 | apply TrivSqZeroExt.ext |
| 105 | · rfl |
| 106 | · exact map_zero q |
| 107 | exact H.trans (congrArg (Dual.CoefficientLiftTensorMap.dualTensorTransitionCoordinates (Smooth.DualChartDifferences.dualProductChartTransition g s)) hq) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartRetractionRestriction |