fix(library/theories/analysis/real_limit): minor

This commit is contained in:
Leonardo de Moura 2015-10-13 15:13:16 -07:00
parent 9fb59a05f5
commit 840f0ea05d

View file

@ -21,7 +21,7 @@ These could be avoided in a constructive theory of analysis, but here we will no
follow that route.
-/
import .metric_space data.real.complete
open real eq.ops classical
open real classical algebra
noncomputable theory
namespace real
@ -32,7 +32,7 @@ protected definition to_metric_space [instance] : metric_space :=
⦃ metric_space,
dist := λ x y, abs (x - y),
dist_self := λ x, abstract by rewrite [sub_self, abs_zero] end,
eq_of_dist_eq_zero := @eq_of_abs_sub_eq_zero,
eq_of_dist_eq_zero := λ x y, algebra.eq_of_abs_sub_eq_zero,
dist_comm := abs_sub,
dist_triangle := abs_sub_le