Skip to content

Commit 75b7721

Browse files
committed
fixed nl core axioms
1 parent 0979921 commit 75b7721

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nominal/core.mm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,24 @@ axiom F1 (alpha tau: Pattern) {a b: EVar} (phi: Pattern a b):
8888
(is_atom b alpha) ->
8989
(is_of_sort phi tau) ->
9090
((phi C= freshness a) /\ (phi C= freshness b) -> ((swap a b phi) == phi)) $;
91-
axiom F2 (alpha: Pattern) {a b: EVar}:
92-
$ is_atom_sort alpha $ >
93-
$ (is_atom a alpha) ->
94-
(is_atom b alpha) ->
95-
((b in freshness a) <-> (eVar a != eVar b)) $;
96-
axiom F3 (alpha1 alpha2: Pattern) {a b: EVar}:
91+
axiom F23 (alpha1 alpha2: Pattern) {a b: EVar}:
9792
$ is_atom_sort alpha1 $ >
9893
$ is_atom_sort alpha2 $ >
9994
$ (is_atom a alpha1) ->
10095
(is_atom b alpha2) ->
101-
(alpha1 != alpha2) ->
10296
(b in freshness a) $;
10397
axiom F4 (alpha tau phi: Pattern) {a: EVar}:
10498
$ is_atom_sort alpha $ >
10599
$ is_nominal_sort tau $ >
106100
$ (is_of_sort phi tau) ->
107101
(s_exists alpha a (phi C= freshness a)) $;
102+
axiom A1_same (alpha tau: Pattern) {a: EVar} (phi rho: Pattern a):
103+
$ is_atom_sort alpha $ >
104+
$ is_nominal_sort tau $ >
105+
$ (is_atom a alpha) ->
106+
(is_of_sort phi tau) ->
107+
(is_of_sort rho tau) ->
108+
(((abstraction (eVar a) phi) == (abstraction (eVar a) rho)) <-> (phi == rho)) $;
108109
axiom A1 (alpha tau: Pattern) {a b: EVar} (phi rho: Pattern a b):
109110
$ is_atom_sort alpha $ >
110111
$ is_nominal_sort tau $ >
@@ -113,7 +114,6 @@ axiom A1 (alpha tau: Pattern) {a b: EVar} (phi rho: Pattern a b):
113114
(is_of_sort phi tau) ->
114115
(is_of_sort rho tau) ->
115116
(((abstraction (eVar a) phi) == (abstraction (eVar b) rho)) <->
116-
((eVar a == eVar b) /\ (phi == rho)) \/
117117
((rho C= freshness a) /\ ((swap a b phi) == rho))) $;
118118
axiom A2 (alpha tau: Pattern) {x a y: EVar}:
119119
$ is_atom_sort alpha $ >

0 commit comments

Comments
 (0)