Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
126
Issues
126
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
f1943861
Commit
f1943861
authored
Sep 26, 2012
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning before install
parent
f374ae6a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
Makefile.in
Makefile.in
+5
-2
drivers/coq-realize.drv
drivers/coq-realize.drv
+1
-1
lib/coq/set/Set.v
lib/coq/set/Set.v
+4
-4
No files found.
Makefile.in
View file @
f1943861
...
...
@@ -212,9 +212,12 @@ clean::
# installation
###############
clean_old_install
:
rm
-f
$(BINDIR)
/why3
*
rm
-rf
$(DATADIR)
/why3
install_no_local
::
mkdir
-p
$(BINDIR)
rm
-rf
$(DATADIR)
/why3
mkdir
-p
$(DATADIR)
/why3
mkdir
-p
$(DATADIR)
/why3/images
mkdir
-p
$(DATADIR)
/why3/images/boomy
...
...
@@ -251,7 +254,7 @@ install install-lib:
@
echo
"Why is configured in local installation mode."
@
echo
"To install Why, run ./configure --disable-local ; make ; make install"
else
install
:
install_no_local
install
:
clean_old_install
install_no_local
install-lib
:
install_no_local_lib
endif
...
...
drivers/coq-realize.drv
View file @
f1943861
prelude "(* This file is generated by Why3's Coq driver *)"
prelude "(* This file is generated by Why3's Coq
-realize
driver *)"
prelude "(* Beware! Only edit allowed sections below *)"
printer "coq-realize"
...
...
lib/coq/set/Set.v
View file @
f1943861
(
*
This
file
is
generated
by
Why3
'
s
Coq
driver
*
)
(
*
This
file
is
generated
by
Why3
'
s
Coq
-
realize
driver
*
)
(
*
Beware
!
Only
edit
allowed
sections
below
*
)
Require
Import
BuiltIn
.
Require
BuiltIn
.
...
...
@@ -9,7 +9,7 @@ Lemma predicate_extensionality:
forall
A
(
P
Q
:
A
->
Prop
),
(
forall
x
,
P
x
<->
Q
x
)
->
P
=
Q
.
Admitted
.
(
*
"it is folklore that the two are consistent"
*
)
(
*
"it is folklore that the two
together
are consistent"
*
)
(
*
Why3
goal
*
)
Definition
set
:
forall
(
a
:
Type
)
{
a_WT
:
WhyType
a
}
,
Type
.
...
...
@@ -17,10 +17,10 @@ intros.
exact
(
a
->
Prop
).
Defined
.
Global
Instance
set_WhyType
:
forall
a
{
a_WT
:
WhyType
a
}
,
WhyType
(
set
a
).
Global
Instance
set_WhyType
:
forall
(
a
:
Type
)
{
a_WT
:
WhyType
a
}
,
WhyType
(
set
a
).
Proof
.
intros
.
exact
(
fun
_
=>
Tru
e
).
exact
(
fun
_
=>
Fals
e
).
Qed
.
(
*
Why3
goal
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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