Details

Time bar (total: 2.3s)

sample14.0ms

Algorithm
intervals
Results
6.0ms349×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: 5.6b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.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)))

series58.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0144115
1712101
23303100
35003100

prune48.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.4b

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

rewrite25.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))))
3.0ms
(sqrt (+ 1.0 (* y y)))
3.0ms
(sqrt (+ 1.0 (* y y)))

series199.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))))
41.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

prune203.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.4b

localize12.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.2b
(sqrt (+ 1.0 (* y y)))
5.2b
(sqrt (+ 1.0 (* y y)))
5.2b
(sqrt (+ 1.0 (* y y)))

rewrite30.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:
17.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)))

series182.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04481458
117471223
250011105

prune300.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 5.4b

localize9.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.2b
(sqrt (+ 1.0 (* y y)))
5.2b
(sqrt (+ 1.0 (* y y)))
5.2b
(sqrt (+ 1.0 (* y y)))

rewrite23.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:
13.0ms
(* (* x (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)))

series204.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0298736
11063653
24704639
35001639

prune241.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 5.4b

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

sample340.0ms

Algorithm
intervals
Results
180.0ms10656×body80valid