Details

Time bar (total: 3.5s)

analyze14.0ms

Algorithm
search

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.3b

Counts
2 → 1

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

rewrite23.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:
7.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))

series46.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
13.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
28.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify122.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0294707
11224644
24391642
35001640

prune135.0ms

Filtered
60 candidates to 74 candidates (-23.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New68674
Fresh000
Picked011
Done000
Total68775

Merged error: 18.0b

Counts
75 → 7

localize12.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)))
35.6b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite25.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))
14.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series54.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
30.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify120.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0318859
11226828
24716804
35001796

prune111.0ms

Filtered
58 candidates to 84 candidates (-44.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh055
Picked011
Done011
Total84791

Merged error: 18.0b

Counts
91 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
152×sqrt-prod
122×add-sqr-sqrt
84×times-frac
55×*-un-lft-identity
47×add-cube-cbrt
25×associate-*r* associate-*l*
24×unswap-sqr
11×pow1
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square sqrt-pow1 pow1/2
add-log-exp
pow-prod-down div-inv
flip3-+ flip-+
frac-times sqrt-unprod associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 156
Calls
4 calls:
7.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
25.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series112.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0))
28.0ms
(* (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 1)) (sqrt (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) 3.0)))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
22.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04202977
114282846
250012796

prune205.0ms

Filtered
108 candidates to 168 candidates (-55.6%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh044
Picked011
Done022
Total1687175

Merged error: 18.0b

Counts
175 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
0.3b
(* (sqrt (/ 1 (sqrt 3.0))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))
1.0b
(/ 1 (sqrt 3.0))
35.7b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
170×sqrt-prod
148×add-sqr-sqrt
120×times-frac
83×*-un-lft-identity
75×add-cube-cbrt
25×associate-*r* associate-*l*
24×unswap-sqr
12×add-exp-log associate-/r*
11×pow1
10×add-cbrt-cube
associate-/l*
sqrt-div div-inv
sqrt-pow1 pow1/2 add-log-exp
rem-sqrt-square pow-flip div-exp pow-prod-down
cbrt-undiv frac-2neg clear-num associate-/l/
frac-times rec-exp flip3-+ sqrt-unprod 1-exp associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod flip-+ inv-pow
Counts
4 → 212
Calls
4 calls:
9.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
24.0ms
(* (sqrt (/ 1 (sqrt 3.0))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))
4.0ms
(/ 1 (sqrt 3.0))
7.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))

series93.0ms

Counts
4 → 10
Calls
4 calls:
19.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
31.0ms
(* (sqrt (/ 1 (sqrt 3.0))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))
0.0ms
(/ 1 (sqrt 3.0))
43.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04522919
119382730
250012684

prune327.0ms

Filtered
128 candidates to 222 candidates (-73.4%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New2166222
Fresh033
Picked011
Done123
Total21712229

Merged error: 17.9b

Counts
229 → 12

regimes1.0s

Accuracy

58.8% (8.0b remaining)

Error of 26.4b against oracle of 18.4b and baseline of 37.9b

bsearch124.0ms

Steps
ItersRangePoint
10
4.1203749417012695e+113
1.1958722659400257e+126
2.031375809460608e+124
8
1.0867654425715706e-166
1.1901818990911824e-163
1.3412928175691604e-166
7
3.402453077673389e-218
2.1407623947411836e-216
2.106912008082555e-216
3
-4.136693631811351e+106
-3.3709217465401843e+106
-4.070165636541658e+106

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03721
14321
24321

end0.0ms

analyze14.0ms

Algorithm
search

sample677.0ms

Algorithm
intervals
Results
519.0ms8000×body80valid

Profiling

Loading profile data...