Details

Time bar (total: 5.5s)

sample98.0ms

Algorithm
intervals
Results
35.0ms118×body1280valid
32.0ms208×body10240exit
15.0ms74×body640valid
4.0ms35×body320valid
1.0ms15×body160valid
1.0ms14×body80valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (42.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.5b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
1.5b
(/ (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)))
69.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify72.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune101.0ms

Filtered
46 candidates to 39 candidates (84.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh000
Picked101
Done000
Total45247

Merged error: 1.4b

Counts
47 → 2

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

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

series168.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune142.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh011
Picked011
Done000
Total70474

Merged error: 1.4b

Counts
74 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

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

series322.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- x (* 1/3 (pow x 3)))
54.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
154.0ms
(expm1 (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
37.0ms
(* 1/3 (pow x 3))

simplify44.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0305475
11203415
25001395

prune193.0ms

Filtered
86 candidates to 58 candidates (67.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh022
Picked101
Done011
Total85590

Merged error: 1.4b

Counts
90 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
0.7b
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
0.7b
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
0.7b
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
1.0ms
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
1.0ms
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
1.0ms
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))

series547.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
133.0ms
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
133.0ms
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
135.0ms
(cbrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))

simplify158.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
03031267
110401174
246661078
350011030

prune270.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New90393
Fresh123
Picked101
Done011
Total92698

Merged error: 1.4b

Counts
98 → 6

regimes32.0ms

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0165
1185
2185

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7610×body10240exit
1.0s3363×body1280valid
438.0ms2455×body640valid
129.0ms1201×body320valid
38.0ms570×body160valid
15.0ms411×body80valid

Profiling

Loading profile data...