Details

Time bar (total: 2.2s)

sample19.0ms

Algorithm
intervals
Results
10.0ms439×body80valid

simplify282.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131974
1250014

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
6.0ms
(+ (* 3 (* y y)) (* x x))
6.0ms
(* 3 (* y y))

series59.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(+ (* 3 (* y y)) (* x x))
24.0ms
(* 3 (* y y))

simplify77.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0164163
1658146
22429139
35003139

prune63.0ms

Filtered
36 candidates to 23 candidates (63.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
6.0ms
(+ (* (* 3 y) y) (* x x))
6.0ms
(* (* 3 y) y)

series58.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune59.0ms

Filtered
35 candidates to 21 candidates (60.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-exp
pow1 unpow2 sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 38
Calls
2 calls:
6.0ms
(+ (pow x 2) (* 3 (pow y 2)))
8.0ms
(* 3 (pow y 2))

series58.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (146.0ms)

IterNodesCost
0173188
1692169
23498167
35002166

prune86.0ms

Filtered
44 candidates to 28 candidates (63.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3 (pow y 2))
0.2b
(* (sqrt (+ (pow x 2) (* 3 (pow y 2)))) (sqrt (+ (pow x 2) (* 3 (pow y 2)))))
8.1b
(sqrt (+ (pow x 2) (* 3 (pow y 2))))
8.1b
(sqrt (+ (pow x 2) (* 3 (pow y 2))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
24×sqrt-prod
21×pow1
17×add-cube-cbrt *-un-lft-identity
16×sqrt-div
14×associate-*r*
11×add-exp-log
10×sqrt-pow1 pow1/2
associate-*l*
flip3-+ swap-sqr add-cbrt-cube flip-+ unswap-sqr
pow-prod-up
frac-times unpow-prod-down prod-exp add-log-exp
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/ *-commutative cbrt-unprod unpow2 sqr-pow
pow2 pow-to-exp pow-plus sqrt-unprod pow-exp rem-square-sqrt
Counts
4 → 114
Calls
4 calls:
6.0ms
(* 3 (pow y 2))
37.0ms
(* (sqrt (+ (pow x 2) (* 3 (pow y 2)))) (sqrt (+ (pow x 2) (* 3 (pow y 2)))))
10.0ms
(sqrt (+ (pow x 2) (* 3 (pow y 2))))
8.0ms
(sqrt (+ (pow x 2) (* 3 (pow y 2))))

series168.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 3 (pow y 2))
40.0ms
(* (sqrt (+ (pow x 2) (* 3 (pow y 2)))) (sqrt (+ (pow x 2) (* 3 (pow y 2)))))
49.0ms
(sqrt (+ (pow x 2) (* 3 (pow y 2))))
54.0ms
(sqrt (+ (pow x 2) (* 3 (pow y 2))))

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0254907
11088814
25001786

prune254.0ms

Filtered
126 candidates to 73 candidates (57.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes64.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
0104
1104

end0.0ms

sample536.0ms

Algorithm
intervals
Results
324.0ms14084×body80valid