test.why 337 Bytes
Newer Older
1 2 3

(* test file *)

Jean-Christophe Filliâtre's avatar
Jean-Christophe Filliâtre committed
4
theory Test
Jean-Christophe Filliâtre's avatar
Jean-Christophe Filliâtre committed
5 6
  use import prelude.Int
  logic id(x: int) : int = x
7 8
  logic id2(x: int) : int = id(x)
  logic succ(x:int) : int = id(x+1)
Jean-Christophe Filliâtre's avatar
Jean-Christophe Filliâtre committed
9
  logic even(x: int) = 2*(x/2) = x
10
  goal G : forall x:int. 1 = succ(id2(zero))
Francois Bobot's avatar
Francois Bobot committed
11
  goal G2 : forall x:int. 0 = 1
Jean-Christophe Filliâtre's avatar
Jean-Christophe Filliâtre committed
12
end
Jean-Christophe Filliâtre's avatar
Jean-Christophe Filliâtre committed
13

Jean-Christophe Filliâtre's avatar
prelude  
Jean-Christophe Filliâtre committed
14 15 16 17 18
(*
Local Variables: 
compile-command: "make -C .. test"
End: 
*)
19