Details

Time bar (total: 5.2s)

sample89.0ms

Algorithm
intervals
Results
39.0ms99×body1280valid
19.0ms75×body640valid
11.0ms218×body80overflowed
8.0ms45×body320valid
2.0ms21×body160valid
1.0ms16×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

series89.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune114.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (log1p (exp (* 2 x))))
0.5b
(log1p (exp (* 2 x)))
0.5b
(/ (expm1 (+ x x)) (exp (log1p (exp (* 2 x)))))

rewrite5.0ms

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

series269.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(exp (log1p (exp (* 2 x))))
50.0ms
(log1p (exp (* 2 x)))
140.0ms
(/ (expm1 (+ x x)) (exp (log1p (exp (* 2 x)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0182523
1556477
22509465
35001451

prune161.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot 1 (exp x))
0.8b
(/ (expm1 (* 2 x)) (hypot 1 (exp x)))
0.9b
(* (/ 1 (/ (hypot 1 (exp x)) 1)) (/ (expm1 (* 2 x)) (hypot 1 (exp x))))
0.9b
(/ 1 (/ (hypot 1 (exp x)) 1))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
141×add-sqr-sqrt
106×*-un-lft-identity
96×add-cube-cbrt
83×add-exp-log
47×div-exp
44×associate-*l*
32×add-cbrt-cube
20×prod-exp
18×1-exp
16×associate-/r*
14×unswap-sqr
13×cbrt-undiv associate-*r*
11×div-inv
rec-exp
pow1
cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
frac-times hypot-udef pow-flip div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow expm1-udef
Counts
4 → 232
Calls
4 calls:
0.0ms
(hypot 1 (exp x))
2.0ms
(/ (expm1 (* 2 x)) (hypot 1 (exp x)))
31.0ms
(* (/ 1 (/ (hypot 1 (exp x)) 1)) (/ (expm1 (* 2 x)) (hypot 1 (exp x))))
5.0ms
(/ 1 (/ (hypot 1 (exp x)) 1))

series416.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(hypot 1 (exp x))
120.0ms
(/ (expm1 (* 2 x)) (hypot 1 (exp x)))
153.0ms
(* (/ 1 (/ (hypot 1 (exp x)) 1)) (/ (expm1 (* 2 x)) (hypot 1 (exp x))))
86.0ms
(/ 1 (/ (hypot 1 (exp x)) 1))

simplify46.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010012593
150012228

prune486.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.5b

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

series174.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
80.0ms
(- x (* 1/3 (pow x 3)))
37.0ms
(* 1/3 (pow x 3))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune159.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.5b

regimes21.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1177
2177

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.3s3316×body1280valid
621.0ms2462×body640valid
373.0ms7563×body80overflowed
204.0ms1216×body320valid
66.0ms593×body160valid
22.0ms413×body80valid