Details

Time bar (total: 3.5s)

sample31.0ms

Algorithm
intervals
Results
20.0ms311×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.9b

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series95.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune221.0ms

Pruning

7 alts after pruning (7 fresh and 0 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)))
4.4b
(* x (/ z y))

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

series94.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune203.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
2.3b
(* (/ x (* (cbrt y) (cbrt y))) (/ z (cbrt y)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
28×times-frac
25×add-exp-log
22×add-cube-cbrt *-un-lft-identity associate-*r*
20×cbrt-prod
18×add-cbrt-cube
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
pow1 unswap-sqr
add-log-exp
pow1/3
div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 92
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt y)
25.0ms
(* (/ x (* (cbrt y) (cbrt y))) (/ z (cbrt y)))

series633.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt y)
207.0ms
(cbrt y)
192.0ms
(cbrt y)
59.0ms
(* (/ x (* (cbrt y) (cbrt y))) (/ z (cbrt y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0420720
12228581
25001542

prune302.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
23×*-un-lft-identity
21×times-frac
19×add-cube-cbrt associate-*r*
17×add-exp-log
16×associate-*l*
13×add-cbrt-cube
12×associate-*r/
10×frac-add
pow1
frac-times flip3-- prod-exp un-div-inv flip--
add-log-exp unswap-sqr
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in cbrt-unprod
div-exp associate-*l/
cbrt-undiv pow-prod-down *-commutative div-inv difference-of-squares
+-commutative rec-exp flip3-+ 1-exp sum-log flip-+ distribute-lft-out--
Counts
3 → 104
Calls
3 calls:
8.0ms
(* 4.0 (/ 1 y))
8.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
19.0ms
(* (/ x y) (- 1 z))

series101.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(* 4.0 (/ 1 y))
46.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
39.0ms
(* (/ x y) (- 1 z))

simplify58.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0556629
12578542
25001537

prune251.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes204.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01511
11511

end0.0ms

sample870.0ms

Algorithm
intervals
Results
650.0ms10080×body80valid