19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

trait BooleanInterval<br />

extends { BooleanAlgebraBooleanInterval, ∩, ∪,SET COMPLEMENT,SYMDIFF,empty,universe,<br />

SetBoolean,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ∧,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ∨,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ∨,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ≡,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, =,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ↔,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ∧,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, ∨,<br />

BinaryIntervalContainmentBooleanInterval, Boolean, →,<br />

UnaryIntervalContainmentBooleanInterval, Boolean, ¬,<br />

GeneratorBoolean }<br />

comprises {}<br />

coercion (x:Boolean)<br />

opr ∧(self,other: BooleanInterval):BooleanInterval<br />

opr ∨(self,other: BooleanInterval):BooleanInterval<br />

opr ¬(self):BooleanInterval<br />

opr ∨(self,other: BooleanInterval):BooleanInterval<br />

opr ⊕(self,other: BooleanInterval):BooleanInterval<br />

opr ≡(self,other: BooleanInterval):BooleanInterval<br />

opr =(self,other: BooleanInterval):BooleanInterval<br />

opr ↔(self,other: BooleanInterval):BooleanInterval<br />

opr →(self,other: BooleanInterval):BooleanInterval<br />

opr ∧(self,other: BooleanInterval):BooleanInterval<br />

opr ∨(self,other: BooleanInterval):BooleanInterval<br />

opr ∈(other: Boolean,self):Boolean<br />

opr ∩(self,other: BooleanInterval):BooleanInterval<br />

opr ∪(self,other: BooleanInterval):BooleanInterval<br />

opr SET COMPLEMENT(self): BooleanInterval<br />

opr SYMDIFF(self,other: BooleanInterval): BooleanInterval<br />

opr \(self,other: BooleanInterval):BooleanInterval<br />

possibly(self):Boolean<br />

necessarily(self): Boolean<br />

certainly(self):Boolean<br />

getter empty():BooleanInterval<br />

getter universe():BooleanInterval<br />

opr =(self,other: BooleanInterval):Boolean<br />

getter hashCode(): Z64<br />

toString():String<br />

property true ∈ True ∧ false ∉ True<br />

property true ∉ False ∧ false ∈ False<br />

property true ∈ Uncertain ∧ false ∈ Uncertain<br />

property true ∉ Impossible ∧ false ∉ Impossible<br />

property ∀(a) necessarily(a) = ¬possibly(¬a)<br />

property ∀(a) possibly(a) ↔ true ∈ a<br />

property ∀(a) certainly(a) ↔ (true ∈ a ∧ false ∉ a)<br />

property ∀(a, b) (a ∧ b) ↔ ¬(a ∧ b)<br />

property ∀(a, b) (a ∨ b) ↔ ¬(a ∨ b)<br />

end<br />

True: BooleanInterval<br />

186

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!