Details

Time bar (total: 2.6s)

sample25.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02114
12114

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 38.6b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

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

series58.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* x x) (* y y))
10.0ms
(+ (+ (* x x) (* y y)) (* z z))
13.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
29.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049451461
149451461

prune137.0ms

Filtered
72 candidates to 90 candidates (-25.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New85590
Fresh000
Picked101
Done000
Total86591

Merged error: 19.0b

Counts
91 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series63.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x x) (+ (* y y) (* z z)))
9.0ms
(+ (* y y) (* z z))
26.0ms
(* (sqrt (+ (* x x) (+ (* y y) (* z z)))) (sqrt (/ 1 3.0)))
19.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))

simplify52.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
054361672

prune127.0ms

Filtered
68 candidates to 100 candidates (-47.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh044
Picked011
Done000
Total1005105

Merged error: 19.0b

Counts
105 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x x) (+ (* y y) (* z z)))
5.0ms
(+ (* y y) (* z z))
32.0ms
(/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) (sqrt 3.0))
18.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))

simplify65.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049422173
149422173

prune130.0ms

Filtered
71 candidates to 114 candidates (-60.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1113114
Fresh033
Picked011
Done011
Total1118119

Merged error: 18.9b

Counts
119 → 8

localize4.0ms

Local error

Found 1 expressions with local error:

0.4b
(/ (neg x) (sqrt 3.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
60×times-frac
44×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
33×sqrt-prod
21×distribute-lft-neg-in distribute-rgt-neg-in
10×associate-/l*
neg-mul-1
associate-/r*
add-exp-log add-cbrt-cube
pow1 cbrt-undiv neg-sub0 frac-2neg div-sub distribute-frac-neg div-exp clear-num div-inv add-log-exp
Counts
1 → 90
Calls
1 calls:
6.0ms
(/ (neg x) (sqrt 3.0))

series8.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
05077916

prune94.0ms

Filtered
55 candidates to 93 candidates (-69.1%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New87693
Fresh055
Picked011
Done022
Total8714101

Merged error: 18.9b

Counts
101 → 14

regimes774.0ms

Accuracy

61.5% (7.7b remaining)

Error of 26.0b against oracle of 18.3b and baseline of 38.4b

bsearch40.0ms

Steps
ItersRangePoint
9
3.0324433703952992e+94
5.285858585971458e+101
5.22004744817066e+101
9
-2.7299450449787997e+146
-4.501295787510105e+140
-9.725859237515929e+142

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02832
12832

end0.0ms

sample654.0ms

Algorithm
intervals
Results
372.0ms8000×body80valid

Profiling

Loading profile data...