lean2/tests/lean/run/blast_cc_subsingleton_normalization_issue.lean
2016-01-24 14:55:28 -08:00

19 lines
529 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.

import data.real
open real
namespace safe
definition pos (x : ) := x > 0
constants (safe_log : Π (x : ), pos x → )
lemma pos_add {x y : } : pos x → pos y → pos (x + y) := sorry
lemma pos_mul {x y : } : pos x → pos y → pos (x * y) := sorry
set_option blast.strategy "cc"
example (x y z w : )
(x_pos : pos x) (y_pos : pos y) (z_pos : pos z) (w_pos : pos w) :
x * y = z + w → @safe_log (z + w) (pos_add z_pos w_pos) = @safe_log (x * y) (pos_mul x_pos y_pos) :=
by blast -- fails
end safe