Skip to content

Commit

Permalink
fix: at notation for ProjectiveSpectrum.StructureSheaf (#5758)
Browse files Browse the repository at this point in the history
Switches to `notation3` and eliminates dot notation so it can generate a pretty printer.
  • Loading branch information
kmill committed Jul 7, 2023
1 parent 38b0bb0 commit 88e1297
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ variable [CommRing R] [CommRing A] [Algebra R A]

variable (π’œ : β„• β†’ Submodule R A) [GradedAlgebra π’œ]

local macro "at " x:term : term => `(HomogeneousLocalization.AtPrime π’œ
($x : ProjectiveSpectrum.top π’œ).asHomogeneousIdeal.toIdeal)
local notation3 "at " x =>
HomogeneousLocalization.AtPrime π’œ
(HomogeneousIdeal.toIdeal (ProjectiveSpectrum.asHomogeneousIdeal x))

namespace ProjectiveSpectrum.StructureSheaf

Expand Down

0 comments on commit 88e1297

Please sign in to comment.