Files
why3/lib/pvs/real/FromInt.pvs
Jean-Christophe Filliatre f607ce26bf PVS realizations updated
2013-04-25 17:01:55 +02:00

29 lines
682 B
Plaintext

FromInt: THEORY
BEGIN
IMPORTING int@Int
IMPORTING Real
% do not edit above this line
% Obsolete chunk zero
% zero: LEMMA (from_int(0) = 0)
% Obsolete chunk one
% one: LEMMA (from_int(1) = 1)
% Obsolete chunk add1
% add1: LEMMA FORALL (x:int, y:int):
% (from_int((x + y)) = (from_int(x) + from_int(y)))
% Obsolete chunk sub
% sub: LEMMA FORALL (x:int, y:int):
% (from_int((x - y)) = (from_int(x) - from_int(y)))
% Obsolete chunk mul
% mul: LEMMA FORALL (x:int, y:int):
% (from_int((x * y)) = (from_int(x) * from_int(y)))
% Obsolete chunk neg
% neg: LEMMA FORALL (x:int): (from_int((-x)) = (-from_int(x)))
END FromInt