Details

Time bar (total: 2.5s)

sample42.0ms

Algorithm
intervals
Results
19.0ms457×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.5b
(- (+ (* x x) (* y y)) (* z z))
26.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 52
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
5.0ms
(- (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series35.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
10.0ms
(- (+ (* x x) (* y y)) (* z z))
19.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0337520
11492454
25001446

prune94.0ms

Filtered
46 candidates to 61 candidates (-32.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New57461
Fresh000
Picked101
Done000
Total58462

Merged error: 9.2b

Counts
62 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
8.4b
(/ (pow x 2) y)
9.2b
(/ (pow z 2) y)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
56×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
26×unpow-prod-down
16×add-exp-log associate-/l*
10×associate-*r* add-cbrt-cube unpow2 difference-of-squares sqr-pow
add-log-exp
pow1 div-exp associate-/r*
associate-*r/ frac-sub distribute-lft-out--
distribute-rgt-in sub-neg distribute-lft-in associate-*l* associate--l+
cbrt-undiv pow-to-exp flip3-- frac-2neg flip3-+ diff-log pow-exp clear-num flip-- flip-+ div-inv distribute-lft-out
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 156
Calls
4 calls:
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
25.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series33.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
14.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
3.0ms
(/ (pow x 2) y)
3.0ms
(/ (pow z 2) y)

simplify64.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05231126
120101020
250021014

prune278.0ms

Filtered
106 candidates to 168 candidates (-58.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1626168
Fresh303
Picked101
Done000
Total1666172

Merged error: 0.5b

Counts
172 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
0.2b
(* z (/ z y))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (* z (/ z y))))
8.4b
(/ (pow x 2) y)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
34×times-frac
31×add-cube-cbrt *-un-lft-identity
16×add-exp-log associate-*r*
13×add-cbrt-cube
12×unpow-prod-down
associate-*r/ add-log-exp
pow1 associate-/l*
associate-*l*
div-exp frac-sub unpow2 sqr-pow
distribute-rgt-in sub-neg distribute-lft-in prod-exp associate--l+ associate-/r* cbrt-unprod unswap-sqr
cbrt-undiv flip3-- flip3-+ diff-log pow-prod-down *-commutative flip-- flip-+ div-inv
pow-to-exp frac-2neg pow-exp clear-num sum-log
Counts
4 → 125
Calls
4 calls:
11.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
6.0ms
(* z (/ z y))
15.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (* z (/ z y))))
5.0ms
(/ (pow x 2) y)

series33.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
3.0ms
(* z (/ z y))
14.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (* z (/ z y))))
3.0ms
(/ (pow x 2) y)

simplify66.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0502881
12256790
25001787

prune185.0ms

Filtered
89 candidates to 137 candidates (-53.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1361137
Fresh145
Picked101
Done000
Total1385143

Merged error: 0.0b

Counts
143 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (* x (/ x y))) (* z (/ z y)))
0.1b
(* x (/ x y))
0.2b
(* z (/ z y))
0.2b
(* 0.5 (- (+ y (* x (/ x y))) (* z (/ z y))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×associate-*r*
22×add-cube-cbrt *-un-lft-identity
20×times-frac
16×add-exp-log add-cbrt-cube
10×pow1 associate-*r/
associate-*l* add-log-exp
prod-exp cbrt-unprod unswap-sqr
frac-sub
distribute-rgt-in sub-neg distribute-lft-in pow-prod-down associate--l+ *-commutative
cbrt-undiv flip3-- flip3-+ diff-log div-exp flip-- flip-+ div-inv
sum-log
Counts
4 → 108
Calls
4 calls:
5.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
6.0ms
(* x (/ x y))
6.0ms
(* z (/ z y))
7.0ms
(* 0.5 (- (+ y (* x (/ x y))) (* z (/ z y))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
3.0ms
(* x (/ x y))
3.0ms
(* z (/ z y))
14.0ms
(* 0.5 (- (+ y (* x (/ x y))) (* z (/ z y))))

simplify74.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0517773
12589691
25001691

prune101.0ms

Filtered
81 candidates to 120 candidates (-48.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1191120
Fresh044
Picked011
Done000
Total1196125

Merged error: 0.0b

Counts
125 → 6

regimes176.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.0s

Algorithm
intervals
Results
595.0ms13775×body80valid

Profiling

Loading profile data...