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.NumberTheory.PadicHodge.IntegralComparison.Additive.OrderedCoverRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicOrdered.CechTransferCoordinates |
| 3 | |
| 4 | /-! # Ordered Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.OrderedCover.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual common affine refinements compare ordered additive totals |
| 11 | and retain the original resolution transfer. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.OrderedCoverRefinement |
| 18 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 19 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 20 | (U : ι → X.Opens) (V : κ → X.Opens) (W : ν → X.Opens) |
| 21 | (r : FormalCoproduct.mk ν W ⟶ FormalCoproduct.mk ι U) |
| 22 | (s : FormalCoproduct.mk ν W ⟶ FormalCoproduct.mk κ V) |
| 23 | (hU : iSup U = ⊤) (hV : iSup V = ⊤) (hW : iSup W = ⊤) |
| 24 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 25 | (haW : ∀ i, IsAffineOpen (W i)) |
| 26 | |
| 27 | def iso (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] (q : ℕ) := by |
| 28 | letI := OrderedCoverRefinement.homology_isIso U W r hU hW haU haW K q |
| 29 | letI := OrderedCoverRefinement.homology_isIso V W s hV hW haV haW K q |
| 30 | exact asIso (OrderedCoverRefinement.homology U W r K q) ≪≫ (asIso (OrderedCoverRefinement.homology V W s K q)).symm |
| 31 | |
| 32 | variable {P K T : CochainComplex X.Modules ℕ} |
| 33 | [∀ q, (P.X q).IsQuasicoherent] [∀ q, (K.X q).IsQuasicoherent] |
| 34 | [∀ q, (T.X q).IsQuasicoherent] |
| 35 | |
| 36 | theorem naturality (a : P ⟶ K) (q : ℕ) : |
| 37 | (OrderedCechConcentration.functor U q).map a ≫ |
| 38 | (iso U V W r s hU hV hW haU haV haW K q).hom = |
| 39 | (iso U V W r s hU hV hW haU haV haW P q).hom ≫ |
| 40 | (OrderedCechConcentration.functor V q).map a := by |
| 41 | let := OrderedCoverRefinement.homology_isIso V W s hV hW haV haW K q |
| 42 | let := OrderedCoverRefinement.homology_isIso V W s hV hW haV haW P q |
| 43 | apply (cancel_mono (OrderedCoverRefinement.homology V W s K q)).mp |
| 44 | simp only [iso, Iso.trans_hom, Iso.symm_hom, asIso_hom, asIso_inv, |
| 45 | Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 46 | rw [OrderedCoverRefinement.homology_naturality V W s a q, IsIso.inv_hom_id_assoc] |
| 47 | exact OrderedCoverRefinement.homology_naturality U W r a q |
| 48 | |
| 49 | variable (l : K ⟶ T) [QuasiIso l] (a : P ⟶ T) (q : ℕ) |
| 50 | |
| 51 | theorem transfer : |
| 52 | IntrinsicOrdered.CechTransferCoordinates.Intrinsic.genericMap (𝟙 X) U haU q l a ≫ |
| 53 | (iso U V W r s hU hV hW haU haV haW K q).hom = |
| 54 | (iso U V W r s hU hV hW haU haV haW P q).hom ≫ |
| 55 | IntrinsicOrdered.CechTransferCoordinates.Intrinsic.genericMap (𝟙 X) V haV q l a := by |
| 56 | let := IntrinsicOrdered.CechTransferCoordinates.Intrinsic.generic_left_isIso (𝟙 X) U haU q l |
| 57 | let := IntrinsicOrdered.CechTransferCoordinates.Intrinsic.generic_left_isIso (𝟙 X) V haV q l |
| 58 | apply (cancel_mono ((OrderedCechConcentration.functor V q).map l)).mp |
| 59 | have hl := naturality U V W r s hU hV hW haU haV haW l q |
| 60 | have ha := naturality U V W r s hU hV hW haU haV haW a q |
| 61 | change (((OrderedCechConcentration.functor U q).map a ≫ |
| 62 | inv ((OrderedCechConcentration.functor U q).map l)) ≫ |
| 63 | (iso U V W r s hU hV hW haU haV haW K q).hom) ≫ |
| 64 | (OrderedCechConcentration.functor V q).map l = |
| 65 | ((iso U V W r s hU hV hW haU haV haW P q).hom ≫ |
| 66 | ((OrderedCechConcentration.functor V q).map a ≫ |
| 67 | inv ((OrderedCechConcentration.functor V q).map l))) ≫ |
| 68 | (OrderedCechConcentration.functor V q).map l |
| 69 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 70 | rw [← hl, IsIso.inv_hom_id_assoc] |
| 71 | exact ha |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.OrderedCover.Comparison |