use of kodkod.ast.Expression in project org.alloytools.alloy by AlloyTools.
the class MED001 method sn_cure_2.
/**
* Returns the sn_cure_2 axiom.
*
* @return sn_cure_2
*/
public final Formula sn_cure_2() {
final Variable x0 = Variable.unary("X0");
final Expression x1 = UNIV.difference(x0.join(gt));
final Formula f0 = x1.in(releaselg).not().and(x0.in(bcapacitysn)).and(x0.in(qilt27).not()).and(x0.join(gt).in(conditionhyper));
return f0.implies(x1.in(conditionnormo)).forAll(x0.oneOf(UNIV));
}
use of kodkod.ast.Expression in project org.alloytools.alloy by AlloyTools.
the class MED001 method sn_cure_1.
/**
* Returns the sn_cure_1 axiom.
*
* @return sn_cure_1
*/
public final Formula sn_cure_1() {
final Variable x0 = Variable.unary("X0");
final Expression x1 = UNIV.difference(x0.join(gt));
final Formula f0 = x1.in(bsecretioni).and(x0.in(bcapacitysn)).and(x0.in(qilt27)).and(x0.join(gt).in(conditionhyper));
return f0.implies(x1.in(conditionnormo)).forAll(x0.oneOf(UNIV));
}
use of kodkod.ast.Expression in project org.alloytools.alloy by AlloyTools.
the class MED001 method su_completion.
/**
* Returns the su_completion axiom.
*
* @return su_completion
*/
public final Formula su_completion() {
final Variable x0 = Variable.unary("X0");
final Expression x1 = UNIV.difference(x0.join(gt));
final Formula f0 = x1.in(bsecretioni);
return f0.implies(x1.in(drugsu).and(x0.in(bcapacityex).not())).forAll(x0.oneOf(UNIV));
}
use of kodkod.ast.Expression in project org.alloytools.alloy by AlloyTools.
the class MED001 method ne_cure.
/**
* Returns the ne_cure axiom.
*
* @return ne_cure
*/
public final Formula ne_cure() {
final Variable x0 = Variable.unary("X0");
final Expression x1 = UNIV.difference(x0.join(gt));
final Formula f0 = x1.in(releaselg).not().or(x1.in(uptakepg)).and(x0.in(bcapacityne)).and(x1.in(bsecretioni)).and(x0.join(gt).in(conditionhyper));
return f0.implies(x1.in(conditionnormo)).forAll(x0.oneOf(UNIV));
}
use of kodkod.ast.Expression in project org.alloytools.alloy by AlloyTools.
the class MED001 method trans_ax2.
/**
* Returns the trans_ax2 axiom.
*
* @return trans_ax2
*/
public final Formula trans_ax2() {
final Variable x0 = Variable.unary("X0");
final Expression x1 = UNIV.difference(x0.join(gt));
final Formula f0 = x0.in(s1).and(x1.in(conditionnormo).not());
final Formula f1 = x1.intersection(s2).intersection(bcapacityne.union(bcapacityex)).some().and(x1.join(gt).in(conditionhyper));
return f0.implies(f1).forAll(x0.oneOf(UNIV));
}
Aggregations