File tree Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,6 @@ internalize tools =
198
198
where
199
199
internalize1 =
200
200
List. internalize tools
201
- . Map. internalize tools
202
- . Set. internalize tools
201
+ . Map. internalize
202
+ . Set. internalize
203
203
. InternalBytes. internalize
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import Data.Text
52
52
import Kore.Attribute.Hook
53
53
( Hook (.. )
54
54
)
55
- import qualified Kore.Attribute.Symbol as Attribute
56
55
import qualified Kore.Builtin.AssociativeCommutative as Ac
57
56
import Kore.Builtin.Attributes
58
57
( isConstructorModulo_
@@ -485,18 +484,14 @@ internalize subterms.
485
484
486
485
internalize
487
486
:: InternalVariable variable
488
- => SmtMetadataTools Attribute. Symbol
489
- -> TermLike variable
487
+ => TermLike variable
490
488
-> TermLike variable
491
- internalize tools termLike
492
- | fromMaybe False (isMapSort tools sort')
489
+ internalize termLike
493
490
-- Ac.toNormalized is greedy about 'normalizing' opaque terms, we should only
494
491
-- apply it if we know the term head is a constructor-like symbol.
495
- , App_ symbol _ <- termLike
492
+ | App_ symbol _ <- termLike
496
493
, isConstructorModulo_ symbol = Ac. toNormalizedInternalMap termLike
497
494
| otherwise = termLike
498
- where
499
- sort' = termLikeSort termLike
500
495
501
496
{- | Simplify the conjunction or equality of two concrete Map domain values.
502
497
Original file line number Diff line number Diff line change @@ -52,9 +52,6 @@ import qualified Data.Set as Set
52
52
import Data.Text
53
53
( Text
54
54
)
55
- import qualified Kore.Attribute.Symbol as Attribute
56
- ( Symbol
57
- )
58
55
import qualified Kore.Builtin.AssociativeCommutative as Ac
59
56
import Kore.Builtin.Attributes
60
57
( isConstructorModulo_
@@ -482,18 +479,14 @@ internalize subterms.
482
479
-}
483
480
internalize
484
481
:: InternalVariable variable
485
- => SmtMetadataTools Attribute. Symbol
486
- -> TermLike variable
482
+ => TermLike variable
487
483
-> TermLike variable
488
- internalize tools termLike
489
- | fromMaybe False (isSetSort tools sort')
484
+ internalize termLike
490
485
-- Ac.toNormalized is greedy about 'normalizing' opaque terms, we should only
491
486
-- apply it if we know the term head is a constructor-like symbol.
492
- , App_ symbol _ <- termLike
487
+ | App_ symbol _ <- termLike
493
488
, isConstructorModulo_ symbol = Ac. toNormalizedInternalSet termLike
494
489
| otherwise = termLike
495
- where
496
- sort' = termLikeSort termLike
497
490
498
491
{- | Simplify the conjunction or equality of two concrete Set domain values.
499
492
You can’t perform that action at this time.
0 commit comments