Details

Time bar (total: 2.8s)

sample21.0ms

Algorithm
intervals
Results
10.0ms333×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: 2.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
5.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:
26.0ms
(/ (+ x 4.0) y)
47.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

simplify115.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune213.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.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)))
5.3b
(* x (/ z y))

rewrite27.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:
9.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
7.0ms
(* x (/ z y))

series96.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune194.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
1.0b
(* (/ x (cbrt y)) z)
4.3b
(* (/ 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))

series532.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt y)
182.0ms
(cbrt y)
119.0ms
(* (/ x (cbrt y)) z)
46.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

simplify63.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0478843
12160646
25001558

prune314.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 flip3-- diff-log flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
2 → 44
Calls
2 calls:
10.0ms
(- (+ x 4.0) (* x z))
12.0ms
(/ (- (+ x 4.0) (* x z)) y)

series66.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0206339
1735314
23242314
35001314

prune108.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes157.0ms

Accuracy

85.5% (0.2b remaining)

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

bsearch71.0ms

Steps
ItersRangePoint
9
4.209683261103661e-22
4.3982213380339373e-16
5.307490598409406e-20
6
-4.6975478283094214e+88
-3.316401738054805e+87
-5.613880646235681e+87

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample498.0ms

Algorithm
intervals
Results
293.0ms10111×body80valid