25.11.2014 Aufrufe

Verifikation reaktiver Systeme - Universität Kaiserslautern

Verifikation reaktiver Systeme - Universität Kaiserslautern

Verifikation reaktiver Systeme - Universität Kaiserslautern

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

233<br />

Fractions As known from school, each fraction f consists of a pair of integers<br />

(a, b), whose components are known as the numerator a and the denominator b<br />

of a fraction. The latter of the two components b must not be zero; otherwise<br />

the fraction does not have a clear meaning. To make things easier, the sign of a<br />

fraction is always moved to the numerator:<br />

f = a a, b ∈ Int,b>0<br />

b<br />

In HOL, the type of fractions can be defined by the following statement.(In<br />

the proof of the the non-emptiness of the set of fractions, 1 1<br />

is used as witness.)<br />

val frac_tyax = save_thm("frac_tyax", new_type_definition( "frac",<br />

Q.prove(‘?x. (\f:int#int. 0

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!