Details

Time bar (total: 3.5s)

sample21.0ms

Algorithm
intervals
Results
10.0ms327×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
4.1b
(* (/ x y) z)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r* associate-*l/ associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
9.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series96.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ (+ x 4.0) y)
42.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

simplify119.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune193.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
45×associate-*l*
40×cbrt-div
36×add-cube-cbrt *-un-lft-identity
30×times-frac
27×associate-*l/
21×add-exp-log
19×add-cbrt-cube
17×pow1
16×cbrt-prod frac-times
15×associate-*r*
10×flip3-- frac-sub flip-- sub-div unswap-sqr
prod-exp cbrt-unprod
pow1/3 swap-sqr
pow-prod-down
associate-*r/ *-commutative add-log-exp
cbrt-undiv div-exp div-inv
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 160
Calls
4 calls:
19.0ms
(* (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
6.0ms
(* (/ x y) z)
7.0ms
(* (/ x y) z)
6.0ms
(* (/ x y) z)

series279.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(* (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
20.0ms
(* (/ x y) z)
24.0ms
(* (/ x y) z)
21.0ms
(* (/ x y) z)

simplify60.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04671683
116731594
250011500

prune466.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
1.0b
(* (/ x (cbrt y)) z)
4.8b
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
87×add-exp-log
46×prod-exp
35×add-cbrt-cube
30×add-sqr-sqrt
29×associate-*l*
23×times-frac
22×add-cube-cbrt *-un-lft-identity
20×div-exp cbrt-unprod
16×cbrt-prod
11×pow1
10×cbrt-undiv
rec-exp 1-exp
associate-*r* pow-prod-down associate-*l/ add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*r/
Counts
4 → 115
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
8.0ms
(* (/ x (cbrt y)) z)
15.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

series519.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt y)
180.0ms
(cbrt y)
116.0ms
(* (/ x (cbrt y)) z)
46.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

simplify62.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0478843
12160646
25001558

prune292.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* x (/ z y)))
6.5b
(* x (/ z y))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r/ associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
6.0ms
(* x (/ z y))

series227.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
43.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
158.0ms
(* x (/ z y))

simplify54.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0349430
11432403
25001403

prune189.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes183.0ms

Accuracy

80.8% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.7b

bsearch65.0ms

Steps
ItersRangePoint
7
4235524.679815009
873466466.9378852
4360323.742678826
6
-1.1214097119327606e-121
-1.534609564078396e-122
-1.0995490400827057e-121

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03319
13519
23519

end0.0ms

sample510.0ms

Algorithm
intervals
Results
302.0ms10148×body80valid