Details

Time bar (total: 3.1s)

sample26.0ms

Algorithm
intervals
Results
17.0ms363×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1203
2223
3223

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.1b

localize4.0ms

Local error

Found 1 expressions with local error:

5.7b
(* 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:
8.0ms
(* x (+ 1.0 (* y y)))

series55.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0144115
1712101
23303100
35003100

prune43.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 5.9b

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

rewrite39.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:
9.0ms
(* x (sqrt (+ 1.0 (* y y))))
21.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)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* x (sqrt (+ 1.0 (* y y))))
55.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
42.0ms
(sqrt (+ 1.0 (* y y)))
47.0ms
(sqrt (+ 1.0 (* y y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0306681
11316604
25002594

prune206.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 5.9b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
96×sqrt-div
30×flip3-+ flip-+
28×frac-times
26×associate-*r/
18×sqrt-prod
16×pow1
14×associate-*l/
13×add-exp-log add-sqr-sqrt add-cbrt-cube
10×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 → 98
Calls
4 calls:
82.0ms
(* (* (* x (sqrt (+ 1.0 (* y y)))) (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)))
3.0ms
(sqrt (+ 1.0 (* y y)))

series192.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (sqrt (+ 1.0 (* y y))))) (sqrt (sqrt (+ 1.0 (* y y)))))
43.0ms
(sqrt (+ 1.0 (* y y)))
47.0ms
(sqrt (+ 1.0 (* y y)))
44.0ms
(sqrt (+ 1.0 (* y y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04481458
117471223
250011105

prune303.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 5.9b

localize15.0ms

Local error

Found 4 expressions with local error:

5.7b
(sqrt (+ 1.0 (* y y)))
5.7b
(sqrt (+ 1.0 (* y y)))
5.9b
(cbrt (+ 1.0 (* y y)))
5.9b
(cbrt (+ 1.0 (* y y)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
3.0ms
(sqrt (+ 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)))

series456.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(sqrt (+ 1.0 (* y y)))
45.0ms
(sqrt (+ 1.0 (* y y)))
182.0ms
(cbrt (+ 1.0 (* y y)))
180.0ms
(cbrt (+ 1.0 (* y y)))

simplify123.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0237466
1804446
23603434
35002432

prune308.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 5.9b

regimes98.0ms

Accuracy

0% (0.2b remaining)

Error of 5.1b against oracle of 5.0b and baseline of 5.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample683.0ms

Algorithm
intervals
Results
501.0ms10695×body80valid