Details

Time bar (total: 1.9s)

sample16.0ms

Algorithm
intervals
Results
7.0ms308×body80valid

simplify50.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
10.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series58.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune93.0ms

Filtered
52 candidates to 35 candidates (67.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

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

series56.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune126.0ms

Filtered
74 candidates to 47 candidates (63.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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))
10.0ms
(/ x (/ z (+ y z)))

series87.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0413869
11890835
25002832

prune240.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
18×add-exp-log
15×times-frac
13×add-sqr-sqrt add-cube-cbrt add-cbrt-cube
div-exp
associate-/l*
cbrt-undiv associate-/r*
prod-exp distribute-lft-out
associate-/r/
pow1 frac-2neg 1-exp clear-num cbrt-unprod div-inv add-log-exp
flip3-+ associate-*r/ flip-+
Counts
2 → 59
Calls
2 calls:
5.0ms
(/ z (+ y z))
7.0ms
(/ x (* 1 (/ z (+ y z))))

series87.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0265308
11151266
24341259
35002259

prune104.0ms

Filtered
65 candidates to 41 candidates (63.1%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes135.0ms

Accuracy

80% (0.7b remaining)

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

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
02627
12927
23518
33818
44418
55518
66218
76318
86318

end0.0ms

sample428.0ms

Algorithm
intervals
Results
230.0ms9603×body80valid