ivy/test/proving9a.ivy

25 строки
354 B
Plaintext
Исходник Обычный вид История

2017-07-03 04:56:32 +03:00
#lang ivy1.6
type t
function f(X:t) : t
isolate t_theory = {
object impl = {
interpret t -> int
definition f(X) = X + 1
}
property [expanding] f(X) > X
property [transitivity] X:t < Y & Y < Z -> X < Z
}
isolate extra = {
property [prop] f(f(X)) > X
}
with t_theory