ivy/test/theorem3.ivy

36 строки
463 B
Plaintext
Исходник Постоянная ссылка Обычный вид История

2018-04-21 04:28:29 +03:00
#lang ivy1.7
isolate ob1 = {
specification {
theorem impi = {
function p : bool
function q : bool
{
property p
property q
}
property p -> q
}
}
}
theorem refl = {
type t
property X:t = X
}
relation a
type t1
var b : t1
object bar = {
theorem silly = {
property a -> (b = b)
}
proof apply ob1.impi; apply refl
}