Details

Time bar (total: 2.4s)

sample31.0ms

Algorithm
intervals
Results
11.0ms63×body1280valid
6.0ms57×body640valid
4.0ms181×body80valid
2.0ms29×body320valid
1.0ms12×body160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.8b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
12.0ms
(/ (- (exp x) 1.0) x)
6.0ms
(- (exp x) 1.0)

series60.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ (- (exp x) 1.0) x)
16.0ms
(- (exp x) 1.0)

simplify35.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282468
1919380
25001377

prune145.0ms

Filtered
74 candidates to 52 candidates (70.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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:
0.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

prune40.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
11.3b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
11.3b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
11.3b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

rewrite9.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))))
0.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
0.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:
61.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))))
53.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
56.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)))

simplify99.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0216936
1676870
23111805
35002790

prune279.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 1/12 (pow x 2) (fma 1/3 x 1))
0.1b
(fma 1/6 (pow x 2) (fma 1/2 x 1))
0.1b
(fma 1/3 x 1)
11.3b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
0.0ms
(fma 1/12 (pow x 2) (fma 1/3 x 1))
0.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))
0.0ms
(fma 1/3 x 1)
1.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

series131.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(fma 1/12 (pow x 2) (fma 1/3 x 1))
20.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))
30.0ms
(fma 1/3 x 1)
56.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

simplify49.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0144291
1378265
21596263
35001263

prune189.0ms

Filtered
55 candidates to 45 candidates (81.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

regimes28.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 20.9b

bsearch22.0ms

Steps
ItersRangePoint
5
-0.00018190622123830468
-8.316448984380752e-05
-0.00017545399214217864

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03218
13218

end0.0ms

sample890.0ms

Algorithm
intervals
Results
391.0ms2279×body1280valid
182.0ms1694×body640valid
102.0ms5340×body80valid
55.0ms797×body320valid
21.0ms458×body160valid