1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
22 axiom k : ∀a:A.B (f a).
24 coercion cic:/matita/tests/coercions_nonuniform/k.con.
28 (* axiom c1 : ∀a:A. B (f a) -> C. *) (* COQ NO: non uniform *)
29 (* axiom c1 : ∀a:A. B (f1 a) -> C. *) (* non si compongono, ma almeno ho le 2 non composte le ho e le posso usare *)
30 (* axiom c1 : ∀f.∀a:A.B (f a) -> C. *) (* COQ NO: non uniform *)
32 (* COQ NO: non uniform *)
33 axiom c2 : ∀a.B (f a) -> B (f1 a).
34 axiom c1 : ∀a:A. B (f1 a) -> C.
36 coercion cic:/matita/tests/coercions_nonuniform/c1.con.
37 coercion cic:/matita/tests/coercions_nonuniform/c2.con.
41 definition test := λa:A.g a.
44 Coq < Coercion c1 : B >-> C.
45 User error: c1 does not respect the inheritance uniform condition