Details

Time bar (total: 3.1s)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.2b

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)
36.4b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite20.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:
4.0ms
(+ (* x x) (* y y))
9.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series241.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0294707
11224644
24405642
35001640

prune216.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 21.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.3b
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
36.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite28.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:
4.0ms
(+ (* x x) (* y y))
16.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series280.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
159.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
95.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify120.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0318858
11226828
24730804
35002796

prune212.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 21.3b

localize10.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 3.0))
36.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
45×sqrt-prod
36×times-frac
33×add-sqr-sqrt
32×add-cube-cbrt *-un-lft-identity
associate-/r* associate-/l*
add-exp-log add-cbrt-cube add-log-exp
pow1 sqrt-div
flip3-+ flip-+
associate-/l/
cbrt-undiv +-commutative rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 89
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
9.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series345.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
220.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
99.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify93.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02941188
110831124
240831101
350011101

prune217.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 21.2b

localize4.0ms

Local error

Found 1 expressions with local error:

0.4b
(* x (sqrt (/ 1 3.0)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
16×associate-*r* sqrt-prod
11×*-un-lft-identity times-frac
10×add-cube-cbrt
unswap-sqr
pow1 add-exp-log associate-*l* add-cbrt-cube
sqrt-div associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod div-inv add-log-exp
Counts
1 → 35
Calls
1 calls:
8.0ms
(* x (sqrt (/ 1 3.0)))

series42.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0133185
1443172
21117156
31916145
45001145

prune60.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 21.2b

regimes421.0ms

Accuracy

62.9% (7.3b remaining)

Error of 25.6b against oracle of 18.2b and baseline of 38.0b

bsearch63.0ms

Steps
ItersRangePoint
7
1.5208757723416256e+124
2.9879744889931395e+125
1.4103613175797002e+125
7
-9.30187801373195e+97
-1.0095689469955089e+96
-6.600093290421653e+97

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03316
13416
23716
33716

end0.0ms

sample447.0ms

Algorithm
intervals
Results
279.0ms8000×body80valid