1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| A.Asperti, C.Sacerdoti Coen, *)
8 (* ||A|| E.Tassi, S.Zacchiroli *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU Lesser General Public License Version 2.1 *)
13 (**************************************************************************)
15 include "Q/fraction/fraction.ma".
17 inductive ratio : Set \def
19 | frac : fraction \to ratio.
21 definition unfrac \def \lambda f.
28 lemma injective_frac: injective fraction ratio frac.
30 change with ((unfrac (frac x)) = (unfrac (frac y))).
31 rewrite < H.reflexivity.