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.AffineProduct.AlgebraAutomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.DerivationLaws |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorDerivationGauges |
| 4 | |
| 5 | /-! # Chart Gauge Cancellation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.ChartGaugeCancellation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Every derivation constructs an actual affine product automorphism |
| 14 | over the full dual-number base that fixes the actual special fiber. |
| 15 | Together with coefficient extraction this gives an exact equivalence. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable (k : Type) [Field k] (X : Over (Spec (.of k))) [IsAffine X.left] |
| 20 | |
| 21 | def affineProductDerivationGauge |
| 22 | (d : Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X)) : |
| 23 | (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X := |
| 24 | AlgebraAutomorphisms.affineProductAlgebraAutomorphism k X (Dual.TensorDerivationGauges.dualTensorDerivationGauge d) |
| 25 | |
| 26 | theorem affineProductDerivationGauge_fiberIdentity |
| 27 | (d : Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X)) : |
| 28 | (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map (affineProductDerivationGauge k X d).hom = 𝟙 _ := |
| 29 | AlgebraAutomorphisms.affineProductAlgebraAutomorphism_fiberIdentity k X (Dual.TensorDerivationGauges.dualTensorDerivationGauge d) |
| 30 | (Dual.TensorDerivationGauges.dualTensorDerivationGauge_reduction d) |
| 31 | |
| 32 | theorem affineProductDerivationGauge_derivation |
| 33 | (d : Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X)) : |
| 34 | TransitionDerivation.affineProductTransitionDerivation k X (affineProductDerivationGauge k X d) |
| 35 | (affineProductDerivationGauge_fiberIdentity k X d) = d := by |
| 36 | unfold TransitionDerivation.affineProductTransitionDerivation |
| 37 | exact (Dual.TransitionDerivationFaithfulness.dualTensorTransitionDerivation_congr _ _ _ (Dual.TensorDerivationGauges.dualTensorDerivationGauge_reduction d) |
| 38 | (AlgebraAutomorphisms.affineProductAlgebraAutomorphism_algebra k X (Dual.TensorDerivationGauges.dualTensorDerivationGauge d))).trans |
| 39 | (Dual.TensorDerivationGauges.dualTensorDerivationGauge_derivation d) |
| 40 | |
| 41 | def affineProductInfinitesimalAutomorphismEquiv : |
| 42 | {e : (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X // |
| 43 | (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map e.hom = 𝟙 _} ≃ |
| 44 | Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) where |
| 45 | toFun e := TransitionDerivation.affineProductTransitionDerivation k X e.1 e.2 |
| 46 | invFun d := ⟨affineProductDerivationGauge k X d, affineProductDerivationGauge_fiberIdentity k X d⟩ |
| 47 | left_inv e := Subtype.ext (DerivationLaws.affineProductTransitionDerivation_faithful k X _ _ _ _ |
| 48 | (affineProductDerivationGauge_derivation k X (TransitionDerivation.affineProductTransitionDerivation k X e.1 e.2))) |
| 49 | right_inv := affineProductDerivationGauge_derivation k X |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! A derivation coboundary makes the adjusted actual scheme product |
| 54 | charts literally equal. No abstract chart or global product is assumed. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 57 | |
| 58 | variable (k : Type) [Field k] (X : Over (Spec (.of k))) [IsAffine X.left] |
| 59 | {Z : Over (Spec (.of (DualNumber k)))} |
| 60 | |
| 61 | theorem affineProductChartGauge_cancellation |
| 62 | (u v : Z ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X) |
| 63 | (h : (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map (u.symm ≪≫ v).hom = 𝟙 _) |
| 64 | (a b : Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X)) |
| 65 | (hd : TransitionDerivation.affineProductTransitionDerivation k X (u.symm ≪≫ v) h = a - b) : |
| 66 | u ≪≫ affineProductDerivationGauge k X a = v ≪≫ affineProductDerivationGauge k X b := by |
| 67 | let t := u.symm ≪≫ v |
| 68 | let g := affineProductDerivationGauge k X b |
| 69 | let G := Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k) |
| 70 | have hg : G.map g.hom = 𝟙 _ := affineProductDerivationGauge_fiberIdentity k X b |
| 71 | have ht : G.map (t ≪≫ g).hom = 𝟙 _ := by |
| 72 | change G.map (t.hom ≫ g.hom) = _ |
| 73 | rw [G.map_comp, h, hg, Category.id_comp] |
| 74 | have hd' : TransitionDerivation.affineProductTransitionDerivation k X (t ≪≫ g) ht = a := by |
| 75 | calc |
| 76 | TransitionDerivation.affineProductTransitionDerivation k X (t ≪≫ g) ht = |
| 77 | TransitionDerivation.affineProductTransitionDerivation k X t h + TransitionDerivation.affineProductTransitionDerivation k X g hg := |
| 78 | DerivationLaws.affineProductTransitionDerivation_trans k X t g h hg ht |
| 79 | _ = (a - b) + b := congrArg₂ (· + ·) hd (affineProductDerivationGauge_derivation k X b) |
| 80 | _ = a := sub_add_cancel a b |
| 81 | have he := DerivationLaws.affineProductTransitionDerivation_faithful k X (t ≪≫ g) |
| 82 | (affineProductDerivationGauge k X a) ht (affineProductDerivationGauge_fiberIdentity k X a) |
| 83 | (hd'.trans (affineProductDerivationGauge_derivation k X a).symm) |
| 84 | have hh := congrArg (fun e => u.hom ≫ e.hom) he |
| 85 | apply Iso.ext |
| 86 | change u.hom ≫ (u.inv ≫ v.hom) ≫ g.hom = u.hom ≫ (affineProductDerivationGauge k X a).hom at hh |
| 87 | simp only [← Category.assoc, Iso.hom_inv_id, Category.id_comp] at hh |
| 88 | exact hh.symm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.ChartGaugeCancellation |