Details

Time bar (total: 5.7s)

sample102.0ms

Algorithm
intervals
Results
39.0ms232×body10240exit
32.0ms109×body1280valid
15.0ms83×body640valid
4.0ms39×body320valid
1.0ms13×body160valid
0.0ms12×body80valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (42.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (+ x x))
0.0b
(fma 1 1 (exp (+ x x)))
0.7b
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

rewrite5.0ms

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

series106.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(expm1 (+ x x))
25.0ms
(fma 1 1 (exp (+ x x)))
63.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify77.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune143.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.0b
(- x (* 1/3 (pow x 3)))
0.1b
(* 1/3 (pow x 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×associate-*r*
add-cube-cbrt *-un-lft-identity
add-exp-log
add-cbrt-cube add-log-exp
unpow-prod-down cube-prod unswap-sqr
pow1 expm1-log1p-u fma-neg associate-*l* prod-diff prod-exp log1p-expm1-u
sqr-pow
cube-mult pow-to-exp sub-neg flip3-- diff-log unpow3 pow-exp *-commutative flip-- cbrt-unprod fma-udef
Counts
3 → 63
Calls
3 calls:
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
3.0ms
(- x (* 1/3 (pow x 3)))
6.0ms
(* 1/3 (pow x 3))

series170.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
78.0ms
(- x (* 1/3 (pow x 3)))
36.0ms
(* 1/3 (pow x 3))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune172.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
0.0b
(- x (* 1/3 (pow x 3)))
0.0b
(* (pow x 5) 2/15)
0.1b
(* 1/3 (pow x 3))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
15×associate-*r*
14×add-exp-log add-cube-cbrt *-un-lft-identity
11×add-log-exp
10×associate-*l*
unpow-prod-down add-cbrt-cube
unswap-sqr
prod-diff prod-exp
associate-+r+
pow1 expm1-log1p-u cube-prod log1p-expm1-u sqr-pow
fma-neg
pow-to-exp sub-neg diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult associate-+r- flip3-- fma-def flip3-+ unpow3 flip-- flip-+
Counts
4 → 101
Calls
4 calls:
6.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
3.0ms
(- x (* 1/3 (pow x 3)))
5.0ms
(* (pow x 5) 2/15)
6.0ms
(* 1/3 (pow x 3))

series222.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
78.0ms
(- x (* 1/3 (pow x 3)))
52.0ms
(* (pow x 5) 2/15)
36.0ms
(* 1/3 (pow x 3))

simplify50.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0355521
11456467
25001466

prune252.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt x)
0.7b
(cbrt x)
0.7b
(cbrt x)
0.7b
(pow (cbrt x) 5)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
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 → 62
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
3.0ms
(pow (cbrt x) 5)

series790.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt x)
183.0ms
(cbrt x)
177.0ms
(cbrt x)
251.0ms
(pow (cbrt x) 5)

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0123226
1362215
21302206
35001201

prune266.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.7b

regimes20.0ms

Accuracy

0% (1.2b remaining)

Error of 1.9b against oracle of 0.7b and baseline of 1.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12914
22914

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7440×body10240exit
995.0ms3332×body1280valid
433.0ms2442×body640valid
128.0ms1166×body320valid
43.0ms627×body160valid
19.0ms433×body80valid