use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET948 method antisymmetry_r2_hidden.
/**
* Returns antisymmetry_r2_hidden axiom.
*
* @return antisymmetry_r2_hidden
*/
public final Formula antisymmetry_r2_hidden() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
return in(a, b).implies(in(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 SET948 method d3_tarski.
/**
* Returns d3_tarski axiom.
*
* @return d3_tarski
*/
public final Formula d3_tarski() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
return subset(a, b).iff(in.join(a).in(in.join(b))).forAll(a.oneOf(UNIV).and(b.oneOf(UNIV)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET948 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)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET948 method t101_zfmisc_1.
/**
* Returns t101_zfmisc_1 conjecture.
*
* @return t101_zfmisc_1
*/
public final Formula t101_zfmisc_1() {
final Variable a = Variable.unary("A");
final Variable b = Variable.unary("B");
final Variable c = Variable.unary("C");
final Variable d = Variable.unary("D");
final Formula f0 = in(c.union(d), set_union2(a, b)).implies(c.eq(d).or(disjoint(c, c))).forAll(c.oneOf(UNIV).and(d.oneOf(UNIV)));
final Formula f1 = union(set_intersection2(a, b)).eq(set_intersection2(union(a), union(b)));
return f0.implies(f1).forAll(a.oneOf(UNIV).and(b.oneOf(UNIV)));
}
use of kodkod.ast.Variable in project org.alloytools.alloy by AlloyTools.
the class SET948 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)));
}
Aggregations