Details

Time bar (total: 1.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
1.0ms90×body80nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
063
163

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.6b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
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
1 → 15
Calls
1 calls:
4.0ms
(sqrt (+ (* x x) y))

series40.0ms

Counts
1 → 3
Calls
1 calls:
40.0ms
(sqrt (+ (* x x) y))

simplify139.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
011695
133490
299789
3396987
4500287

prune42.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* 1/2 (/ y x)))
0.2b
(* 1/2 (/ y x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*l*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ associate-*r/ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv
Counts
2 → 43
Calls
2 calls:
2.0ms
(+ x (* 1/2 (/ y x)))
8.0ms
(* 1/2 (/ y x))

series41.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ x (* 1/2 (/ y x)))
19.0ms
(* 1/2 (/ y x))

simplify107.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0223199
1960187
24238187
35001187

prune77.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* 1/2 (/ y x)))
0.2b
(* 1/2 (/ y x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*l*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ associate-*r/ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv
Counts
2 → 43
Calls
2 calls:
2.0ms
(+ x (* 1/2 (/ y x)))
8.0ms
(* 1/2 (/ y x))

series40.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ x (* 1/2 (/ y x)))
19.0ms
(* 1/2 (/ y x))

simplify105.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0223199
1960187
24238187
35001187

prune74.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes111.0ms

Accuracy

99.1% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 21.1b

bsearch51.0ms

Steps
ItersRangePoint
9
3.484405948710407e+96
1.1133938054187134e+105
8.439081781731016e+104
9
-1.652330989326774e+161
-1.121438893532195e+154
-1.3694640831062883e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02210
12910
23110
33110

end0.0ms

sample346.0ms

Algorithm
intervals
Results
146.0ms8000×body80valid
40.0ms2562×body80nan