Details

Time bar (total: 3.0s)

sample17.0ms

Algorithm
intervals
Results
8.0ms290×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1204
2224
3224

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: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ (/ x 2.0) (* y x)) z)
0.0b
(+ (/ x 2.0) (* y x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-+l+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
8.0ms
(+ (+ (/ x 2.0) (* y x)) z)
6.0ms
(+ (/ x 2.0) (* y x))

series68.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ (+ (/ x 2.0) (* y x)) z)
41.0ms
(+ (/ x 2.0) (* y x))

simplify50.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0163180
1542168
21917162
35001160

prune49.0ms

Filtered
31 candidates to 22 candidates (71.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New29231
Fresh000
Picked011
Done000
Total29332

Merged error: 0.0b

Counts
32 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x 2.0) (* y x))
0.0b
(sqrt (+ (/ x 2.0) (* y x)))
0.0b
(sqrt (+ (/ x 2.0) (* y x)))
0.2b
(* (sqrt (+ (/ x 2.0) (* y x))) (sqrt (+ (/ x 2.0) (* y x))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
6.0ms
(+ (/ x 2.0) (* y x))
5.0ms
(sqrt (+ (/ x 2.0) (* y x)))
5.0ms
(sqrt (+ (/ x 2.0) (* y x)))
15.0ms
(* (sqrt (+ (/ x 2.0) (* y x))) (sqrt (+ (/ x 2.0) (* y x))))

series173.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (/ x 2.0) (* y x))
48.0ms
(sqrt (+ (/ x 2.0) (* y x)))
46.0ms
(sqrt (+ (/ x 2.0) (* y x)))
41.0ms
(* (sqrt (+ (/ x 2.0) (* y x))) (sqrt (+ (/ x 2.0) (* y x))))

simplify198.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0237770
1882692
24930666
35003666

prune169.0ms

Filtered
110 candidates to 65 candidates (59.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done011
Total1103113

Merged error: 0.0b

Counts
113 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x 2.0) (* y x))
0.1b
(* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x)))
4.9b
(- (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (* z z))
32.1b
(/ (- (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (* z z)) (- (+ (/ x 2.0) (* y x)) z))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
20×times-frac
19×add-cube-cbrt
12×difference-of-squares
11×pow1
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/r* distribute-lft-out--
frac-times associate-/l*
flip3-- swap-sqr associate-*r* associate-*l* flip--
distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ associate--l+ associate-/r/ associate-/l/
cbrt-undiv +-commutative pow2 sub-neg frac-2neg pow-plus diff-log div-sub div-exp pow-prod-down prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 107
Calls
4 calls:
6.0ms
(+ (/ x 2.0) (* y x))
13.0ms
(* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x)))
13.0ms
(- (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (* z z))
24.0ms
(/ (- (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (* z z)) (- (+ (/ x 2.0) (* y x)) z))

series317.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ (/ x 2.0) (* y x))
38.0ms
(* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x)))
100.0ms
(- (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (* z z))
135.0ms
(/ (- (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (* z z)) (- (+ (/ x 2.0) (* y x)) z))

simplify84.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05061635
125211464
250011409

prune240.0ms

Filtered
119 candidates to 86 candidates (72.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1181119
Fresh000
Picked011
Done022
Total1184122

Merged error: 0b

Counts
122 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (- (+ (/ x 2.0) (* y x)) z)) (/ (* z z) (- (+ (/ x 2.0) (* y x)) z)))
0.1b
(* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x)))
18.6b
(/ (* z z) (- (+ (/ x 2.0) (* y x)) z))
22.1b
(/ (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (- (+ (/ x 2.0) (* y x)) z))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
16×add-exp-log add-cbrt-cube
14×times-frac
12×add-cube-cbrt flip3-+ flip-+
11×pow1
10×associate-/r*
frac-times associate-/r/ associate-/l/ difference-of-squares
add-log-exp
flip3-- flip-- distribute-lft-out--
cbrt-undiv associate-*r/ div-exp associate-*l/ div-inv
distribute-rgt-out-- swap-sqr associate-*r* associate-*l* prod-exp cbrt-unprod
frac-2neg clear-num associate-/l*
pow2 distribute-rgt-in sub-neg distribute-lft-in pow-plus diff-log pow-prod-down pow-sqr *-commutative pow-prod-up frac-sub sub-div unswap-sqr
Counts
4 → 119
Calls
4 calls:
35.0ms
(- (/ (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (- (+ (/ x 2.0) (* y x)) z)) (/ (* z z) (- (+ (/ x 2.0) (* y x)) z)))
13.0ms
(* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x)))
11.0ms
(/ (* z z) (- (+ (/ x 2.0) (* y x)) z))
21.0ms
(/ (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (- (+ (/ x 2.0) (* y x)) z))

series440.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(- (/ (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (- (+ (/ x 2.0) (* y x)) z)) (/ (* z z) (- (+ (/ x 2.0) (* y x)) z)))
37.0ms
(* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x)))
97.0ms
(/ (* z z) (- (+ (/ x 2.0) (* y x)) z))
91.0ms
(/ (* (+ (/ x 2.0) (* y x)) (+ (/ x 2.0) (* y x))) (- (+ (/ x 2.0) (* y x)) z))

simplify96.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
05581760
129671625
250011592

prune260.0ms

Filtered
131 candidates to 92 candidates (70.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1310131
Fresh000
Picked011
Done033
Total1314135

Merged error: 0b

Counts
135 → 4

regimes91.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample466.0ms

Algorithm
intervals
Results
266.0ms9196×body80valid
0.0msbody1280valid

Profiling

Loading profile data...