Skip to content
Snippets Groups Projects
Commit fda4dbb9 authored by Ralf Jung's avatar Ralf Jung
Browse files

add SetUnfoldElemOf instance

parent 1f024e52
No related branches found
No related tags found
1 merge request!196add a function to obtain a set with all elements of a finite type
......@@ -883,6 +883,10 @@ Section fin_to_set.
Lemma elem_of_fin_to_set a : a fin_to_set A.
Proof. apply elem_of_list_to_set, elem_of_enum. Qed.
Global Instance set_unfold_fin_to_set a :
SetUnfoldElemOf a (fin_to_set A) True.
Proof. constructor. split; auto using elem_of_fin_to_set. Qed.
End fin_to_set.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment