Details

Time bar (total: 3.3s)

sample35.0ms

Algorithm
intervals
Results
24.0ms331×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: 0.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series91.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune205.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×associate-*l*
11×add-cube-cbrt *-un-lft-identity
10×times-frac add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-*l/
frac-add frac-sub
associate-*r*
flip3-+ diff-log associate-*r/ prod-exp sum-log un-div-inv cbrt-unprod flip-+ div-inv unswap-sqr
cbrt-undiv +-commutative sub-neg distribute-rgt-out flip3-- div-exp pow-prod-down associate--l+ *-commutative flip--
Counts
3 → 64
Calls
3 calls:
68.0ms
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
10.0ms
(+ (* 4.0 (/ 1 y)) (/ x y))
8.0ms
(* (/ x y) z)

series90.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
25.0ms
(+ (* 4.0 (/ 1 y)) (/ x y))
20.0ms
(* (/ x y) z)

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0341472
11450422
25001401

prune172.0ms

Pruning

4 alts after pruning (3 fresh and 1 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.2b
(* x (/ z y))

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

series88.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ (+ x 4.0) y)
41.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
19.0ms
(* x (/ z y))

simplify40.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune197.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (- (/ 4.0 y) (/ x y)))
0.2b
(* y (+ (/ x y) (/ 4.0 y)))
1.5b
(* (- (/ 4.0 y) (/ x y)) (- (* y (+ (/ x y) (/ 4.0 y))) (* x z)))
7.3b
(/ (* (- (/ 4.0 y) (/ x y)) (- (* y (+ (/ x y) (/ 4.0 y))) (* x z))) (* y (- (/ 4.0 y) (/ x y))))

rewrite317.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
40×*-un-lft-identity
27×times-frac
23×associate-*r*
22×add-exp-log add-cbrt-cube
18×flip3-- associate-*l* flip--
16×frac-times add-cube-cbrt
15×associate-*r/
14×associate-/l/
10×pow1
distribute-rgt-in distribute-lft-in
associate-*l/ frac-sub distribute-lft-out-- sub-div difference-of-squares
prod-exp cbrt-unprod div-inv
cbrt-undiv sub-neg div-exp associate--l+ associate-/r/ distribute-lft-out add-log-exp
pow-prod-down *-commutative unswap-sqr
distribute-rgt-out--
distribute-rgt-out frac-2neg flip3-+ frac-add clear-num associate-/r* flip-+ associate-/l*
Counts
4 → 151
Calls
4 calls:
57.0ms
(* y (- (/ 4.0 y) (/ x y)))
57.0ms
(* y (+ (/ x y) (/ 4.0 y)))
128.0ms
(* (- (/ 4.0 y) (/ x y)) (- (* y (+ (/ x y) (/ 4.0 y))) (* x z)))
69.0ms
(/ (* (- (/ 4.0 y) (/ x y)) (- (* y (+ (/ x y) (/ 4.0 y))) (* x z))) (* y (- (/ 4.0 y) (/ x y))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* y (- (/ 4.0 y) (/ x y)))
50.0ms
(* y (+ (/ x y) (/ 4.0 y)))
54.0ms
(* (- (/ 4.0 y) (/ x y)) (- (* y (+ (/ x y) (/ 4.0 y))) (* x z)))
41.0ms
(/ (* (- (/ 4.0 y) (/ x y)) (- (* y (+ (/ x y) (/ 4.0 y))) (* x z))) (* y (- (/ 4.0 y) (/ x y))))

simplify41.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08061961
150011714

prune450.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes63.0ms

Accuracy

0% (1.6b remaining)

Error of 1.6b against oracle of 0.0b and baseline of 1.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0178
1178

end0.0ms

sample967.0ms

Algorithm
intervals
Results
750.0ms10127×body80valid