Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
10.0ms328×body80valid

simplify10.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.1b

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.5b
(* (/ x y) z)

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

series90.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune188.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series83.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
39.0ms
(* (/ x y) (- 1 z))

simplify49.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0416496
11863440
25001435

prune173.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
22×*-un-lft-identity
21×times-frac
19×add-cube-cbrt
17×add-exp-log associate-*l*
16×associate-*r*
13×associate-*l/ add-cbrt-cube
pow1
prod-exp frac-sub
add-log-exp unswap-sqr
frac-times flip3-+ cbrt-unprod flip-+
associate-*r/ div-exp un-div-inv
cbrt-undiv pow-prod-down *-commutative div-inv sub-div
sub-neg rec-exp flip3-- diff-log 1-exp flip-- distribute-lft-out
Counts
3 → 93
Calls
3 calls:
10.0ms
(- (* (+ x 4.0) (/ 1 y)) (* (/ x y) z))
10.0ms
(* (+ x 4.0) (/ 1 y))
6.0ms
(* (/ x y) z)

series91.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (* (+ x 4.0) (/ 1 y)) (* (/ x y) z))
26.0ms
(* (+ x 4.0) (/ 1 y))
21.0ms
(* (/ x y) z)

simplify54.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0506559
12162502
25003481

prune218.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
9.3b
(cbrt (/ x y))
9.3b
(cbrt (/ x y))
9.3b
(cbrt (/ x y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
27×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×pow1 add-exp-log
15×cbrt-div
10×add-cbrt-cube
associate-*l/
pow-prod-down prod-exp cbrt-unprod
frac-times
add-log-exp
pow1/3 associate-*r/ div-inv
associate-*r* associate-*l* *-commutative
Counts
4 → 95
Calls
4 calls:
17.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))

series198.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
59.0ms
(cbrt (/ x y))
60.0ms
(cbrt (/ x y))
58.0ms
(cbrt (/ x y))

simplify67.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0266756
1813634
23023589
35001545

prune270.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes85.0ms

Accuracy

88.2% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.5b

bsearch84.0ms

Steps
ItersRangePoint
9
166951548.0487144
3755575935281402.0
2083989822.488266
10
-3.0114919178034e+62
-5.310717090027774e+52
-7.609461543067301e+55

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample504.0ms

Algorithm
intervals
Results
300.0ms10098×body80valid