use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class MGT066 method meaningPostulateGreaterComparable.
/**
* Returns meaning_postulate_greater_comparable
*
* @return meaning_postulate_greater_comparable
*/
public final Formula meaningPostulateGreaterComparable() {
final Variable x = Variable.unary("X");
final Variable y = Variable.unary("Y");
return x.eq(y).or(y.in(x.join(lt))).or(x.in(y.join(lt))).forAll(x.oneOf(Expression.UNIV).and(y.oneOf(Expression.UNIV)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET943 method t95_zfmisc_1.
/**
* Returns t95_zfmisc_1 axiom.
*
* @return t95_zfmisc_1
*/
public final Formula t95_zfmisc_1() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
return subset(a, b).implies(subset(union(a), union(b))).forAll(a.oneOf(UNIV).and(b.oneOf(UNIV)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET943 method fc3_xboole_0.
/**
* Returns fc3_xboole_0 axiom.
*
* @return fc3_xboole_0
*/
public final Formula fc3_xboole_0() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
return empty(a).not().implies(empty(set_union2(b, a)).not()).forAll(a.oneOf(UNIV).and(b.oneOf(UNIV)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET943 method d4_tarski.
/**
* Returns d4_tarski axiom.
*
* @return d4_tarski
*/
public final Formula d4_tarski() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
return b.eq(union(a)).iff(in.join(b).eq(in.join(in.join(a)))).forAll(a.oneOf(UNIV).and(b.oneOf(UNIV)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET943 method d10_xboole_0.
/**
* Returns d10_xboole_0 axiom.
*
* @return d10_xboole_0
*/
public final Formula d10_xboole_0() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
return a.eq(b).iff(subset(a, b).and(subset(b, a))).forAll(a.oneOf(UNIV).and(b.oneOf(UNIV)));
}
Aggregations