Details

Time bar (total: 1.8s)

sample16.0ms

Algorithm
intervals
Results
7.0ms309×body80valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.8b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
12.2b
(/ (* 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:
6.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series61.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune95.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series54.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune128.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ y z))
3.2b
(/ 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))
8.0ms
(/ x (/ z (+ y z)))

series84.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413869
11890835
25002832

prune238.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (+ y z) (/ 1 z))
3.2b
(* x (* (+ y z) (/ 1 z)))

rewrite21.0ms

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

series54.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0333371
11550305
25002293

prune119.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes75.0ms

Accuracy

46.3% (1.7b remaining)

Error of 1.8b against oracle of 0.0b and baseline of 3.3b

bsearch43.0ms

Steps
ItersRangePoint
8
1.3599510473053195e-12
5.3688167877884945e-08
1.83979944727274e-10
5
-3.62276492033725e+76
-9.172566248220007e+75
-9.845614242311617e+75

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0216
1216

end0.0ms

sample431.0ms

Algorithm
intervals
Results
233.0ms9604×body80valid