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: 21.6b

localize7.0ms

Local error

Found 1 expressions with local error:

20.0b
(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))

series41.0ms

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

simplify145.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
011695
133490
299789
3396987
4500287

prune43.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series45.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (10.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))

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

series42.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0223203
1956187
24290187
35001187

prune72.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

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

sample369.0ms

Algorithm
intervals
Results
151.0ms8000×body80valid
46.0ms2562×body80nan