url stringclasses 147 values | commit stringclasses 147 values | file_path stringlengths 7 101 | full_name stringlengths 1 94 | start stringlengths 6 10 | end stringlengths 6 11 | tactic stringlengths 1 11.2k | state_before stringlengths 3 2.09M | state_after stringlengths 6 2.09M | input stringlengths 73 2.09M |
|---|---|---|---|---|---|---|---|---|---|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | constructor | case h
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (w - z) < r β§ Complex.abs w < Complex.abs z | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (w - z) < r
case h.right
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs w < Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case h
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (w - z) < r β§ Complex.abs w < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | use 0 | case pos
z : β
nz : z β 0
r : β
rp : 0 < r
rz : Complex.abs z < r
β’ β w, Complex.abs (w - z) < r β§ Complex.abs w < Complex.abs z | case h
z : β
nz : z β 0
r : β
rp : 0 < r
rz : Complex.abs z < r
β’ Complex.abs (0 - z) < r β§ Complex.abs 0 < Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
z : β
nz : z β 0
r : β
rp : 0 < r
rz : Complex.abs z < r
β’ β w, Complex.abs (w - z) < r β§ Complex.abs w < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | simp only [zero_sub, map_neg_eq_map, rz, map_zero, AbsoluteValue.pos_iff, ne_eq, nz,
not_false_eq_true, and_self] | case h
z : β
nz : z β 0
r : β
rp : 0 < r
rz : Complex.abs z < r
β’ Complex.abs (0 - z) < r β§ Complex.abs 0 < Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
z : β
nz : z β 0
r : β
rp : 0 < r
rz : Complex.abs z < r
β’ Complex.abs (0 - z) < r β§ Complex.abs 0 < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | rw [βha, sub_nonneg, div_le_one azp] | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ 0 β€ a | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ r / 2 β€ Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ 0 β€ a
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | exact _root_.trans (by bound) rz | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ r / 2 β€ Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ r / 2 β€ Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | bound | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ r / 2 β€ r | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
β’ r / 2 β€ r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | rw [βha, sub_lt_self_iff] | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
β’ a < 1 | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
β’ 0 < r / 2 / Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
β’ a < 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | positivity | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
β’ 0 < r / 2 / Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
β’ 0 < r / 2 / Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | rw [βhw,βha] | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (w - z) < r | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (β(1 - r / 2 / Complex.abs z) * z - z) < r | Please generate a tactic in lean4 to solve the state.
STATE:
case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (w - z) < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | simp only [Complex.ofReal_sub, Complex.ofReal_one, Complex.ofReal_div] | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (β(1 - r / 2 / Complex.abs z) * z - z) < r | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs ((1 - βr / β2 / β(Complex.abs z)) * z - z) < r | Please generate a tactic in lean4 to solve the state.
STATE:
case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (β(1 - r / 2 / Complex.abs z) * z - z) < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | rw [mul_sub_right_distrib] | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs ((1 - βr / β2 / β(Complex.abs z)) * z - z) < r | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (1 * z - βr / β2 / β(Complex.abs z) * z - z) < r | Please generate a tactic in lean4 to solve the state.
STATE:
case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs ((1 - βr / β2 / β(Complex.abs z)) * z - z) < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | simp only [one_mul, sub_sub_cancel_left, AbsoluteValue.map_neg, AbsoluteValue.map_mul, map_divβ,
Complex.abs_ofReal, Complex.abs_two, Complex.abs_abs, abs_of_pos rp, div_mul (r/2),
div_mul_cancelβ _ azp.ne', div_one, abs_two, div_self azp.ne'] | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (1 * z - βr / β2 / β(Complex.abs z) * z - z) < r | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ r / 2 < r | Please generate a tactic in lean4 to solve the state.
STATE:
case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs (1 * z - βr / β2 / β(Complex.abs z) * z - z) < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | bound | case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ r / 2 < r | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.left
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ r / 2 < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | simp only [βhw, AbsoluteValue.map_mul, Complex.abs_ofReal, abs_of_nonneg a0] | case h.right
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs w < Complex.abs z | case h.right
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ a * Complex.abs z < Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case h.right
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ Complex.abs w < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | calc a * abs z < 1 * abs z := mul_lt_mul_of_pos_right a1 azp
_ = abs z := by ring | case h.right
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ a * Complex.abs z < Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.right
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ a * Complex.abs z < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | slightly_smaller | [254, 1] | [276, 27] | ring | z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ 1 * Complex.abs z = Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
nz : z β 0
r : β
rp : 0 < r
rz : r β€ Complex.abs z
azp : 0 < Complex.abs z
a : β
ha : 1 - r / 2 / Complex.abs z = a
a0 : 0 β€ a
a1 : a < 1
w : β
hw : βa * z = w
β’ 1 * Complex.abs z = Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | frequently_smaller | [279, 1] | [282, 74] | simp only [Filter.Frequently, Metric.eventually_nhds_iff, not_exists, not_forall, not_not,
Complex.dist_eq, not_and] | z : β
z0 : z β 0
β’ βαΆ (w : β) in π z, Complex.abs w < Complex.abs z | z : β
z0 : z β 0
β’ β x > 0, β x_1, β (_ : Complex.abs (x_1 - z) < x), Complex.abs x_1 < Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
z0 : z β 0
β’ βαΆ (w : β) in π z, Complex.abs w < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | frequently_smaller | [279, 1] | [282, 74] | intro r rp | z : β
z0 : z β 0
β’ β x > 0, β x_1, β (_ : Complex.abs (x_1 - z) < x), Complex.abs x_1 < Complex.abs z | z : β
z0 : z β 0
r : β
rp : r > 0
β’ β x, β (_ : Complex.abs (x - z) < r), Complex.abs x < Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
z0 : z β 0
β’ β x > 0, β x_1, β (_ : Complex.abs (x_1 - z) < x), Complex.abs x_1 < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | frequently_smaller | [279, 1] | [282, 74] | rcases slightly_smaller z0 rp with β¨w, b, ltβ© | z : β
z0 : z β 0
r : β
rp : r > 0
β’ β x, β (_ : Complex.abs (x - z) < r), Complex.abs x < Complex.abs z | case intro.intro
z : β
z0 : z β 0
r : β
rp : r > 0
w : β
b : Complex.abs (w - z) < r
lt : Complex.abs w < Complex.abs z
β’ β x, β (_ : Complex.abs (x - z) < r), Complex.abs x < Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
z0 : z β 0
r : β
rp : r > 0
β’ β x, β (_ : Complex.abs (x - z) < r), Complex.abs x < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | frequently_smaller | [279, 1] | [282, 74] | use w, b, lt | case intro.intro
z : β
z0 : z β 0
r : β
rp : r > 0
w : β
b : Complex.abs (w - z) < r
lt : Complex.abs w < Complex.abs z
β’ β x, β (_ : Complex.abs (x - z) < r), Complex.abs x < Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case intro.intro
z : β
z0 : z β 0
r : β
rp : r > 0
w : β
b : Complex.abs (w - z) < r
lt : Complex.abs w < Complex.abs z
β’ β x, β (_ : Complex.abs (x - z) < r), Complex.abs x < Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | by_cases nz : z = 0 | f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
β’ Complex.abs (f z) β€ c * Complex.abs z | case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs (f z) β€ c * Complex.abs z
case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
β’ Complex.abs (f z) β€ c * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
β’ Complex.abs (f z) β€ c * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | apply le_of_forall_small_le_add zero_lt_one | case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
β’ Complex.abs (f z) β€ c * Complex.abs z | case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
β’ β (e : β), 0 < e β e < 1 β Complex.abs (f z) β€ c * Complex.abs z + e | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
β’ Complex.abs (f z) β€ c * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | intro e ep _ | case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
β’ β (e : β), 0 < e β e < 1 β Complex.abs (f z) β€ c * Complex.abs z + e | case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
β’ Complex.abs (f z) β€ c * Complex.abs z + e | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
β’ β (e : β), 0 < e β e < 1 β Complex.abs (f z) β€ c * Complex.abs z + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | rcases Metric.continuous_near fc rp e ep with β¨s,sp,_,scβ© | case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
β’ Complex.abs (f z) β€ c * Complex.abs z + e | case neg.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
β’ Complex.abs (f z) β€ c * Complex.abs z + e | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
β’ Complex.abs (f z) β€ c * Complex.abs z + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | rcases slightly_smaller nz sp with β¨w,wz,awzβ© | case neg.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
β’ Complex.abs (f z) β€ c * Complex.abs z + e | case neg.intro.intro.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
β’ Complex.abs (f z) β€ c * Complex.abs z + e | Please generate a tactic in lean4 to solve the state.
STATE:
case neg.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
β’ Complex.abs (f z) β€ c * Complex.abs z + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | have wr : abs w < r := lt_of_lt_of_le awz zr | case neg.intro.intro.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
β’ Complex.abs (f z) β€ c * Complex.abs z + e | case neg.intro.intro.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f z) β€ c * Complex.abs z + e | Please generate a tactic in lean4 to solve the state.
STATE:
case neg.intro.intro.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
β’ Complex.abs (f z) β€ c * Complex.abs z + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | calc abs (f z) = abs (f w - (f w - f z)) := by ring_nf
_ β€ abs (f w) + abs (f w - f z) := by bound
_ β€ c * abs w + e := by bound [h w wr, sc wz]
_ β€ c * abs z + e := by bound | case neg.intro.intro.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f z) β€ c * Complex.abs z + e | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case neg.intro.intro.intro.intro.intro
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f z) β€ c * Complex.abs z + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | refine h z ?_ | case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs (f z) β€ c * Complex.abs z | case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs z < r | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs (f z) β€ c * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | rw [nz] | case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs z < r | case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs 0 < r | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs z < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | simpa | case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs 0 < r | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : z = 0
β’ Complex.abs 0 < r
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | ring_nf | f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f z) = Complex.abs (f w - (f w - f z)) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f z) = Complex.abs (f w - (f w - f z))
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | bound | f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f w - (f w - f z)) β€ Complex.abs (f w) + Complex.abs (f w - f z) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f w - (f w - f z)) β€ Complex.abs (f w) + Complex.abs (f w - f z)
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | bound [h w wr, sc wz] | f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f w) + Complex.abs (f w - f z) β€ c * Complex.abs w + e | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ Complex.abs (f w) + Complex.abs (f w - f z) β€ c * Complex.abs w + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_to_strong_small | [284, 1] | [296, 34] | bound | f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ c * Complex.abs w + e β€ c * Complex.abs z + e | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
z : β
r c : β
rp : r > 0
cp : c > 0
zr : Complex.abs z β€ r
fc : ContinuousAt f z
h : β (z : β), Complex.abs z < r β Complex.abs (f z) β€ c * Complex.abs z
nz : Β¬z = 0
e : β
ep : 0 < e
aβ : e < 1
s : β
sp : 0 < s
leftβ : s β€ r
sc : β {w : β}, Complex.abs (w - z) < s β Complex.abs (f w - f z) < e
w : β
wz : Complex.abs (w - z) < s
awz : Complex.abs w < Complex.abs z
wr : Complex.abs w < r
β’ c * Complex.abs w + e β€ c * Complex.abs z + e
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | by_cases r0 : r β€ 0 | z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : Β¬r β€ 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | simp only [not_le] at r0 | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : Β¬r β€ 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : Β¬r β€ 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | have fc : ContinuousAt (fun z β¦ log (1 + z)) z := by
apply ContinuousAt.clog; apply ContinuousAt.add; exact continuousAt_const; exact continuousAt_id
refine mem_slitPlane_of_near_one ?_
simp only [add_sub_cancel_left, lt_of_le_of_lt zr r1] | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | apply weak_to_strong_small r0 (by bound) zr fc | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ β (z : β), Complex.abs z < r β Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | intro w wr | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ β (z : β), Complex.abs z < r β Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
w : β
wr : Complex.abs w < r
β’ Complex.abs (1 + w).log β€ 1 / (1 - r) * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ β (z : β), Complex.abs z < r β Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | exact @weak_log1p_small w r (by bound) wr | case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
w : β
wr : Complex.abs w < r
β’ Complex.abs (1 + w).log β€ 1 / (1 - r) * Complex.abs w | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case neg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
w : β
wr : Complex.abs w < r
β’ Complex.abs (1 + w).log β€ 1 / (1 - r) * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | have z0 := le_antisymm (le_trans zr r0) (Complex.abs.nonneg _) | case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
z0 : Complex.abs z = 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | simp only [map_eq_zero] at z0 | case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
z0 : Complex.abs z = 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
z0 : z = 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
z0 : Complex.abs z = 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | simp only [z0, add_zero, Complex.log_one, map_zero, r0, sub_zero, ne_eq, one_ne_zero,
not_false_eq_true, div_self, mul_zero, le_refl] | case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
z0 : z = 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case pos
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : r β€ 0
z0 : z = 0
β’ Complex.abs (1 + z).log β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | apply ContinuousAt.clog | z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun z => (1 + z).log) z | case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun t => 1 + t) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun z => (1 + z).log) z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | apply ContinuousAt.add | case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun t => 1 + t) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | case hβ.hf
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => 1) z
case hβ.hg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => x) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | Please generate a tactic in lean4 to solve the state.
STATE:
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun t => 1 + t) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | exact continuousAt_const | case hβ.hf
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => 1) z
case hβ.hg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => x) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | case hβ.hg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => x) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | Please generate a tactic in lean4 to solve the state.
STATE:
case hβ.hf
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => 1) z
case hβ.hg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => x) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | exact continuousAt_id | case hβ.hg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => x) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | Please generate a tactic in lean4 to solve the state.
STATE:
case hβ.hg
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ ContinuousAt (fun x => x) z
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | refine mem_slitPlane_of_near_one ?_ | case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane | case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ Complex.abs (1 + z - 1) < 1 | Please generate a tactic in lean4 to solve the state.
STATE:
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ 1 + z β slitPlane
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | simp only [add_sub_cancel_left, lt_of_le_of_lt zr r1] | case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ Complex.abs (1 + z - 1) < 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case hβ
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
β’ Complex.abs (1 + z - 1) < 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | bound | z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ 1 / (1 - r) > 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
β’ 1 / (1 - r) > 0
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small' | [298, 1] | [312, 44] | bound | z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
w : β
wr : Complex.abs w < r
β’ r < 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
r : β
r1 : r < 1
zr : Complex.abs z β€ r
r0 : 0 < r
fc : ContinuousAt (fun z => (1 + z).log) z
w : β
wr : Complex.abs w < r
β’ r < 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small | [314, 1] | [315, 68] | norm_num | z : β
zs : Complex.abs z β€ 1 / 2
β’ 1 / 2 < 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1 / 2
β’ 1 / 2 < 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log1p_small | [314, 1] | [315, 68] | norm_num | z : β
zs : Complex.abs z β€ 1 / 2
β’ 1 / (1 - 1 / 2) * Complex.abs z = 2 * Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1 / 2
β’ 1 / (1 - 1 / 2) * Complex.abs z = 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small' | [318, 1] | [324, 62] | set z := (x : β) | x r : β
r1 : r < 1
xr : |x| β€ r
β’ |(1 + x).log| β€ 1 / (1 - r) * |x| | x r : β
r1 : r < 1
xr : |x| β€ r
z : β := βx
β’ |(1 + x).log| β€ 1 / (1 - r) * |x| | Please generate a tactic in lean4 to solve the state.
STATE:
x r : β
r1 : r < 1
xr : |x| β€ r
β’ |(1 + x).log| β€ 1 / (1 - r) * |x|
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small' | [318, 1] | [324, 62] | have zx : abs z = |x| := Complex.abs_ofReal _ | x r : β
r1 : r < 1
xr : |x| β€ r
z : β := βx
β’ |(1 + x).log| β€ 1 / (1 - r) * |x| | x r : β
r1 : r < 1
xr : |x| β€ r
z : β := βx
zx : Complex.abs z = |x|
β’ |(1 + x).log| β€ 1 / (1 - r) * |x| | Please generate a tactic in lean4 to solve the state.
STATE:
x r : β
r1 : r < 1
xr : |x| β€ r
z : β := βx
β’ |(1 + x).log| β€ 1 / (1 - r) * |x|
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small' | [318, 1] | [324, 62] | simp only [β Complex.log_ofReal_re, β zx] at xr β’ | x r : β
r1 : r < 1
xr : |x| β€ r
z : β := βx
zx : Complex.abs z = |x|
β’ |(1 + x).log| β€ 1 / (1 - r) * |x| | x r : β
r1 : r < 1
z : β := βx
zx : Complex.abs z = |x|
xr : Complex.abs z β€ r
β’ |(β(1 + x)).log.re| β€ 1 / (1 - r) * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
x r : β
r1 : r < 1
xr : |x| β€ r
z : β := βx
zx : Complex.abs z = |x|
β’ |(1 + x).log| β€ 1 / (1 - r) * |x|
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small' | [318, 1] | [324, 62] | refine _root_.trans (_root_.trans (Complex.abs_re_le_abs _) ?_) (_root_.log1p_small' r1 xr) | x r : β
r1 : r < 1
z : β := βx
zx : Complex.abs z = |x|
xr : Complex.abs z β€ r
β’ |(β(1 + x)).log.re| β€ 1 / (1 - r) * Complex.abs z | x r : β
r1 : r < 1
z : β := βx
zx : Complex.abs z = |x|
xr : Complex.abs z β€ r
β’ Complex.abs (β(1 + x)).log β€ Complex.abs (1 + z).log | Please generate a tactic in lean4 to solve the state.
STATE:
x r : β
r1 : r < 1
z : β := βx
zx : Complex.abs z = |x|
xr : Complex.abs z β€ r
β’ |(β(1 + x)).log.re| β€ 1 / (1 - r) * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small' | [318, 1] | [324, 62] | simp only [Complex.ofReal_add, Complex.ofReal_one, le_refl] | x r : β
r1 : r < 1
z : β := βx
zx : Complex.abs z = |x|
xr : Complex.abs z β€ r
β’ Complex.abs (β(1 + x)).log β€ Complex.abs (1 + z).log | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
x r : β
r1 : r < 1
z : β := βx
zx : Complex.abs z = |x|
xr : Complex.abs z β€ r
β’ Complex.abs (β(1 + x)).log β€ Complex.abs (1 + z).log
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small | [327, 1] | [328, 73] | norm_num | x : β
xr : |x| β€ 1 / 2
β’ 1 / 2 < 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
x : β
xr : |x| β€ 1 / 2
β’ 1 / 2 < 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | Real.log1p_small | [327, 1] | [328, 73] | norm_num | x : β
xr : |x| β€ 1 / 2
β’ 1 / (1 - 1 / 2) * |x| = 2 * |x| | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
x : β
xr : |x| β€ 1 / 2
β’ 1 / (1 - 1 / 2) * |x| = 2 * |x|
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | generalize zw : z - 1 = z1 | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
β’ Complex.abs z.log β€ 2 * Complex.abs (z - 1) | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ Complex.abs z.log β€ 2 * Complex.abs z1 | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
β’ Complex.abs z.log β€ 2 * Complex.abs (z - 1)
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | have wz : z = 1 + z1 := by rw [β zw]; ring | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ Complex.abs z.log β€ 2 * Complex.abs z1 | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z.log β€ 2 * Complex.abs z1 | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ Complex.abs z.log β€ 2 * Complex.abs z1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | rw [wz] | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z.log β€ 2 * Complex.abs z1 | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (1 + z1).log β€ 2 * Complex.abs z1 | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z.log β€ 2 * Complex.abs z1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | refine log1p_small ?_ | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (1 + z1).log β€ 2 * Complex.abs z1 | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z1 β€ 1 / 2 | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (1 + z1).log β€ 2 * Complex.abs z1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | rw [β zw] | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z1 β€ 1 / 2 | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (z - 1) β€ 1 / 2 | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z1 β€ 1 / 2
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | assumption | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (z - 1) β€ 1 / 2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (z - 1) β€ 1 / 2
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | rw [β zw] | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ z = 1 + z1 | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ z = 1 + (z - 1) | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ z = 1 + z1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | log_small | [331, 1] | [333, 56] | ring | z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ z = 1 + (z - 1) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs (z - 1) β€ 1 / 2
z1 : β
zw : z - 1 = z1
β’ z = 1 + (z - 1)
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | have hr : 0 β€ (1 : β) := by norm_num | z : β
h : Complex.abs z < 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | have L := Complex.locally_lipschitz_exp hr (by bound) 0 z
(by simpa only [sub_zero, Complex.norm_eq_abs]) | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : βz.exp - exp 0β β€ (1 + 1) * βexp 0β * βz - 0β
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | simp only [Complex.exp_zero, Complex.norm_eq_abs, norm_one, mul_one, sub_zero] at L | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : βz.exp - exp 0β β€ (1 + 1) * βexp 0β * βz - 0β
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : βz.exp - exp 0β β€ (1 + 1) * βexp 0β * βz - 0β
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | have t : 1 + 1 = (2 : β) := by norm_num | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
t : 1 + 1 = 2
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | rw [t] at L | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
t : 1 + 1 = 2
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
t : 1 + 1 = 2
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
t : 1 + 1 = 2
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | assumption | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
t : 1 + 1 = 2
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
t : 1 + 1 = 2
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | norm_num | z : β
h : Complex.abs z < 1
β’ 0 β€ 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
β’ 0 β€ 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | bound | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ 1 β€ 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ 1 β€ 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | simpa only [sub_zero, Complex.norm_eq_abs] | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ βz - 0β < 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
β’ βz - 0β < 1
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | weak_exp_small | [335, 1] | [341, 26] | norm_num | z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
β’ 1 + 1 = 2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
h : Complex.abs z < 1
hr : 0 β€ 1
L : Complex.abs (z.exp - 1) β€ (1 + 1) * Complex.abs z
β’ 1 + 1 = 2
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | have rp : (1 : β) > 0 := by norm_num | z : β
zs : Complex.abs z β€ 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | have cp : (2 : β) > 0 := by norm_num | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | have fc : ContinuousAt (fun z β¦ exp z - 1) z := by
apply ContinuousAt.sub; apply ContinuousAt.cexp
exact continuousAt_id; exact continuousAt_const | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | apply weak_to_strong_small rp cp zs fc | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
β’ β (z : β), Complex.abs z < 1 β Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
β’ Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | intro w wr | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
β’ β (z : β), Complex.abs z < 1 β Complex.abs (z.exp - 1) β€ 2 * Complex.abs z | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
w : β
wr : Complex.abs w < 1
β’ Complex.abs (w.exp - 1) β€ 2 * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
β’ β (z : β), Complex.abs z < 1 β Complex.abs (z.exp - 1) β€ 2 * Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | exact weak_exp_small wr | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
w : β
wr : Complex.abs w < 1
β’ Complex.abs (w.exp - 1) β€ 2 * Complex.abs w | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
fc : ContinuousAt (fun z => z.exp - 1) z
w : β
wr : Complex.abs w < 1
β’ Complex.abs (w.exp - 1) β€ 2 * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | norm_num | z : β
zs : Complex.abs z β€ 1
β’ 1 > 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
β’ 1 > 0
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | norm_num | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
β’ 2 > 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
β’ 2 > 0
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | apply ContinuousAt.sub | z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun z => z.exp - 1) z | case hf
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => x.exp) z
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z | Please generate a tactic in lean4 to solve the state.
STATE:
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun z => z.exp - 1) z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | apply ContinuousAt.cexp | case hf
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => x.exp) z
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z | case hf.h
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun y => y) z
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z | Please generate a tactic in lean4 to solve the state.
STATE:
case hf
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => x.exp) z
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | exact continuousAt_id | case hf.h
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun y => y) z
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z | case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z | Please generate a tactic in lean4 to solve the state.
STATE:
case hf.h
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun y => y) z
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | exp_small | [344, 1] | [351, 38] | exact continuousAt_const | case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case hg
z : β
zs : Complex.abs z β€ 1
rp : 1 > 0
cp : 2 > 0
β’ ContinuousAt (fun x => 1) z
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | have z1 : 1 + z β 0 := by
rw [βComplex.abs.ne_zero_iff]; apply ne_of_gt
calc abs (1 + z) β₯ abs (1 : β) - abs z := by bound
_ β₯ abs (1 : β) - 1/2 := by bound
_ > 0 := by norm_num | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs ((1 + z) ^ w - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
β’ Complex.abs ((1 + z) ^ w - 1) β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs ((1 + z) ^ w - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | rw [Complex.cpow_def_of_ne_zero z1] | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
β’ Complex.abs ((1 + z) ^ w - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
β’ Complex.abs ((1 + z) ^ w - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | have ls := log1p_small zs | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | have eas : abs (log (1 + z) * w) β€ 1 := by
rw [Complex.abs.map_mul]
calc abs (log (1 + z)) * abs w β€ 2 * abs z * abs w := by bound
_ β€ 2 * (1/2) * 1 := by bound
_ = 1 := by norm_num | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | have es := exp_small eas | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs ((1 + z).log * w)
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | rw [Complex.abs.map_mul, βmul_assoc] at es | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs ((1 + z).log * w)
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs ((1 + z).log * w)
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | trans 2 * abs (log (1 + z)) * abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ 2 * Complex.abs (1 + z).log * Complex.abs w β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | exact es | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ 2 * Complex.abs (1 + z).log * Complex.abs w β€ 4 * Complex.abs z * Complex.abs w | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ 2 * Complex.abs (1 + z).log * Complex.abs w β€ 4 * Complex.abs z * Complex.abs w | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ 2 * Complex.abs (1 + z).log * Complex.abs w β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | calc 2 * abs (log (1 + z)) * abs w β€ 2 * (2 * abs z) * abs w := by bound
_ = 4 * abs z * abs w := by ring | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ 2 * Complex.abs (1 + z).log * Complex.abs w β€ 4 * Complex.abs z * Complex.abs w | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : 1 + z β 0
ls : Complex.abs (1 + z).log β€ 2 * Complex.abs z
eas : Complex.abs ((1 + z).log * w) β€ 1
es : Complex.abs (((1 + z).log * w).exp - 1) β€ 2 * Complex.abs (1 + z).log * Complex.abs w
β’ 2 * Complex.abs (1 + z).log * Complex.abs w β€ 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git | 0be790285dd0fce78913b0cb9bddaffa94bd25f9 | Ray/Misc/Bounds.lean | pow1p_small | [353, 1] | [372, 37] | rw [βComplex.abs.ne_zero_iff] | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ 1 + z β 0 | z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs (1 + z) β 0 | Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ 1 + z β 0
TACTIC:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.