Details

Time bar (total: 2.7s)

sample26.0ms

Algorithm
intervals
Results
14.0ms422×body80valid

simplify51.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: 27.7b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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:
7.0ms
(+ (* x x) (* y y))
6.0ms
(- (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series151.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
44.0ms
(- (+ (* x x) (* y y)) (* z z))
80.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337520
11492454
25001446

prune137.0ms

Filtered
61 candidates to 46 candidates (75.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New57461
Fresh000
Picked011
Done000
Total57562

Merged error: 12.2b

Counts
62 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
10.1b
(/ (pow z 2) y)
11.6b
(/ (pow x 2) y)

rewrite43.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:
9.0ms
(+ y (/ (pow x 2) y))
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series107.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ y (/ (pow x 2) y))
40.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
22.0ms
(/ (pow z 2) y)
19.0ms
(/ (pow x 2) y)

simplify54.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0419838
11459771
25001759

prune302.0ms

Filtered
145 candidates to 92 candidates (63.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1396145
Fresh213
Picked101
Done011
Total1428150

Merged error: 3.0b

Counts
150 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series107.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0447721
11850663
25002660

prune232.0ms

Filtered
126 candidates to 83 candidates (65.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh336
Picked101
Done011
Total1277134

Merged error: 0.0b

Counts
134 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
26×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
14×add-exp-log add-cbrt-cube
11×add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv flip3-+ diff-log div-exp pow-prod-down sum-log *-commutative frac-sub flip-+ div-inv
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 91
Calls
4 calls:
3.0ms
(+ y (* x (/ x y)))
5.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
7.0ms
(* z (/ z y))
7.0ms
(* x (/ x y))

series108.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ y (* x (/ x y)))
39.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
18.0ms
(* z (/ z y))
22.0ms
(* x (/ x y))

simplify62.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0439527
12154482
25002482

prune159.0ms

Filtered
103 candidates to 68 candidates (66.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh055
Picked101
Done011
Total1028110

Merged error: 0.0b

Counts
110 → 8

regimes196.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01916
11916

end0.0ms

sample764.0ms

Algorithm
intervals
Results
478.0ms13793×body80valid