Details

Time bar (total: 3.7s)

sample17.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
2.0ms98×body80nan

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
073
173

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.9b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ hypot-def log1p-expm1-u add-log-exp
Counts
1 → 18
Calls
1 calls:
10.0ms
(sqrt (+ (* x x) y))

series46.0ms

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

simplify174.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0126102
137895
2114792
3456790
4500190

prune65.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*r*
10×times-frac
add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
pow1 associate-*l*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv expm1-log1p-u associate-*r/ div-exp pow-prod-down *-commutative log1p-expm1-u div-inv add-log-exp
Counts
1 → 34
Calls
1 calls:
14.0ms
(* 1/2 (/ y x))

series20.0ms

Counts
1 → 3
Calls
1 calls:
20.0ms
(* 1/2 (/ y x))

simplify81.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0166134
1729124
22968124
35001124

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

simplify4.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune4.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

8.1b
(* (* x x) y)
13.6b
(hypot (pow y 3/2) (pow x 3))
19.7b
(sqrt (+ (* (* x x) (* x x)) (- (* y y) (* (* x x) y))))
22.6b
(/ (hypot (pow y 3/2) (pow x 3)) (sqrt (+ (* (* x x) (* x x)) (- (* y y) (* (* x x) y)))))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac
15×sqrt-prod
11×add-exp-log add-cbrt-cube
10×pow1
associate-/r*
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod associate-/l*
hypot-udef flip3-+ associate-/r/ flip-+
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp associate-*l* clear-num *-commutative hypot-def div-inv unswap-sqr
Counts
4 → 93
Calls
4 calls:
18.0ms
(* (* x x) y)
0.0ms
(hypot (pow y 3/2) (pow x 3))
66.0ms
(sqrt (+ (* (* x x) (* x x)) (- (* y y) (* (* x x) y))))
73.0ms
(/ (hypot (pow y 3/2) (pow x 3)) (sqrt (+ (* (* x x) (* x x)) (- (* y y) (* (* x x) y)))))

series1.8s

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* x x) y)
354.0ms
(hypot (pow y 3/2) (pow x 3))
66.0ms
(sqrt (+ (* (* x x) (* x x)) (- (* y y) (* (* x x) y))))
1.4s
(/ (hypot (pow y 3/2) (pow x 3)) (sqrt (+ (* (* x x) (* x x)) (- (* y y) (* (* x x) y)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04191377
118131277
250021261

prune367.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes166.0ms

Accuracy

97.1% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 21.2b

bsearch59.0ms

Steps
ItersRangePoint
9
5.021239776809263e+39
3.116105820993027e+46
3.0658844345707553e+46
9
-3.520180389087063e+155
-3.072836601954889e+146
-1.3750148652473957e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0239
1309
2329
3329

end0.0ms

sample429.0ms

Algorithm
intervals
Results
149.0ms8000×body80valid
51.0ms2685×body80nan