Details

Time bar (total: 2.9s)

sample31.0ms

Algorithm
intervals
Results
18.0ms453×body80valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

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

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

4.6b
(- (+ (* x x) (* y y)) (* z z))
24.5b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite16.0ms

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

series120.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0275450
11168388
25001380

prune102.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 8.8b

Counts
48 → 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)))
6.7b
(/ (pow x 2) y)
10.1b
(/ (pow z 2) y)

rewrite60.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))
23.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series133.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
56.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
18.0ms
(/ (pow x 2) y)
18.0ms
(/ (pow z 2) y)

simplify65.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05231126
120101020
250011014

prune344.0ms

Filtered
168 candidates to 106 candidates (63.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1635168
Fresh033
Picked101
Done000
Total1648172

Merged error: 1.0b

Counts
172 → 8

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))))
6.7b
(/ (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:
12.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
7.0ms
(* z (/ z y))
14.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (* z (/ z y))))
5.0ms
(/ (pow x 2) y)

series132.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
18.0ms
(* z (/ z y))
52.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (* z (/ z y))))
22.0ms
(/ (pow x 2) y)

simplify65.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0502881
12256790
25001787

prune247.0ms

Filtered
137 candidates to 89 candidates (65.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1352137
Fresh347
Picked101
Done000
Total1396145

Merged error: 0.0b

Counts
145 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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)))
7.0ms
(* x (/ x y))
7.0ms
(* z (/ z y))
7.0ms
(* 0.5 (- (+ y (* x (/ x y))) (* z (/ z y))))

series131.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
20.0ms
(* x (/ x y))
18.0ms
(* z (/ z y))
54.0ms
(* 0.5 (- (+ y (* x (/ x y))) (* z (/ z y))))

simplify70.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0517773
12589691
25002691

prune198.0ms

Filtered
120 candidates to 81 candidates (67.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh055
Picked011
Done000
Total1206126

Merged error: 0.0b

Counts
126 → 6

regimes154.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample846.0ms

Algorithm
intervals
Results
565.0ms13764×body80valid