2015-06-04 15:57:00 -04:00
|
|
|
import hit.quotient
|
|
|
|
attribute quotient.elim [recursor 6]
|
2015-05-20 20:28:02 -07:00
|
|
|
|
2015-06-04 15:57:00 -04:00
|
|
|
definition my_elim_on {A : Type} {R : A → A → Type} {P : Type} (x : quotient R)
|
2015-05-20 20:28:02 -07:00
|
|
|
(Pc : A → P) (Pp : Π⦃a a' : A⦄ (H : R a a'), Pc a = Pc a') : P :=
|
|
|
|
begin
|
|
|
|
induction x,
|
|
|
|
exact Pc a,
|
|
|
|
exact Pp H
|
|
|
|
end
|