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 =
198198 where
199199 internalize1 =
200200 List. internalize tools
201- . Map. internalize tools
202- . Set. internalize tools
201+ . Map. internalize
202+ . Set. internalize
203203 . InternalBytes. internalize
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import Data.Text
5252import Kore.Attribute.Hook
5353 ( Hook (.. )
5454 )
55- import qualified Kore.Attribute.Symbol as Attribute
5655import qualified Kore.Builtin.AssociativeCommutative as Ac
5756import Kore.Builtin.Attributes
5857 ( isConstructorModulo_
@@ -485,18 +484,14 @@ internalize subterms.
485484
486485internalize
487486 :: InternalVariable variable
488- => SmtMetadataTools Attribute. Symbol
489- -> TermLike variable
487+ => TermLike variable
490488 -> TermLike variable
491- internalize tools termLike
492- | fromMaybe False (isMapSort tools sort')
489+ internalize termLike
493490 -- Ac.toNormalized is greedy about 'normalizing' opaque terms, we should only
494491 -- apply it if we know the term head is a constructor-like symbol.
495- , App_ symbol _ <- termLike
492+ | App_ symbol _ <- termLike
496493 , isConstructorModulo_ symbol = Ac. toNormalizedInternalMap termLike
497494 | otherwise = termLike
498- where
499- sort' = termLikeSort termLike
500495
501496{- | Simplify the conjunction or equality of two concrete Map domain values.
502497
Original file line number Diff line number Diff line change @@ -52,9 +52,6 @@ import qualified Data.Set as Set
5252import Data.Text
5353 ( Text
5454 )
55- import qualified Kore.Attribute.Symbol as Attribute
56- ( Symbol
57- )
5855import qualified Kore.Builtin.AssociativeCommutative as Ac
5956import Kore.Builtin.Attributes
6057 ( isConstructorModulo_
@@ -482,18 +479,14 @@ internalize subterms.
482479 -}
483480internalize
484481 :: InternalVariable variable
485- => SmtMetadataTools Attribute. Symbol
486- -> TermLike variable
482+ => TermLike variable
487483 -> TermLike variable
488- internalize tools termLike
489- | fromMaybe False (isSetSort tools sort')
484+ internalize termLike
490485 -- Ac.toNormalized is greedy about 'normalizing' opaque terms, we should only
491486 -- apply it if we know the term head is a constructor-like symbol.
492- , App_ symbol _ <- termLike
487+ | App_ symbol _ <- termLike
493488 , isConstructorModulo_ symbol = Ac. toNormalizedInternalSet termLike
494489 | otherwise = termLike
495- where
496- sort' = termLikeSort termLike
497490
498491{- | Simplify the conjunction or equality of two concrete Set domain values.
499492
You can’t perform that action at this time.
0 commit comments