Details

Time bar (total: 1.7s)

sample23.0ms

Algorithm
intervals
Results
11.0ms339×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1187

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.3b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

4.1b
(* 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)))

series10.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05069206

prune43.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New20525
Fresh000
Picked011
Done000
Total20626

Merged error: 4.2b

Counts
26 → 6

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.0b
(sqrt (+ 1.0 (* y y)))
4.0b
(sqrt (+ 1.0 (* y y)))

rewrite21.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))))
9.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)))

series28.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
05151992

prune138.0ms

Filtered
70 candidates to 95 candidates (-35.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New93295
Fresh134
Picked011
Done011
Total947101

Merged error: 4.2b

Counts
101 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (sqrt (+ 1.0 (* y y)))) (sqrt (sqrt (+ 1.0 (* y y)))))
4.0b
(sqrt (+ 1.0 (* y y)))
4.0b
(sqrt (+ 1.0 (* y y)))
4.0b
(sqrt (+ 1.0 (* y y)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
75×sqrt-prod
52×add-sqr-sqrt
35×sqrt-pow1
30×pow1 sqrt-div
19×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
rem-sqrt-square
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 128
Calls
4 calls:
12.0ms
(* (sqrt (sqrt (+ 1.0 (* y y)))) (sqrt (sqrt (+ 1.0 (* y y)))))
2.0ms
(sqrt (+ 1.0 (* y y)))
2.0ms
(sqrt (+ 1.0 (* y y)))
2.0ms
(sqrt (+ 1.0 (* y y)))

series16.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (sqrt (sqrt (+ 1.0 (* y y)))) (sqrt (sqrt (+ 1.0 (* y y)))))
3.0ms
(sqrt (+ 1.0 (* y y)))
3.0ms
(sqrt (+ 1.0 (* y y)))
6.0ms
(sqrt (+ 1.0 (* y y)))

simplify33.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
049851349
149851349

prune204.0ms

Filtered
78 candidates to 140 candidates (-79.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1400140
Fresh044
Picked011
Done022
Total1407147

Merged error: 4.2b

Counts
147 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt (+ 1.0 (* y y))) (* (sqrt (sqrt (+ 1.0 (* y y)))) x))
4.0b
(sqrt (+ 1.0 (* y y)))
4.0b
(sqrt (+ 1.0 (* y y)))
4.0b
(sqrt (+ 1.0 (* y y)))

rewrite19.0ms

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

series43.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050631062

prune194.0ms

Filtered
71 candidates to 86 candidates (-21.1%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New86086
Fresh033
Picked011
Done033
Total86793

Merged error: 4.2b

Counts
93 → 7

regimes254.0ms

Accuracy

0% (0.2b remaining)

Error of 5.6b against oracle of 5.4b and baseline of 5.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
087
187

end0.0ms

sample523.0ms

Algorithm
intervals
Results
248.0ms10704×body80valid

Profiling

Loading profile data...