Details

Time bar (total: 3.1s)

sample23.0ms

Algorithm
intervals
Results
12.0ms440×body80valid

simplify294.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0146
1294
2504
3703
4823
51253
62293
73213
83363
94343
107863
1134753
1250013

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 3 (* y y) (* x x))

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 3 (* y y) (* x x))

series36.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(fma 3 (* y y) (* x x))

simplify57.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108852
4500152

prune28.0ms

Filtered
13 candidates to 10 candidates (23.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New9413
Fresh101
Picked011
Done000
Total10515

Merged error: 0.0b

Counts
15 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3 (* y y)) (* x x))
0.2b
(* 3 (* y y))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
36×associate-*r*
28×fma-def
23×*-un-lft-identity
16×associate-*l*
15×add-cube-cbrt
14×unswap-sqr
swap-sqr
pow1 add-exp-log add-cbrt-cube
*-commutative
distribute-lft-out add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ sum-log flip-+
Counts
2 → 84
Calls
2 calls:
31.0ms
(+ (* 3 (* y y)) (* x x))
9.0ms
(* 3 (* y y))

series59.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (* 3 (* y y)) (* x x))
26.0ms
(* 3 (* y y))

simplify44.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0230238
11051218
25002208

prune109.0ms

Filtered
90 candidates to 56 candidates (37.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New87390
Fresh303
Picked011
Done101
Total91495

Merged error: 0b

Counts
95 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (fabs y) 3) (sqrt (* y y))) (* x x))
0.2b
(* (* (fabs y) 3) (sqrt (* y y)))
18.7b
(sqrt (* y y))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
65×sqrt-prod
51×associate-*r*
48×associate-*l*
47×fma-def
46×unswap-sqr
39×*-un-lft-identity
27×add-cube-cbrt
16×pow1
14×swap-sqr
12×*-commutative
add-exp-log add-cbrt-cube
sqrt-pow1 distribute-lft-out
rem-sqrt-square add-log-exp
pow-prod-down
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
+-commutative pow2 flip3-+ pow-plus pow1/2 sum-log pow-sqr pow-prod-up flip-+
Counts
3 → 160
Calls
3 calls:
54.0ms
(+ (* (* (fabs y) 3) (sqrt (* y y))) (* x x))
16.0ms
(* (* (fabs y) 3) (sqrt (* y y)))
5.0ms
(sqrt (* y y))

series115.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(+ (* (* (fabs y) 3) (sqrt (* y y))) (* x x))
49.0ms
(* (* (fabs y) 3) (sqrt (* y y)))
9.0ms
(sqrt (* y y))

simplify55.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0345665
11327599
25001549

prune265.0ms

Filtered
169 candidates to 110 candidates (34.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1672169
Fresh202
Picked011
Done011
Total1694173

Merged error: 0b

Counts
173 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3))) (* x x))
0.1b
(* (fabs y) (* (cbrt 3) (cbrt 3)))
0.2b
(* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3)))
0.3b
(* (fabs y) (cbrt 3))

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
388×add-sqr-sqrt
235×unswap-sqr
149×associate-*r*
134×cbrt-prod
133×associate-*l*
95×fma-def
74×add-cbrt-cube
68×cbrt-unprod
60×*-un-lft-identity
48×add-cube-cbrt
36×swap-sqr
32×pow1 add-exp-log
20×*-commutative
19×pow-prod-down prod-exp
distribute-lft-out add-log-exp
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ sum-log flip-+
Counts
4 → 327
Calls
4 calls:
105.0ms
(+ (* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3))) (* x x))
14.0ms
(* (fabs y) (* (cbrt 3) (cbrt 3)))
36.0ms
(* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3)))
5.0ms
(* (fabs y) (cbrt 3))

series316.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(+ (* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3))) (* x x))
65.0ms
(* (fabs y) (* (cbrt 3) (cbrt 3)))
95.0ms
(* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3)))
45.0ms
(* (fabs y) (cbrt 3))

simplify141.0ms

Algorithm
egg-herbie
Counts
339 → 339
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
07602571
141832185
250011890

prune607.0ms

Filtered
339 candidates to 219 candidates (35.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3381339
Fresh101
Picked011
Done022
Total3394343

Merged error: 0b

Counts
343 → 4

regimes73.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample558.0ms

Algorithm
intervals
Results
335.0ms14197×body80valid