Details

Time bar (total: 3.9s)

sample17.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1227
2247
3247

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.1b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
40.4b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-/r* associate-/l*
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv +-commutative frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num sum-log
Counts
3 → 65
Calls
3 calls:
2.0ms
(+ (* x x) (* y y))
31.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
13.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series242.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
48.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
164.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify122.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0294707
11224644
24405642
35001640

prune201.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 21.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
40.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
40.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
40.4b
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
49×sqrt-prod
36×add-sqr-sqrt times-frac
34×add-cube-cbrt *-un-lft-identity
14×pow1
sqrt-div
sqrt-pow1
add-exp-log associate-/r* add-cbrt-cube associate-/l*
add-log-exp
rem-sqrt-square flip3-+ pow1/2 flip-+
associate-/l/
cbrt-undiv pow2 frac-times sqrt-undiv frac-2neg pow-plus associate-*r/ div-exp pow-prod-down associate-*l/ clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 112
Calls
4 calls:
21.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
12.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
21.0ms
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

series643.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
97.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
96.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
218.0ms
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

simplify88.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
02381481
17281407
236131383
350021383

prune347.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 21.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.4b
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
40.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
29×sqrt-prod
16×*-un-lft-identity associate-*r*
14×add-cube-cbrt
13×times-frac
sqrt-div
pow1 unswap-sqr
associate-*l*
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
sqrt-pow1 pow1/2 pow-prod-down
frac-times associate-*l/
+-commutative rem-sqrt-square sqrt-unprod associate-*r/ prod-exp sum-log *-commutative cbrt-unprod div-inv
Counts
3 → 75
Calls
3 calls:
2.0ms
(+ (* x x) (* y y))
36.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
15.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series315.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* x x) (* y y))
193.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
94.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify121.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0318858
11226828
24730804
35002796

prune228.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 21.2b

localize3.0ms

Local error

Found 1 expressions with local error:

0.4b
(/ x (sqrt 3.0))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
18×times-frac
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
pow1 cbrt-undiv frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 39
Calls
1 calls:
3.0ms
(/ x (sqrt 3.0))

series83.0ms

Counts
1 → 3
Calls
1 calls:
83.0ms
(/ x (sqrt 3.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 4 (53.0ms)

IterNodesCost
0103217
1273207
2729197
32027197
45001196

prune66.0ms

Pruning

15 alts after pruning (12 fresh and 3 done)

Merged error: 21.2b

regimes623.0ms

Accuracy

61.5% (7.6b remaining)

Error of 25.9b against oracle of 18.3b and baseline of 38.1b

bsearch50.0ms

Steps
ItersRangePoint
7
5.617467149036996e+119
4.0732344434354675e+121
2.816119708780296e+121
5
-1.597925375452575e+48
-5.274225135082189e+47
-1.5602497723888015e+48

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03424
13824
24124
34124

end0.0ms

sample442.0ms

Algorithm
intervals
Results
271.0ms8000×body80valid