Details

Time bar (total: 9.5s)

sample475.0ms

Algorithm
intervals
Results
131.0ms57×body2560valid
57.0ms84×body1280valid
24.0ms72×body640valid
5.0ms23×body320valid
2.0ms13×body160valid
1.0msbody80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.7b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.8b
(- x (sin x))
1.0b
(- x (tan x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
6.0ms
(- x (tan x))

series173.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(/ (- x (sin x)) (- x (tan x)))
36.0ms
(- x (sin x))
62.0ms
(- x (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune227.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
14.8b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma 27/2800 (pow x 4) 1/2)
0.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

series128.0ms

Counts
2 → 6
Calls
2 calls:
84.0ms
(fma 27/2800 (pow x 4) 1/2)
45.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

simplify143.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune69.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.8b
(- x (sin x))
1.2b
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
30.2b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
15×times-frac
prod-diff
add-exp-log add-cbrt-cube add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u log1p-expm1-u
cbrt-prod fma-neg associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg pow1/3 diff-log div-sub div-exp clear-num fma-udef div-inv
Counts
4 → 91
Calls
4 calls:
1.0ms
(cbrt x)
4.0ms
(- x (sin x))
9.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

series1.1s

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt x)
30.0ms
(- x (sin x))
523.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
327.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03421106
11185942
25001904

prune250.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes50.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.8b

bsearch88.0ms

Steps
ItersRangePoint
10
5.968040026638966e-05
117627206.70733242
0.02844105962587155
10
-64880754058.88788
-2.651420353119469e-05
-0.02582917538591079

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02510
12510

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.7s1666×body2560valid
1.8s2753×body1280valid
661.0ms1842×body640valid
225.0ms918×body320valid
74.0ms462×body160valid
41.0ms359×body80valid