Details

Time bar (total: 2.7s)

sample37.0ms

Algorithm
intervals
Results
14.0ms101×body1280valid
7.0ms89×body640valid
3.0ms371×pre80true
2.0ms45×body320valid
1.0ms120×body80valid
1.0ms16×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
062
172
272

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 59.3b

localize6.0ms

Local error

Found 1 expressions with local error:

5.0b
(- (exp x) 1.0)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 28
Calls
1 calls:
5.0ms
(- (exp x) 1.0)

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(- (exp x) 1.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0140205
1403130
22063120
3500390

prune50.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) 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:
1.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series26.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04574
115265
294865
3500165

prune38.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.0b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))
0.0b
(sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
0.0b
(sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
0.3b
(* (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
1.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))
1.0ms
(sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
1.0ms
(sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
6.0ms
(* (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))

series159.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))
53.0ms
(sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
49.0ms
(sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
31.0ms
(* (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))

simplify38.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0179705
1731615
25001583

prune221.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
0.3b
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
0.3b
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
0.5b
(pow (cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))) 4)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×sqrt-prod
unpow-prod-down
pow1 add-exp-log
expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 74
Calls
4 calls:
2.0ms
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
2.0ms
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
2.0ms
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
3.0ms
(pow (cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))) 4)

series272.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
59.0ms
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
65.0ms
(cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
83.0ms
(pow (cbrt (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))) 4)

simplify146.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
03001020
1962953
24070906
35001868

prune312.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes55.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094

end0.0ms

sample1.1s

Algorithm
intervals
Results
493.0ms3398×body1280valid
210.0ms2459×body640valid
104.0ms12062×pre80true
71.0ms1317×body320valid
51.0ms4232×body80valid
22.0ms656×body160valid