Details

Time bar (total: 3.0s)

sample21.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1227
2247
3247

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.9b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×times-frac
17×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l*
rem-sqrt-square div-inv associate-/l/ add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 flip3-+ pow1/2 sqrt-div div-exp clear-num flip-+
Counts
2 → 54
Calls
2 calls:
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series204.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
158.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0214630
1835578
23394576
35002574

prune150.0ms

Filtered
60 candidates to 49 candidates (81.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New55560
Fresh000
Picked011
Done000
Total55661

Merged error: 22.4b

Counts
61 → 6

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series308.0ms

Counts
2 → 6
Calls
2 calls:
211.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
97.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify62.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
02111118
16251058
222751035
350021035

prune161.0ms

Filtered
84 candidates to 50 candidates (59.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New81384
Fresh044
Picked011
Done011
Total81990

Merged error: 22.3b

Counts
90 → 9

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series288.0ms

Counts
2 → 6
Calls
2 calls:
193.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
95.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify86.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0235788
1772762
22621738
35001725

prune165.0ms

Filtered
70 candidates to 46 candidates (65.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New70070
Fresh066
Picked011
Done022
Total70979

Merged error: 22.3b

Counts
79 → 9

localize4.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (* -1 x) (sqrt 3.0))

rewrite6.0ms

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

series57.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0132140
1693121
24212121
35001121

prune38.0ms

Filtered
31 candidates to 19 candidates (61.3%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New25631
Fresh055
Picked101
Done123
Total271340

Merged error: 22.3b

Counts
40 → 13

regimes488.0ms

Accuracy

62.9% (7.4b remaining)

Error of 26.0b against oracle of 18.6b and baseline of 38.5b

bsearch86.0ms

Steps
ItersRangePoint
10
5.964612555867928e+84
9.01786094971173e+95
8.920986457183921e+95
9
-8.917260898891573e+100
-1.1781023757428062e+94
-8.760995005113307e+100

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample539.0ms

Algorithm
intervals
Results
368.0ms8000×body80valid

Profiling

Loading profile data...