Details

Time bar (total: 2.4s)

sample36.0ms

Algorithm
intervals
Results
13.0ms68×body1280valid
6.0ms46×body640valid
4.0ms158×body80valid
3.0ms13×body160valid
3.0ms30×body320valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.8b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
4.3b
(- (exp x) 1.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
fma-neg associate-/r*
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 68
Calls
2 calls:
7.0ms
(/ (- (exp x) 1.0) x)
5.0ms
(- (exp x) 1.0)

series60.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ (- (exp x) 1.0) x)
15.0ms
(- (exp x) 1.0)

simplify37.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0282468
1919380
25001377

prune122.0ms

Filtered
74 candidates to 52 candidates (70.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New70474
Fresh000
Picked101
Done000
Total71475

Merged error: 0.0b

Counts
75 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/6 (pow x 2) (fma 1/2 x 1))

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
1 → 10
Calls
1 calls:
1.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))

series21.0ms

Counts
1 → 3
Calls
1 calls:
21.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))

simplify27.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03659
110452
253552
3500252

prune32.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh033
Picked011
Done000
Total12517

Merged error: 0.0b

Counts
17 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
9.9b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
9.9b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
9.9b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
1.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
1.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
1.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
57.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
57.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
54.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

simplify103.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0216936
1676870
23111805
35002790

prune236.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh033
Picked011
Done011
Total93598

Merged error: 0.0b

Counts
98 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma 1/6 (pow x 3) x)
3.1b
(/ (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) x)
10.3b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
1.0ms
(fma 1/6 (pow x 3) x)
3.0ms
(/ (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) x)
1.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series150.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(fma 1/6 (pow x 3) x)
44.0ms
(/ (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) x)
31.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

simplify86.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0140391
1510356
22915356
35002356

prune127.0ms

Filtered
58 candidates to 44 candidates (75.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New58058
Fresh022
Picked011
Done022
Total58563

Merged error: 0.0b

Counts
63 → 5

regimes26.0ms

Accuracy

98.3% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 21.2b

bsearch20.0ms

Steps
ItersRangePoint
6
-7.74497267090904e-05
-1.272348569829707e-05
-7.372861788394869e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample1.0s

Algorithm
intervals
Results
448.0ms2194×body1280valid
217.0ms1672×body640valid
130.0ms5413×body80valid
77.0ms863×body320valid
28.0ms436×body160valid