Details

Time bar (total: 3.9s)

sample77.0ms

Algorithm
intervals
Results
34.0ms105×body1280valid
18.0ms82×body640valid
9.0ms288×body80overflowed
4.0ms30×body320valid
2.0ms25×body160valid
1.0ms14×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

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: 1.0b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
1.0b
(/ (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))))

series86.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune108.0ms

Filtered
46 candidates to 39 candidates (84.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.9b

Counts
47 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log associate-/r*
10×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip associate-/r/ fma-udef inv-pow
Counts
3 → 117
Calls
3 calls:
1.0ms
(fma 1 1 (exp (+ x x)))
6.0ms
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))
3.0ms
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))

series157.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03871449
117421257
250011169

prune181.0ms

Filtered
126 candidates to 74 candidates (58.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1260126
Fresh022
Picked011
Done000
Total1263129

Merged error: 0.9b

Counts
129 → 3

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

rewrite12.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:
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
3.0ms
(- x (* 1/3 (pow x 3)))
6.0ms
(* 1/3 (pow x 3))

series171.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
78.0ms
(- x (* 1/3 (pow x 3)))
39.0ms
(* 1/3 (pow x 3))

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune137.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New69372
Fresh011
Picked101
Done011
Total70575

Merged error: 0.9b

Counts
75 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
15×associate-*r*
14×add-exp-log add-cube-cbrt *-un-lft-identity
11×add-log-exp
10×associate-*l*
unpow-prod-down add-cbrt-cube
unswap-sqr
prod-diff prod-exp
associate-+r+
pow1 expm1-log1p-u cube-prod log1p-expm1-u sqr-pow
fma-neg
pow-to-exp sub-neg diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult associate-+r- flip3-- fma-def flip3-+ unpow3 flip-- flip-+
Counts
4 → 101
Calls
4 calls:
6.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
3.0ms
(- x (* 1/3 (pow x 3)))
5.0ms
(* (pow x 5) 2/15)
6.0ms
(* 1/3 (pow x 3))

series222.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(+ (* (pow x 5) 2/15) (- x (* 1/3 (pow x 3))))
79.0ms
(- x (* 1/3 (pow x 3)))
46.0ms
(* (pow x 5) 2/15)
40.0ms
(* 1/3 (pow x 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0355521
11456467
25001466

prune197.0ms

Filtered
113 candidates to 74 candidates (65.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh213
Picked101
Done011
Total1144118

Merged error: 0.9b

Counts
118 → 4

regimes17.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1147
2147

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s3331×body1280valid
481.0ms2398×body640valid
233.0ms7472×body80overflowed
155.0ms1199×body320valid
54.0ms656×body160valid
17.0ms416×body80valid

Profiling

Loading profile data...