Details

Time bar (total: 3.1s)

sample15.0ms

Algorithm
intervals
Results
7.0ms363×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2443
3623
4633
5633

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* x y))
0.1b
(* x (- 1.0 (* x y)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube add-log-exp
sub-neg fma-neg associate-*r* associate-*l*
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 52
Calls
2 calls:
5.0ms
(- 1.0 (* x y))
17.0ms
(* x (- 1.0 (* x y)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- 1.0 (* x y))
40.0ms
(* x (- 1.0 (* x y)))

simplify108.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0171294
1703256
23872252
35002250

prune139.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (- (* x y)))
0.1b
(* x (+ 1.0 (- (* x y))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
add-log-exp
add-cube-cbrt
pow1 add-exp-log associate-*r* add-cbrt-cube
fma-def associate-*l*
expm1-log1p-u flip3-+ associate-*r/ sum-log flip-+ log1p-expm1-u distribute-lft-out
+-commutative neg-sub0 distribute-rgt-in associate-+r- distribute-lft-in unsub-neg pow-prod-down neg-log prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 46
Calls
2 calls:
9.0ms
(+ 1.0 (- (* x y)))
21.0ms
(* x (+ 1.0 (- (* x y))))

series61.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ 1.0 (- (* x y)))
38.0ms
(* x (+ 1.0 (- (* x y))))

simplify38.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0190241
11022198
25001194

prune139.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* x y))))
0.2b
(* x (- (* x y)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 41
Calls
2 calls:
8.0ms
(+ (* x 1.0) (* x (- (* x y))))
12.0ms
(* x (- (* x y)))

series59.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (* x 1.0) (* x (- (* x y))))
23.0ms
(* x (- (* x y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0191230
11093202
25002198

prune146.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (+ 1.0 (- (* x y))))
0.1b
(cbrt (+ 1.0 (- (* x y))))
0.1b
(cbrt (+ 1.0 (- (* x y))))
0.2b
(* (cbrt (+ 1.0 (- (* x y)))) (cbrt (+ 1.0 (- (* x y)))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
4.0ms
(cbrt (+ 1.0 (- (* x y))))
4.0ms
(cbrt (+ 1.0 (- (* x y))))
4.0ms
(cbrt (+ 1.0 (- (* x y))))
44.0ms
(* (cbrt (+ 1.0 (- (* x y)))) (cbrt (+ 1.0 (- (* x y)))))

series880.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(cbrt (+ 1.0 (- (* x y))))
221.0ms
(cbrt (+ 1.0 (- (* x y))))
225.0ms
(cbrt (+ 1.0 (- (* x y))))
212.0ms
(* (cbrt (+ 1.0 (- (* x y)))) (cbrt (+ 1.0 (- (* x y)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03821393
113891324
250021221

prune690.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes77.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0185
1235
2245
3245

end0.0ms

sample380.0ms

Algorithm
intervals
Results
214.0ms10784×body80valid