Merge branch '878-span-file-resolution-logic-different-for-module-identifiers' into...
[why3.git] / examples / bts / 19_apply_with.mlw
blob44d3f7d06f95cfd92564ab954b1bbae6be76c026
1 module I19_simplint
3   use int.Int
5   axiom H [@W:non_conservative_extension:N] : forall x y z. x < y -> y < z -> x < z
7   goal g: 0 < 2
9 end
11 module I19_simplpoly
13   type t
15   predicate r t t
17   axiom trans: forall x y z. r x y -> r y z -> r x z
19   constant a:t
20   constant b:t
21   constant c:t
23   axiom a1: r a b
25   axiom a2: r b c
27   goal test: r a c
29 end
31 module I19_simplpoly2
33   type t
34   type t'
36   predicate r 'a t t
38   axiom trans: forall a:'a. forall a':'a. forall x y z. r a x y -> r a y z -> r a' x z
40   constant a:t
41   constant b:t
42   constant c:t
44   axiom trans_eq: forall x y z. r 4 x y -> r 5 y z -> a = z
46   axiom a1: forall x:'a. r x a b
48   axiom a2: forall x:'a. r x b c
50   (* apply trans 1,b,b does not work *)
52   goal test: r 1 a c
53   (* apply trans with b *)
55 end