Details

Time bar (total: 2.6s)

sample15.0ms

Algorithm
intervals
Results
6.0ms315×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.4b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* y z))
3.2b
(* x (- 1.0 (* y z)))

rewrite26.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 (* y z))
19.0ms
(* x (- 1.0 (* y z)))

series62.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune136.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
3.2b
(* x (- 1.0 (* y z)))
51.7b
(fma (- z) y (* z y))

rewrite27.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:
6.0ms
(- 1.0 (* y z))
19.0ms
(* x (- 1.0 (* y z)))
0.0ms
(fma (- z) y (* z y))

series90.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(- 1.0 (* y z))
43.0ms
(* x (- 1.0 (* y z)))
25.0ms
(fma (- z) y (* z y))

simplify82.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune269.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 3.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
6.3b
(* x (- (* y z)))

rewrite20.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 (- (* y z))))
11.0ms
(* x (- (* y z)))

series76.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(+ (* x 1.0) (* x (- (* y z))))
26.0ms
(* x (- (* y z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0191224
11076197
25002193

prune153.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

6.3b
(* x (- (* y z)))
11.5b
(cbrt (* x (- (* y z))))
11.5b
(cbrt (* x (- (* y z))))
11.5b
(cbrt (* x (- (* y z))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*l*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow-prod-down prod-exp *-commutative distribute-rgt-neg-out cbrt-unprod unswap-sqr
Counts
4 → 57
Calls
4 calls:
11.0ms
(* x (- (* y z)))
5.0ms
(cbrt (* x (- (* y z))))
8.0ms
(cbrt (* x (- (* y z))))
6.0ms
(cbrt (* x (- (* y z))))

series291.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* x (- (* y z)))
88.0ms
(cbrt (* x (- (* y z))))
88.0ms
(cbrt (* x (- (* y z))))
92.0ms
(cbrt (* x (- (* y z))))

simplify148.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0191392
1797355
24639346
35002346

prune433.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes162.0ms

Accuracy

97.9% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03415
13815
24515
34515

end0.0ms

sample375.0ms

Algorithm
intervals
Results
186.0ms9617×body80valid