Details

Time bar (total: 5.6s)

sample106.0ms

Algorithm
intervals
Results
44.0ms259×body10240exit
31.0ms107×body1280valid
14.0ms80×body640valid
4.0ms35×body320valid
1.0ms21×body160valid
0.0ms13×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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.8b

Counts
2 → 1

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

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

series91.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune123.0ms

Filtered
46 candidates to 39 candidates (84.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New44246
Fresh000
Picked011
Done000
Total44347

Merged error: 0.7b

Counts
47 → 3

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.1b
(* 1/3 (pow x 3))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
72×prod-diff
52×*-un-lft-identity
49×associate-*r*
47×add-cube-cbrt
20×unswap-sqr
17×unpow-prod-down cube-prod
13×associate-*l*
sqr-pow
add-exp-log
pow1 unpow3 add-cbrt-cube add-log-exp difference-of-squares
cube-mult *-commutative
expm1-log1p-u fma-neg prod-exp log1p-expm1-u
distribute-lft-out--
pow-to-exp sub-neg flip3-- distribute-rgt-out-- diff-log pow-prod-down pow-exp flip-- cbrt-unprod fma-udef
Counts
3 → 141
Calls
3 calls:
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
13.0ms
(- x (* 1/3 (pow x 3)))
8.0ms
(* 1/3 (pow x 3))

series173.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05321676
11991877
25002877

prune186.0ms

Filtered
150 candidates to 54 candidates (36.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1482150
Fresh011
Picked101
Done011
Total1494153

Merged error: 0.7b

Counts
153 → 4

localize10.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.1b
(* (pow x 5) 2/15)
0.1b
(* 1/3 (pow x 3))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
166×add-sqr-sqrt
144×prod-diff
115×*-un-lft-identity
94×add-cube-cbrt
91×associate-*r*
74×associate-+r+
41×associate-*l*
38×unswap-sqr
37×unpow-prod-down
29×cube-prod
19×sqr-pow
18×fma-def
14×add-exp-log
11×add-log-exp
*-commutative
pow1 unpow3 add-cbrt-cube
cube-mult
prod-exp distribute-lft-out distribute-lft-out--
difference-of-squares
expm1-log1p-u log1p-expm1-u
fma-neg
pow-to-exp sub-neg diff-log pow-prod-down pow-exp sum-log cbrt-unprod
+-commutative associate-+r- flip3-- distribute-rgt-out-- flip3-+ flip-- flip-+
Counts
4 → 272
Calls
4 calls:
13.0ms
(- x (* 1/3 (pow x 3)))
38.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
6.0ms
(* (pow x 5) 2/15)
8.0ms
(* 1/3 (pow x 3))

series230.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- x (* 1/3 (pow x 3)))
59.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
47.0ms
(* (pow x 5) 2/15)
42.0ms
(* 1/3 (pow x 3))

simplify119.0ms

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
08432589
129621447
250021443

prune405.0ms

Filtered
284 candidates to 116 candidates (40.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2822284
Fresh112
Picked101
Done011
Total2844288

Merged error: 0.7b

Counts
288 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3)))))
0.1b
(* (pow x 5) 2/15)
0.1b
(expm1 (log1p (+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))))
0.1b
(* 1/3 (pow x 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
15×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity
10×associate-*l*
pow1 unpow-prod-down add-cbrt-cube
unswap-sqr
prod-exp
expm1-log1p-u log1p-expm1-u
cube-prod add-log-exp sqr-pow
pow-to-exp expm1-log1p pow-prod-down pow-exp *-commutative cbrt-unprod
cube-mult log1p-udef unpow3 log1p-expm1 expm1-udef
Counts
4 → 85
Calls
4 calls:
1.0ms
(log1p (+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3)))))
6.0ms
(* (pow x 5) 2/15)
1.0ms
(expm1 (log1p (+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))))
8.0ms
(* 1/3 (pow x 3))

series351.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(log1p (+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3)))))
54.0ms
(* (pow x 5) 2/15)
159.0ms
(expm1 (log1p (+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))))
36.0ms
(* 1/3 (pow x 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0381522
11552466
25002446

prune259.0ms

Filtered
97 candidates to 69 candidates (71.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New95297
Fresh112
Picked011
Done011
Total965101

Merged error: 0.7b

Counts
101 → 5

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1136
2136

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7308×body10240exit
998.0ms3351×body1280valid
423.0ms2365×body640valid
132.0ms1199×body320valid
47.0ms677×body160valid
15.0ms408×body80valid