Details

Time bar (total: 3.0s)

sample23.0ms

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

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite92.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:
19.0ms
(/ (+ x 4.0) y)
54.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
15.0ms
(* (/ x y) z)

series83.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune202.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt y)
0.5b
(cbrt y)
2.0b
(* (/ x (cbrt y)) z)
3.5b
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

rewrite104.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)
20.0ms
(* (/ x (cbrt y)) z)
77.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

series510.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt y)
176.0ms
(cbrt y)
106.0ms
(* (/ x (cbrt y)) z)
47.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

simplify58.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0478843
12160646
25001558

prune333.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite56.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:
19.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
34.0ms
(* (/ x y) (- 1 z))

series80.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0416496
11863440
25001435

prune168.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite65.0ms

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

series105.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (/ (* x (- 1 z)) y) (* 4.0 (/ 1 y)))
33.0ms
(* x (- 1 z))
34.0ms
(/ (* x (- 1 z)) y)

simplify43.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0332369
11564324
25002317

prune160.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes88.0ms

Accuracy

65.7% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 2.3b

bsearch14.0ms

Steps
ItersRangePoint
3
227507829.52260175
266562863.36314517
249476286.0579074

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02813
12813

end0.0ms

sample567.0ms

Algorithm
intervals
Results
279.0ms10106×body80valid