Closed MatthiasHu closed 7 months ago
Nice - looks good to me. Maybe @mzeuner has something to say as well.
Amazing, I don't know how I convinced myself that invElPropElimN
would not work for n = 0
.
I think this PR can be merged.
Ok, thanks. I hope it is ok if I merge this myself then.
This PR slightly simplifies the proof of
invElPropElimN
inCubical/Algebra/CommRing/Localisation/InvertingElements.agda
and drops the unnecessary restriction to positive numbers (suc n
).This slightly simplifies two other things as well:
suc n
byn
in the whole fileCubical/Algebra/CommRing/Localisation/Limit.agda
.isSheaf𝓞ᴮ
inCubical/Algebra/ZariskiLattice/StructureSheaf.agda
.Disclaimer: I did not read/understand all of the code in which I replaced
(suc n)
withn
. :-) But it only makes all statements stronger as far as I can see.[I found this potential for improvement while reviewing #1086, and that PR will also be slightly simplified by the changes proposed here.]