Details

Time bar (total: 4.5s)

sample20.0ms

Algorithm
intervals
Results
10.0ms440×body80valid

simplify318.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93124
106404
1131804
1250014

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×associate-*r*
16×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube unswap-sqr
swap-sqr distribute-lft-out add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod
+-commutative flip3-+ sum-log flip-+
Counts
2 → 52
Calls
2 calls:
27.0ms
(+ (* 3 (* y y)) (* x x))
9.0ms
(* 3 (* y y))

series66.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (* 3 (* y y)) (* x x))
30.0ms
(* 3 (* y y))

simplify42.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0221231
11011211
25001202

prune69.0ms

Filtered
58 candidates to 33 candidates (43.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New55358
Fresh000
Picked011
Done000
Total55459

Merged error: 0b

Counts
59 → 4

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
40×sqrt-prod
30×associate-*l*
29×*-un-lft-identity
27×associate-*r*
24×unswap-sqr
17×add-cube-cbrt
16×pow1
swap-sqr
add-exp-log add-cbrt-cube
*-commutative
sqrt-pow1 distribute-lft-out
rem-sqrt-square add-log-exp
pow-prod-down
prod-exp cbrt-unprod
+-commutative pow2 flip3-+ pow-plus pow1/2 sum-log pow-sqr pow-prod-up flip-+
Counts
3 → 107
Calls
3 calls:
47.0ms
(+ (* (* (fabs y) 3) (sqrt (* y y))) (* x x))
15.0ms
(* (* (fabs y) 3) (sqrt (* y y)))
5.0ms
(sqrt (* y y))

series118.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0334638
11272575
25002541

prune359.0ms

Filtered
116 candidates to 69 candidates (40.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1142116
Fresh202
Picked011
Done011
Total1164120

Merged error: 0b

Counts
120 → 4

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

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
219×add-sqr-sqrt
127×unswap-sqr
94×associate-*r*
80×cbrt-prod
77×associate-*l*
74×add-cbrt-cube
68×cbrt-unprod
44×*-un-lft-identity
32×pow1 add-exp-log add-cube-cbrt
22×swap-sqr
19×pow-prod-down prod-exp
12×*-commutative
distribute-lft-out add-log-exp
+-commutative flip3-+ sum-log flip-+
Counts
4 → 224
Calls
4 calls:
89.0ms
(+ (* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3))) (* x x))
16.0ms
(* (fabs y) (* (cbrt 3) (cbrt 3)))
33.0ms
(* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3)))
5.0ms
(* (fabs y) (cbrt 3))

series325.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(+ (* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3))) (* x x))
65.0ms
(* (fabs y) (* (cbrt 3) (cbrt 3)))
99.0ms
(* (* (fabs y) (* (cbrt 3) (cbrt 3))) (* (fabs y) (cbrt 3)))
47.0ms
(* (fabs y) (cbrt 3))

simplify149.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
07472508
141222138
250021866

prune361.0ms

Filtered
236 candidates to 135 candidates (42.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2351236
Fresh101
Picked011
Done022
Total2364240

Merged error: 0b

Counts
240 → 4

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3)))) (sqrt (cbrt 3))) (* x x))
0.2b
(* (* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3)))) (sqrt (cbrt 3)))
0.2b
(* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3))))

rewrite366.0ms

Algorithm
rewrite-expression-head
Rules
931×add-sqr-sqrt
845×unswap-sqr
368×sqrt-prod
256×cbrt-prod
230×unpow-prod-down
164×associate-*l*
150×unpow2 sqr-pow
107×associate-*r*
69×add-exp-log
55×prod-exp
37×*-un-lft-identity
25×add-cube-cbrt
17×pow1 add-cbrt-cube
14×pow-to-exp pow-exp
pow-prod-down cbrt-unprod
distribute-lft-out
*-commutative add-log-exp
+-commutative flip3-+ sum-log flip-+
Counts
3 → 501
Calls
3 calls:
235.0ms
(+ (* (* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3)))) (sqrt (cbrt 3))) (* x x))
57.0ms
(* (* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3)))) (sqrt (cbrt 3)))
28.0ms
(* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3))))

series408.0ms

Counts
3 → 9
Calls
3 calls:
123.0ms
(+ (* (* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3)))) (sqrt (cbrt 3))) (* x x))
102.0ms
(* (* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3)))) (sqrt (cbrt 3)))
184.0ms
(* (pow (fabs y) 2) (* (pow (cbrt 3) 2) (sqrt (cbrt 3))))

simplify190.0ms

Algorithm
egg-herbie
Counts
510 → 510
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
011808670
140287873
250017196

prune686.0ms

Filtered
510 candidates to 197 candidates (61.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New5100510
Fresh000
Picked011
Done033
Total5104514

Merged error: 0b

Counts
514 → 4

regimes70.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

sample549.0ms

Algorithm
intervals
Results
329.0ms14197×body80valid