summaryrefslogtreecommitdiff
path: root/Common/HashSet.lean
diff options
context:
space:
mode:
Diffstat (limited to 'Common/HashSet.lean')
-rw-r--r--Common/HashSet.lean9
1 files changed, 9 insertions, 0 deletions
diff --git a/Common/HashSet.lean b/Common/HashSet.lean
new file mode 100644
index 0000000..1845443
--- /dev/null
+++ b/Common/HashSet.lean
@@ -0,0 +1,9 @@
+import Std.Data.HashSet
+import Common.Finite
+
+open Std.HashSet
+namespace Std.HashSet
+
+theorem finite_size {α : Type u} [Finite α] [BEq α] [LawfulBEq α] [Hashable α] (set : Std.HashSet α) : set.size ≤ Finite.cardinality α := by
+
+ sorry