Details

Time bar (total: 2.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms304×body80valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 12.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series56.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune83.0ms

Filtered
52 candidates to 35 candidates (67.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New46652
Fresh000
Picked011
Done000
Total46753

Merged error: 0.0b

Counts
53 → 7

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 123
Calls
2 calls:
5.0ms
(/ z (+ y z))
8.0ms
(/ x (/ z (+ y z)))

series82.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(/ z (+ y z))
45.0ms
(/ x (/ z (+ y z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413869
11890835
25002832

prune199.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1272129
Fresh415
Picked011
Done011
Total1315136

Merged error: 0b

Counts
136 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ y z))
0.3b
(/ 1 (/ (/ z (+ y z)) x))
2.9b
(/ (/ z (+ y z)) x)

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
648×times-frac
398×*-un-lft-identity
294×add-sqr-sqrt add-cube-cbrt
65×associate-/r*
52×distribute-lft-out
35×associate-/r/
31×add-exp-log
24×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-+ flip-+
10×cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 383
Calls
3 calls:
5.0ms
(/ z (+ y z))
15.0ms
(/ 1 (/ (/ z (+ y z)) x))
8.0ms
(/ (/ z (+ y z)) x)

series139.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ z (+ y z))
38.0ms
(/ 1 (/ (/ z (+ y z)) x))
64.0ms
(/ (/ z (+ y z)) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
392 → 392
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012063746
150013336

prune556.0ms

Filtered
392 candidates to 240 candidates (61.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3920392
Fresh022
Picked011
Done022
Total3925397

Merged error: 0b

Counts
397 → 5

localize5.0ms

Local error

Found 1 expressions with local error:

11.8b
(* (/ x z) (+ y z))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*l*
11×*-un-lft-identity
10×times-frac
add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
pow1
frac-times flip3-+ associate-*r/ prod-exp cbrt-unprod flip-+ unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down associate-*l/ *-commutative div-inv distribute-lft-out add-log-exp
Counts
1 → 39
Calls
1 calls:
8.0ms
(* (/ x z) (+ y z))

series47.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0315204
11176183
25001179

prune58.0ms

Filtered
42 candidates to 29 candidates (69.0%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done033
Total42547

Merged error: 0b

Counts
47 → 5

regimes116.0ms

Accuracy

75.8% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 2.7b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
02527
12827
23418
33718
44318
55418
66118
76218
86218

end0.0ms

sample444.0ms

Algorithm
intervals
Results
245.0ms9634×body80valid