Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Alethe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
veriT
Alethe
Commits
de29f8f1
Commit
de29f8f1
authored
8 months ago
by
Hans-Jörg
Browse files
Options
Downloads
Patches
Plain Diff
Clarify that symbols that overlap with numbers are not allowed
parent
0e14e021
No related branches found
Branches containing commit
No related tags found
1 merge request
!5
Document cvc5-style numerals
Pipeline
#44164
passed
8 months ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
spec/changelog.tex
+5
-7
5 additions, 7 deletions
spec/changelog.tex
spec/doc.tex
+18
-5
18 additions, 5 deletions
spec/doc.tex
with
23 additions
and
12 deletions
spec/changelog.tex
+
5
−
7
View file @
de29f8f1
...
@@ -22,7 +22,7 @@ Breaking changes:
...
@@ -22,7 +22,7 @@ Breaking changes:
be
\texttt
{
(x S) (:= (y S) x)
}
.
be
\texttt
{
(x S) (:= (y S) x)
}
.
\item
The arguments for
\proofRule
{
forall
_
inst
}
have been changed to
\item
The arguments for
\proofRule
{
forall
_
inst
}
have been changed to
no longer take the shape of bindings using
\texttt
{
(:= x c)
}
.
no longer take the shape of bindings using
\texttt
{
(:= x c)
}
.
Instead, the list of instatiation terms must follow the variable
Instead, the list of insta
n
tiation terms must follow the variable
order and cover all the respective bound variables.
order and cover all the respective bound variables.
\item
The rules
\proofRule
{
and
_
pos
}
,
\proofRule
{
or
_
neg
}
,
\proofRule
{
and
}
,
\item
The rules
\proofRule
{
and
_
pos
}
,
\proofRule
{
or
_
neg
}
,
\proofRule
{
and
}
,
\proofRule
{
not
_
or
}
now have one argument that indicates which subterm
\proofRule
{
not
_
or
}
now have one argument that indicates which subterm
...
@@ -31,12 +31,10 @@ Breaking changes:
...
@@ -31,12 +31,10 @@ Breaking changes:
for
\proofRule
{
la
_
generic
}
.
for
\proofRule
{
la
_
generic
}
.
\item
Restrict sorting of numbers such that the sort of a constant is
\item
Restrict sorting of numbers such that the sort of a constant is
only determined by its syntactic category.
only determined by its syntactic category.
\item
The arguments for
\proofRule
{
forall
_
inst
}
have been changed to
\item
Add new syntax for decimal and negative numbers and clarify that
no longer take the shape of bindings using
\texttt
{
(:= x c)
}
.
the set of allowed symbols is restricted to not conflict with this
Instead, the list of instatiation terms must follow the variable
new syntax.
order and cover all the respective bound variables.
\item
Always use decimals for the constants in
\proofRule
{
la
_
generic
}
.
\item
Add new syntax for decimal and negative numbers and use it
for
\proofRule
{
la
_
generic
}
.
\item
Restrict sorting of numbers such that the sort of a constant is
\item
Restrict sorting of numbers such that the sort of a constant is
only determined by its syntactic category.
only determined by its syntactic category.
\end{itemize}
\end{itemize}
...
...
This diff is collapsed.
Click to expand it.
spec/doc.tex
+
18
−
5
View file @
de29f8f1
...
@@ -691,6 +691,12 @@ An Alethe proof is a list of commands.
...
@@ -691,6 +691,12 @@ An Alethe proof is a list of commands.
\begin{figure}
[t]
\begin{figure}
[t]
\[
\[
\begin
{
array
}{
r c l
}
\begin
{
array
}{
r c l
}
\multicolumn
{
3
}{
c
}{
\text
{
A
}
\grNT
{
symbol
}
\text
{
is an SMT
-
LIB
}
\grNT
{
symbol
}
\text
{
that is not a
}}
\\
&
&
-
\grNT
{
numeral
}
/
\grNT
{
positive
\_
numeral
}
,
\\
&
&
-
\grNT
{
numeral
}
,
\text
{
or
}
-
\grNT
{
decimal
}
.
\\
\grNT
{
proof
}
&
\grRule
&
\grNT
{
proof
\_
command
}^{
*
}
\\
\grNT
{
proof
}
&
\grRule
&
\grNT
{
proof
\_
command
}^{
*
}
\\
\grNT
{
proof
\_
command
}
&
\grRule
&
\textAlethe
{
(
assume
}
\;
\grNT
{
symbol
}
\;
\grNT
{
proof
\_
term
}
\;\grNT
{
attribute
}^{
*
}
\,\textAlethe
{
)
}
\\
\grNT
{
proof
\_
command
}
&
\grRule
&
\textAlethe
{
(
assume
}
\;
\grNT
{
symbol
}
\;
\grNT
{
proof
\_
term
}
\;\grNT
{
attribute
}^{
*
}
\,\textAlethe
{
)
}
\\
&
\grOr
&
\textAlethe
{
(
step
}
\;
\grNT
{
symbol
}
\;
\grNT
{
clause
}
&
\grOr
&
\textAlethe
{
(
step
}
\;
\grNT
{
symbol
}
\;
\grNT
{
clause
}
...
@@ -715,9 +721,9 @@ An Alethe proof is a list of commands.
...
@@ -715,9 +721,9 @@ An Alethe proof is a list of commands.
\grNT
{
context
\_
assignment
}
&
\grRule
&
\grNT
{
sorted
\_
var
}
\\
\grNT
{
context
\_
assignment
}
&
\grRule
&
\grNT
{
sorted
\_
var
}
\\
&
\grOr
&
\textAlethe
{
(
:
=
}
\,
\grNT
{
sorted
\_
var
}
\;\grNT
{
proof
\_
term
}
\,\textAlethe
{
)
}
\\
&
\grOr
&
\textAlethe
{
(
:
=
}
\,
\grNT
{
sorted
\_
var
}
\;\grNT
{
proof
\_
term
}
\,\textAlethe
{
)
}
\\
\grNT
{
positive
\_
numeral
}
&
\grRule
&
\text
{
any
}
\grNT
{
numeral
}
\text
{
except
}
0
\\
\grNT
{
positive
\_
numeral
}
&
\grRule
&
\text
{
any
}
\grNT
{
numeral
}
\text
{
except
}
0
\\
\grNT
{
rational
}
&
\grRule
&
-
^{
?
}
\grNT
{
numeral
}
/
\grNT
{
positive
\_
numeral
}
\\
\grNT
{
rational
}
&
\grRule
&
-
^{
?
}
\grNT
{
numeral
}
/
\grNT
{
positive
\_
numeral
}
\\
\grNT
{
nonpositive
\_
numeral
}
&
\grRule
&
-
\grNT
{
numeral
}
\\
\grNT
{
nonpositive
\_
numeral
}
&
\grRule
&
-
\grNT
{
numeral
}
\\
\grNT
{
nonpositive
\_
decimal
}
&
\grRule
&
-
\grNT
{
decimal
}
\\
\grNT
{
nonpositive
\_
decimal
}
&
\grRule
&
-
\grNT
{
decimal
}
\\
\end
{
array
}
\end
{
array
}
\]
\]
\caption
{
The proof grammar.
}
\caption
{
The proof grammar.
}
...
@@ -747,10 +753,17 @@ is based on the {\smtlib} grammar, as defined in the {\smtlib}
...
@@ -747,10 +753,17 @@ is based on the {\smtlib} grammar, as defined in the {\smtlib}
standard~
\cite
[Appendix~B]
{
SMTLIB
}
. The non-terminals
standard~
\cite
[Appendix~B]
{
SMTLIB
}
. The non-terminals
$
\grNT
{
attribute
}$
,
$
\grNT
{
attribute
}$
,
$
\grNT
{
function
\_
def
}$
,
$
\grNT
{
function
\_
def
}$
,
$
\grNT
{
sorted
\_
var
}$
,
$
\grNT
{
sorted
\_
var
}$
, and
$
\grNT
{
symbol
}$
, and
$
\grNT
{
term
}$
$
\grNT
{
term
}$
are as defined in the standard.
are as defined in the standard.
A special restriction applies to the
$
\grNT
{
symbol
}$
non-terminal.
Alethe has an extended set of number literals. Since these can start
with a negation sign, they overlap SMT-LIB's
$
\grNT
{
symbol
}$
non-terminal.
For example,
\inlineAlethe
{
-1
}
is a valid
$
\grNT
{
symbol
}$
in SMT-LIB.
These sequences cannot be used as symbols when using Alethe.
Note that symbols are also used to name user defined constants and functions
in the input problem. Hence, Alethe cannot express proofs about problems
that use such symbols.
Alethe proofs are a list of commands.
Alethe proofs are a list of commands.
The
\inlineAlethe
{
assume
}
command introduces a new assumption. While this
The
\inlineAlethe
{
assume
}
command introduces a new assumption. While this
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment