Details

Time bar (total: 5.3s)

sample102.0ms

Algorithm
intervals
Results
43.0ms258×body10240exit
28.0ms100×body1280valid
14.0ms83×body640valid
4.0ms39×body320valid
1.0ms22×body160valid
0.0ms12×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (43.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.8b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
0.7b
(/ (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))))

series89.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))))

simplify74.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune114.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.7b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.0ms

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

series351.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(fma 1 1 (exp (+ x x)))
184.0ms
(log1p (expm1 (/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))))
81.0ms
(expm1 (/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x)))))
65.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify84.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0190626
1623553
22844544
35002542

prune193.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.7b

localize13.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.2b
(* 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))

series353.0ms

Counts
3 → 9
Calls
3 calls:
263.0ms
(- x (* 1/3 (pow x 3)))
54.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
35.0ms
(* 1/3 (pow x 3))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25001292

prune161.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.7b

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series213.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- x (* 1/3 (pow x 3)))
52.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
48.0ms
(* (pow x 5) 2/15)
38.0ms
(* 1/3 (pow x 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0355521
11456467
25001466

prune239.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.7b

regimes16.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0138
1158
2158

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7703×body10240exit
955.0ms3255×body1280valid
444.0ms2513×body640valid
132.0ms1218×body320valid
42.0ms622×body160valid
14.0ms392×body80valid