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.

end<br />

extends { ApproximateCommutativeRingT, ⊕, ⊖, ⊗, =,<br />

RingT, ⊕, ⊖, ⊗,<br />

CommutativeT, ⊗ }<br />

A commutative ring is a ring for which the binary operator ⊗ is also commutative.<br />

trait ApproximateDivisionRing T extends ApproximateDivisionRingT, U, ⊕, ⊖, ⊗, ⊘, ≈,<br />

U extends T,<br />

opr ⊕,opr ⊖,opr ⊗,opr ⊘,opr ≈<br />

extends { ApproximateRingT, ⊕, ⊖, ⊗, ≈,<br />

ApproximateGroupU, ⊗, ⊘, ≈ }<br />

property ¬ instanceOf U(castT(Zero⊕))<br />

property ∀(a:T) a ≠ Zero⊕ → instanceOf U(a)<br />

An approximate division ring is an approximate ring for which the binary operator ⊗ also has approximate inverses,<br />

so that the values other than the zero of ⊗ form an approximate group with ⊗ and ⊘ .<br />

trait DivisionRing T extends DivisionRingT, U, ⊕, ⊖, ⊗, ⊘,<br />

U extends T,<br />

opr ⊕,opr ⊖,opr ⊗,opr ⊘<br />

extends { ApproximateDivisionRingT, U, ⊕, ⊖, ⊗, ⊘, =,<br />

RingT, ⊕, ⊖, ⊗,<br />

GroupU, ⊗, ⊘ }<br />

end<br />

A division ring is a ring for which the binary operator ⊗ also has inverses, so that the values other than the zero of ⊗<br />

form a group with ⊗ and ⊘ .<br />

trait ApproximateField T extends ApproximateFieldT, U, ⊕, ⊖, ⊗, ⊘, ≈,<br />

U extends T,<br />

opr ⊕,opr ⊖,opr ⊗,opr ⊘,opr ≈<br />

extends { ApproximateCommutativeRingT, ⊕, ⊖, ⊗, ≈,<br />

ApproximateDivisionRingT, U, ⊕, ⊖, ⊗, ⊘, ≈ }<br />

end<br />

An approximate field is an approximate commutative ring that is also an approximate division ring: the binary operator<br />

⊗ is approximately commutative and also has approximate inverses, so that the values other than the zero of ⊗ form<br />

an approximate Abelian group with ⊗ and ⊘ .<br />

trait FieldT extends FieldT, U, ⊕, ⊖, ⊗, ⊘, U extends T,opr ⊕,opr ⊖,opr ⊗,opr ⊘<br />

extends { ApproximateFieldT, U, ⊕, ⊖, ⊗, ⊘, =,<br />

CommutativeRingT, ⊕, ⊖, ⊗,<br />

DivisionRingT, U, ⊕, ⊖, ⊗, ⊘ }<br />

end<br />

A field is a commutative ring that is also a division ring: the binary operator ⊗ is commutative and also has inverses,<br />

so that the values other than the zero of ⊗ form an Abelian group with ⊗ and ⊘ .<br />

37.5 Boolean Algebras<br />

value object ComplementBoundopr ⊙ end<br />

trait HasComplementsT extends HasComplementsT, ⊙, ∼,opr ⊙,opr ∼<br />

259

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

Saved successfully!

Ooh no, something went wrong!