Details

Time bar (total: 2.5s)

sample24.0ms

Algorithm
intervals
Results
13.0ms476×body80valid

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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
15.0ms
(+ (+ (* x x) (* y y)) (* y y))
49.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series104.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
37.0ms
(+ (+ (* x x) (* y y)) (* y y))
37.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify140.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune111.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y (+ y y)))
0.1b
(+ (+ (* x x) (* y (+ y y))) (* y y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity flip3-+ add-cbrt-cube flip-+
distribute-rgt-in associate-+l+ distribute-lft-in
Counts
2 → 26
Calls
2 calls:
3.0ms
(+ (* x x) (* y (+ y y)))
13.0ms
(+ (+ (* x x) (* y (+ y y))) (* y y))

series76.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ (* x x) (* y (+ y y)))
38.0ms
(+ (+ (* x x) (* y (+ y y))) (* y y))

simplify130.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0185237
1870218
23936207
35002204

prune73.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
3.0ms
(+ (* x x) (* (* 3 y) y))
7.0ms
(* (* 3 y) y)

series67.0ms

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

simplify148.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0173161
1862143
24332138
35002137

prune67.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (sqrt (+ (* x x) (* y (+ y y)))) (sqrt (+ (* x x) (* y (+ y y))))) (* y y))
0.3b
(* (sqrt (+ (* x x) (* y (+ y y)))) (sqrt (+ (* x x) (* y (+ y y)))))
5.7b
(sqrt (+ (* x x) (* y (+ y y))))
5.7b
(sqrt (+ (* x x) (* y (+ y y))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
11.0ms
(+ (* (sqrt (+ (* x x) (* y (+ y y)))) (sqrt (+ (* x x) (* y (+ y y))))) (* y y))
21.0ms
(* (sqrt (+ (* x x) (* y (+ y y)))) (sqrt (+ (* x x) (* y (+ y y)))))
3.0ms
(sqrt (+ (* x x) (* y (+ y y))))
5.0ms
(sqrt (+ (* x x) (* y (+ y y))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (* (sqrt (+ (* x x) (* y (+ y y)))) (sqrt (+ (* x x) (* y (+ y y))))) (* y y))
40.0ms
(* (sqrt (+ (* x x) (* y (+ y y)))) (sqrt (+ (* x x) (* y (+ y y)))))
53.0ms
(sqrt (+ (* x x) (* y (+ y y))))
58.0ms
(sqrt (+ (* x x) (* y (+ y y))))

simplify55.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
02641035
11285900
25002874

prune211.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

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

sample564.0ms

Algorithm
intervals
Results
338.0ms14384×body80valid