Time bar (total: 16.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.8% | 0.2% | 0 |
| 0% | 99.8% | 0.2% | 1 |
| 0% | 99.8% | 0.2% | 2 |
| 0% | 99.8% | 0.2% | 3 |
| 0% | 99.8% | 0.2% | 4 |
| 0% | 99.8% | 0.2% | 5 |
| 9.4% | 90.4% | 0.2% | 6 |
| 17.2% | 82.7% | 0.2% | 7 |
| 19.5% | 80.3% | 0.2% | 8 |
| 30.8% | 69% | 0.2% | 9 |
| 35.5% | 64.3% | 0.2% | 10 |
| 42.4% | 57.4% | 0.2% | 11 |
| 47.1% | 52.7% | 0.2% | 12 |
| 48.9% | 50.8% | 0.3% | 13 |
| 50% | 49.7% | 0.4% | 14 |
Compiled 38 to 20 computations (47.4% saved)
| 1× | intervals |
| 41.0ms | 71× | body | 1024 | invalid |
| 27.0ms | 241× | body | 128 | valid |
| 12.0ms | 35× | body | 512 | invalid |
| 3.0ms | 10× | body | 512 | valid |
| 3.0ms | 27× | body | 128 | invalid |
| 3.0ms | 13× | body | 256 | invalid |
| 1.0ms | 2× | body | 1024 | valid |
| 1.0ms | 1× | body | 2048 | valid |
| 1.0ms | 1× | body | 2048 | invalid |
| 0.0ms | 2× | body | 256 | valid |
Compiled 75 to 43 computations (42.7% saved)
| 1× | egg-herbie |
| 533× | distribute-rgt-out--_binary64 |
| 459× | associate-/l*_binary64 |
| 318× | associate-/r*_binary64 |
| 288× | associate-*r/_binary64 |
| 283× | unswap-sqr_binary64 associate-*l/_binary64 |
| 216× | exp-prod_binary64 |
| 183× | associate-/r/_binary64 |
| 181× | sqr-pow_binary64 |
| 173× | swap-sqr_binary64 |
| 160× | *-commutative_binary64 |
| 155× | distribute-rgt-neg-in_binary64 |
| 125× | associate-/l/_binary64 |
| 123× | pow-sqr_binary64 |
| 98× | sub-neg_binary64 |
| 74× | associate-*l*_binary64 |
| 70× | associate-*r*_binary64 |
| 69× | exp-sum_binary64 div-sub_binary64 |
| 56× | times-frac_binary64 |
| 55× | cancel-sign-sub-inv_binary64 |
| 54× | distribute-rgt-out_binary64 |
| 44× | distribute-lft-out_binary64 |
| 43× | distribute-lft-neg-in_binary64 |
| 40× | unsub-neg_binary64 distribute-lft-out--_binary64 |
| 37× | exp-diff_binary64 *-lft-identity_binary64 |
| 34× | neg-mul-1_binary64 |
| 29× | distribute-rgt1-in_binary64 distribute-rgt-in_binary64 |
| 26× | neg-sub0_binary64 |
| 20× | distribute-frac-neg_binary64 |
| 19× | distribute-neg-in_binary64 |
| 17× | distribute-neg-out_binary64 |
| 16× | distribute-neg-frac_binary64 distribute-rgt-neg-out_binary64 +-commutative_binary64 |
| 15× | /-rgt-identity_binary64 distribute-lft-in_binary64 |
| 14× | pow-plus_binary64 |
| 13× | *-rgt-identity_binary64 |
| 12× | cube-prod_binary64 mul0-lft_binary64 distribute-lft-neg-out_binary64 |
| 10× | cube-unmult_binary64 |
| 9× | distribute-lft1-in_binary64 associate--r+_binary64 |
| 8× | mul0-rgt_binary64 +-inverses_binary64 associate-+l-_binary64 |
| 7× | remove-double-neg_binary64 +-rgt-identity_binary64 |
| 6× | sub0-neg_binary64 div0_binary64 associate-+r-_binary64 |
| 5× | unpow3_binary64 exp-to-pow_binary64 associate-+l+_binary64 |
| 4× | --rgt-identity_binary64 +-lft-identity_binary64 associate-+r+_binary64 |
| 3× | div-exp_binary64 prod-exp_binary64 exp-neg_binary64 cube-div_binary64 count-2_binary64 |
| 2× | associate--r-_binary64 |
| 1× | pow-base-1_binary64 exp-lft-sqr_binary64 exp-sqrt_binary64 1-exp_binary64 rem-exp-log_binary64 rem-sqrt-square_binary64 *-inverses_binary64 associate--l+_binary64 |
| 0× | not-true not-false not-not not-and not-or and-true-l and-true-r and-false-l and-false-r and-same or-true-l or-true-r or-false-l or-false-r or-same erfc-erf_binary64 erf-erfc_binary64 erf-odd_binary64 if-if-and-not_binary64 if-if-and_binary64 if-if-or-not_binary64 if-if-or_binary64 if-not_binary64 if-same_binary64 if-false_binary64 if-true_binary64 not-gte_binary64 not-lte_binary64 not-gt_binary64 not-lt_binary64 gte-same_binary64 lte-same_binary64 gt-same_binary64 lt-same_binary64 sinh---cosh_binary64 sinh-+-cosh_binary64 sinh-cosh_binary64 tanh-def-c_binary64 tanh-def-b_binary64 tanh-def-a_binary64 cosh-def_binary64 sinh-def_binary64 tan-neg_binary64 cos-neg_binary64 sin-neg_binary64 tan-0_binary64 cos-0_binary64 sin-0_binary64 hang-m-tan_binary64 hang-p-tan_binary64 hang-m0-tan_binary64 hang-p0-tan_binary64 hang-0m-tan_binary64 hang-0p-tan_binary64 tan-+PI/2_binary64 tan-+PI_binary64 tan-PI_binary64 tan-PI/3_binary64 tan-PI/4_binary64 tan-PI/6_binary64 cos-+PI/2_binary64 cos-+PI_binary64 cos-PI_binary64 cos-PI/2_binary64 cos-PI/3_binary64 cos-PI/4_binary64 cos-PI/6_binary64 sin-+PI/2_binary64 sin-+PI_binary64 sin-PI_binary64 sin-PI/2_binary64 sin-PI/3_binary64 sin-PI/4_binary64 sin-PI/6_binary64 sub-1-sin_binary64 sub-1-cos_binary64 -1-add-sin_binary64 -1-add-cos_binary64 1-sub-sin_binary64 1-sub-cos_binary64 cos-sin-sum_binary64 log-E_binary64 log-pow_binary64 log-rec_binary64 log-div_binary64 log-prod_binary64 pow-base-0_binary64 unpow1/3_binary64 unpow2_binary64 unpow1/2_binary64 unpow0_binary64 unpow1_binary64 unpow-1_binary64 exp-lft-cube_binary64 exp-cbrt_binary64 rec-exp_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-log-exp_binary64 cube-mult_binary64 cube-neg_binary64 rem-3cbrt-rft_binary64 rem-3cbrt-lft_binary64 rem-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 rem-square-sqrt_binary64 mul-1-neg_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 difference-of-squares_binary64 cancel-sign-sub_binary64 associate--l-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 74 |
| 1 | 37 | 72 |
| 2 | 62 | 72 |
| 3 | 105 | 72 |
| 4 | 249 | 72 |
| 5 | 970 | 72 |
| 6 | 3051 | 72 |
| 7 | 3583 | 72 |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 3 | 1 | 4 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 3 | 2 | 5 |
Compiled 218 to 68 computations (68.8% saved)
Found 4 expressions with local error:
| 1.6b | (*.f64 (atan2.f64 x.im x.re) y.im) |
| 28.1b | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 28.1b | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 33.9b | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) |
| 1× | rewrite-expression-head |
| 12× | add-sqr-sqrt_binary64 |
| 8× | pow1_binary64 add-cube-cbrt_binary64 *-un-lft-identity_binary64 |
| 6× | add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64 |
| 4× | add-log-exp_binary64 sqrt-div_binary64 |
| 3× | associate-*l*_binary64 associate-*r*_binary64 |
| 2× | pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64 |
| 1× | cos-sum_binary64 pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 *-commutative_binary64 |
4 calls:
| 8.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) |
| 5.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 4.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 4.0ms | (*.f64 (atan2.f64 x.im x.re) y.im) |
Compiled 2594 to 353 computations (86.4% saved)
4 calls:
| 412.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) |
| 210.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 110.0ms | (*.f64 (atan2.f64 x.im x.re) y.im) |
| 103.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
Compiled 5269 to 2666 computations (49.4% saved)
| 1× | egg-herbie |
| 459× | cancel-sign-sub-inv_binary64 |
| 328× | distribute-rgt-neg-in_binary64 |
| 299× | distribute-lft-neg-in_binary64 |
| 276× | unswap-sqr_binary64 |
| 259× | associate-*r*_binary64 |
| 254× | associate-*l*_binary64 |
| 218× | distribute-neg-frac_binary64 |
| 213× | distribute-rgt-in_binary64 |
| 174× | distribute-lft-in_binary64 |
| 142× | sub-neg_binary64 |
| 119× | times-frac_binary64 |
| 110× | associate-/l*_binary64 |
| 105× | sqr-pow_binary64 |
| 102× | *-commutative_binary64 |
| 101× | neg-sub0_binary64 |
| 99× | neg-mul-1_binary64 |
| 83× | associate-/r*_binary64 |
| 72× | associate-*l/_binary64 |
| 69× | distribute-lft-neg-out_binary64 associate-*r/_binary64 |
| 63× | pow-sqr_binary64 |
| 48× | difference-of-squares_binary64 |
| 45× | +-commutative_binary64 |
| 40× | pow-plus_binary64 distribute-rgt-neg-out_binary64 |
| 39× | distribute-rgt-out_binary64 |
| 34× | unsub-neg_binary64 associate-+r-_binary64 |
| 30× | div-sub_binary64 |
| 28× | associate-+l-_binary64 |
| 26× | associate-/r/_binary64 |
| 25× | distribute-neg-in_binary64 |
| 21× | +-rgt-identity_binary64 |
| 20× | cube-prod_binary64 distribute-rgt-out--_binary64 |
| 19× | associate-+l+_binary64 associate-+r+_binary64 |
| 16× | log-prod_binary64 sub0-neg_binary64 |
| 15× | exp-prod_binary64 cube-unmult_binary64 |
| 14× | log-div_binary64 |
| 9× | unpow3_binary64 *-rgt-identity_binary64 distribute-lft-out--_binary64 |
| 8× | exp-sqrt_binary64 *-lft-identity_binary64 |
| 7× | cube-div_binary64 distribute-frac-neg_binary64 associate--r+_binary64 |
| 6× | swap-sqr_binary64 distribute-lft-out_binary64 |
| 5× | cancel-sign-sub_binary64 associate-/l/_binary64 associate--l+_binary64 |
| 4× | log-pow_binary64 cube-mult_binary64 |
| 3× | rem-sqrt-square_binary64 remove-double-neg_binary64 mul0-lft_binary64 associate--r-_binary64 |
| 2× | log-rec_binary64 unpow2_binary64 unpow1_binary64 mul-1-neg_binary64 --rgt-identity_binary64 mul0-rgt_binary64 distribute-neg-out_binary64 distribute-rgt1-in_binary64 |
| 1× | exp-lft-sqr_binary64 prod-exp_binary64 exp-diff_binary64 1-exp_binary64 exp-1-e_binary64 rem-log-exp_binary64 rem-square-sqrt_binary64 *-inverses_binary64 rgt-mult-inverse_binary64 |
| 0× | not-true not-false not-not not-and not-or and-true-l and-true-r and-false-l and-false-r and-same or-true-l or-true-r or-false-l or-false-r or-same erfc-erf_binary64 erf-erfc_binary64 erf-odd_binary64 if-if-and-not_binary64 if-if-and_binary64 if-if-or-not_binary64 if-if-or_binary64 if-not_binary64 if-same_binary64 if-false_binary64 if-true_binary64 not-gte_binary64 not-lte_binary64 not-gt_binary64 not-lt_binary64 gte-same_binary64 lte-same_binary64 gt-same_binary64 lt-same_binary64 sinh---cosh_binary64 sinh-+-cosh_binary64 sinh-cosh_binary64 tanh-def-c_binary64 tanh-def-b_binary64 tanh-def-a_binary64 cosh-def_binary64 sinh-def_binary64 tan-neg_binary64 cos-neg_binary64 sin-neg_binary64 tan-0_binary64 cos-0_binary64 sin-0_binary64 hang-m-tan_binary64 hang-p-tan_binary64 hang-m0-tan_binary64 hang-p0-tan_binary64 hang-0m-tan_binary64 hang-0p-tan_binary64 tan-+PI/2_binary64 tan-+PI_binary64 tan-PI_binary64 tan-PI/3_binary64 tan-PI/4_binary64 tan-PI/6_binary64 cos-+PI/2_binary64 cos-+PI_binary64 cos-PI_binary64 cos-PI/2_binary64 cos-PI/3_binary64 cos-PI/4_binary64 cos-PI/6_binary64 sin-+PI/2_binary64 sin-+PI_binary64 sin-PI_binary64 sin-PI/2_binary64 sin-PI/3_binary64 sin-PI/4_binary64 sin-PI/6_binary64 sub-1-sin_binary64 sub-1-cos_binary64 -1-add-sin_binary64 -1-add-cos_binary64 1-sub-sin_binary64 1-sub-cos_binary64 cos-sin-sum_binary64 log-E_binary64 pow-base-0_binary64 unpow1/3_binary64 unpow1/2_binary64 exp-to-pow_binary64 pow-base-1_binary64 unpow0_binary64 unpow-1_binary64 exp-lft-cube_binary64 exp-cbrt_binary64 div-exp_binary64 rec-exp_binary64 exp-neg_binary64 exp-sum_binary64 e-exp-1_binary64 exp-0_binary64 rem-exp-log_binary64 cube-neg_binary64 rem-3cbrt-rft_binary64 rem-3cbrt-lft_binary64 rem-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 /-rgt-identity_binary64 +-lft-identity_binary64 div0_binary64 +-inverses_binary64 lft-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-lft1-in_binary64 count-2_binary64 associate--l-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 158 | 2237 |
| 1 | 346 | 2090 |
| 2 | 988 | 2090 |
| 3 | 2618 | 2090 |
10 alts after pruning (10 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 161 | 9 | 170 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 162 | 10 | 172 |
Compiled 8691 to 3016 computations (65.3% saved)
Found 4 expressions with local error:
| 5.6b | (cbrt.f64 (atan2.f64 x.im x.re)) |
| 28.1b | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 28.1b | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 33.9b | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) |
| 1× | rewrite-expression-head |
| 9× | add-sqr-sqrt_binary64 |
| 7× | add-cube-cbrt_binary64 *-un-lft-identity_binary64 |
| 6× | pow1_binary64 sqrt-prod_binary64 |
| 4× | add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64 |
| 3× | cbrt-prod_binary64 |
| 2× | pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64 |
| 1× | cos-sum_binary64 pow1/3_binary64 |
4 calls:
| 6.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) |
| 4.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 4.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 1.0ms | (cbrt.f64 (atan2.f64 x.im x.re)) |
Compiled 2832 to 332 computations (88.3% saved)
4 calls:
| 383.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) |
| 255.0ms | (cbrt.f64 (atan2.f64 x.im x.re)) |
| 211.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 105.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
Compiled 6318 to 2848 computations (54.9% saved)
| 1× | egg-herbie |
| 513× | cancel-sign-sub-inv_binary64 |
| 326× | distribute-rgt-neg-in_binary64 |
| 306× | unswap-sqr_binary64 |
| 297× | distribute-lft-neg-in_binary64 |
| 230× | distribute-rgt-in_binary64 |
| 224× | associate-*r*_binary64 |
| 216× | distribute-neg-frac_binary64 |
| 190× | distribute-lft-in_binary64 |
| 178× | associate-*l*_binary64 |
| 142× | sub-neg_binary64 |
| 119× | times-frac_binary64 |
| 110× | associate-/l*_binary64 |
| 101× | neg-sub0_binary64 sqr-pow_binary64 |
| 99× | neg-mul-1_binary64 |
| 93× | *-commutative_binary64 |
| 83× | associate-/r*_binary64 |
| 70× | distribute-lft-neg-out_binary64 |
| 66× | pow-sqr_binary64 |
| 55× | associate-*l/_binary64 associate-*r/_binary64 |
| 48× | difference-of-squares_binary64 |
| 45× | +-commutative_binary64 |
| 41× | pow-plus_binary64 |
| 40× | distribute-rgt-neg-out_binary64 |
| 38× | log-prod_binary64 distribute-rgt-out_binary64 |
| 34× | unsub-neg_binary64 associate-+r-_binary64 |
| 30× | div-sub_binary64 |
| 28× | associate-+l-_binary64 |
| 26× | associate-/r/_binary64 |
| 25× | distribute-neg-in_binary64 |
| 21× | +-rgt-identity_binary64 |
| 20× | distribute-rgt-out--_binary64 |
| 17× | associate-+l+_binary64 associate-+r+_binary64 |
| 16× | sub0-neg_binary64 |
| 15× | cube-unmult_binary64 cube-prod_binary64 |
| 13× | log-pow_binary64 |
| 9× | distribute-lft-out--_binary64 |
| 8× | log-div_binary64 unpow3_binary64 |
| 7× | rem-sqrt-square_binary64 distribute-frac-neg_binary64 distribute-lft-out_binary64 associate--r+_binary64 |
| 6× | exp-prod_binary64 associate-/l/_binary64 |
| 5× | cancel-sign-sub_binary64 associate--l+_binary64 |
| 4× | cube-mult_binary64 |
| 3× | remove-double-neg_binary64 mul0-lft_binary64 associate--r-_binary64 |
| 2× | log-rec_binary64 unpow2_binary64 unpow1_binary64 mul-1-neg_binary64 --rgt-identity_binary64 mul0-rgt_binary64 swap-sqr_binary64 distribute-neg-out_binary64 |
| 1× | unpow1/3_binary64 exp-diff_binary64 1-exp_binary64 rem-log-exp_binary64 rem-3cbrt-lft_binary64 rem-square-sqrt_binary64 *-rgt-identity_binary64 *-inverses_binary64 rgt-mult-inverse_binary64 distribute-rgt1-in_binary64 count-2_binary64 |
| 0× | not-true not-false not-not not-and not-or and-true-l and-true-r and-false-l and-false-r and-same or-true-l or-true-r or-false-l or-false-r or-same erfc-erf_binary64 erf-erfc_binary64 erf-odd_binary64 if-if-and-not_binary64 if-if-and_binary64 if-if-or-not_binary64 if-if-or_binary64 if-not_binary64 if-same_binary64 if-false_binary64 if-true_binary64 not-gte_binary64 not-lte_binary64 not-gt_binary64 not-lt_binary64 gte-same_binary64 lte-same_binary64 gt-same_binary64 lt-same_binary64 sinh---cosh_binary64 sinh-+-cosh_binary64 sinh-cosh_binary64 tanh-def-c_binary64 tanh-def-b_binary64 tanh-def-a_binary64 cosh-def_binary64 sinh-def_binary64 tan-neg_binary64 cos-neg_binary64 sin-neg_binary64 tan-0_binary64 cos-0_binary64 sin-0_binary64 hang-m-tan_binary64 hang-p-tan_binary64 hang-m0-tan_binary64 hang-p0-tan_binary64 hang-0m-tan_binary64 hang-0p-tan_binary64 tan-+PI/2_binary64 tan-+PI_binary64 tan-PI_binary64 tan-PI/3_binary64 tan-PI/4_binary64 tan-PI/6_binary64 cos-+PI/2_binary64 cos-+PI_binary64 cos-PI_binary64 cos-PI/2_binary64 cos-PI/3_binary64 cos-PI/4_binary64 cos-PI/6_binary64 sin-+PI/2_binary64 sin-+PI_binary64 sin-PI_binary64 sin-PI/2_binary64 sin-PI/3_binary64 sin-PI/4_binary64 sin-PI/6_binary64 sub-1-sin_binary64 sub-1-cos_binary64 -1-add-sin_binary64 -1-add-cos_binary64 1-sub-sin_binary64 1-sub-cos_binary64 cos-sin-sum_binary64 log-E_binary64 pow-base-0_binary64 unpow1/2_binary64 exp-to-pow_binary64 pow-base-1_binary64 unpow0_binary64 unpow-1_binary64 exp-lft-cube_binary64 exp-lft-sqr_binary64 exp-cbrt_binary64 exp-sqrt_binary64 div-exp_binary64 rec-exp_binary64 prod-exp_binary64 exp-neg_binary64 exp-sum_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-exp-log_binary64 cube-div_binary64 cube-neg_binary64 rem-3cbrt-rft_binary64 rem-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 /-rgt-identity_binary64 *-lft-identity_binary64 +-lft-identity_binary64 div0_binary64 +-inverses_binary64 lft-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-lft1-in_binary64 associate--l-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 144 | 2060 |
| 1 | 310 | 1949 |
| 2 | 880 | 1949 |
| 3 | 2492 | 1949 |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 146 | 3 | 149 |
| Fresh | 3 | 6 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 150 | 9 | 159 |
Compiled 9384 to 2820 computations (69.9% saved)
Found 4 expressions with local error:
| 5.6b | (cbrt.f64 (atan2.f64 x.im x.re)) |
| 28.1b | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 28.1b | (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))) |
| 33.9b | (cos.f64 (+.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 y.im (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))))))) |
| 1× | rewrite-expression-head |
| 11× | *-un-lft-identity_binary64 |
| 9× | add-sqr-sqrt_binary64 |
| 8× | sqrt-prod_binary64 |
| 7× | add-cube-cbrt_binary64 |
| 6× | pow1_binary64 |
| 4× | add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64 |
| 3× | cbrt-prod_binary64 |
| 2× | pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 unpow-prod-down_binary64 distribute-lft-out_binary64 rem-sqrt-square_binary64 |
| 1× | cos-sum_binary64 pow1/3_binary64 |
4 calls:
| 11.0ms | (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))) |
| 6.0ms | (cos.f64 (+.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 y.im (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))))))) |
| 4.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 1.0ms | (cbrt.f64 (atan2.f64 x.im x.re)) |
Compiled 3089 to 1113 computations (64% saved)
4 calls:
| 349.0ms | (cos.f64 (+.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 y.im (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))))))) |
| 262.0ms | (cbrt.f64 (atan2.f64 x.im x.re)) |
| 221.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 105.0ms | (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))) |
Compiled 6492 to 3486 computations (46.3% saved)
| 1× | egg-herbie |
| 468× | cancel-sign-sub-inv_binary64 |
| 312× | unswap-sqr_binary64 |
| 228× | distribute-rgt-neg-in_binary64 |
| 217× | distribute-rgt-in_binary64 |
| 214× | distribute-lft-neg-in_binary64 |
| 212× | associate-/r/_binary64 |
| 174× | distribute-lft-in_binary64 |
| 171× | associate-*r*_binary64 |
| 149× | associate-*l*_binary64 |
| 146× | distribute-neg-frac_binary64 |
| 135× | sub-neg_binary64 |
| 126× | associate-/l/_binary64 |
| 120× | sqr-pow_binary64 |
| 85× | neg-sub0_binary64 |
| 84× | neg-mul-1_binary64 pow-sqr_binary64 |
| 73× | *-commutative_binary64 |
| 69× | distribute-rgt-out_binary64 |
| 68× | associate-/l*_binary64 |
| 62× | times-frac_binary64 |
| 56× | pow-plus_binary64 distribute-lft-neg-out_binary64 |
| 53× | difference-of-squares_binary64 |
| 50× | distribute-rgt-out--_binary64 |
| 48× | associate-/r*_binary64 |
| 46× | log-prod_binary64 |
| 44× | +-commutative_binary64 |
| 40× | associate-*l/_binary64 |
| 37× | associate-*r/_binary64 |
| 35× | distribute-rgt-neg-out_binary64 |
| 34× | unsub-neg_binary64 |
| 29× | log-pow_binary64 associate-+r-_binary64 |
| 27× | associate-+l-_binary64 |
| 25× | distribute-neg-in_binary64 |
| 24× | div-sub_binary64 |
| 20× | +-rgt-identity_binary64 |
| 19× | cube-prod_binary64 |
| 17× | cube-unmult_binary64 associate-+l+_binary64 |
| 15× | sub0-neg_binary64 |
| 14× | log-div_binary64 |
| 13× | exp-prod_binary64 associate-+r+_binary64 |
| 12× | distribute-lft-out--_binary64 |
| 11× | unpow3_binary64 |
| 10× | distribute-lft-out_binary64 |
| 8× | rem-sqrt-square_binary64 |
| 7× | associate--r+_binary64 |
| 6× | pow-base-1_binary64 cube-div_binary64 |
| 5× | cancel-sign-sub_binary64 associate--l+_binary64 |
| 4× | log-rec_binary64 cube-mult_binary64 swap-sqr_binary64 count-2_binary64 |
| 3× | unpow2_binary64 /-rgt-identity_binary64 remove-double-neg_binary64 mul0-lft_binary64 distribute-rgt1-in_binary64 associate--r-_binary64 |
| 2× | unpow1_binary64 mul-1-neg_binary64 --rgt-identity_binary64 mul0-rgt_binary64 distribute-neg-out_binary64 |
| 1× | unpow1/3_binary64 exp-to-pow_binary64 exp-lft-sqr_binary64 exp-sqrt_binary64 prod-exp_binary64 exp-diff_binary64 1-exp_binary64 rem-log-exp_binary64 rem-3cbrt-lft_binary64 rem-cbrt-cube_binary64 rem-square-sqrt_binary64 *-rgt-identity_binary64 *-inverses_binary64 rgt-mult-inverse_binary64 |
| 0× | not-true not-false not-not not-and not-or and-true-l and-true-r and-false-l and-false-r and-same or-true-l or-true-r or-false-l or-false-r or-same erfc-erf_binary64 erf-erfc_binary64 erf-odd_binary64 if-if-and-not_binary64 if-if-and_binary64 if-if-or-not_binary64 if-if-or_binary64 if-not_binary64 if-same_binary64 if-false_binary64 if-true_binary64 not-gte_binary64 not-lte_binary64 not-gt_binary64 not-lt_binary64 gte-same_binary64 lte-same_binary64 gt-same_binary64 lt-same_binary64 sinh---cosh_binary64 sinh-+-cosh_binary64 sinh-cosh_binary64 tanh-def-c_binary64 tanh-def-b_binary64 tanh-def-a_binary64 cosh-def_binary64 sinh-def_binary64 tan-neg_binary64 cos-neg_binary64 sin-neg_binary64 tan-0_binary64 cos-0_binary64 sin-0_binary64 hang-m-tan_binary64 hang-p-tan_binary64 hang-m0-tan_binary64 hang-p0-tan_binary64 hang-0m-tan_binary64 hang-0p-tan_binary64 tan-+PI/2_binary64 tan-+PI_binary64 tan-PI_binary64 tan-PI/3_binary64 tan-PI/4_binary64 tan-PI/6_binary64 cos-+PI/2_binary64 cos-+PI_binary64 cos-PI_binary64 cos-PI/2_binary64 cos-PI/3_binary64 cos-PI/4_binary64 cos-PI/6_binary64 sin-+PI/2_binary64 sin-+PI_binary64 sin-PI_binary64 sin-PI/2_binary64 sin-PI/3_binary64 sin-PI/4_binary64 sin-PI/6_binary64 sub-1-sin_binary64 sub-1-cos_binary64 -1-add-sin_binary64 -1-add-cos_binary64 1-sub-sin_binary64 1-sub-cos_binary64 cos-sin-sum_binary64 log-E_binary64 pow-base-0_binary64 unpow1/2_binary64 unpow0_binary64 unpow-1_binary64 exp-lft-cube_binary64 exp-cbrt_binary64 div-exp_binary64 rec-exp_binary64 exp-neg_binary64 exp-sum_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-exp-log_binary64 cube-neg_binary64 rem-3cbrt-rft_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 *-lft-identity_binary64 +-lft-identity_binary64 div0_binary64 +-inverses_binary64 lft-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-frac-neg_binary64 distribute-lft1-in_binary64 associate--l-_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 165 | 2017 |
| 1 | 295 | 1916 |
| 2 | 795 | 1914 |
| 3 | 2061 | 1914 |
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 143 | 2 | 145 |
| Fresh | 1 | 7 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 144 | 10 | 154 |
Compiled 9332 to 3996 computations (57.2% saved)
Found 4 expressions with local error:
| 28.1b | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
| 33.9b | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 33.9b | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 33.9b | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 1× | rewrite-expression-head |
| 6× | add-sqr-sqrt_binary64 |
| 5× | pow1_binary64 add-cube-cbrt_binary64 *-un-lft-identity_binary64 |
| 4× | add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 |
| 3× | cos-sum_binary64 sqrt-prod_binary64 |
| 2× | sqrt-div_binary64 |
| 1× | pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64 |
4 calls:
| 7.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 7.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 7.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 4.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
Compiled 4044 to 1807 computations (55.3% saved)
4 calls:
| 452.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 436.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 423.0ms | (cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.im 2) (pow.f64 x.re 2)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 259.0ms | (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) |
Compiled 14628 to 8063 computations (44.9% saved)
| 1× | egg-herbie |
| 449× | cancel-sign-sub-inv_binary64 |
| 326× | distribute-rgt-neg-in_binary64 |
| 297× | distribute-lft-neg-in_binary64 |
| 264× | unswap-sqr_binary64 |
| 216× | distribute-neg-frac_binary64 |
| 213× | distribute-rgt-in_binary64 |
| 201× | associate-*r*_binary64 |
| 176× | associate-/l/_binary64 |
| 174× | distribute-lft-in_binary64 |
| 151× | associate-*l*_binary64 |
| 142× | sub-neg_binary64 |
| 119× | times-frac_binary64 |
| 110× | associate-/l*_binary64 |
| 101× | neg-sub0_binary64 |
| 99× | neg-mul-1_binary64 |
| 86× | sqr-pow_binary64 |
| 85× | *-commutative_binary64 |
| 83× | associate-/r*_binary64 |
| 69× | distribute-lft-neg-out_binary64 |
| 56× | pow-sqr_binary64 |
| 55× | associate-*l/_binary64 |
| 54× | associate-*r/_binary64 |
| 48× | difference-of-squares_binary64 |
| 46× | +-commutative_binary64 |
| 40× | pow-plus_binary64 distribute-rgt-neg-out_binary64 |
| 37× | distribute-rgt-out_binary64 |
| 34× | unsub-neg_binary64 associate-+r-_binary64 |
| 30× | div-sub_binary64 |
| 28× | associate-+l-_binary64 |
| 26× | associate-/r/_binary64 |
| 25× | distribute-neg-in_binary64 |
| 21× | +-rgt-identity_binary64 |
| 20× | distribute-rgt-out--_binary64 |
| 17× | associate-+l+_binary64 associate-+r+_binary64 |
| 16× | sub0-neg_binary64 |
| 12× | cube-unmult_binary64 cube-prod_binary64 |
| 9× | distribute-lft-out--_binary64 |
| 8× | log-div_binary64 unpow3_binary64 |
| 7× | distribute-frac-neg_binary64 associate--r+_binary64 |
| 6× | distribute-lft-out_binary64 |
| 5× | cancel-sign-sub_binary64 associate--l+_binary64 |
| 4× | log-pow_binary64 log-prod_binary64 cube-mult_binary64 |
| 3× | remove-double-neg_binary64 mul0-lft_binary64 associate--r-_binary64 |
| 2× | log-rec_binary64 unpow2_binary64 unpow1_binary64 rem-sqrt-square_binary64 mul-1-neg_binary64 --rgt-identity_binary64 mul0-rgt_binary64 swap-sqr_binary64 distribute-neg-out_binary64 count-2_binary64 |
| 1× | exp-diff_binary64 1-exp_binary64 rem-log-exp_binary64 rem-square-sqrt_binary64 *-rgt-identity_binary64 *-inverses_binary64 rgt-mult-inverse_binary64 distribute-rgt1-in_binary64 |
| 0× | not-true not-false not-not not-and not-or and-true-l and-true-r and-false-l and-false-r and-same or-true-l or-true-r or-false-l or-false-r or-same erfc-erf_binary64 erf-erfc_binary64 erf-odd_binary64 if-if-and-not_binary64 if-if-and_binary64 if-if-or-not_binary64 if-if-or_binary64 if-not_binary64 if-same_binary64 if-false_binary64 if-true_binary64 not-gte_binary64 not-lte_binary64 not-gt_binary64 not-lt_binary64 gte-same_binary64 lte-same_binary64 gt-same_binary64 lt-same_binary64 sinh---cosh_binary64 sinh-+-cosh_binary64 sinh-cosh_binary64 tanh-def-c_binary64 tanh-def-b_binary64 tanh-def-a_binary64 cosh-def_binary64 sinh-def_binary64 tan-neg_binary64 cos-neg_binary64 sin-neg_binary64 tan-0_binary64 cos-0_binary64 sin-0_binary64 hang-m-tan_binary64 hang-p-tan_binary64 hang-m0-tan_binary64 hang-p0-tan_binary64 hang-0m-tan_binary64 hang-0p-tan_binary64 tan-+PI/2_binary64 tan-+PI_binary64 tan-PI_binary64 tan-PI/3_binary64 tan-PI/4_binary64 tan-PI/6_binary64 cos-+PI/2_binary64 cos-+PI_binary64 cos-PI_binary64 cos-PI/2_binary64 cos-PI/3_binary64 cos-PI/4_binary64 cos-PI/6_binary64 sin-+PI/2_binary64 sin-+PI_binary64 sin-PI_binary64 sin-PI/2_binary64 sin-PI/3_binary64 sin-PI/4_binary64 sin-PI/6_binary64 sub-1-sin_binary64 sub-1-cos_binary64 -1-add-sin_binary64 -1-add-cos_binary64 1-sub-sin_binary64 1-sub-cos_binary64 cos-sin-sum_binary64 log-E_binary64 pow-base-0_binary64 unpow1/3_binary64 unpow1/2_binary64 exp-to-pow_binary64 pow-base-1_binary64 unpow0_binary64 unpow-1_binary64 exp-lft-cube_binary64 exp-lft-sqr_binary64 exp-cbrt_binary64 exp-sqrt_binary64 exp-prod_binary64 div-exp_binary64 rec-exp_binary64 prod-exp_binary64 exp-neg_binary64 exp-sum_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-exp-log_binary64 cube-div_binary64 cube-neg_binary64 rem-3cbrt-rft_binary64 rem-3cbrt-lft_binary64 rem-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 /-rgt-identity_binary64 *-lft-identity_binary64 +-lft-identity_binary64 div0_binary64 +-inverses_binary64 lft-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-lft1-in_binary64 associate--l-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 126 | 3074 |
| 1 | 290 | 2829 |
| 2 | 827 | 2829 |
| 3 | 2344 | 2829 |
12 alts after pruning (10 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 140 | 2 | 142 |
| Fresh | 0 | 8 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 140 | 12 | 152 |
Compiled 14457 to 6755 computations (53.3% saved)
Total 0.5b remaining (2.5%)
Threshold costs 0.5b (2.5%)
Compiled 14597 to 8560 computations (41.4% saved)
| 1× | egg-herbie |
| 10× | *-commutative_binary64 |
| 7× | +-commutative_binary64 |
| 6× | sub-neg_binary64 |
| 5× | neg-mul-1_binary64 neg-sub0_binary64 distribute-rgt-neg-in_binary64 |
| 4× | distribute-lft-neg-in_binary64 |
| 2× | cancel-sign-sub-inv_binary64 |
| 1× | distribute-lft-neg-out_binary64 |
| 0× | not-true not-false not-not not-and not-or and-true-l and-true-r and-false-l and-false-r and-same or-true-l or-true-r or-false-l or-false-r or-same if-if-and-not_binary64 if-if-and_binary64 if-if-or-not_binary64 if-if-or_binary64 if-not_binary64 if-same_binary64 if-false_binary64 if-true_binary64 tan-0_binary64 cos-0_binary64 sin-0_binary64 unpow1_binary64 e-exp-1_binary64 1-exp_binary64 exp-1-e_binary64 exp-0_binary64 sqr-abs_binary64 sqr-neg_binary64 unsub-neg_binary64 mul-1-neg_binary64 /-rgt-identity_binary64 *-rgt-identity_binary64 *-lft-identity_binary64 remove-double-neg_binary64 sub0-neg_binary64 --rgt-identity_binary64 +-rgt-identity_binary64 +-lft-identity_binary64 cancel-sign-sub_binary64 distribute-neg-frac_binary64 distribute-frac-neg_binary64 distribute-neg-out_binary64 distribute-neg-in_binary64 distribute-rgt-neg-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 72 |
| 1 | 34 | 72 |
| 2 | 47 | 72 |
| 3 | 60 | 72 |
| 4 | 68 | 72 |
| 5 | 72 | 72 |
| 6 | 73 | 72 |
(* f64 (exp f64 (- f64 (* f64 (log f64 (sqrt f64 (+ f64 (* f64 (x re) (x re)) (* f64 (x im) (x im))))) (y re)) (* f64 (* f64 (cbrt f64 (atan2 f64 (x im) (x re))) (cbrt f64 (atan2 f64 (x im) (x re)))) (=> (* f64 (y im) (cbrt f64 (atan2 f64 (x im) (x re)))))))) (cos f64 (* f64 (y re) (atan2 f64 (x im) (x re)))))
*-commutative_binary64 =>
(* f64 (exp f64 (- f64 (* f64 (log f64 (sqrt f64 (+ f64 (* f64 (x re) (x re)) (* f64 (x im) (x im))))) (y re)) (* f64 (* f64 (cbrt f64 (atan2 f64 (x im) (x re))) (cbrt f64 (atan2 f64 (x im) (x re)))) (* f64 (cbrt f64 (atan2 f64 (x im) (x re))) (y im))))) (cos f64 (* f64 (y re) (atan2 f64 (x im) (x re))))) |
| 1× | intervals |
| 1.2s | 2447× | body | 1024 | invalid |
| 811.0ms | 7596× | body | 128 | valid |
| 340.0ms | 993× | body | 512 | invalid |
| 93.0ms | 394× | body | 256 | invalid |
| 90.0ms | 173× | body | 1024 | valid |
| 66.0ms | 542× | body | 128 | invalid |
| 49.0ms | 148× | body | 512 | valid |
| 23.0ms | 31× | body | 2048 | invalid |
| 17.0ms | 77× | body | 256 | valid |
| 5.0ms | 6× | body | 2048 | valid |
Compiled 2977 to 1742 computations (41.5% saved)
Loading profile data...