Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
b1f7d829
Commit
b1f7d829
authored
May 12, 2010
by
Francois Bobot
Browse files
smt : Ajout du nom de l'axiom en commentaire
parent
6f082459
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/printer/smt.ml
View file @
b1f7d829
...
...
@@ -177,8 +177,9 @@ let print_decl drv fmt d = match d.d_node with
|
Dind
_
->
unsupportedDecl
d
"smt : inductive definition are not supported"
|
Dprop
(
Paxiom
,
pr
,
_
)
when
Driver
.
query_remove
drv
pr
.
pr_name
->
false
|
Dprop
(
Paxiom
,
_pr
,
f
)
->
fprintf
fmt
"@[<hov 2>:assumption@ %a@]@
\n
"
|
Dprop
(
Paxiom
,
pr
,
f
)
->
fprintf
fmt
"@[<hov 2>;; %s@
\n
:assumption@ %a@]@
\n
"
pr
.
pr_name
.
id_string
(
print_fmla
drv
)
f
;
true
|
Dprop
(
Pgoal
,
pr
,
f
)
->
fprintf
fmt
"@[:formula@
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment