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.Affine.ChartSections |
| 2 | |
| 3 | /-! # Isomorphism -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.Isomorphism |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism of the genuine affine section modules determines |
| 10 | the unique corresponding isomorphism of quasicoherent module sheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | (M N : (Spec (CommRingCat.of R)).Modules) [M.IsQuasicoherent] |
| 20 | |
| 21 | local notation "Γₐ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.InternalHom.sections (R := R) |
| 22 | |
| 23 | def hom (a : (Γₐ).obj M ⟶ (Γₐ).obj N) : M ⟶ N := |
| 24 | (Affine.InternalHom.homEquiv M N).symm a |
| 25 | |
| 26 | theorem sections_hom (a : (Γₐ).obj M ⟶ (Γₐ).obj N) : |
| 27 | (Γₐ).map (Isomorphism.hom M N a) = a := |
| 28 | (Affine.InternalHom.homEquiv_apply M N _).symm.trans |
| 29 | ((Affine.InternalHom.homEquiv M N).apply_symm_apply a) |
| 30 | |
| 31 | variable [N.IsQuasicoherent] |
| 32 | |
| 33 | def iso (e : (Γₐ).obj M ≅ (Γₐ).obj N) : M ≅ N where |
| 34 | hom := Isomorphism.hom M N e.hom |
| 35 | inv := Isomorphism.hom N M e.inv |
| 36 | hom_inv_id := by |
| 37 | apply (Affine.InternalHom.homEquiv M M).injective |
| 38 | calc |
| 39 | _ = (Γₐ).map (Isomorphism.hom M N e.hom ≫ Isomorphism.hom N M e.inv) := |
| 40 | Affine.InternalHom.homEquiv_apply M M _ |
| 41 | _ = (Γₐ).map (Isomorphism.hom M N e.hom) ≫ (Γₐ).map (Isomorphism.hom N M e.inv) := |
| 42 | (Γₐ).map_comp _ _ |
| 43 | _ = e.hom ≫ e.inv := congrArg₂ (fun a b => a ≫ b) |
| 44 | (sections_hom M N e.hom) (sections_hom N M e.inv) |
| 45 | _ = 𝟙 _ := e.hom_inv_id |
| 46 | _ = (Γₐ).map (𝟙 M) := ((Γₐ).map_id M).symm |
| 47 | _ = _ := (Affine.InternalHom.homEquiv_apply M M _).symm |
| 48 | inv_hom_id := by |
| 49 | apply (Affine.InternalHom.homEquiv N N).injective |
| 50 | calc |
| 51 | _ = (Γₐ).map (Isomorphism.hom N M e.inv ≫ Isomorphism.hom M N e.hom) := |
| 52 | Affine.InternalHom.homEquiv_apply N N _ |
| 53 | _ = (Γₐ).map (Isomorphism.hom N M e.inv) ≫ (Γₐ).map (Isomorphism.hom M N e.hom) := |
| 54 | (Γₐ).map_comp _ _ |
| 55 | _ = e.inv ≫ e.hom := congrArg₂ (fun a b => a ≫ b) |
| 56 | (sections_hom N M e.inv) (sections_hom M N e.hom) |
| 57 | _ = 𝟙 _ := e.inv_hom_id |
| 58 | _ = (Γₐ).map (𝟙 N) := ((Γₐ).map_id N).symm |
| 59 | _ = _ := (Affine.InternalHom.homEquiv_apply N N _).symm |
| 60 | |
| 61 | theorem sections_iso_hom (e : (Γₐ).obj M ≅ (Γₐ).obj N) : |
| 62 | (Γₐ).map (iso M N e).hom = e.hom := sections_hom M N e.hom |
| 63 | |
| 64 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 65 | (P Q : X.Modules) [P.IsQuasicoherent] [Q.IsQuasicoherent] |
| 66 | (e : (Affine.ModuleExactSections.sections U).obj P ≅ |
| 67 | (Affine.ModuleExactSections.sections U).obj Q) |
| 68 | |
| 69 | def chartIso : (AffineOpen.InternalHom.chartFunctor U hU).obj P ≅ |
| 70 | (AffineOpen.InternalHom.chartFunctor U hU).obj Q := by |
| 71 | letI := AffineOpen.InternalHom.chart_quasicoherent U hU P |
| 72 | letI := AffineOpen.InternalHom.chart_quasicoherent U hU Q |
| 73 | exact iso _ _ ((Affine.ChartSections.iso U hU P).symm ≪≫ e ≪≫ |
| 74 | Affine.ChartSections.iso U hU Q) |
| 75 | |
| 76 | def openIso : P.restrict U.ι ≅ Q.restrict U.ι := by |
| 77 | let F := Scheme.Modules.restrictFunctor hU.isoSpec.inv |
| 78 | letI : F.IsEquivalence := inferInstanceAs |
| 79 | (Scheme.Modules.restrictFunctor hU.isoSpec.symm.hom).IsEquivalence |
| 80 | exact (Functor.FullyFaithful.ofFullyFaithful F).preimageIso (chartIso U hU P Q e) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.Isomorphism |