-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #650 from FissoreD/tc-all-in-namespace
[TC] all tc predicates are inside a tc namespace
- Loading branch information
Showing
38 changed files
with
1,006 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
(coq.theory | ||
(name elpi.apps.NES.tests) | ||
(package coq-elpi-tests) | ||
(theories elpi elpi.apps.NES)) | ||
|
||
(include_subdirs qualified) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
(coq.theory | ||
(name elpi.apps.eltac.tests) | ||
(package coq-elpi-tests) | ||
(theories elpi elpi.apps.eltac)) | ||
|
||
(include_subdirs qualified) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
(coq.theory | ||
(name elpi.apps.locker.tests) | ||
(package coq-elpi-tests) | ||
(theories elpi elpi.apps.locker)) | ||
|
||
(include_subdirs qualified) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
/* license: GNU Lesser General Public License Version 2.1 or later */ | ||
/* ------------------------------------------------------------------------- */ | ||
|
||
pred alias i:term, o:term. | ||
namespace tc { | ||
pred alias i:term, o:term. | ||
|
||
pred replace-with-alias.aux i:list term, o:list term, o:bool. | ||
replace-with-alias.aux [] [] ff. | ||
replace-with-alias.aux [X | Xs] [Y | Ys] B :- | ||
replace-with-alias X Y B', | ||
replace-with-alias.aux Xs Ys B'', | ||
or B' B'' B. | ||
|
||
% [replace-with-alias T T1 Changed] T1 is T where aliases are replaced | ||
pred replace-with-alias i:term, o:term, o:bool. | ||
replace-with-alias A Sol tt :- alias A Sol', | ||
replace-with-alias Sol' Sol _. | ||
replace-with-alias (app ToReplace) (app Sol) A :- | ||
replace-with-alias.aux ToReplace Sol A. | ||
replace-with-alias A A ff. | ||
pred replace-with-alias.aux i:list term, o:list term, o:bool. | ||
replace-with-alias.aux [] [] ff. | ||
replace-with-alias.aux [X | Xs] [Y | Ys] B :- | ||
replace-with-alias X Y B', | ||
replace-with-alias.aux Xs Ys B'', | ||
or B' B'' B. | ||
|
||
% [replace-with-alias T T1 Changed] T1 is T where aliases are replaced | ||
pred replace-with-alias i:term, o:term, o:bool. | ||
replace-with-alias A Sol tt :- alias A Sol', | ||
replace-with-alias Sol' Sol _. | ||
replace-with-alias (app ToReplace) (app Sol) A :- | ||
replace-with-alias.aux ToReplace Sol A. | ||
replace-with-alias A A ff. | ||
} |
Oops, something went wrong.