Details

Time bar (total: 5.3s)

sample109.0ms

Algorithm
intervals
Results
45.0ms270×body10240exit
33.0ms110×body1280valid
12.0ms67×body640valid
4.0ms42×body320valid
1.0ms20×body160valid
1.0ms17×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (44.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))))

rewrite7.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)))
5.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series96.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune127.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
29×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
18×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
div-exp prod-exp associate-/r* associate-/r/
expm1-log1p-u fma-def flip3-+ associate-*l* flip-+ log1p-expm1-u associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
+-commutative pow-flip frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
3 → 99
Calls
3 calls:
20.0ms
(/ 1 (+ (exp (* 2 x)) 1))
11.0ms
(+ (exp (* 2 x)) 1)
41.0ms
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

series89.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ 1 (+ (exp (* 2 x)) 1))
11.0ms
(+ (exp (* 2 x)) 1)
53.0ms
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

simplify43.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0320771
11601634
25001594

prune210.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.7b

localize12.0ms

Local error

Found 2 expressions with local error:

0.7b
(* (expm1 (+ x x)) (exp (- 0 (log1p (exp (* 2 x))))))
0.7b
(log1p (exp (* 2 x)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
14×associate-*r*
12×add-sqr-sqrt
11×exp-sum
10×add-cube-cbrt *-un-lft-identity
prod-diff
pow1 add-cbrt-cube
add-exp-log expm1-log1p-u associate-*l*
exp-neg sub0-neg associate-*r/ log1p-expm1-u add-log-exp
sub-neg log1p-udef exp-diff log1p-expm1 pow-prod-down prod-exp un-div-inv *-commutative cbrt-unprod unswap-sqr
Counts
2 → 45
Calls
2 calls:
58.0ms
(* (expm1 (+ x x)) (exp (- 0 (log1p (exp (* 2 x))))))
1.0ms
(log1p (exp (* 2 x)))

series326.0ms

Counts
2 → 6
Calls
2 calls:
274.0ms
(* (expm1 (+ x x)) (exp (- 0 (log1p (exp (* 2 x))))))
52.0ms
(log1p (exp (* 2 x)))

simplify134.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0233461
1898359
24624329
35001329

prune133.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.7b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-exp-log
associate-*l*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down
pow1 expm1-log1p-u associate-*r* prod-exp log1p-expm1-u add-log-exp unswap-sqr
fma-udef sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
3 → 47
Calls
3 calls:
0.0ms
(fma 1 x (* (pow x 5) 2/15))
0.0ms
(fma 1/3 (- (pow x 3)) (fma 1 x (* (pow x 5) 2/15)))
12.0ms
(* (pow x 5) 2/15)

series229.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(fma 1 x (* (pow x 5) 2/15))
62.0ms
(fma 1/3 (- (pow x 3)) (fma 1 x (* (pow x 5) 2/15)))
49.0ms
(* (pow x 5) 2/15)

simplify75.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0143265
1510235
22311230
35003229

prune154.0ms

Pruning

2 alts after pruning (1 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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1208
2208

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.3s7689×body10240exit
1.0s3349×body1280valid
439.0ms2470×body640valid
126.0ms1173×body320valid
39.0ms592×body160valid
15.0ms416×body80valid