Details

Time bar (total: 2.8s)

sample23.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.9b

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)
34.3b
(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:
4.0ms
(+ (* x x) (* y y))
13.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))

simplify117.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0294707
11224644
24391642
35001640

prune123.0ms

Filtered
74 candidates to 60 candidates (18.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New69574
Fresh000
Picked011
Done000
Total69675

Merged error: 16.3b

Counts
75 → 6

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

rewrite20.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:
3.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)))

series55.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02941188
110831124
240691101
350021101

prune116.0ms

Filtered
98 candidates to 61 candidates (37.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New95398
Fresh044
Picked011
Done011
Total959104

Merged error: 16.2b

Counts
104 → 9

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

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

series53.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0318858
11226828
24716804
35001796

prune108.0ms

Filtered
84 candidates to 57 candidates (32.1%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh066
Picked011
Done022
Total84993

Merged error: 16.2b

Counts
93 → 9

localize4.0ms

Local error

Found 1 expressions with local error:

0.2b
(* x (sqrt 0.3333333333333333))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*r*
add-cube-cbrt *-un-lft-identity sqrt-prod
pow1 add-exp-log associate-*l* add-cbrt-cube
unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
Counts
1 → 22
Calls
1 calls:
4.0ms
(* x (sqrt 0.3333333333333333))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(* x (sqrt 0.3333333333333333))

simplify55.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
06984
124580
256978
389378
4200178
5500178

prune25.0ms

Filtered
25 candidates to 14 candidates (44.0%)
Pruning

14 alts after pruning (10 fresh and 4 done)

PrunedKeptTotal
New20525
Fresh055
Picked011
Done033
Total201434

Merged error: 16.2b

Counts
34 → 14

regimes1.0s

Accuracy

64.2% (7.0b remaining)

Error of 25.2b against oracle of 18.3b and baseline of 37.8b

bsearch41.0ms

Steps
ItersRangePoint
9
1.497142633143026e+109
3.902546205411768e+114
3.8592794733882043e+114
11
-1.5407449745203233e+180
-1.5954363105956547e+149
-1.6211409286926287e+149

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02912
13112
23112

end0.0ms

sample628.0ms

Algorithm
intervals
Results
357.0ms8000×body80valid

Profiling

Loading profile data...