Details

Time bar (total: 8.9s)

sample452.0ms

Algorithm
intervals
Results
117.0ms59×body2560valid
42.0ms68×body1280valid
21.0ms61×body640valid
11.0ms42×body320valid
3.0ms16×body160valid
1.0ms10×body80valid

simplify11.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.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
2.3b
(- x (sin x))
2.3b
(- x (tan x))

rewrite42.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))
5.0ms
(- x (tan x))

series170.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune235.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
14.6b
(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)))

series127.0ms

Counts
2 → 6
Calls
2 calls:
82.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)))

simplify144.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune72.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
14.6b
(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)))

series123.0ms

Counts
2 → 6
Calls
2 calls:
81.0ms
(fma 27/2800 (pow x 4) 1/2)
42.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

prune85.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (fma (sqrt x) (sqrt x) (- (tan x))))
2.3b
(- x (sin x))
14.8b
(fma (sqrt x) (sqrt x) (- (tan x)))

rewrite16.0ms

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

series296.0ms

Counts
3 → 9
Calls
3 calls:
160.0ms
(/ (- x (sin x)) (fma (sqrt x) (sqrt x) (- (tan x))))
34.0ms
(- x (sin x))
102.0ms
(fma (sqrt x) (sqrt x) (- (tan x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04151008
11630865
25001837

prune206.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes52.0ms

Accuracy

100% (0.0b remaining)

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

bsearch77.0ms

Steps
ItersRangePoint
7
0.003064448021395057
0.16998237910242062
0.028890275250899152
10
-4.508778152722845
-1.8057709034692785e-13
-0.030137210439935006

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1609×body2560valid
1.9s2735×body1280valid
629.0ms1888×body640valid
220.0ms933×body320valid
76.0ms448×body160valid
37.0ms387×body80valid