Details

Time bar (total: 3.4s)

sample20.0ms

Algorithm
intervals
Results
9.0ms321×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.6b

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))
2.9b
(* (/ 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)

series95.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune216.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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)))
13.0ms
(* (/ x y) (- 1 z))

series85.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0416496
11863440
25001435

prune175.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.4b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
1.9b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
21×add-cbrt-cube
18×pow1 add-sqr-sqrt
17×prod-exp cbrt-unprod
15×add-cube-cbrt *-un-lft-identity
14×associate-*l*
10×times-frac
cbrt-prod pow-prod-down
associate-*r*
cbrt-undiv div-exp add-log-exp
associate-*l/
pow1/3 *-commutative unswap-sqr
div-inv
Counts
4 → 86
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
12.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
9.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series517.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt z)
179.0ms
(cbrt z)
42.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
117.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify43.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0338616
11545447
25002401

prune273.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.4b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z))))
1.9b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
57×add-exp-log
35×add-cbrt-cube
33×prod-exp cbrt-unprod
30×pow1
18×pow-prod-down
16×add-sqr-sqrt
14×associate-*l*
13×add-cube-cbrt *-un-lft-identity
10×times-frac
cbrt-undiv cbrt-prod div-exp
add-log-exp
associate-*l/
pow1/3 associate-*r* *-commutative unswap-sqr
div-inv
Counts
4 → 94
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
15.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z))))
9.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series643.0ms

Counts
4 → 12
Calls
4 calls:
313.0ms
(cbrt z)
171.0ms
(cbrt z)
43.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z))))
115.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04061016
11829726
25002673

prune305.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes101.0ms

Accuracy

85.4% (0.2b remaining)

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

bsearch59.0ms

Steps
ItersRangePoint
3
3.305079171899502e-82
3.995605072536917e-82
3.6071842534283706e-82
10
-1.1767907291362438e+65
-3.867614672345071e+48
-6.854015064451374e+56

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample518.0ms

Algorithm
intervals
Results
310.0ms10036×body80valid