diff options
| author | Andreas Grois <andi@grois.info> | 2025-01-05 23:55:54 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2025-01-05 23:55:54 +0100 |
| commit | 4749b3ca572618fa1a7cdb17e2abba9b498279ca (patch) | |
| tree | 7636d21bfe2a014e710b05771fe7ea844e67311f /Common/Countable.lean | |
| parent | bbf615a66d1814ff196313b206cd3bcc239079c1 (diff) | |
Move AStar into a separte library and use it for Day17-1
Diffstat (limited to 'Common/Countable.lean')
| -rw-r--r-- | Common/Countable.lean | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Common/Countable.lean b/Common/Countable.lean deleted file mode 100644 index e19db99..0000000 --- a/Common/Countable.lean +++ /dev/null @@ -1,9 +0,0 @@ -import Common.Finite - -class Countable (α : Type u) where - enumerate : α → Nat - injective {a b : α} : enumerate a = enumerate b → a = b - -instance {α : Type u} [Finite α] : Countable α where - enumerate := Fin.val ∘ Finite.enumerate - injective := Finite.injective ∘ Fin.val_inj.mp |
