diff options
| author | Andreas Grois <andi@grois.info> | 2024-12-21 21:37:51 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2024-12-21 21:37:51 +0100 |
| commit | b37fc3089eb0ca8fc37a82ae6d6071b0accbca19 (patch) | |
| tree | e500a5adc1a3f87a5e7f0608773dc12377e7af40 /Common/HashSet.lean | |
| parent | a6e4b8f15c28c374553684f63fa3f4108095da2d (diff) | |
Continue Day17
Diffstat (limited to 'Common/HashSet.lean')
| -rw-r--r-- | Common/HashSet.lean | 9 |
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 |
