Details

Time bar (total: 3.7s)

sample21.0ms

Algorithm
intervals
Results
10.0ms327×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: 1.8b

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)

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

series93.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0399743
11422683
25001668

prune278.0ms

Filtered
126 candidates to 89 candidates (70.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
45×associate-*l*
40×cbrt-div
36×add-cube-cbrt *-un-lft-identity
30×times-frac
27×associate-*l/
21×add-exp-log
19×add-cbrt-cube
17×pow1
16×cbrt-prod frac-times
15×associate-*r*
10×flip3-- frac-sub flip-- sub-div unswap-sqr
prod-exp cbrt-unprod
pow1/3 swap-sqr
pow-prod-down
expm1-log1p-u associate-*r/ *-commutative log1p-expm1-u add-log-exp
cbrt-undiv div-exp div-inv
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 168
Calls
4 calls:
106.0ms
(* (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
7.0ms
(* (/ x y) z)
7.0ms
(* (/ x y) z)
11.0ms
(* (/ x y) z)

series278.0ms

Counts
4 → 12
Calls
4 calls:
215.0ms
(* (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))) (cbrt (- (/ (+ x 4.0) y) (* (/ x y) z))))
20.0ms
(* (/ x y) z)
20.0ms
(* (/ x y) z)
24.0ms
(* (/ x y) z)

simplify57.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04821727
117361634
250011545

prune513.0ms

Filtered
180 candidates to 125 candidates (69.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
1.0b
(* (/ x (cbrt y)) z)
4.8b
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

rewrite56.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
expm1-log1p-u associate-*r* pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*r/
Counts
4 → 123
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
11.0ms
(* (/ x (cbrt y)) z)
39.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

series518.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt y)
176.0ms
(cbrt y)
108.0ms
(* (/ x (cbrt y)) z)
49.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

simplify57.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0484877
12167680
25001592

prune333.0ms

Filtered
135 candidates to 87 candidates (64.4%)
Pruning

6 alts after pruning (3 fresh and 3 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)))
6.5b
(* x (/ z y))

rewrite55.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:
11.0ms
(/ (+ x 4.0) y)
32.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
8.0ms
(* x (/ z y))

series92.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0409748
11644688
25001677

prune272.0ms

Filtered
126 candidates to 87 candidates (69.0%)
Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes179.0ms

Accuracy

80.8% (0.3b remaining)

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

bsearch62.0ms

Steps
ItersRangePoint
7
4235524.679815009
873466466.9378852
4360323.742678826
6
-1.1214097119327606e-121
-1.534609564078396e-122
-1.0995490400827057e-121

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02818
12818

end0.0ms

sample497.0ms

Algorithm
intervals
Results
294.0ms10148×body80valid