Details

Time bar (total: 2.4s)

sample14.0ms

Algorithm
intervals
Results
5.0ms330×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1203
2223
3223

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.3b

localize4.0ms

Local error

Found 1 expressions with local error:

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

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

series48.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0144115
1712101
23303100
35003100

prune45.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 5.1b

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

rewrite78.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:
19.0ms
(* x (sqrt (+ 1.0 (* y y))))
46.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
5.0ms
(sqrt (+ 1.0 (* y y)))
5.0ms
(sqrt (+ 1.0 (* y y)))

series192.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0306681
11316604
25002594

prune223.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 5.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

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

series183.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (* x (sqrt (sqrt (+ 1.0 (* y y))))) (sqrt (sqrt (+ 1.0 (* y y)))))
39.0ms
(sqrt (+ 1.0 (* y y)))
44.0ms
(sqrt (+ 1.0 (* y y)))
40.0ms
(sqrt (+ 1.0 (* y y)))

simplify128.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0298736
11063653
24704639
35001639

prune271.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 5.1b

localize11.0ms

Local error

Found 4 expressions with local error:

5.0b
(sqrt (+ 1.0 (* y y)))
5.0b
(sqrt (+ 1.0 (* y y)))
5.0b
(sqrt (+ 1.0 (* y y)))
5.0b
(sqrt (+ 1.0 (* y y)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (* y y)))
5.0ms
(sqrt (+ 1.0 (* y y)))
10.0ms
(sqrt (+ 1.0 (* y y)))
5.0ms
(sqrt (+ 1.0 (* y y)))

series165.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (+ 1.0 (* y y)))
37.0ms
(sqrt (+ 1.0 (* y y)))
45.0ms
(sqrt (+ 1.0 (* y y)))
39.0ms
(sqrt (+ 1.0 (* y y)))

simplify65.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0135416
1448408
21981400
35001396

prune243.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 5.1b

regimes96.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample397.0ms

Algorithm
intervals
Results
180.0ms10661×body80valid