Details

Time bar (total: 3.2s)

sample38.0ms

Algorithm
intervals
Results
13.0ms78×body1280valid
7.0ms69×body10240exit
6.0ms56×body640valid
2.0ms25×body320valid
2.0ms88×body80valid
0.0msbody160valid

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: 42.7b

localize4.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
2.7b
(- (exp x) 1.0)

rewrite15.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:
8.0ms
(/ (exp x) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)

series44.0ms

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

simplify189.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (183.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune143.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma 1/12 x (/ 1 x)) 1/2)
0.1b
(fma 1/12 x (/ 1 x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
3.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
0.0ms
(fma 1/12 x (/ 1 x))

series58.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
43.0ms
(fma 1/12 x (/ 1 x))

simplify41.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune65.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.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)))
0.5b
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))

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:
0.0ms
(cbrt (fma 1/12 x (/ 1 x)))
0.0ms
(cbrt (fma 1/12 x (/ 1 x)))
0.0ms
(cbrt (fma 1/12 x (/ 1 x)))
6.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))

series403.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(cbrt (fma 1/12 x (/ 1 x)))
97.0ms
(cbrt (fma 1/12 x (/ 1 x)))
100.0ms
(cbrt (fma 1/12 x (/ 1 x)))
108.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))

simplify129.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0277823
1917765
24127688
35002652

prune242.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
22.0ms
(* (cbrt (+ (fma 1/12 x (/ 1 x)) 1/2)) (cbrt (+ (fma 1/12 x (/ 1 x)) 1/2)))
2.0ms
(cbrt (+ (fma 1/12 x (/ 1 x)) 1/2))
2.0ms
(cbrt (+ (fma 1/12 x (/ 1 x)) 1/2))
2.0ms
(cbrt (+ (fma 1/12 x (/ 1 x)) 1/2))

series263.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (cbrt (+ (fma 1/12 x (/ 1 x)) 1/2)) (cbrt (+ (fma 1/12 x (/ 1 x)) 1/2)))
72.0ms
(cbrt (+ (fma 1/12 x (/ 1 x)) 1/2))
65.0ms
(cbrt (+ (fma 1/12 x (/ 1 x)) 1/2))
72.0ms
(cbrt (+ (fma 1/12 x (/ 1 x)) 1/2))

simplify47.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03301284
111091214
250011108

prune262.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes45.0ms

Accuracy

96.1% (0.8b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 21.1b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1188

end0.0ms

sample1.1s

Algorithm
intervals
Results
390.0ms2327×body1280valid
268.0ms2534×body10240exit
171.0ms1635×body640valid
54.0ms807×body320valid
53.0ms2835×body80valid
17.0ms397×body160valid