@@ -51,8 +51,8 @@ import Data.Void
51
51
import Language.CQL.Collage (Collage (.. ), assembleGens , attsFrom , fksFrom , typeOf )
52
52
import Language.CQL.Common (elem' , fromListAccum , section , toMapSafely , Deps (.. ), Err , Kind (INSTANCE ), MultiTyMap , TyMap , type (+ ))
53
53
import Language.CQL.Instance.Algebra (Algebra (.. ), aAtt , down1 , evalSchTerm , evalSchTerm' , nf , nf'' , repr'' )
54
- import Language.CQL.Instance.Presentation (Presentation (.. ), presToCol )
55
- import qualified Language.CQL.Instance.Presentation as IP (typecheck , Presentation (eqs ))
54
+ import Language.CQL.Instance.Presentation (Presentation (.. ))
55
+ import qualified Language.CQL.Instance.Presentation as IP (toCollage , typecheck , Presentation (eqs ))
56
56
import Language.CQL.Mapping as Mapping
57
57
import Language.CQL.Options
58
58
import Language.CQL.Prover
@@ -221,7 +221,7 @@ initialInstance p dp' sch = Instance sch p dp'' $ initialAlgebra
221
221
dp'' (EQ (lhs, rhs)) = dp' $ EQ (upp lhs, upp rhs)
222
222
initialAlgebra = simplifyAlg this
223
223
this = Algebra sch en' nf''' nf'''2 id ty' nf'''' repr'''' teqs'
224
- col = presToCol sch p
224
+ col = IP. toCollage sch p
225
225
ens' = assembleGens col (close col dp')
226
226
en' k = ens' ! k
227
227
@@ -601,7 +601,7 @@ evalSigmaInst
601
601
-> Instance var ty sym en fk att gen sk x y -> Options
602
602
-> Err (Instance var ty sym en' fk' att' gen sk (Carrier en' fk' gen ) (TalgGen en' fk' att' gen sk ))
603
603
evalSigmaInst f i o = do
604
- d <- createProver (presToCol s p) o
604
+ d <- createProver (IP. toCollage s p) o
605
605
return $ initialInstance p (\ (EQ (l, r)) -> prove d Map. empty (EQ (l, r))) s
606
606
where
607
607
p = subs f $ pres i
0 commit comments