Details

Time bar (total: 1.4s)

sample16.0ms

Algorithm
intervals
Results
6.0ms314×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950013

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

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
10.4b
(/ (* x (+ y z)) z)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt *-un-lft-identity
39×times-frac
30×add-cube-cbrt
20×associate-*r*
15×associate-*l*
13×associate-/l*
add-exp-log add-cbrt-cube
*-commutative distribute-lft-out unswap-sqr
pow1 associate-*r/
associate-/r*
cbrt-undiv +-commutative distribute-rgt-in distribute-lft-in flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ add-log-exp
frac-2neg pow-prod-down clear-num div-inv
Counts
2 → 96
Calls
2 calls:
6.0ms
(* x (+ y z))
9.0ms
(/ (* x (+ y z)) z)

series66.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(* x (+ y z))
40.0ms
(/ (* x (+ y z)) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0354542
11624513
25001513

prune124.0ms

Filtered
102 candidates to 71 candidates (69.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New975102
Fresh000
Picked101
Done000
Total985103

Merged error: 0b

Counts
103 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ y z) z)
3.4b
(* x (/ (+ y z) z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt
16×associate-*r*
12×associate-*r/
10×associate-/l*
add-exp-log add-cbrt-cube distribute-lft-out
associate-/r*
pow1 associate-/l/
associate-*l* clear-num un-div-inv
cbrt-undiv frac-2neg flip3-+ div-exp prod-exp cbrt-unprod flip-+ div-inv add-log-exp unswap-sqr
pow-prod-down *-commutative
Counts
2 → 82
Calls
2 calls:
5.0ms
(/ (+ y z) z)
10.0ms
(* x (/ (+ y z) z))

series59.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(/ (+ y z) z)
36.0ms
(* x (/ (+ y z) z))

simplify41.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0275374
11228345
25001345

prune99.0ms

Filtered
88 candidates to 57 candidates (64.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New87188
Fresh134
Picked101
Done000
Total89493

Merged error: 0b

Counts
93 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

3.4b
(* x (+ (/ y z) 1))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
+-commutative distribute-rgt-in distribute-lft-in associate-*r/
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out add-log-exp unswap-sqr
Counts
1 → 25
Calls
1 calls:
10.0ms
(* x (+ (/ y z) 1))

series26.0ms

Counts
1 → 3
Calls
1 calls:
26.0ms
(* x (+ (/ y z) 1))

simplify56.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0136117
1626103
22520103
35001103

prune34.0ms

Filtered
28 candidates to 17 candidates (60.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New28028
Fresh033
Picked011
Done000
Total28432

Merged error: 0b

Counts
32 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ (* x y) z) x)
4.7b
(/ (* x y) z)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
35×add-sqr-sqrt
29×*-un-lft-identity
27×add-cube-cbrt
12×associate-*r* associate-*l* associate-/l*
add-exp-log add-cbrt-cube
*-commutative add-log-exp unswap-sqr
associate-/r*
pow1 cbrt-undiv div-exp
+-commutative frac-2neg flip3-+ prod-exp clear-num sum-log cbrt-unprod flip-+ div-inv distribute-lft-out
Counts
2 → 77
Calls
2 calls:
21.0ms
(+ (/ (* x y) z) x)
7.0ms
(/ (* x y) z)

series50.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0316412
11384396
25001396

prune108.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New81283
Fresh202
Picked011
Done011
Total83487

Merged error: 0b

Counts
87 → 4

regimes62.0ms

Accuracy

23.7% (3.5b remaining)

Error of 3.6b against oracle of 0.0b and baseline of 4.7b

bsearch35.0ms

Steps
ItersRangePoint
9
-1.4325577998996664e-280
-3.495503173166341e-286
-2.7390615932918903e-281

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186
1186

end0.0ms

sample394.0ms

Algorithm
intervals
Results
200.0ms9560×body80valid