This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pvs:libraries [2016/08/25 21:29] jonathan [Example Theory] |
pvs:libraries [2016/09/13 18:06] (current) jonathan |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Reals ====== | ====== Reals ====== | ||
- | Hypatheon is useful for browsing libraries. In the Prelude, we have real_axioms, reals and real_props. For example, in real_props we have the Lemma "both_sides_div_pos_neg_ge1" which allows us to divide both sides of an inequality ''x >= y'' by the same value ''n0z: VAR nonzero_real'': | + | Hypatheon is useful for browsing libraries. In the Prelude, we have |
+ | * real_axioms, | ||
+ | * reals | ||
+ | * real_props | ||
+ | * extra_real_props. | ||
+ | |||
+ | For example, in real_props we have the Lemma "both_sides_div_pos_neg_ge1" which allows us to divide both sides of an inequality ''x >= y'' by the same value ''n0z: VAR nonzero_real'': | ||
<code> | <code> | ||
Line 24: | Line 30: | ||
===== Example Theory ===== | ===== Example Theory ===== | ||
- | <file text real.text> | + | <file text real.pvs> |
real : THEORY | real : THEORY | ||
BEGIN | BEGIN | ||
Line 77: | Line 83: | ||
- | END logic | + | END real |
</file> | </file> | ||
Line 96: | Line 102: | ||
Grand Totals: 10 proofs, 10 attempted, 9 succeeded (1.81 s) | Grand Totals: 10 proofs, 10 attempted, 9 succeeded (1.81 s) | ||
</code> | </code> | ||
- | |||