Details

Time bar (total: 3.4s)

sample23.0ms

Algorithm
intervals
Results
10.0ms315×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

prune3.0ms

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

rewrite103.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:
18.0ms
(/ (+ x 4.0) y)
64.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
15.0ms
(* (/ x y) z)

series83.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
36.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
19.0ms
(* (/ x y) z)

simplify44.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0399743
11422683
25001668

prune430.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×*-un-lft-identity
22×add-cube-cbrt
18×prod-diff
13×associate-*l*
11×distribute-rgt-in distribute-lft-in
10×times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1
expm1-log1p-u frac-times sub-neg flip3-- associate-*r/ prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv distribute-lft-out--
Counts
2 → 73
Calls
2 calls:
0.0ms
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
33.0ms
(* (/ x y) (- 1 z))

series81.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0402603
11761405
25002402

prune216.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.0b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
3.4b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite124.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 expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-*l/
pow1/3 *-commutative unswap-sqr
div-inv
Counts
4 → 94
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
85.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
34.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series495.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt z)
173.0ms
(cbrt z)
45.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
106.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0344652
11553478
25002431

prune422.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt
times-frac
add-log-exp
add-exp-log fma-neg prod-diff add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- diff-log flip-- log1p-expm1-u associate-/l/ distribute-lft-out
cbrt-undiv sub-neg frac-2neg div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
2 → 56
Calls
2 calls:
43.0ms
(- (+ x 4.0) (* x z))
76.0ms
(/ (- (+ x 4.0) (* x z)) y)

series60.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0231402
1809365
23892363
35001356

prune198.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes100.0ms

Accuracy

89.6% (0.2b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
8
3.369360046106495e-69
1.6040684264595322e-66
1.583440555762593e-66
7
-8.278999807145189e+43
-4.1184891230984284e+42
-4.2615312132034986e+42

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03317
13317

end0.0ms

sample571.0ms

Algorithm
intervals
Results
335.0ms10163×body80valid