foo : Π (A : Type) [H : inhabited A], A → A
foo' : Π {A : Type} [H : inhabited A] {x : A}, A
foo ℕ 10 : ℕ
definition test : ∀ {A : Type} [H : inhabited A], @foo' num num.is_inhabited 10 = 10 :=
λ (A : Type) (H : inhabited A), @rfl num (@foo' num num.is_inhabited 10)