ivy/test/frag2.ivy

18 строки
240 B
XML

#lang ivy1.7
type t
interpret t -> int
function f(X:t) : t
function foo(X:t) = f(X) = X
# definition f(X) = X
function g(X:t) : t
var p : t
axiom foo(Y)
# result: An interpreted symbol is applied to a universally quantified variable