Details

Time bar (total: 3.4s)

sample22.0ms

Algorithm
intervals
Results
9.0ms324×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.3b

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

rewrite106.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:
20.0ms
(/ (+ x 4.0) y)
64.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
19.0ms
(* (/ x y) z)

series85.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ (+ x 4.0) y)
42.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

prune289.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
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
2.4b
(* (/ x y) (- 1 z))

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

series86.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0402603
11761405
25002402

prune161.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.5b
(cbrt z)
0.5b
(cbrt z)
1.0b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
1.9b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite131.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)
90.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
36.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series494.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt z)
171.0ms
(cbrt z)
44.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
106.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0344652
11553478
25002431

prune297.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.5b
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
9.2b
(cbrt (/ x y))
9.2b
(cbrt (/ x y))
9.2b
(cbrt (/ x y))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
27×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×pow1 add-exp-log
15×cbrt-div
10×add-cbrt-cube
associate-*l/
pow-prod-down prod-exp cbrt-unprod
frac-times
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r/ div-inv
associate-*r* associate-*l* *-commutative
Counts
4 → 103
Calls
4 calls:
60.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))

series191.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
60.0ms
(cbrt (/ x y))
58.0ms
(cbrt (/ x y))
54.0ms
(cbrt (/ x y))

simplify66.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0270794
1819672
23040622
35001583

prune308.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes88.0ms

Accuracy

91.1% (0.1b remaining)

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

bsearch87.0ms

Steps
ItersRangePoint
8
4.2737648854656724e-63
5.406292548770686e-59
4.400414701830006e-62
9
-4.137736254371508e-14
-1.5039956710466002e-21
-3.1410657509458458e-15

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample707.0ms

Algorithm
intervals
Results
417.0ms10152×body80valid