Details

Time bar (total: 2.8s)

sample30.0ms

Algorithm
intervals
Results
17.0ms447×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 29.8b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

3.7b
(- (+ (* x x) (* y y)) (* z z))
27.7b
(/ (- (+ (* 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))

series117.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0275450
11168388
25001380

prune112.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: 11.1b

Counts
48 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.0b
(+ y (/ (pow x 2) y))
8.4b
(/ (pow z 2) y)
10.4b
(/ (pow x 2) y)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
50×add-sqr-sqrt
45×*-un-lft-identity
38×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
14×add-exp-log
11×add-log-exp
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ div-inv distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 133
Calls
4 calls:
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
12.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series105.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
30.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ (pow z 2) y)
19.0ms
(/ (pow x 2) y)

simplify51.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0419838
11459771
25002759

prune300.0ms

Filtered
145 candidates to 92 candidates (63.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1414145
Fresh213
Picked101
Done000
Total1445149

Merged error: 1.0b

Counts
149 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
103×times-frac
75×add-sqr-sqrt
70×*-un-lft-identity
63×add-cube-cbrt
16×associate-/r*
14×add-exp-log
13×unpow-prod-down
11×add-cbrt-cube associate-/l* add-log-exp
div-exp div-inv
unpow2 difference-of-squares sqr-pow
pow1 cbrt-undiv
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp associate--l+ associate-/r/ flip--
Counts
4 → 154
Calls
4 calls:
26.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
12.0ms
(+ y (/ x (/ y x)))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series103.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
29.0ms
(+ y (/ x (/ y x)))
17.0ms
(/ x (/ y x))
18.0ms
(/ (pow z 2) y)

simplify82.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06051049
12708969
25001963

prune327.0ms

Filtered
166 candidates to 112 candidates (67.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1633166
Fresh224
Picked101
Done000
Total1665171

Merged error: 0.0b

Counts
171 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
59×add-sqr-sqrt
56×*-un-lft-identity
54×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1 div-inv
cbrt-undiv div-exp
associate-*r/ associate-*l* associate-/l*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- frac-2neg pow-prod-down associate--l+ clear-num associate-/r/ *-commutative flip-- distribute-lft-out
Counts
4 → 130
Calls
4 calls:
15.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
12.0ms
(+ y (/ x (/ y x)))
10.0ms
(* z (/ z y))
6.0ms
(/ x (/ y x))

series105.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0599849
12991786
25002779

prune245.0ms

Filtered
142 candidates to 101 candidates (71.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1402142
Fresh224
Picked011
Done000
Total1425147

Merged error: 0.0b

Counts
147 → 5

regimes103.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1147

end0.0ms

sample754.0ms

Algorithm
intervals
Results
464.0ms13738×body80valid