Details

Time bar (total: 1.7s)

sample30.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 81.262212%

Space saved by search: 81.262212%

Guaranteed chance to sample good point: 99.987793%

Results
9.0ms256×body80valid
5.0ms256×pre80true

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613437
750017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.7b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
20.4b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-log-exp
flip3-- times-frac associate-/r* flip--
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 42
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series17.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x x) (* y y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify47.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0308388
11848330
25001322

prune70.0ms

Filtered
39 candidates to 48 candidates (-23.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44448
Fresh000
Picked101
Done000
Total45449

Merged error: 0.5b

Counts
49 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (sqrt (+ (* x x) (* y y))))
0.0b
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
19.7b
(sqrt (+ (* x x) (* y y)))
19.7b
(sqrt (+ (* x x) (* y y)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
115×add-sqr-sqrt
96×times-frac
95×*-un-lft-identity
57×add-cube-cbrt sqrt-prod
36×associate-*l*
30×associate-*r*
18×add-exp-log add-cbrt-cube
13×distribute-lft-out-- difference-of-squares
10×sqrt-div
unswap-sqr
pow1
associate-/r* associate-/r/ distribute-lft-out
cbrt-undiv flip3-+ div-exp flip-+ associate-/l*
prod-exp cbrt-unprod add-log-exp
div-inv
rem-sqrt-square sqrt-pow1 pow1/2 associate-/l/
frac-times flip3-- frac-2neg div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip--
Counts
4 → 183
Calls
4 calls:
9.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
35.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
12.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
6.0ms
(sqrt (+ (* x x) (* y y)))
6.0ms
(sqrt (+ (* x x) (* y y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06282483
125982290
250012205

prune140.0ms

Filtered
125 candidates to 195 candidates (-56.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1941195
Fresh033
Picked011
Done000
Total1945199

Merged error: 0.5b

Counts
199 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

19.7b
(sqrt (+ (* x x) (* y y)))
19.7b
(sqrt (+ (* x x) (* y y)))
19.7b
(sqrt (+ (* x x) (* y y)))
19.7b
(sqrt (+ (* x x) (* y y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x x) (* y y)))
6.0ms
(sqrt (+ (* x x) (* y y)))
6.0ms
(sqrt (+ (* x x) (* y y)))
6.0ms
(sqrt (+ (* x x) (* y y)))

simplify151.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 5 (145.0ms)

IterNodesCost
089400
1215388
2503388
31265388
44227388
55002384

prune82.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh033
Picked011
Done011
Total72577

Merged error: 0.5b

Counts
77 → 5

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055

Merged error: 0.5b

Counts
5 → 5

regimes114.0ms

Accuracy

75.9% (4.7b remaining)

Error of 5.1b against oracle of 0.4b and baseline of 19.8b

bsearch48.0ms

Steps
ItersRangePoint
8
3.47313528867118e-166
1.4575206537140678e-163
1.4337271120113957e-163
9
-1.5047981096472762e-154
-2.720570292603748e-161
-4.3120433273756383e-156
7
-1.3644773450761598e+154
-5.18007515342894e+152
-1.3401080587599165e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03343
13343

end0.0ms

sample673.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 81.262212%

Space saved by search: 81.262212%

Guaranteed chance to sample good point: 99.987793%

Results
303.0ms8000×body80valid
156.0ms8000×pre80true

Profiling

Loading profile data...