Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
9.0ms343×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1203
2223
3223

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.8b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.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:
7.0ms
(* x (+ 1.0 (* y y)))

series54.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0144115
1712101
23303100
35003100

prune44.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 3.7b

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

rewrite38.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:
8.0ms
(* x (sqrt (+ 1.0 (* y y))))
22.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
3.0ms
(sqrt (+ 1.0 (* y y)))
3.0ms
(sqrt (+ 1.0 (* y y)))

series194.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* x (sqrt (+ 1.0 (* y y))))
53.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
43.0ms
(sqrt (+ 1.0 (* y y)))
41.0ms
(sqrt (+ 1.0 (* y y)))

simplify60.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0306681
11316604
25002594

prune289.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 3.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
96×sqrt-div
30×flip3-+ flip-+
28×frac-times
26×associate-*r/
16×pow1
14×associate-*l/
13×add-exp-log add-cbrt-cube
12×add-sqr-sqrt sqrt-prod
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-*l* *-commutative
Counts
4 → 95
Calls
4 calls:
87.0ms
(* (* (* x (sqrt (sqrt (+ 1.0 (* y y))))) (sqrt (sqrt (+ 1.0 (* y y))))) (sqrt (+ 1.0 (* y y))))
3.0ms
(sqrt (+ 1.0 (* y y)))
3.0ms
(sqrt (+ 1.0 (* y y)))
3.0ms
(sqrt (+ 1.0 (* y y)))

series177.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (* (* x (sqrt (sqrt (+ 1.0 (* y y))))) (sqrt (sqrt (+ 1.0 (* y y))))) (sqrt (+ 1.0 (* y y))))
43.0ms
(sqrt (+ 1.0 (* y y)))
43.0ms
(sqrt (+ 1.0 (* y y)))
41.0ms
(sqrt (+ 1.0 (* y y)))

simplify55.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04321396
118441143
250021028

prune299.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 3.7b

localize11.0ms

Local error

Found 4 expressions with local error:

2.5b
(* x (* (sqrt (+ 1.0 (* y y))) (fabs (cbrt (+ 1.0 (* y y))))))
3.5b
(sqrt (+ 1.0 (* y y)))
3.7b
(cbrt (+ 1.0 (* y y)))
3.7b
(cbrt (+ 1.0 (* y y)))

rewrite20.0ms

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

series452.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* x (* (sqrt (+ 1.0 (* y y))) (fabs (cbrt (+ 1.0 (* y y))))))
41.0ms
(sqrt (+ 1.0 (* y y)))
163.0ms
(cbrt (+ 1.0 (* y y)))
168.0ms
(cbrt (+ 1.0 (* y y)))

simplify39.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0363635
11292575
25001567

prune249.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 3.7b

regimes105.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample349.0ms

Algorithm
intervals
Results
186.0ms10729×body80valid