Details

Time bar (total: 2.4s)

sample14.0ms

Algorithm
intervals
Results
6.0ms349×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2443
3623
4633
5633

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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:
2.0ms
(- 1.0 (* x y))
8.0ms
(* x (- 1.0 (* x y)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(- 1.0 (* x y))
41.0ms
(* x (- 1.0 (* x y)))

simplify109.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0171294
1703256
23872252
35002250

prune105.0ms

Filtered
58 candidates to 37 candidates (63.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.0ms

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

series91.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(- 1.0 (* x y))
39.0ms
(* x (- 1.0 (* x y)))
27.0ms
(fma (- y) x (* y x))

simplify112.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0181344
1748299
24048295
35002293

prune165.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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:
3.0ms
(+ (* x 1.0) (* x (- (* x y))))
4.0ms
(* x (- (* x y)))

series58.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0191230
11093202
25002198

prune96.0ms

Filtered
47 candidates to 37 candidates (78.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series726.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(* (cbrt x) (cbrt x))
180.0ms
(cbrt x)
180.0ms
(cbrt x)
174.0ms
(cbrt x)

simplify92.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune219.0ms

Filtered
93 candidates to 72 candidates (77.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes41.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1148

end0.0ms

sample348.0ms

Algorithm
intervals
Results
187.0ms10686×body80valid