finmap icon indicating copy to clipboard operation
finmap copied to clipboard

Fset of a fintype

Open Nemeras opened this issue 6 years ago • 3 comments

Hi, Is there a reason that a {fset T} with T a fintype isn't considered a fintype ?

Nemeras avatar Jun 26 '19 11:06 Nemeras

Is there a reason that a {fset T} with T a fintype isn't considered a fintype ?

What do you mean "isn't considered a fintype" ?

CohenCyril avatar Jun 26 '19 11:06 CohenCyril

I would expect this to work:

From mathcomp Require Import all_ssreflect finmap.

Parameter T : finType.

Check [finType of {fset T}].

strub avatar Jun 26 '19 11:06 strub

Ah ok, sure, no reason except I forgot ... so please submit a PR if you wish.

CohenCyril avatar Jun 26 '19 12:06 CohenCyril