Details

Time bar (total: 2.0s)

sample18.0ms

Algorithm
intervals
Results
9.0ms308×body80valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.5b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series61.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune89.0ms

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))

rewrite26.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:
7.0ms
(/ (+ y z) z)
16.0ms
(* x (/ (+ y z) z))

series51.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune125.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series84.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0413869
11890835
25002832

prune237.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
102×*-un-lft-identity
72×unpow-prod-down
70×add-sqr-sqrt add-cube-cbrt
26×associate-/r*
16×distribute-lft-out
12×add-exp-log
10×associate-/r/
div-exp add-cbrt-cube div-inv associate-/l*
flip3-+ flip-+
sqr-pow
pow1 cbrt-undiv frac-2neg pow-exp clear-num add-log-exp
pow-to-exp
Counts
2 → 139
Calls
2 calls:
5.0ms
(/ z (+ y z))
17.0ms
(/ x (pow (/ z (+ y z)) 1))

series84.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ z (+ y z))
46.0ms
(/ x (pow (/ z (+ y z)) 1))

simplify63.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04421139
11962957
25002946

prune259.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

sample409.0ms

Algorithm
intervals
Results
213.0ms9603×body80valid