lean2/tests/lean/run/implicit.lean

10 lines
220 B
Text
Raw Normal View History

import logic
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