repo.or.cz
/
why3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'fix_another_sessions' into 'master'
[why3.git]
/
tests
/
test-ind.why
blob
519474faa4676920fc5011aa2e3fc904052c1e36
1
2
theory T
3
4
type list 'a = Nil | Cons 'a (list 'a)
5
6
function app (l1:list 'a) (l2:list 'a) : (list 'a) =
7
match l1 with
8
| Nil -> l2
9
| Cons x r -> Cons x (app r l2)
10
end
11
12
lemma app_nil : forall l:list 'a. app l Nil = l
13
14
type tree = Leaf int | Node tree tree
15
16
end
17