Closed nano-o closed 4 years ago
Do it with a substitution, like this:
#lang ivy1.7
include deduction
type t
theorem [thm1] {
relation p(X1:t,X2:t)
property forall X1,X2 . p(X1,X2)
}
proof {
apply introA<x1/x>;
showgoals;
apply introA<x2/x>;
showgoals
}
This gives
giuliano8.ivy: line 12: Proof goals:
theorem [sch25] {
relation p(V0:t,V1:t)
individual x1 : t
property forall X2. p(x1,X2)
}
giuliano8.ivy: line 14: Proof goals:
theorem [sch25] {
relation p(V0:t,V1:t)
individual x1 : t
individual x2 : t
property p(x1,x2)
}
Consider
This fails with
error: symbol x is captured in substitution
. Can I make this work somehow? I'm trying to obtain a goal of the formp(x1,x2)
for two individualsx1
andx2
.