зеркало из https://github.com/microsoft/ivy.git
21 строка
220 B
Plaintext
21 строка
220 B
Plaintext
|
#lang ivy1.7
|
||
|
|
||
|
type t
|
||
|
|
||
|
schema foo = {
|
||
|
function q : t
|
||
|
{
|
||
|
function x : t
|
||
|
property x = q
|
||
|
}
|
||
|
property Y:t = Z
|
||
|
}
|
||
|
|
||
|
var x : t
|
||
|
var y : t
|
||
|
|
||
|
property x = y
|
||
|
proof
|
||
|
apply foo with q = x;
|
||
|
showgoals
|