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
Considering the type: Definition total_map (A:Type) := nat -> A.
Assuming that as a default, we let A be nat. Is there any support for "showing" an instance of this type? I can imagine that to prove decidability you could define equality as f1 = f2 <-> forall n, f1 n = f2 n and the this would easy to prove decidability for because nat is decidable. Similar for a generator, we could just generate nats and populate the function. But, I am not sure if it is possible to show an instance of a total_map. Is it? Or is there some support for it?
The text was updated successfully, but these errors were encountered:
Considering the type:
Definition total_map (A:Type) := nat -> A.
Assuming that as a default, we let
A
benat
. Is there any support for "showing" an instance of this type? I can imagine that to prove decidability you could define equality asf1 = f2 <-> forall n, f1 n = f2 n
and the this would easy to prove decidability for becausenat
is decidable. Similar for a generator, we could just generate nats and populate the function. But, I am not sure if it is possible to show an instance of a total_map. Is it? Or is there some support for it?The text was updated successfully, but these errors were encountered: