Details

Time bar (total: 1.5s)

sample26.0ms

Algorithm
intervals
Results
10.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

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.6b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

22.3b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite13.0ms

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

series11.0ms

Counts
1 → 3
Calls
1 calls:
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify39.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0270311
11434265
25001261

prune49.0ms

Filtered
34 candidates to 28 candidates (17.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New31334
Fresh000
Picked011
Done000
Total31435

Merged error: 0.3b

Counts
35 → 4

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

prune5.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.3b

Counts
4 → 4

localize14.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)))))
21.4b
(sqrt (+ (* x x) (* y y)))
21.4b
(sqrt (+ (* x x) (* y y)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
93×*-un-lft-identity
90×times-frac
55×add-cube-cbrt
54×sqrt-prod
36×associate-*l*
30×associate-*r*
18×add-exp-log add-cbrt-cube
13×distribute-lft-out
10×sqrt-div
unswap-sqr
pow1
flip3-+ associate-/r* associate-/r/ flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp
prod-exp cbrt-unprod associate-/l* add-log-exp
div-inv
rem-sqrt-square sqrt-pow1 pow1/2 associate-/l/
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 175
Calls
4 calls:
8.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
32.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
3.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
15.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
6.0ms
(sqrt (+ (* x x) (* y y)))
7.0ms
(sqrt (+ (* x x) (* y y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05792358
124292169
250032080

prune127.0ms

Filtered
187 candidates to 118 candidates (36.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1870187
Fresh011
Picked011
Done022
Total1874191

Merged error: 0.3b

Counts
191 → 4

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044

Merged error: 0.3b

Counts
4 → 4

regimes151.0ms

Accuracy

74.5% (5.4b remaining)

Error of 5.8b against oracle of 0.4b and baseline of 21.5b

bsearch84.0ms

Steps
ItersRangePoint
9
2.0899531654425386e-166
4.760734682932294e-160
3.636233118420233e-162
8
-2.8305207789519806e-258
-9.859188984178126e-261
-2.797402521673775e-258
6
-2.0708680867466901e-249
-1.750339584900255e-250
-1.789623569408949e-250
9
-8.170472290480511e-205
-2.3248200886387784e-210
-8.026445842432816e-205
8
-2.101793133183629e-166
-5.173058238926223e-169
-2.370600095132076e-168
9
-1.3003657315264263e+156
-1.037935820522919e+151
-1.3305849395080257e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03920
13920

end0.0ms

sample685.0ms

Algorithm
intervals
Results
315.0ms8000×body80valid
149.0ms8000×pre80true

Profiling

Loading profile data...