Switch maps (and consequently most of the code) to using instances

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2025-01-04 21:16:22 -08:00
parent d90b544436
commit d96eb97b69
16 changed files with 257 additions and 240 deletions

View File

@@ -39,7 +39,7 @@ data _∈ᵇ_ : String → BasicStmt → Set where
in←₁ : ∀ {k : String} {e : Expr} → k ∈ᵇ (k ← e)
in←₂ : ∀ {k k' : String} {e : Expr} → k ∈ᵉ e → k ∈ᵇ (k' ← e)
open import Lattice.MapSet (record { R-dec = String._≟_ })
open import Lattice.MapSet String {{record { R-dec = String._≟_ }}} _
renaming
( MapSet to StringSet
; insert to insertˢ