Details

Time bar (total: 2.0s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
1.0ms90×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.6b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) y)
19.3b
(sqrt (+ (* x x) y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
3.0ms
(+ (* x x) y)
4.0ms
(sqrt (+ (* x x) y))

series65.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(+ (* x x) y)
46.0ms
(sqrt (+ (* x x) y))

simplify51.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0141152
1475139
21515138
35002136

prune80.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (+ (* x x) y)))
0.5b
(* (sqrt (sqrt (+ (* x x) y))) (sqrt (sqrt (+ (* x x) y))))
19.3b
(sqrt (+ (* x x) y))
19.3b
(sqrt (+ (* x x) y))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
54×add-sqr-sqrt
38×sqrt-pow1
32×sqrt-div
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
5.0ms
(sqrt (sqrt (+ (* x x) y)))
30.0ms
(* (sqrt (sqrt (+ (* x x) y))) (sqrt (sqrt (+ (* x x) y))))
4.0ms
(sqrt (+ (* x x) y))
4.0ms
(sqrt (+ (* x x) y))

series199.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(sqrt (sqrt (+ (* x x) y)))
41.0ms
(* (sqrt (sqrt (+ (* x x) y))) (sqrt (sqrt (+ (* x x) y))))
44.0ms
(sqrt (+ (* x x) y))
40.0ms
(sqrt (+ (* x x) y))

simplify46.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0264901
11062835
25001816

prune268.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

19.3b
(sqrt (+ (* x x) y))
20.0b
(cbrt (+ (* x x) y))
20.0b
(cbrt (+ (* x x) y))
20.0b
(cbrt (+ (* x x) y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
4.0ms
(sqrt (+ (* x x) y))
2.0ms
(cbrt (+ (* x x) y))
2.0ms
(cbrt (+ (* x x) y))
2.0ms
(cbrt (+ (* x x) y))

series270.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (+ (* x x) y))
77.0ms
(cbrt (+ (* x x) y))
74.0ms
(cbrt (+ (* x x) y))
75.0ms
(cbrt (+ (* x x) y))

simplify49.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0158392
1434366
21337359
35002357

prune309.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes173.0ms

Accuracy

98.3% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 21.3b

bsearch49.0ms

Steps
ItersRangePoint
9
4.342265995353652e+77
8.721286125398812e+82
1.2922566123944575e+80
9
-1.1045029026290381e+161
-1.4102566258715918e+152
-1.3778733035656446e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02210
12910
23110
33110

end0.0ms

sample356.0ms

Algorithm
intervals
Results
149.0ms8000×body80valid
42.0ms2570×body80nan