lean4-htt/tests/lean/run/partial_explicit1.lean
2016-07-02 11:08:18 +01:00

2 lines
130 B
Text

lemma eq_rect (A : Type) (x : A) (P : A → Type) (f : P x) (y : A) (e : x = y) : P y :=
@eq.rec_on _ _ (λ (y : A), P y) _ e f