Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
21 changed files
with
298 additions
and
2,000 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
#!/bin/sh | #!/bin/sh | ||
|
|
||
find . \( -name '*.sml' -o -name '*.sig' \) \! -name '*Theory.sml' \! -name '*Theory.sig' -exec grep -q ' \+$' \{\} \; -print -exec perl -i -pe 's/ +$//;' \{\} + | find . \( -name '*.sml' -o -name '*.sig' -o -name '*.tex' -o -name '*.ML' \) \! -name '*ML.sml' \! -name '*Theory.sml' \! -name '*Theory.sig' -exec grep -q ' \+$' \{\} \; -print -exec perl -i -pe 's/ +$//;' \{\} + |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,38 @@ | |||
\DOC | |||
|
|||
\TYPE {RESORT_EXISTS_CONV : (term list -> term list) -> conv} | |||
|
|||
\SYNOPSIS | |||
Reorders bound variables under existential quantifiers. | |||
|
|||
\KEYWORDS | |||
|
|||
\DESCRIBE | |||
|
|||
A call to {RESORT_EXISTS_CONV f t} strips the outer | |||
existentially-quantified variables of {t}, giving a list {vs}, such that | |||
{t} is of the form {?vs. body}. The list {vs} is then passed to the | |||
function argument {f}. The result of the call {f vs} is expected to | |||
be a new list of variables {vs'}, and the result of the conversion is | |||
the theorem | |||
{ | |||
|- (?vs. body) <=> (?vs'. body) | |||
} | |||
The function {f} is generally expected to return a permutation of the | |||
variables appearing in the term {vs}, but may in fact introduce fresh | |||
variables that are fresh for {body}, and may also remove variables | |||
from {vs} that also don't appear in {body}. | |||
|
|||
\FAILURE | |||
Given a term {t}, fails if {t} is not of boolean type. Fails if when | |||
applied to the outermost existentially quantified variables (permitted | |||
to be the empty list) the function {f} returns a list of terms that | |||
are not all variables. Also fails if either {f} returns a list that | |||
does not include variables from {vs} that appear in the body of {t}, | |||
or if it includes variables that are in the body, but which were not | |||
originally bound. | |||
|
|||
\SEEALSO | |||
Conv.RESORT_FORALL_CONV. | |||
|
|||
\ENDDOC |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,38 @@ | |||
\DOC | |||
|
|||
\TYPE {RESORT_FORALL_CONV : (term list -> term list) -> conv} | |||
|
|||
\SYNOPSIS | |||
Reorders bound variables under universal quantifiers. | |||
|
|||
\KEYWORDS | |||
|
|||
\DESCRIBE | |||
|
|||
A call to {RESORT_FORALL_CONV f t} strips the outer | |||
universally-quantified variables of {t}, giving a list {vs}, such that | |||
{t} is of the form {!vs. body}. The list {vs} is then passed to the | |||
function argument {f}. The result of the call {f vs} is expected to | |||
be a new list of variables {vs'}, and the result of the conversion is | |||
the theorem | |||
{ | |||
|- (!vs. body) <=> (!vs'. body) | |||
} | |||
The function {f} is generally expected to return a permutation of the | |||
variables appearing in the term {vs}, but may in fact introduce fresh | |||
variables that are fresh for {body}, and may also remove variables | |||
from {vs} that also don't appear in {body}. | |||
|
|||
\FAILURE | |||
Given a term {t}, fails if {t} is not of boolean type. Fails if when | |||
applied to the outermost universally quantified variables (permitted | |||
to be the empty list) the function {f} returns a list of terms that | |||
are not all variables. Also fails if either {f} returns a list that | |||
does not include variables from {vs} that appear in the body of {t}, | |||
or if it includes variables that are in the body, but which were not | |||
originally bound. | |||
|
|||
\SEEALSO | |||
Conv.RESORT_EXISTS_CONV. | |||
|
|||
\ENDDOC |
Oops, something went wrong.