Details

Time bar (total: 5.0s)

sample104.0ms

Algorithm
intervals
Results
39.0ms228×body10240exit
34.0ms110×body1280valid
14.0ms75×body640valid
5.0ms43×body320valid
1.0ms14×body160valid
0.0ms14×body80valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (46.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

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

series90.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(fma 1 1 (exp (+ x x)))
69.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify80.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune112.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.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:
2.0ms
(- x (* 1/3 (pow x 3)))
0.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
7.0ms
(* 1/3 (pow x 3))

series170.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(- x (* 1/3 (pow x 3)))
55.0ms
(fma (pow x 5) 2/15 (- 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
25001292

prune164.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize10.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.1b
(* (pow x 5) 2/15)
0.1b
(* 1/3 (pow x 3))

rewrite27.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:
7.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
2.0ms
(- x (* 1/3 (pow x 3)))
8.0ms
(* (pow x 5) 2/15)
7.0ms
(* 1/3 (pow x 3))

series229.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
81.0ms
(- x (* 1/3 (pow x 3)))
53.0ms
(* (pow x 5) 2/15)
37.0ms
(* 1/3 (pow x 3))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0355521
11456467
25001466

prune249.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/3 (pow x 3))
1.0b
(cbrt 2/15)
1.0b
(cbrt 2/15)
1.0b
(cbrt 2/15)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×associate-*r*
11×add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod
add-cbrt-cube
pow1 expm1-log1p-u unpow-prod-down cube-prod log1p-expm1-u add-log-exp unswap-sqr
pow1/3 associate-*l* prod-exp
sqr-pow
cube-mult pow-to-exp unpow3 pow-exp *-commutative cbrt-unprod
Counts
4 → 72
Calls
4 calls:
7.0ms
(* 1/3 (pow x 3))
0.0ms
(cbrt 2/15)
1.0ms
(cbrt 2/15)
1.0ms
(cbrt 2/15)

series36.0ms

Counts
4 → 6
Calls
4 calls:
36.0ms
(* 1/3 (pow x 3))
0.0ms
(cbrt 2/15)
0.0ms
(cbrt 2/15)
0.0ms
(cbrt 2/15)

simplify157.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0145241
1550218
23109212
35002212

prune215.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

regimes16.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1136
2136

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7558×body10240exit
977.0ms3230×body1280valid
449.0ms2456×body640valid
141.0ms1267×body320valid
46.0ms623×body160valid
16.0ms424×body80valid