Details

Time bar (total: 6.0s)

sample142.0ms

Algorithm
intervals
Results
67.0ms260×body10240exit
34.0ms94×body1280valid
20.0ms84×body640valid
6.0ms38×body320valid
2.0ms20×body160valid
1.0ms20×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.8b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite4.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:
0.0ms
(expm1 (+ x x))
0.0ms
(fma 1 1 (exp (+ x x)))
2.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series108.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(expm1 (+ x x))
21.0ms
(fma 1 1 (exp (+ x x)))
69.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify82.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune150.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (+ x x))
0.0b
(fma 1 1 (exp (+ x x)))
0.2b
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))
0.8b
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log
16×associate-/r*
11×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 log1p-expm1-u
cbrt-undiv expm1-log1p-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
expm1-log1p pow-flip associate-/r/ fma-udef inv-pow expm1-udef
Counts
4 → 128
Calls
4 calls:
0.0ms
(expm1 (+ x x))
0.0ms
(fma 1 1 (exp (+ x x)))
5.0ms
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))
2.0ms
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))

series174.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(expm1 (+ x x))
20.0ms
(fma 1 1 (exp (+ x x)))
68.0ms
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))
67.0ms
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04011494
117951297
250011209

prune246.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.7b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (+ x x))
0.0b
(/ 1 (+ (exp (* 2 x)) 1))
0.0b
(+ (exp (* 2 x)) 1)
0.7b
(* (/ 1 (+ (exp (* 2 x)) 1)) (expm1 (+ x x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
30×add-sqr-sqrt
26×times-frac
23×add-cube-cbrt
18×associate-*l*
17×add-exp-log
11×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
log1p-expm1-u
expm1-log1p-u div-exp prod-exp associate-/r* associate-/r/
fma-def flip3-+ associate-*r* flip-+ associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
+-commutative expm1-log1p pow-flip frac-2neg pow-prod-down associate-*l/ clear-num sum-log *-commutative inv-pow expm1-udef
Counts
4 → 109
Calls
4 calls:
0.0ms
(expm1 (+ x x))
7.0ms
(/ 1 (+ (exp (* 2 x)) 1))
6.0ms
(+ (exp (* 2 x)) 1)
18.0ms
(* (/ 1 (+ (exp (* 2 x)) 1)) (expm1 (+ x x)))

series101.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(expm1 (+ x x))
23.0ms
(/ 1 (+ (exp (* 2 x)) 1))
10.0ms
(+ (exp (* 2 x)) 1)
51.0ms
(* (/ 1 (+ (exp (* 2 x)) 1)) (expm1 (+ x x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0331819
11630653
25002650

prune226.0ms

Pruning

4 alts after pruning (1 fresh and 3 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.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))))
6.0ms
(* 1/3 (pow x 3))

series167.0ms

Counts
3 → 9
Calls
3 calls:
77.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))

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25001292

prune155.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.7b

regimes19.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1197
2197

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.8s7562×body10240exit
1.2s3242×body1280valid
571.0ms2402×body640valid
202.0ms1254×body320valid
77.0ms668×body160valid
33.0ms434×body80valid