Details

Time bar (total: 5.6s)

sample99.0ms

Algorithm
intervals
Results
37.0ms217×body10240exit
31.0ms107×body1280valid
15.0ms81×body640valid
4.0ms34×body320valid
1.0ms16×body160valid
1.0ms18×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (45.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite6.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:
1.0ms
(expm1 (+ x x))
1.0ms
(fma 1 1 (exp (+ x x)))
3.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series114.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune134.0ms

Filtered
60 candidates to 49 candidates (81.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New56460
Fresh011
Picked101
Done000
Total57562

Merged error: 0b

Counts
62 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.0ms

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

series293.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(expm1 (+ x x))
51.0ms
(log1p (exp (* 2 x)))
79.0ms
(exp (log1p (exp (* 2 x))))
144.0ms
(/ (expm1 (+ x x)) (exp (log1p (exp (* 2 x)))))

simplify73.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0196568
1609517
22717505
35001496

prune176.0ms

Filtered
78 candidates to 60 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh134
Picked011
Done000
Total78583

Merged error: 0b

Counts
83 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
97×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
17×add-exp-log distribute-lft-out
11×add-cbrt-cube
div-exp
associate-/l*
div-inv add-log-exp
pow1 log1p-expm1-u
cbrt-undiv expm1-log1p-u
fma-def
rec-exp frac-2neg flip3-+ 1-exp clear-num flip-+ associate-/l/
+-commutative expm1-log1p pow-flip sum-log associate-/r/ inv-pow expm1-udef
Counts
4 → 153
Calls
4 calls:
1.0ms
(expm1 (* 2 x))
3.0ms
(+ 1 (exp (* 2 x)))
6.0ms
(/ (+ 1 (exp (* 2 x))) (expm1 (* 2 x)))
8.0ms
(/ 1 (/ (+ 1 (exp (* 2 x))) (expm1 (* 2 x))))

series136.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(expm1 (* 2 x))
10.0ms
(+ 1 (exp (* 2 x)))
55.0ms
(/ (+ 1 (exp (* 2 x))) (expm1 (* 2 x)))
55.0ms
(/ 1 (/ (+ 1 (exp (* 2 x))) (expm1 (* 2 x))))

simplify58.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04591703
124061465
250011409

prune223.0ms

Filtered
165 candidates to 91 candidates (55.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1650165
Fresh033
Picked011
Done011
Total1655170

Merged error: 0b

Counts
170 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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*
log1p-expm1-u
expm1-log1p-u add-log-exp
frac-2neg clear-num associate-/r/ expm1-udef
frac-times expm1-log1p pow-flip div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 233
Calls
4 calls:
1.0ms
(expm1 (* 2 x))
20.0ms
(* (/ 1 (/ (hypot 1 (exp x)) 1)) (/ (expm1 (* 2 x)) (hypot 1 (exp x))))
3.0ms
(/ (expm1 (* 2 x)) (hypot 1 (exp x)))
10.0ms
(/ 1 (/ (hypot 1 (exp x)) 1))

series372.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(expm1 (* 2 x))
149.0ms
(* (/ 1 (/ (hypot 1 (exp x)) 1)) (/ (expm1 (* 2 x)) (hypot 1 (exp x))))
119.0ms
(/ (expm1 (* 2 x)) (hypot 1 (exp x)))
87.0ms
(/ 1 (/ (hypot 1 (exp x)) 1))

simplify106.0ms

Algorithm
egg-herbie
Counts
245 → 245
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
09892583
148882209
250012209

prune418.0ms

Filtered
245 candidates to 146 candidates (59.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2441245
Fresh112
Picked101
Done022
Total2464250

Merged error: 0b

Counts
250 → 4

regimes16.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1177
2177

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7412×body10240exit
991.0ms3330×body1280valid
433.0ms2410×body640valid
134.0ms1221×body320valid
43.0ms632×body160valid
21.0ms407×body80valid