lean2/tests/lean/run/implicit.lean

11 lines
224 B
Text
Raw Normal View History

import standard
definition f {A : Type} {B : Type} (f : A → B → Prop) ⦃C : Type⦄ {R : C → C → Prop} {c : C} (H : R c c) : R c c
:= H
variable g : Prop → Prop → Prop
variable H : true ∧ true
check f g H