Details

Time bar (total: 1.4s)

sample12.0ms

Algorithm
intervals
Results
6.0ms333×body80valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0194
1454
2823
31273
41683
52243
63593
76663
87633
97633

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (- x) (fma 0.12 x 0.253) 1.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (- x) (fma 0.12 x 0.253) 1.0)

series31.0ms

Counts
1 → 3
Calls
1 calls:
31.0ms
(fma (- x) (fma 0.12 x 0.253) 1.0)

simplify66.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04266
110253
243253
3213153
4500153

prune28.0ms

Filtered
13 candidates to 10 candidates (23.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New11213
Fresh011
Picked011
Done000
Total11415

Merged error: 0.0b

Counts
15 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 0.253 (* x 0.12))
0.1b
(* x (+ 0.253 (* x 0.12)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt associate-*r* associate-*l*
pow1 add-exp-log add-cbrt-cube distribute-lft-out add-log-exp
+-commutative fma-def
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ associate-*r/ flip-+ log1p-expm1-u
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 46
Calls
2 calls:
6.0ms
(+ 0.253 (* x 0.12))
9.0ms
(* x (+ 0.253 (* x 0.12)))

series96.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ 0.253 (* x 0.12))
63.0ms
(* x (+ 0.253 (* x 0.12)))

simplify102.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0170192
1774158
24028156
35001156

prune76.0ms

Filtered
52 candidates to 38 candidates (26.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh202
Picked101
Done101
Total51556

Merged error: 0.0b

Counts
56 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 0.253) (* x (* x 0.12)))
0.2b
(* x (* x 0.12))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
23×associate-*r*
21×*-un-lft-identity
20×add-sqr-sqrt
18×associate-*l*
12×fma-def
11×add-cube-cbrt
distribute-lft-out
pow1 add-exp-log *-commutative add-cbrt-cube
unswap-sqr
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u distribute-rgt-out log1p-expm1-u
+-commutative flip3-+ sum-log flip-+
Counts
2 → 69
Calls
2 calls:
20.0ms
(+ (* x 0.253) (* x (* x 0.12)))
8.0ms
(* x (* x 0.12))

series93.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(+ (* x 0.253) (* x (* x 0.12)))
26.0ms
(* x (* x 0.12))

simplify39.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0231250
11062203
25002200

prune94.0ms

Filtered
75 candidates to 50 candidates (33.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New73275
Fresh314
Picked011
Done000
Total76480

Merged error: 0b

Counts
80 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 0.253) (* (pow x 2) 0.12))
0.2b
(* (pow x 2) 0.12)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity associate-*l*
12×fma-def
add-cube-cbrt
add-exp-log
associate-*r*
distribute-lft-out unswap-sqr
pow1 unpow-prod-down add-cbrt-cube add-log-exp
prod-exp unpow2
expm1-log1p-u *-commutative log1p-expm1-u sqr-pow
+-commutative pow-to-exp flip3-+ pow-prod-down pow-exp sum-log cbrt-unprod flip-+
Counts
2 → 60
Calls
2 calls:
17.0ms
(+ (* x 0.253) (* (pow x 2) 0.12))
6.0ms
(* (pow x 2) 0.12)

series91.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(+ (* x 0.253) (* (pow x 2) 0.12))
24.0ms
(* (pow x 2) 0.12)

simplify159.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (154.0ms)

IterNodesCost
0184221
1685198
24249189
35001188

prune93.0ms

Filtered
66 candidates to 46 candidates (30.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done011
Total66470

Merged error: 0b

Counts
70 → 4

regimes16.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample295.0ms

Algorithm
intervals
Results
188.0ms10653×body80valid