mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-10-03 18:27:13 +03:00
Add unification polishments to kind2.hvm2
This commit is contained in:
parent
3c89c73d2f
commit
5008491fe9
@ -465,12 +465,12 @@ termIdenticalGo a (Ann chk bVal bTyp) dep =
|
||||
(termIdentical a bVal dep)
|
||||
// termIdenticalGo (Met aUid aSpn) (Met bUid bSpn) dep =
|
||||
// envPure (eq aUid bUid)
|
||||
termIdenticalGo (Met aUid aSpn) b dep =
|
||||
// traceShow (stringJoin ["unify: ", (u60Show aUid), " x=", (termShow (Met aUid aSpn) dep), " t=", (termShow b dep)])
|
||||
(termUnify aUid aSpn b dep)
|
||||
termIdenticalGo a (Met bUid bSpn) dep =
|
||||
// traceShow (stringJoin ["unify: ", (u60Show bUid), " x=", (termShow (Met bUid bSpn) dep), " t=", (termShow a dep)])
|
||||
(termUnify bUid bSpn a dep)
|
||||
termIdenticalGo (Met aUid aSpn) b dep =
|
||||
// traceShow (stringJoin ["unify: ", (u60Show aUid), " x=", (termShow (Met aUid aSpn) dep), " t=", (termShow b dep)])
|
||||
(termUnify aUid aSpn b dep)
|
||||
termIdenticalGo (Hol aNam aCtx) b dep =
|
||||
(envPure True)
|
||||
termIdenticalGo a (Hol bNam bCtx) dep =
|
||||
|
Loading…
Reference in New Issue
Block a user