Agda-stdlib: ``+-*-suc`` ?

Created on 13 May 2019  Â·  4Comments  Â·  Source: agda/agda-stdlib

Is not m*[1+n] a better name for +-*-suc ?

deprecation question

All 4 comments

I'm not sure m*[1+n] is that much clearer than +-*-suc.

Perhaps m*[1+n]≡m+m*n is clearer, but it's much longer...

It is a bit strange though that we have +-suc vs. +-*-suc. I understand that
the second one makes _+_ appear but it's essentially a lemma about _ * (suc _)
just like +-suc is essentially about _ + (suc _).

And to make matters more confusing in Data.Integer.Properties it's called [1+m]*n≡n+m*n.

That would be suc-* though rather than *-suc. ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mechvel picture mechvel  Â·  6Comments

JacquesCarette picture JacquesCarette  Â·  7Comments

oisdk picture oisdk  Â·  7Comments

gallais picture gallais  Â·  7Comments

WolframKahl picture WolframKahl  Â·  5Comments