Details

Time bar (total: 9.7s)

sample148.0ms

Algorithm
intervals
Results
78.0ms113×body1280valid
29.0ms18×body2560valid
18.0ms47×body640valid
7.0ms25×body320valid
3.0ms37×body80valid
3.0ms16×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.5b

localize9.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (tan (+ x eps)) (tan x))
2.6b
(tan (+ x eps))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
tan-quot add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u tan-sum frac-sub add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
14.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series142.0ms

Counts
2 → 6
Calls
2 calls:
92.0ms
(- (tan (+ x eps)) (tan x))
51.0ms
(tan (+ x eps))

simplify76.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune120.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan x) (tan eps)))
0.2b
(+ (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
3.8b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
87×*-un-lft-identity
66×add-sqr-sqrt
59×add-cube-cbrt
57×prod-diff
49×times-frac
21×fma-neg
13×distribute-lft-out
10×add-log-exp
associate-/r/
tan-quot
pow1 add-exp-log flip3-- add-cbrt-cube flip--
expm1-log1p-u log1p-expm1-u div-inv
fma-def associate-*r* associate-*l*
sub-neg diff-log difference-of-squares
+-commutative frac-times flip3-+ associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out-- unswap-sqr
Counts
4 → 151
Calls
4 calls:
3.0ms
(- 1 (* (tan x) (tan eps)))
8.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
14.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series659.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(- 1 (* (tan x) (tan eps)))
91.0ms
(+ (tan x) (tan eps))
93.0ms
(* (tan x) (tan eps))
371.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify66.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05422573
118932021
250021996

prune385.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.7b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (tan x) (tan eps))
0.2b
(exp (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
3.8b
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
113×times-frac
112×add-sqr-sqrt
105×add-cube-cbrt
99×prod-diff
64×log-pow
51×exp-prod
32×fma-neg
29×distribute-lft-out
22×pow1
11×add-log-exp
tan-quot
add-exp-log add-cbrt-cube
exp-sum
expm1-log1p-u log1p-expm1-u div-inv
fma-def associate-*r* associate-*l*
sub-neg diff-log rem-exp-log difference-of-squares
+-commutative frac-times flip3-- flip3-+ exp-diff associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out-- unswap-sqr
Counts
4 → 207
Calls
4 calls:
5.0ms
(+ (tan x) (tan eps))
4.0ms
(exp (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
21.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

series687.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (tan x) (tan eps))
142.0ms
(exp (- 1 (* (tan x) (tan eps))))
92.0ms
(* (tan x) (tan eps))
360.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify74.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06234254
118713139
250013037

prune486.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 12.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.3b
(pow E (- 1 (* (tan x) (tan eps))))
3.8b
(- (/ (+ (tan x) (tan eps)) (log (pow E (- 1 (* (tan x) (tan eps)))))) (tan x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
65×times-frac
63×prod-diff
20×fma-neg
17×distribute-lft-out
16×log-pow
add-log-exp
tan-quot pow1 add-exp-log
add-cbrt-cube
unpow-prod-up
expm1-log1p-u log1p-expm1-u div-inv
unpow-prod-down pow-unpow fma-def associate-*r* associate-*l*
sub-neg pow-exp difference-of-squares
+-commutative frac-times pow-to-exp e-exp-1 flip3-- pow-pow flip3-+ diff-log associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out-- pow-sub unswap-sqr sqr-pow
Counts
4 → 165
Calls
4 calls:
5.0ms
(+ (tan x) (tan eps))
6.0ms
(* (tan x) (tan eps))
5.0ms
(pow E (- 1 (* (tan x) (tan eps))))
15.0ms
(- (/ (+ (tan x) (tan eps)) (log (pow E (- 1 (* (tan x) (tan eps)))))) (tan x))

series813.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (tan x) (tan eps))
93.0ms
(* (tan x) (tan eps))
173.0ms
(pow E (- 1 (* (tan x) (tan eps))))
453.0ms
(- (/ (+ (tan x) (tan eps)) (log (pow E (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify76.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06153019
120692265
250022196

prune436.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 12.7b

regimes167.0ms

Accuracy

87.6% (0.9b remaining)

Error of 15.2b against oracle of 14.2b and baseline of 21.7b

bsearch334.0ms

Steps
ItersRangePoint
7
2.5619879438810137e-23
5.215877061287173e-22
4.742281876404587e-23
6
-1.772314194330786e-26
-2.4976135847146302e-27
-5.9719887302803746e-27

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03725
13725

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.4s3326×body1280valid
1.0s601×body2560valid
767.0ms1838×body640valid
211.0ms747×body320valid
96.0ms1118×body80valid
64.0ms370×body160valid