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
|
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:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
apply ne_of_gt
|
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs (1 + z) β 0
|
case h
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ 0 < Complex.abs (1 + z)
|
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) β 0
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
calc abs (1 + z) β₯ abs (1 : β) - abs z := by bound
_ β₯ abs (1 : β) - 1/2 := by bound
_ > 0 := by norm_num
|
case h
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ 0 < Complex.abs (1 + z)
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
case h
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ 0 < Complex.abs (1 + z)
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
bound
|
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs (1 + z) β₯ Complex.abs 1 - Complex.abs z
|
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
β’ Complex.abs (1 + z) β₯ Complex.abs 1 - Complex.abs z
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
bound
|
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs 1 - Complex.abs z β₯ Complex.abs 1 - 1 / 2
|
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
β’ Complex.abs 1 - Complex.abs z β₯ Complex.abs 1 - 1 / 2
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
norm_num
|
z w : β
zs : Complex.abs z β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs 1 - 1 / 2 > 0
|
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
β’ Complex.abs 1 - 1 / 2 > 0
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
rw [Complex.abs.map_mul]
|
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) β€ 1
|
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 * Complex.abs w β€ 1
|
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) β€ 1
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
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 * Complex.abs w β€ 1
|
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
β’ Complex.abs (1 + z).log * Complex.abs w β€ 1
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
bound
|
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 * Complex.abs w β€ 2 * 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
β’ Complex.abs (1 + z).log * Complex.abs w β€ 2 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
bound
|
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
β’ 2 * Complex.abs z * Complex.abs w β€ 2 * (1 / 2) * 1
|
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
β’ 2 * Complex.abs z * Complex.abs w β€ 2 * (1 / 2) * 1
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
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
β’ 2 * (1 / 2) * 1 = 1
|
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
β’ 2 * (1 / 2) * 1 = 1
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
bound
|
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 β€ 2 * (2 * 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 β€ 2 * (2 * Complex.abs z) * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow1p_small
|
[353, 1]
|
[372, 37]
|
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 * (2 * Complex.abs z) * 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 * (2 * Complex.abs z) * Complex.abs w = 4 * Complex.abs z * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow_small
|
[375, 1]
|
[378, 59]
|
generalize zw : z - 1 = z1
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs (z - 1) * Complex.abs w
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
|
Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs (z - 1) * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow_small
|
[375, 1]
|
[378, 59]
|
have wz : z = 1 + z1 := by rw [β zw]; ring
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
|
Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow_small
|
[375, 1]
|
[378, 59]
|
rw [wz]
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs ((1 + z1) ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
|
Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs (z ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow_small
|
[375, 1]
|
[378, 59]
|
refine pow1p_small ?_ ws
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs ((1 + z1) ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
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 w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs ((1 + z1) ^ w - 1) β€ 4 * Complex.abs z1 * Complex.abs w
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow_small
|
[375, 1]
|
[378, 59]
|
rw [β zw]
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
wz : z = 1 + z1
β’ Complex.abs z1 β€ 1 / 2
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
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 w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
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
|
pow_small
|
[375, 1]
|
[378, 59]
|
assumption
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
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 w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
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
|
pow_small
|
[375, 1]
|
[378, 59]
|
rw [β zw]
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ z = 1 + z1
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ z = 1 + (z - 1)
|
Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ z = 1 + z1
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
pow_small
|
[375, 1]
|
[378, 59]
|
ring
|
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ z = 1 + (z - 1)
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
z w : β
zs : Complex.abs (z - 1) β€ 1 / 2
ws : Complex.abs w β€ 1
z1 : β
zw : z - 1 = z1
β’ z = 1 + (z - 1)
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
add_ne_zero_of_abs_lt
|
[381, 1]
|
[384, 56]
|
have e : a + b = a - -b := by abel
|
a b : β
h : Complex.abs b < Complex.abs a
β’ a + b β 0
|
a b : β
h : Complex.abs b < Complex.abs a
e : a + b = a - -b
β’ a + b β 0
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
h : Complex.abs b < Complex.abs a
β’ a + b β 0
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
add_ne_zero_of_abs_lt
|
[381, 1]
|
[384, 56]
|
rw [e, sub_ne_zero]
|
a b : β
h : Complex.abs b < Complex.abs a
e : a + b = a - -b
β’ a + b β 0
|
a b : β
h : Complex.abs b < Complex.abs a
e : a + b = a - -b
β’ a β -b
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
h : Complex.abs b < Complex.abs a
e : a + b = a - -b
β’ a + b β 0
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
add_ne_zero_of_abs_lt
|
[381, 1]
|
[384, 56]
|
contrapose h
|
a b : β
h : Complex.abs b < Complex.abs a
e : a + b = a - -b
β’ a β -b
|
a b : β
e : a + b = a - -b
h : Β¬a β -b
β’ Β¬Complex.abs b < Complex.abs a
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
h : Complex.abs b < Complex.abs a
e : a + b = a - -b
β’ a β -b
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
add_ne_zero_of_abs_lt
|
[381, 1]
|
[384, 56]
|
simp only [not_not] at h
|
a b : β
e : a + b = a - -b
h : Β¬a β -b
β’ Β¬Complex.abs b < Complex.abs a
|
a b : β
e : a + b = a - -b
h : a = -b
β’ Β¬Complex.abs b < Complex.abs a
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
e : a + b = a - -b
h : Β¬a β -b
β’ Β¬Complex.abs b < Complex.abs a
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
add_ne_zero_of_abs_lt
|
[381, 1]
|
[384, 56]
|
simp only [h, not_lt, AbsoluteValue.map_neg, le_refl]
|
a b : β
e : a + b = a - -b
h : a = -b
β’ Β¬Complex.abs b < Complex.abs a
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
e : a + b = a - -b
h : a = -b
β’ Β¬Complex.abs b < Complex.abs a
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
add_ne_zero_of_abs_lt
|
[381, 1]
|
[384, 56]
|
abel
|
a b : β
h : Complex.abs b < Complex.abs a
β’ a + b = a - -b
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
h : Complex.abs b < Complex.abs a
β’ a + b = a - -b
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_one_lt_3
|
[387, 1]
|
[388, 48]
|
norm_num
|
β’ 2.7182818286 < 3
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ 2.7182818286 < 3
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_add
|
[390, 1]
|
[393, 84]
|
have d0 : 0 < 1 + b/a := by field_simp [a0.ne']; bound
|
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ (a + b).log = a.log + (1 + b / a).log
|
a b : β
a0 : 0 < a
ab0 : 0 < a + b
d0 : 0 < 1 + b / a
β’ (a + b).log = a.log + (1 + b / a).log
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ (a + b).log = a.log + (1 + b / a).log
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_add
|
[390, 1]
|
[393, 84]
|
rw [βReal.log_mul a0.ne' d0.ne', left_distrib, mul_one, mul_div_cancelβ _ a0.ne']
|
a b : β
a0 : 0 < a
ab0 : 0 < a + b
d0 : 0 < 1 + b / a
β’ (a + b).log = a.log + (1 + b / a).log
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : 0 < a
ab0 : 0 < a + b
d0 : 0 < 1 + b / a
β’ (a + b).log = a.log + (1 + b / a).log
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_add
|
[390, 1]
|
[393, 84]
|
field_simp [a0.ne']
|
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ 0 < 1 + b / a
|
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ 0 < a
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ 0 < 1 + b / a
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_add
|
[390, 1]
|
[393, 84]
|
bound
|
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ 0 < a
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : 0 < a
ab0 : 0 < a + b
β’ 0 < a
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_abs_add
|
[396, 1]
|
[401, 96]
|
have d0 : 1 + b/a β 0 := by field_simp [a0, ab0]
|
a b : β
a0 : a β 0
ab0 : a + b β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : a β 0
ab0 : a + b β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_abs_add
|
[396, 1]
|
[401, 96]
|
have a0' : abs a β 0 := Complex.abs.ne_zero a0
|
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
a0' : Complex.abs a β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_abs_add
|
[396, 1]
|
[401, 96]
|
have d0' : abs (1 + b / a) β 0 := Complex.abs.ne_zero d0
|
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
a0' : Complex.abs a β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
a0' : Complex.abs a β 0
d0' : Complex.abs (1 + b / a) β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
a0' : Complex.abs a β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_abs_add
|
[396, 1]
|
[401, 96]
|
rw [βReal.log_mul a0' d0', βComplex.abs.map_mul, left_distrib, mul_one, mul_div_cancelβ _ a0]
|
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
a0' : Complex.abs a β 0
d0' : Complex.abs (1 + b / a) β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : a β 0
ab0 : a + b β 0
d0 : 1 + b / a β 0
a0' : Complex.abs a β 0
d0' : Complex.abs (1 + b / a) β 0
β’ (Complex.abs (a + b)).log = (Complex.abs a).log + (Complex.abs (1 + b / a)).log
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
log_abs_add
|
[396, 1]
|
[401, 96]
|
field_simp [a0, ab0]
|
a b : β
a0 : a β 0
ab0 : a + b β 0
β’ 1 + b / a β 0
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
a0 : a β 0
ab0 : a + b β 0
β’ 1 + b / a β 0
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
rw [βReal.exp_one_rpow, one_div, β@Real.pow_rpow_inv_natCast (4/3) 4 (by norm_num) (by norm_num)]
|
β’ (1 / 4).exp < 4 / 3
|
β’ rexp 1 ^ 4β»ΒΉ < ((4 / 3) ^ 4) ^ (β4)β»ΒΉ
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ (1 / 4).exp < 4 / 3
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
refine Real.rpow_lt_rpow (Real.exp_pos _).le ?_ (by norm_num)
|
β’ rexp 1 ^ 4β»ΒΉ < ((4 / 3) ^ 4) ^ (β4)β»ΒΉ
|
β’ rexp 1 < (4 / 3) ^ 4
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ rexp 1 ^ 4β»ΒΉ < ((4 / 3) ^ 4) ^ (β4)β»ΒΉ
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
exact _root_.trans Real.exp_one_lt_d9 (by norm_num)
|
β’ rexp 1 < (4 / 3) ^ 4
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ rexp 1 < (4 / 3) ^ 4
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
norm_num
|
β’ 0 β€ 4 / 3
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ 0 β€ 4 / 3
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
norm_num
|
β’ 4 β 0
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ 4 β 0
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
norm_num
|
β’ 0 < 4β»ΒΉ
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ 0 < 4β»ΒΉ
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
Real.exp_forth_lt_four_thirds
|
[404, 1]
|
[407, 54]
|
norm_num
|
β’ 2.7182818286 < (4 / 3) ^ 4
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
β’ 2.7182818286 < (4 / 3) ^ 4
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
dist_prod_one_le_abs_sum
|
[410, 1]
|
[426, 69]
|
set g := fun n β¦ Complex.log (f n)
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
β’ Complex.abs (s.prod f - 1) β€ 4 * c
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
dist_prod_one_le_abs_sum
|
[410, 1]
|
[426, 69]
|
have b : β n, n β s β abs (f n - 1) β€ c := by
intro n m; refine _root_.trans ?_ le
exact Finset.single_le_sum (f := fun n β¦ abs (f n - 1)) (fun _ _ β¦ Complex.abs.nonneg _) m
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
β’ Complex.abs (s.prod f - 1) β€ 4 * c
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
dist_prod_one_le_abs_sum
|
[410, 1]
|
[426, 69]
|
have f0 : β n, n β s β f n β 0 := by
intro n m; specialize b n m; contrapose b; simp only [not_not] at b
simp only [b, not_le]; norm_num; linarith
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
β’ Complex.abs (s.prod f - 1) β€ 4 * c
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
dist_prod_one_le_abs_sum
|
[410, 1]
|
[426, 69]
|
have sg : abs (s.sum g) β€ 2 * c := by
refine _root_.trans (Complex.abs.sum_le _ _) ?_
refine _root_.trans (Finset.sum_le_sum (fun n m β¦ log_small (_root_.trans (b n m) c1))) ?_
rw [β Finset.mul_sum]; bound
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
β’ Complex.abs (s.prod f - 1) β€ 4 * c
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
dist_prod_one_le_abs_sum
|
[410, 1]
|
[426, 69]
|
have e : s.prod f = Complex.exp (s.sum g) := by
rw [Complex.exp_sum]; apply Finset.prod_congr rfl
intro n m; rw [Complex.exp_log (f0 n m)]
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
e : s.prod f = (s.sum g).exp
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
β’ Complex.abs (s.prod f - 1) β€ 4 * c
TACTIC:
|
https://github.com/girving/ray.git
|
0be790285dd0fce78913b0cb9bddaffa94bd25f9
|
Ray/Misc/Bounds.lean
|
dist_prod_one_le_abs_sum
|
[410, 1]
|
[426, 69]
|
rw [e]
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
e : s.prod f = (s.sum g).exp
β’ Complex.abs (s.prod f - 1) β€ 4 * c
|
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
e : s.prod f = (s.sum g).exp
β’ Complex.abs ((s.sum g).exp - 1) β€ 4 * c
|
Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
s : Finset β
c : β
le : (s.sum fun n => Complex.abs (f n - 1)) β€ c
c1 : c β€ 1 / 2
g : β β β := fun n => (f n).log
b : β n β s, Complex.abs (f n - 1) β€ c
f0 : β n β s, f n β 0
sg : Complex.abs (s.sum g) β€ 2 * c
e : s.prod f = (s.sum g).exp
β’ Complex.abs (s.prod f - 1) β€ 4 * c
TACTIC:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.