Details

Time bar (total: 2.0s)

sample23.0ms

Algorithm
intervals
Results
14.0ms298×body80valid

simplify50.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: 10.4b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
9.9b
(/ (* 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))
5.0ms
(/ (* x (+ y z)) z)

series60.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune83.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series46.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0168160
1736144
23353142
35001142

prune66.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ 1 (/ z (* x y))) x)
0.3b
(/ 1 (/ z (* x y)))
4.4b
(/ z (* x y))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
29×add-exp-log
24×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt
17×add-cbrt-cube
14×div-exp
associate-/r*
cbrt-undiv div-inv
associate-/l*
add-log-exp
pow1 prod-exp
rec-exp 1-exp
frac-2neg clear-num cbrt-unprod distribute-lft-out
+-commutative pow-flip flip3-+ sum-log associate-/r/ flip-+ inv-pow
Counts
3 → 90
Calls
3 calls:
19.0ms
(+ (/ 1 (/ z (* x y))) x)
6.0ms
(/ 1 (/ z (* x y)))
3.0ms
(/ z (* x y))

series71.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (/ 1 (/ z (* x y))) x)
24.0ms
(/ 1 (/ z (* x y)))
20.0ms
(/ z (* x y))

simplify40.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0327502
11524399
25001388

prune129.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

series83.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0413869
11890835
25002832

prune227.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes128.0ms

Accuracy

28.8% (3.6b remaining)

Error of 3.6b against oracle of 0.0b and baseline of 5.0b

bsearch125.0ms

Steps
ItersRangePoint
9
0.25638013280504446
27058.00354315718
9085.265375012988
10
-6.979484046577315e-303
6.040449807966529e-304
3.673288055402834e-308
9
-6.493677006432882e-192
-2.002811860908064e-197
-1.3555792427794712e-194

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02913
12913

end0.0ms

sample593.0ms

Algorithm
intervals
Results
388.0ms9632×body80valid