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:
@@ -2,13 +2,13 @@ open import Language hiding (_[_])
|
||||
open import Lattice
|
||||
|
||||
module Analysis.Forward.Evaluation
|
||||
{L : Set} {h}
|
||||
(L : Set) {h}
|
||||
{_≈ˡ_ : L → L → Set} {_⊔ˡ_ : L → L → L} {_⊓ˡ_ : L → L → L}
|
||||
(isFiniteHeightLatticeˡ : IsFiniteHeightLattice L h _≈ˡ_ _⊔ˡ_ _⊓ˡ_)
|
||||
(≈ˡ-dec : IsDecidable _≈ˡ_)
|
||||
{{isFiniteHeightLatticeˡ : IsFiniteHeightLattice L h _≈ˡ_ _⊔ˡ_ _⊓ˡ_}}
|
||||
{{≈ˡ-dec : IsDecidable _≈ˡ_}}
|
||||
(prog : Program) where
|
||||
|
||||
open import Analysis.Forward.Lattices isFiniteHeightLatticeˡ ≈ˡ-dec prog
|
||||
open import Analysis.Forward.Lattices L prog
|
||||
open import Data.Product using (_,_)
|
||||
|
||||
open IsFiniteHeightLattice isFiniteHeightLatticeˡ
|
||||
|
||||
Reference in New Issue
Block a user