Details

Time bar (total: 1.9s)

sample18.0ms

Algorithm
intervals
Results
8.0ms330×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0123
1193
2283
3403
4503
5733
61023
71183
81453
91743
101903
111903

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

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
21×add-sqr-sqrt
15×times-frac
13×add-cube-cbrt
associate-/l*
add-exp-log add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
fma-def associate-/r*
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
cbrt-undiv +-commutative associate-+r- flip3-- frac-2neg flip3-+ div-exp clear-num sum-log flip-- flip-+ div-inv distribute-lft-out
Counts
2 → 58
Calls
2 calls:
6.0ms
(/ (- y x) z)
9.0ms
(+ x (/ (- y x) z))

series50.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ (- y x) z)
25.0ms
(+ x (/ (- y x) z))

simplify64.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0230286
1705273
23068273
35001273

prune100.0ms

Filtered
64 candidates to 47 candidates (73.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New60464
Fresh000
Picked101
Done000
Total61465

Merged error: 0b

Counts
65 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
52×prod-diff
50×add-sqr-sqrt
45×add-cube-cbrt
37×times-frac
16×distribute-lft-out
add-log-exp
fma-neg div-inv
fma-def
pow1 add-exp-log expm1-log1p-u flip3-+ diff-log sum-log frac-sub add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out-- difference-of-squares
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
2 → 95
Calls
2 calls:
6.0ms
(+ x (/ y z))
13.0ms
(- (+ x (/ y z)) (/ x z))

series36.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ x (/ y z))
21.0ms
(- (+ x (/ y z)) (/ x z))

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04521584
114671108
25002997

prune90.0ms

Filtered
101 candidates to 41 candidates (40.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh213
Picked011
Done000
Total1023105

Merged error: 0b

Counts
105 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
22×add-exp-log add-cbrt-cube
18×*-un-lft-identity
15×associate-*l*
14×flip3-- flip--
12×add-cube-cbrt
10×pow1 distribute-rgt-in distribute-lft-in associate-*r*
frac-times associate-*l/ associate-/l/
prod-exp cbrt-unprod
associate-*r/ prod-diff
cbrt-undiv expm1-log1p-u div-exp associate--l+ log1p-expm1-u add-log-exp difference-of-squares
times-frac pow-prod-down *-commutative unswap-sqr
sub-neg associate-/r/ distribute-lft-out--
frac-2neg flip3-+ clear-num associate-/r* flip-+ div-inv distribute-lft-out associate-/l*
Counts
4 → 128
Calls
4 calls:
9.0ms
(* (- x (/ y z)) z)
8.0ms
(* z (+ x (/ y z)))
19.0ms
(* (- x (/ y z)) (- (* z (+ x (/ y z))) x))
29.0ms
(/ (* (- x (/ y z)) (- (* z (+ x (/ y z))) x)) (* (- x (/ y z)) z))

series165.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (- x (/ y z)) z)
27.0ms
(* z (+ x (/ y z)))
63.0ms
(* (- x (/ y z)) (- (* z (+ x (/ y z))) x))
47.0ms
(/ (* (- x (/ y z)) (- (* z (+ x (/ y z))) x)) (* (- x (/ y z)) z))

simplify123.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
06321336
141251065
250011062

prune245.0ms

Filtered
140 candidates to 95 candidates (67.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh101
Picked011
Done011
Total1403143

Merged error: 0b

Counts
143 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×add-sqr-sqrt
16×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1
expm1-log1p-u associate-*r* log1p-expm1-u
fma-def associate-*l* prod-diff associate-/r* associate-/l*
distribute-rgt-in flip3-- distribute-lft-in flip3-+ associate-*r/ associate--l+ flip-- flip-+ associate-/l/ distribute-lft-out
cbrt-undiv +-commutative sub-neg frac-2neg fma-neg diff-log div-sub div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 94
Calls
4 calls:
8.0ms
(- (* z (+ x (/ y z))) x)
6.0ms
(+ x (/ y z))
8.0ms
(* z (+ x (/ y z)))
11.0ms
(/ (- (* z (+ x (/ y z))) x) z)

series86.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(- (* z (+ x (/ y z))) x)
15.0ms
(+ x (/ y z))
21.0ms
(* z (+ x (/ y z)))
31.0ms
(/ (- (* z (+ x (/ y z))) x) z)

simplify53.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0352620
11674555
25001529

prune170.0ms

Filtered
106 candidates to 82 candidates (77.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh000
Picked011
Done022
Total1063109

Merged error: 0b

Counts
109 → 3

regimes47.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
084
184

end0.0ms

sample446.0ms

Algorithm
intervals
Results
244.0ms9990×body80valid