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.VaryingDualOpenFactorization |
| 2 | |
| 3 | /-! # Reduction Fixed Morphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ReductionFixedMorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Identity on the actual special fiber fixes every morphism factoring |
| 12 | through the closed base reduction, independently of fiber coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem dualReduction_identity_fixes_map (k : Type) [Field k] |
| 17 | {X : Over (Spec (.of (DualNumber k)))} (f : X ⟶ X) |
| 18 | (hf : (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map f = |
| 19 | 𝟙 ((Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).obj X)) |
| 20 | (Z : Over (Spec (.of k))) (i : Z.left ⟶ X.left) |
| 21 | (hi : i ≫ X.hom = Z.hom ≫ Smooth.AffineDualProduct.dualBaseReduction k) : i ≫ f.left = i := by |
| 22 | let l : Z.left ⟶ ((Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).obj X).left := |
| 23 | pullback.lift i Z.hom hi |
| 24 | have hl : l ≫ VaryingDualReduction.dualFamilyReduction k X = i := pullback.lift_fst _ _ _ |
| 25 | have hh := congrArg Over.Hom.left hf |
| 26 | change ((Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map f).left = 𝟙 _ at hh |
| 27 | have ht : VaryingDualReduction.dualFamilyReduction k X ≫ f.left = VaryingDualReduction.dualFamilyReduction k X := |
| 28 | (VaryingDualOpenFactorization.dualFamilyReduction_natural k f).trans |
| 29 | ((congrArg (fun q => q ≫ VaryingDualReduction.dualFamilyReduction k X) hh).trans (Category.id_comp _)) |
| 30 | calc |
| 31 | i ≫ f.left = (l ≫ VaryingDualReduction.dualFamilyReduction k X) ≫ f.left := congrArg (fun q => q ≫ f.left) hl.symm |
| 32 | _ = l ≫ (VaryingDualReduction.dualFamilyReduction k X ≫ f.left) := Category.assoc _ _ _ |
| 33 | _ = l ≫ VaryingDualReduction.dualFamilyReduction k X := congrArg (fun q => l ≫ q) ht |
| 34 | _ = i := hl |
| 35 | |
| 36 | end |
| 37 | |
| 38 | /-! Identity on the actual special fiber is equivalent to fixing its |
| 39 | actual closed immersion. This also detects maps built in affine coordinates. -/ |
| 40 | |
| 41 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 42 | |
| 43 | theorem dualReduction_map_identity_iff (k : Type) [Field k] |
| 44 | {X : Over (Spec (.of (DualNumber k)))} (f : X ⟶ X) : |
| 45 | (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map f = 𝟙 _ ↔ |
| 46 | VaryingDualReduction.dualFamilyReduction k X ≫ f.left = VaryingDualReduction.dualFamilyReduction k X := by |
| 47 | constructor |
| 48 | · intro h |
| 49 | have hh := congrArg Over.Hom.left h |
| 50 | exact (VaryingDualOpenFactorization.dualFamilyReduction_natural k f).trans |
| 51 | ((congrArg (fun q => q ≫ VaryingDualReduction.dualFamilyReduction k X) hh).trans (Category.id_comp _)) |
| 52 | · intro h |
| 53 | have := VaryingDualReduction.dualFamilyReduction_closed k X |
| 54 | have : Mono (VaryingDualReduction.dualFamilyReduction k X) := inferInstance |
| 55 | apply Over.OverMorphism.ext |
| 56 | apply (cancel_mono (VaryingDualReduction.dualFamilyReduction k X)).mp |
| 57 | exact (VaryingDualOpenFactorization.dualFamilyReduction_natural k f).symm.trans (h.trans (Category.id_comp _).symm) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.ReductionFixedMorphisms |