Details

Time bar (total: 3.3s)

sample37.0ms

Algorithm
intervals
Results
11.0ms69×body1280valid
7.0ms72×body10240exit
7.0ms68×body640valid
2.0ms27×body320valid
1.0ms82×body80valid
0.0ms10×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.6b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

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

series43.0ms

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

simplify191.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (184.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune148.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/12 x (/ 1 x))

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/12 x (/ 1 x))

series49.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(fma 1/12 x (/ 1 x))

simplify60.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune24.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))

rewrite18.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:
14.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))

series424.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))
104.0ms
(cbrt (fma 1/12 x (/ 1 x)))
103.0ms
(cbrt (fma 1/12 x (/ 1 x)))
103.0ms
(cbrt (fma 1/12 x (/ 1 x)))

simplify135.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0277823
1911765
24122688
35001652

prune237.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))
0.5b
(cbrt (fma 1/12 x (/ 1 x)))
1.5b
(exp (log (cbrt (fma 1/12 x (/ 1 x)))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-prod exp-sum
pow1 exp-prod
add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
log-pow
rem-exp-log
Counts
4 → 60
Calls
4 calls:
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
4.0ms
(exp (log (cbrt (fma 1/12 x (/ 1 x)))))

series426.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(cbrt (fma 1/12 x (/ 1 x)))
107.0ms
(cbrt (fma 1/12 x (/ 1 x)))
105.0ms
(cbrt (fma 1/12 x (/ 1 x)))
109.0ms
(exp (log (cbrt (fma 1/12 x (/ 1 x)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0174575
1418539
21397493
35001447

prune247.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes41.0ms

Accuracy

97.7% (0.5b remaining)

Error of 0.8b against oracle of 0.3b and baseline of 21.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample1.1s

Algorithm
intervals
Results
379.0ms2245×body1280valid
255.0ms2527×body10240exit
170.0ms1642×body640valid
58.0ms877×body320valid
54.0ms2824×body80valid
17.0ms412×body160valid