Details

Time bar (total: 1.7s)

sample17.0ms

Algorithm
intervals
Results
6.0ms298×body80valid

simplify52.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: 10.3b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.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:
22.0ms
(* x (+ y z))
14.0ms
(/ (* x (+ y z)) z)

series55.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune85.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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:
14.0ms
(/ z (+ y z))
16.0ms
(/ x (/ z (+ y z)))

series78.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0413869
11890835
25002832

prune217.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
times-frac 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 associate-/l*
Counts
2 → 33
Calls
2 calls:
14.0ms
(+ (/ (* x y) z) x)
9.0ms
(/ (* x y) z)

series45.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0168160
1736144
23353142
35001142

prune59.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite31.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:
30.0ms
(* (/ x z) (+ y z))

series40.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0315204
11176183
25001179

prune71.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes71.0ms

Accuracy

21.5% (2.5b remaining)

Error of 2.5b against oracle of 0.0b and baseline of 3.2b

bsearch51.0ms

Steps
ItersRangePoint
8
7.357919671268721e+82
2.277912944090519e+87
1.3270095901178072e+85
9
-1.1348229112176683e-269
-2.2860162651951464e-275
-9.529980227492435e-270

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0216
1216

end0.0ms

sample472.0ms

Algorithm
intervals
Results
197.0ms9583×body80valid