lean4-htt/tests/lean/run/1587.lean

26 lines
414 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def f (x : ) := x
theorem foo : ∀ (x : ), f x = x := by simp [f]
set_option pp.instantiate_mvars false
example (x : ) : f x = x :=
begin
transitivity, { refl, },
rw [foo],
end
example (x : ) : f x = x :=
begin
transitivity, { refl, },
simp [foo],
end
example : 8 + 4 ≤ 12 :=
begin
transitivity,
apply nat.add_le_add_right,
{ apply le_refl, },
rw [norm_num.bit0_add_bit0],
end