Details

Time bar (total: 1.3s)

sample15.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
2.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: 23.8b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series47.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
011695
133490
299789
3396987
4500287

prune39.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 1/2 (/ y x))
0.0b
(+ x (* 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:
6.0ms
(* 1/2 (/ y x))
3.0ms
(+ x (* 1/2 (/ y x)))

series40.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0223199
1960187
24238187
35003187

prune86.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 1/2 (/ y x))
0.0b
(+ x (* 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:
7.0ms
(* 1/2 (/ y x))
3.0ms
(+ x (* 1/2 (/ y x)))

series40.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0223199
1960187
24238187
35003187

prune82.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes103.0ms

Accuracy

98% (0.4b remaining)

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

bsearch46.0ms

Steps
ItersRangePoint
8
1.9386486951852963e+68
6.310868864655015e+71
6.210525943263359e+71
8
-1.6993806662071022e+156
-3.922170094862376e+153
-1.3559679438987683e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02210
12910
23110
33110

end0.0ms

sample391.0ms

Algorithm
intervals
Results
156.0ms8000×body80valid
57.0ms2742×body80nan