Details

Time bar (total: 1.3s)

sample91.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 12.109375%

Guaranteed chance to sample good point: 98.673611%

Results
5.0ms256×body80valid
1.0ms35×body80invalid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1203
2223
3223

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.8b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

4.5b
(* x (+ 1.0 (* y y)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
5.0ms
(* x (+ 1.0 (* y y)))

series9.0ms

Counts
1 → 3
Calls
1 calls:
9.0ms
(* x (+ 1.0 (* y y)))

simplify79.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0144115
1712101
23303100
35003100

prune37.0ms

Filtered
17 candidates to 25 candidates (-47.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New22325
Fresh000
Picked011
Done000
Total22426

Merged error: 4.7b

Counts
26 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (sqrt (+ 1.0 (* y y))))
0.1b
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
4.5b
(sqrt (+ 1.0 (* y y)))
4.5b
(sqrt (+ 1.0 (* y y)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-div
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 83
Calls
4 calls:
6.0ms
(* x (sqrt (+ 1.0 (* y y))))
10.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
2.0ms
(sqrt (+ 1.0 (* y y)))
2.0ms
(sqrt (+ 1.0 (* y y)))

series27.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* x (sqrt (+ 1.0 (* y y))))
9.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
4.0ms
(sqrt (+ 1.0 (* y y)))
4.0ms
(sqrt (+ 1.0 (* y y)))

simplify43.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0306681
11316604
25002594

prune130.0ms

Filtered
67 candidates to 95 candidates (-41.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh022
Picked011
Done011
Total95499

Merged error: 4.7b

Counts
99 → 4

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

prune3.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044

Merged error: 4.7b

Counts
4 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

1.2b
(* (sqrt x) (+ 1.0 (* y y)))
1.4b
(* (sqrt x) (* (sqrt x) (+ 1.0 (* y y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*l*
11×add-sqr-sqrt
pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity sqrt-prod
associate-*r/
distribute-rgt-in distribute-lft-in
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-+ *-commutative flip-+ add-log-exp unswap-sqr
Counts
2 → 53
Calls
2 calls:
6.0ms
(* (sqrt x) (+ 1.0 (* y y)))
8.0ms
(* (sqrt x) (* (sqrt x) (+ 1.0 (* y y))))

series21.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(* (sqrt x) (+ 1.0 (* y y)))
10.0ms
(* (sqrt x) (* (sqrt x) (+ 1.0 (* y y))))

simplify46.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0330381
11787331
25001331

prune55.0ms

Filtered
39 candidates to 59 candidates (-51.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New59059
Fresh000
Picked011
Done033
Total59463

Merged error: 4.7b

Counts
63 → 4

regimes179.0ms

Accuracy

0% (0.2b remaining)

Error of 5.7b against oracle of 5.5b and baseline of 5.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118
1118

end0.0ms

sample489.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 12.109375%

Guaranteed chance to sample good point: 98.673611%

Results
183.0ms8000×body80valid
30.0ms1408×body80invalid

Profiling

Loading profile data...