You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of indices (which nest), every concrete 64 bit word has 2080S constructors, even though it has only 64 WS constructors. Should we opt for a less intrinisically dependently typed variant like Word s := {n:N | log n< s}?
Fixpoint sumFirstN (n : nat) : nat :=
match n with
| O => O
| S n => (S n) + (sumFirstN n)
end.
Eval compute in (sumFirstN 64)
The text was updated successfully, but these errors were encountered:
Because of indices (which nest), every concrete 64 bit word has
2080
S
constructors, even though it has only 64WS
constructors. Should we opt for a less intrinisically dependently typed variant likeWord s := {n:N | log n< s}
?The text was updated successfully, but these errors were encountered: