2015-06-04 19:57:00 +00:00
|
|
|
import hit.quotient
|
|
|
|
attribute quotient.elim [recursor 6]
|
2015-05-21 03:28:02 +00:00
|
|
|
|
2015-06-04 19:57:00 +00:00
|
|
|
definition my_elim_on {A : Type} {R : A → A → Type} {P : Type} (x : quotient R)
|
2015-05-21 03:28:02 +00: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
|