Details

Time bar (total: 9.7s)

sample154.0ms

Algorithm
intervals
Results
83.0ms113×body1280valid
30.0ms18×body2560valid
19.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.5b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
8.0ms
(- (tan (+ x eps)) (tan x))
3.0ms
(tan (+ x eps))

series341.0ms

Counts
2 → 6
Calls
2 calls:
287.0ms
(- (tan (+ x eps)) (tan x))
54.0ms
(tan (+ x eps))

simplify76.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune115.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.8b

localize12.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))

rewrite69.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:
2.0ms
(- 1 (* (tan x) (tan eps)))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
52.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series627.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05422573
118932021
250021996

prune381.0ms

Filtered
163 candidates to 96 candidates (58.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.7b

localize15.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))

rewrite113.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:
3.0ms
(+ (tan x) (tan eps))
5.0ms
(exp (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
88.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

series679.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06234254
118713139
250013037

prune452.0ms

Filtered
219 candidates to 101 candidates (46.1%)
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))

rewrite59.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:
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
3.0ms
(pow E (- 1 (* (tan x) (tan eps))))
37.0ms
(- (/ (+ (tan x) (tan eps)) (log (pow E (- 1 (* (tan x) (tan eps)))))) (tan x))

series785.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(+ (tan x) (tan eps))
90.0ms
(* (tan x) (tan eps))
163.0ms
(pow E (- 1 (* (tan x) (tan eps))))
443.0ms
(- (/ (+ (tan x) (tan eps)) (log (pow E (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify79.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06153019
120692265
250022196

prune403.0ms

Filtered
177 candidates to 99 candidates (55.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 12.7b

regimes162.0ms

Accuracy

87.6% (0.9b remaining)

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

bsearch131.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03725
13725

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.5s3326×body1280valid
1.0s601×body2560valid
803.0ms1838×body640valid
200.0ms747×body320valid
105.0ms1118×body80valid
67.0ms370×body160valid