Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
2670d6f9
Commit
2670d6f9
authored
Jan 22, 2018
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tests with empty sessions from the gallery.
parent
143d49dd
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
44 deletions
+8
-44
bench/typing/good/20610.mlw
bench/typing/good/20610.mlw
+0
-0
bench/typing/good/24_coercions.mlw
bench/typing/good/24_coercions.mlw
+8
-11
bench/typing/good/43_range_module.mlw
bench/typing/good/43_range_module.mlw
+0
-0
examples/bts/20610/why3session.xml
examples/bts/20610/why3session.xml
+0
-5
examples/bts/20610/why3shapes.gz
examples/bts/20610/why3shapes.gz
+0
-0
examples/bts/24_coercions/why3session.xml
examples/bts/24_coercions/why3session.xml
+0
-19
examples/bts/24_coercions/why3shapes.gz
examples/bts/24_coercions/why3shapes.gz
+0
-0
examples/bts/43_range_module/why3session.xml
examples/bts/43_range_module/why3session.xml
+0
-9
examples/bts/43_range_module/why3shapes.gz
examples/bts/43_range_module/why3shapes.gz
+0
-0
No files found.
examples/bts
/20610.mlw
→
bench/typing/good
/20610.mlw
View file @
2670d6f9
File moved
examples/bts
/24_coercions.mlw
→
bench/typing/good
/24_coercions.mlw
View file @
2670d6f9
module Issue24
use import int.Int
type byte = < range 0 255 >
meta coercion function byte'int
(* (42:byte) is coerced to (byte'int (42:byte)) *)
goal g : (42:byte) = 2 * 21
(* we should be able to do:
replace 2 (3:byte)
that is (3:byte) should be coerced to (byte'int (3:byte))
*)
goal g2: (3:byte) = 4
(*
goal g1: (if true then 2 else (3:byte)) = 4
*)
end
\ No newline at end of file
end
examples/bts
/43_range_module.mlw
→
bench/typing/good
/43_range_module.mlw
View file @
2670d6f9
File moved
examples/bts/20610/why3session.xml
deleted
100644 → 0
View file @
143d49dd
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE why3session PUBLIC "-//Why3//proof session v5//EN"
"http://why3.lri.fr/why3session.dtd">
<why3session
shape_version=
"4"
>
</why3session>
examples/bts/20610/why3shapes.gz
deleted
100644 → 0
View file @
143d49dd
File deleted
examples/bts/24_coercions/why3session.xml
deleted
100644 → 0
View file @
143d49dd
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE why3session PUBLIC "-//Why3//proof session v5//EN"
"http://why3.lri.fr/why3session.dtd">
<why3session
shape_version=
"4"
>
<file
name=
"../24_coercions.mlw"
>
<theory
name=
"Issue24"
sum=
"a27c7cf4122eba5663023be8c3834a97"
>
<goal
name=
"g"
>
</goal>
<goal
name=
"g2"
>
<transf
name=
"cut"
arg1=
"(2 = (3:byte))"
>
<goal
name=
"g2.0"
>
</goal>
<goal
name=
"g2.1"
>
</goal>
</transf>
</goal>
</theory>
</file>
</why3session>
examples/bts/24_coercions/why3shapes.gz
deleted
100644 → 0
View file @
143d49dd
File deleted
examples/bts/43_range_module/why3session.xml
deleted
100644 → 0
View file @
143d49dd
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE why3session PUBLIC "-//Why3//proof session v5//EN"
"http://why3.lri.fr/why3session.dtd">
<why3session
shape_version=
"4"
>
<file
name=
"../43_range_module.mlw"
proved=
"true"
>
<theory
name=
"Issue43"
proved=
"true"
sum=
"d41d8cd98f00b204e9800998ecf8427e"
>
</theory>
</file>
</why3session>
examples/bts/43_range_module/why3shapes.gz
deleted
100644 → 0
View file @
143d49dd
File deleted
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