Details

Time bar (total: 3.1s)

sample19.0ms

Algorithm
intervals
Results
9.0ms311×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.0b

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod 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 → 117
Calls
3 calls:
10.0ms
(/ (+ x 4.0) y)
32.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
8.0ms
(* (/ x y) z)

series93.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0399743
11422683
25001668

prune278.0ms

Filtered
126 candidates to 89 candidates (70.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
370×times-frac
341×*-un-lft-identity
235×distribute-lft-neg-in distribute-rgt-neg-in
222×add-sqr-sqrt
217×add-cube-cbrt
124×fma-neg prod-diff
68×neg-mul-1
62×distribute-lft-out
13×associate-*l*
12×associate-/l*
10×add-exp-log associate-/r* add-cbrt-cube
pow1 add-log-exp
div-inv
expm1-log1p-u associate-*r* log1p-expm1-u
cbrt-undiv neg-sub0 div-sub div-exp associate-*l/ prod-exp cbrt-unprod associate-/l/ distribute-neg-frac unswap-sqr
associate--l- sub-neg flip3-- frac-2neg flip3-+ diff-log distribute-frac-neg pow-prod-down clear-num *-commutative frac-sub flip-- flip-+
Counts
3 → 458
Calls
3 calls:
17.0ms
(/ (- (+ x 4.0)) (- y))
126.0ms
(- (/ (- (+ x 4.0)) (- y)) (* (/ x y) z))
8.0ms
(* (/ x y) z)

series94.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
467 → 467
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09124246
136093997
250013972

prune924.0ms

Filtered
467 candidates to 286 candidates (61.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

2.9b
(/ (- (+ x 4.0) (* x z)) y)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/l/
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg div-sub div-exp clear-num flip-- log1p-expm1-u div-inv add-log-exp
Counts
1 → 32
Calls
1 calls:
36.0ms
(/ (- (+ x 4.0) (* x z)) y)

series47.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0171262
1603241
22638240
35001238

prune77.0ms

Filtered
35 candidates to 28 candidates (80.0%)
Pruning

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*r*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r/ associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod 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 → 117
Calls
3 calls:
7.0ms
(/ (+ x 4.0) y)
31.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
9.0ms
(* x (/ z y))

series87.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0409748
11644688
25001677

prune256.0ms

Filtered
126 candidates to 87 candidates (69.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes79.0ms

Accuracy

78% (0.4b remaining)

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

bsearch51.0ms

Steps
ItersRangePoint
6
1.814328162974049e-103
1.038363026389459e-102
6.735881214580176e-103
6
-1.5465511542273035e-74
-1.3466512182860286e-75
-1.4733731582962843e-74

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03619
13719
23719

end0.0ms

sample483.0ms

Algorithm
intervals
Results
283.0ms10091×body80valid