Details

Time bar (total: 2.1s)

sample23.0ms

Algorithm
intervals
Results
12.0ms323×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.2b

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))
4.5b
(* (/ 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:
6.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series92.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune197.0ms

Filtered
88 candidates to 63 candidates (71.6%)
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)))
4.4b
(* (/ x y) (- 1 z))

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

series84.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0416496
11863440
25001435

prune169.0ms

Filtered
74 candidates to 50 candidates (67.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series92.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune198.0ms

Filtered
88 candidates to 61 candidates (69.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 flip3-- diff-log flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
2 → 44
Calls
2 calls:
5.0ms
(- (+ x 4.0) (* x z))
7.0ms
(/ (- (+ x 4.0) (* x z)) y)

series68.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(- (+ x 4.0) (* x z))
48.0ms
(/ (- (+ x 4.0) (* x z)) y)

simplify81.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0206339
1735314
23242314
35001314

prune102.0ms

Filtered
50 candidates to 37 candidates (74.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes85.0ms

Accuracy

76.3% (0.4b remaining)

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

bsearch72.0ms

Steps
ItersRangePoint
7
1.9095882882022512e-26
3.102459557861999e-25
1.6590752866744042e-25
8
-2.8619819955709744e+114
-1.0328813798619898e+110
-2.168947977562578e+110

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03312
13312

end0.0ms

sample521.0ms

Algorithm
intervals
Results
310.0ms10108×body80valid