Details

Time bar (total: 2.8s)

sample24.0ms

Algorithm
intervals
Results
11.0ms353×body80valid

simplify10.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: 4.3b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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:
54.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

prune41.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 4.2b

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

rewrite33.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))))
18.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
2.0ms
(sqrt (+ 1.0 (* y y)))
3.0ms
(sqrt (+ 1.0 (* y y)))

series201.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0306681
11316604
25002594

prune191.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 4.2b

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

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

series198.0ms

Counts
4 → 12
Calls
4 calls:
61.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)))
46.0ms
(sqrt (+ 1.0 (* y y)))

simplify131.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0298736
11063653
24704639
35001639

prune240.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 4.2b

localize8.0ms

Local error

Found 4 expressions with local error:

0.5b
(* x (* (cbrt (+ 1.0 (* y y))) (cbrt (+ 1.0 (* y y)))))
4.2b
(cbrt (+ 1.0 (* y y)))
4.2b
(cbrt (+ 1.0 (* y y)))
4.2b
(cbrt (+ 1.0 (* y y)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
10×associate-*r/
pow1 add-exp-log cbrt-prod add-sqr-sqrt flip3-+ flip-+
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
frac-times add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*l/
associate-*r* *-commutative unswap-sqr
Counts
4 → 66
Calls
4 calls:
18.0ms
(* x (* (cbrt (+ 1.0 (* y y))) (cbrt (+ 1.0 (* y y)))))
1.0ms
(cbrt (+ 1.0 (* y y)))
1.0ms
(cbrt (+ 1.0 (* y y)))
2.0ms
(cbrt (+ 1.0 (* y y)))

series653.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* x (* (cbrt (+ 1.0 (* y y))) (cbrt (+ 1.0 (* y y)))))
168.0ms
(cbrt (+ 1.0 (* y y)))
167.0ms
(cbrt (+ 1.0 (* y y)))
172.0ms
(cbrt (+ 1.0 (* y y)))

simplify101.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0299693
1951634
23234616
35002616

prune234.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 4.2b

regimes83.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample365.0ms

Algorithm
intervals
Results
200.0ms10827×body80valid