Details

Time bar (total: 3.9s)

analyze902.0ms (22.8%)

Algorithm
search
egg-herbie
Rules
*-commutative_binary64 +-commutative_binary64
swap-x.im-y.re swap-x.re-y.im
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 unpow3_binary64 unpow2_binary64 unpow1/2_binary64 pow-plus_binary64 exp-to-pow_binary64 pow-base-1_binary64 unpow0_binary64 unpow1_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-diff_binary64 exp-neg_binary64 exp-sum_binary64 e-exp-1_binary64 1-exp_binary64 exp-1-e_binary64 exp-0_binary64 rem-log-exp_binary64 rem-exp-log_binary64 cube-unmult_binary64 cube-mult_binary64 cube-div_binary64 cube-prod_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-sqrt-square_binary64 rem-square-sqrt_binary64 times-frac_binary64 div-sub_binary64 neg-mul-1_binary64 neg-sub0_binary64 unsub-neg_binary64 sub-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 mul0-rgt_binary64 mul0-lft_binary64 div0_binary64 *-inverses_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 pow-sqr_binary64 sqr-pow_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 difference-of-squares_binary64 unswap-sqr_binary64 swap-sqr_binary64 cancel-sign-sub-inv_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 distribute-lft-neg-out_binary64 distribute-rgt-neg-in_binary64 distribute-lft-neg-in_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 distribute-rgt-out--_binary64 distribute-rgt-out_binary64 distribute-lft-out--_binary64 distribute-lft-out_binary64 distribute-rgt-in_binary64 distribute-lft-in_binary64 count-2_binary64 associate-/l/_binary64 associate-/r/_binary64 associate-/l*_binary64 associate-/r*_binary64 associate-*l/_binary64 associate-*r/_binary64 associate-*l*_binary64 associate-*r*_binary64 associate--r-_binary64 associate--l-_binary64 associate--l+_binary64 associate--r+_binary64 associate-+l-_binary64 associate-+r-_binary64 associate-+l+_binary64 associate-+r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02498
12598
22598
044
144
Search
TrueOtherFalseIter
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
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
6.2%93.6%0.2%9
12.5%87.3%0.2%10
25%74.9%0.2%11
31.2%63.9%4.9%12
39%50.9%10.1%13
44.8%44.4%10.7%14
Symmetry

(sort x.re y.im)

(sort x.im y.re)

Compiler

Compiled 8 to 8 computations (0% saved)

sample36.0ms (0.9%)

Algorithm
intervals
Results
6.0ms256×body128valid
1.0ms39×body128invalid
Compiler

Compiled 15 to 19 computations (-26.7% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
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 unpow3_binary64 unpow2_binary64 unpow1/2_binary64 pow-plus_binary64 exp-to-pow_binary64 pow-base-1_binary64 unpow0_binary64 unpow1_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-diff_binary64 exp-neg_binary64 exp-sum_binary64 e-exp-1_binary64 1-exp_binary64 exp-1-e_binary64 exp-0_binary64 rem-log-exp_binary64 rem-exp-log_binary64 cube-unmult_binary64 cube-mult_binary64 cube-div_binary64 cube-prod_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-sqrt-square_binary64 rem-square-sqrt_binary64 times-frac_binary64 div-sub_binary64 neg-mul-1_binary64 neg-sub0_binary64 unsub-neg_binary64 sub-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 mul0-rgt_binary64 mul0-lft_binary64 div0_binary64 *-inverses_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 pow-sqr_binary64 sqr-pow_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 difference-of-squares_binary64 unswap-sqr_binary64 swap-sqr_binary64 cancel-sign-sub-inv_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 distribute-lft-neg-out_binary64 distribute-rgt-neg-in_binary64 distribute-lft-neg-in_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 distribute-rgt-out--_binary64 distribute-rgt-out_binary64 distribute-lft-out--_binary64 distribute-lft-out_binary64 distribute-rgt-in_binary64 distribute-lft-in_binary64 count-2_binary64 associate-/l/_binary64 associate-/r/_binary64 associate-/l*_binary64 associate-/r*_binary64 associate-*l/_binary64 associate-*r/_binary64 associate-*l*_binary64 associate-*r*_binary64 associate--r-_binary64 associate--l-_binary64 associate--l+_binary64 associate--r+_binary64 associate-+l-_binary64 associate-+r-_binary64 associate-+l+_binary64 associate-+r+_binary64
Counts
1 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11314
21314

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Error
0.0b
Counts
1 → 1
Compiler

Compiled 7 to 7 computations (0% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(+.f64 (*.f64 x.re y.im) (*.f64 x.im y.re))

rewrite12.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
add-log-exp_binary64
sum-log_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64 flip3-+_binary64 *-un-lft-identity_binary64 flip-+_binary64 +-commutative_binary64
Counts
1 → 11
Calls

1 calls:

4.0ms
(+.f64 (*.f64 x.re y.im) (*.f64 x.im y.re))
Compiler

Compiled 178 to 42 computations (76.4% saved)

series42.0ms (1.1%)

Error
0.0b
Counts
1 → 24
Calls

1 calls:

38.0ms
(+.f64 (*.f64 x.re y.im) (*.f64 x.im y.re))
Compiler

Compiled 217 to 235 computations (-8.3% saved)

simplify113.0ms (2.9%)

Algorithm
egg-herbie
Rules
750×unsub-neg_binary64
663×distribute-rgt-in_binary64
556×distribute-lft-in_binary64
351×distribute-rgt-out_binary64
334×*-commutative_binary64
298×unswap-sqr_binary64
205×cancel-sign-sub-inv_binary64
196×associate-*l*_binary64
191×distribute-rgt-neg-in_binary64
168×neg-mul-1_binary64
161×sub-neg_binary64
155×neg-sub0_binary64
141×+-commutative_binary64
136×associate-*r*_binary64
131×distribute-lft-neg-in_binary64
116×associate--r+_binary64
112×distribute-lft-out_binary64
101×distribute-lft-neg-out_binary64
84×distribute-rgt-neg-out_binary64
83×associate-+l+_binary64
81×distribute-neg-in_binary64
80×sqr-pow_binary64
79×associate-+r+_binary64
73×exp-prod_binary64
67×associate--l+_binary64
56×associate-+l-_binary64
53×distribute-rgt-out--_binary64
51×associate--l-_binary64
45×mul0-rgt_binary64 mul0-lft_binary64
44×cancel-sign-sub_binary64
42×cube-prod_binary64
32×associate-/l/_binary64
31×count-2_binary64 associate--r-_binary64
29×sub0-neg_binary64
28×pow-sqr_binary64
27×unpow3_binary64
23×remove-double-neg_binary64
22×exp-sum_binary64
20×associate-/l*_binary64 associate-+r-_binary64
19×div-sub_binary64 distribute-neg-out_binary64
18×associate-*r/_binary64
15×exp-diff_binary64 distribute-rgt1-in_binary64
14×swap-sqr_binary64
11×distribute-lft-out--_binary64
10×cube-unmult_binary64 cube-div_binary64 +-rgt-identity_binary64
cube-neg_binary64
pow-plus_binary64 exp-lft-sqr_binary64 cube-mult_binary64 associate-/r/_binary64
sqr-neg_binary64 +-lft-identity_binary64
exp-sqrt_binary64 associate-*l/_binary64
*-lft-identity_binary64 difference-of-squares_binary64
unpow2_binary64 exp-neg_binary64 /-rgt-identity_binary64
prod-exp_binary64 1-exp_binary64 --rgt-identity_binary64
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 unpow1/2_binary64 exp-to-pow_binary64 pow-base-1_binary64 unpow0_binary64 unpow1_binary64 unpow-1_binary64 exp-lft-cube_binary64 exp-cbrt_binary64 div-exp_binary64 rec-exp_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-log-exp_binary64 rem-exp-log_binary64 rem-3cbrt-rft_binary64 rem-3cbrt-lft_binary64 rem-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 rem-sqrt-square_binary64 rem-square-sqrt_binary64 times-frac_binary64 mul-1-neg_binary64 *-rgt-identity_binary64 div0_binary64 *-inverses_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-neg-frac_binary64 distribute-frac-neg_binary64 distribute-lft1-in_binary64 associate-/r*_binary64
Counts
35 → 8
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
034518
1109489
2342489
3865489
41790489
53284489
64058489
74961489
84833489

prune7.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639
Error
0.0b
Counts
9 → 3
Compiler

Compiled 158 to 55 computations (65.2% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re))
0.3b
(*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im))
2.8b
(-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im)))
21.9b
(/.f64 (-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im))) (-.f64 (*.f64 y.im x.re) (*.f64 y.re x.im)))

rewrite101.0ms (2.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
82×pow1_binary64
34×pow-prod-down_binary64
30×add-exp-log_binary64 add-cbrt-cube_binary64
16×prod-exp_binary64 cbrt-unprod_binary64
13×add-cube-cbrt_binary64 add-sqr-sqrt_binary64 *-un-lft-identity_binary64
12×times-frac_binary64
pow-prod-up_binary64 pow-sqr_binary64
add-log-exp_binary64
difference-of-squares_binary64
associate-/l*_binary64 pow-plus_binary64
flip3--_binary64 flip--_binary64 associate-/r*_binary64
associate-/l/_binary64 associate-/r/_binary64 pow2_binary64 swap-sqr_binary64 associate-*l*_binary64 associate-*r*_binary64 *-commutative_binary64
div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 div-sub_binary64 clear-num_binary64 div-inv_binary64 diff-log_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64
Counts
4 → 117
Calls

4 calls:

12.0ms
(/.f64 (-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im))) (-.f64 (*.f64 y.im x.re) (*.f64 y.re x.im)))
8.0ms
(-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im)))
6.0ms
(*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im))
6.0ms
(*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re))
Compiler

Compiled 3249 to 370 computations (88.6% saved)

series220.0ms (5.6%)

Error
0.0b
Counts
4 → 60
Calls

4 calls:

91.0ms
(/.f64 (-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im))) (-.f64 (*.f64 y.im x.re) (*.f64 y.re x.im)))
85.0ms
(-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im)))
20.0ms
(*.f64 (*.f64 y.re x.im) (*.f64 y.re x.im))
18.0ms
(*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re))
Compiler

Compiled 1614 to 1262 computations (21.8% saved)

simplify184.0ms (4.7%)

Algorithm
egg-herbie
Rules
248×associate-*l*_binary64
247×distribute-rgt-in_binary64
236×times-frac_binary64
230×distribute-lft-in_binary64
227×cancel-sign-sub-inv_binary64
209×associate-/l/_binary64
192×associate-*r*_binary64
180×log-prod_binary64
169×distribute-rgt-neg-in_binary64
167×exp-prod_binary64
162×unswap-sqr_binary64
153×distribute-lft-neg-in_binary64
135×div-sub_binary64
120×associate-/l*_binary64
90×swap-sqr_binary64
65×distribute-neg-frac_binary64
62×sqr-pow_binary64
61×*-commutative_binary64
52×log-div_binary64
51×distribute-rgt-out_binary64
44×exp-sum_binary64
41×cube-div_binary64
40×sub-neg_binary64
35×neg-sub0_binary64
34×neg-mul-1_binary64
33×unpow3_binary64
32×cube-prod_binary64
28×distribute-lft-out_binary64
26×distribute-lft-neg-out_binary64
21×associate-/r*_binary64
20×pow-plus_binary64
19×cube-mult_binary64
18×+-commutative_binary64
16×log-pow_binary64 exp-diff_binary64
15×distribute-rgt-neg-out_binary64 associate-/r/_binary64
13×associate-*l/_binary64
12×cube-unmult_binary64 pow-sqr_binary64 difference-of-squares_binary64 distribute-neg-in_binary64 associate-+l+_binary64 associate-+r+_binary64
11×log-rec_binary64 associate-*r/_binary64
/-rgt-identity_binary64
unpow2_binary64
*-rgt-identity_binary64
unpow1/2_binary64 unpow1_binary64 *-inverses_binary64 count-2_binary64
unsub-neg_binary64
exp-neg_binary64 rem-sqrt-square_binary64 remove-double-neg_binary64 +-rgt-identity_binary64 distribute-rgt-out--_binary64 associate--r-_binary64 associate--r+_binary64 associate-+r-_binary64
div-exp_binary64 1-exp_binary64 mul-1-neg_binary64 *-lft-identity_binary64 cancel-sign-sub_binary64
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 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 rec-exp_binary64 prod-exp_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-log-exp_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 rem-square-sqrt_binary64 sub0-neg_binary64 --rgt-identity_binary64 +-lft-identity_binary64 mul0-rgt_binary64 mul0-lft_binary64 div0_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-frac-neg_binary64 distribute-neg-out_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 distribute-lft-out--_binary64 associate--l-_binary64 associate--l+_binary64 associate-+l-_binary64
Counts
177 → 140
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01574113
14033496
216883490
345473058
449853058
550353058

prune51.0ms (1.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh011
Picked011
Done011
Total1394143
Error
0.0b
Counts
143 → 4
Compiler

Compiled 1749 to 528 computations (69.8% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re))
0.3b
(pow.f64 (+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re)) 3)
34.3b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re)) 3))

rewrite51.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
12×cbrt-prod_binary64
add-cube-cbrt_binary64 add-sqr-sqrt_binary64 *-un-lft-identity_binary64
unpow-prod-down_binary64 cube-prod_binary64
add-log-exp_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 cube-div_binary64
flip3-+_binary64 flip-+_binary64 pow-unpow_binary64
cbrt-div_binary64 unpow3_binary64 cube-mult_binary64 sqr-pow_binary64
pow1/3_binary64 rem-cbrt-cube_binary64 pow-pow_binary64 pow-to-exp_binary64 pow-exp_binary64 rem-cube-cbrt_binary64 sum-log_binary64 +-commutative_binary64
Counts
3 → 59
Calls

3 calls:

4.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re)) 3))
4.0ms
(pow.f64 (+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re)) 3)
4.0ms
(+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re))
Compiler

Compiled 1016 to 329 computations (67.6% saved)

series188.0ms (4.8%)

Error
0.0b
Counts
3 → 96
Calls

3 calls:

95.0ms
(pow.f64 (+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re)) 3)
42.0ms
(+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re))
36.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 y.re x.im) (*.f64 y.im x.re)) 3))
Compiler

Compiled 2091 to 1892 computations (9.5% saved)

simplify188.0ms (4.8%)

Algorithm
egg-herbie
Rules
575×exp-prod_binary64
388×unswap-sqr_binary64
365×*-commutative_binary64
245×distribute-rgt-in_binary64
229×distribute-lft-in_binary64
220×sqr-pow_binary64
204×log-prod_binary64
182×swap-sqr_binary64
132×cube-prod_binary64
120×associate-*r*_binary64
117×associate-*l*_binary64
115×distribute-rgt-neg-in_binary64
105×distribute-rgt-out_binary64
104×cancel-sign-sub-inv_binary64
102×distribute-lft-neg-in_binary64
100×unpow3_binary64
99×exp-sum_binary64
61×distribute-lft-neg-out_binary64
52×pow-sqr_binary64
48×distribute-rgt-neg-out_binary64
45×associate-/l*_binary64
41×associate-+l+_binary64
40×log-pow_binary64 distribute-lft-out_binary64
38×neg-mul-1_binary64 neg-sub0_binary64
35×pow-plus_binary64 sub-neg_binary64
28×associate-+r+_binary64
26×cube-mult_binary64
25×+-commutative_binary64
17×cube-unmult_binary64 rem-sqrt-square_binary64
16×unsub-neg_binary64 distribute-rgt-out--_binary64 associate-+l-_binary64
15×associate-/l/_binary64
11×count-2_binary64
10×difference-of-squares_binary64 associate-*r/_binary64
rem-cbrt-cube_binary64 distribute-neg-in_binary64
unpow2_binary64
associate-+r-_binary64
unpow1/2_binary64 unpow1_binary64 +-rgt-identity_binary64
*-rgt-identity_binary64 *-lft-identity_binary64 distribute-lft-out--_binary64 associate-/r/_binary64 associate--r+_binary64
sub0-neg_binary64 associate-*l/_binary64
sqr-neg_binary64 associate-/r*_binary64
prod-exp_binary64 1-exp_binary64 rem-3cbrt-lft_binary64 rem-cube-cbrt_binary64 rem-square-sqrt_binary64 associate--l+_binary64
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-rec_binary64 log-div_binary64 pow-base-0_binary64 unpow1/3_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 exp-diff_binary64 exp-neg_binary64 e-exp-1_binary64 exp-1-e_binary64 exp-0_binary64 rem-log-exp_binary64 rem-exp-log_binary64 cube-div_binary64 cube-neg_binary64 rem-3cbrt-rft_binary64 sqr-abs_binary64 times-frac_binary64 div-sub_binary64 mul-1-neg_binary64 /-rgt-identity_binary64 remove-double-neg_binary64 --rgt-identity_binary64 +-lft-identity_binary64 mul0-rgt_binary64 mul0-lft_binary64 div0_binary64 *-inverses_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 cancel-sign-sub_binary64 distribute-neg-frac_binary64 distribute-frac-neg_binary64 distribute-neg-out_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 associate--r-_binary64 associate--l-_binary64
Counts
155 → 121
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01064097
12803853
29793769
328723769
448103766
553033766

prune30.0ms (0.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1210121
Fresh011
Picked011
Done022
Total1214125
Error
0.0b
Counts
125 → 4
Compiler

Compiled 735 to 320 computations (56.5% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re))
2.8b
(-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2)))
19.9b
(*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2))
21.9b
(/.f64 (-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2))) (-.f64 (*.f64 y.im x.re) (*.f64 y.re x.im)))

rewrite142.0ms (3.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
43×pow1_binary64
32×add-sqr-sqrt_binary64
30×add-exp-log_binary64
20×add-cbrt-cube_binary64
18×pow-prod-down_binary64
17×prod-exp_binary64
16×add-cube-cbrt_binary64 *-un-lft-identity_binary64 unswap-sqr_binary64
14×unpow-prod-down_binary64
10×unpow2_binary64 sqr-pow_binary64
times-frac_binary64 cbrt-unprod_binary64 associate-*l*_binary64 associate-*r*_binary64
add-log-exp_binary64 pow-to-exp_binary64 pow-exp_binary64
pow-prod-up_binary64 pow-sqr_binary64
flip3--_binary64 flip--_binary64 associate-/l*_binary64 associate-/r*_binary64
associate-/l/_binary64 associate-/r/_binary64 *-commutative_binary64 pow-plus_binary64
div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 div-sub_binary64 clear-num_binary64 div-inv_binary64 diff-log_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64 pow2_binary64 swap-sqr_binary64
Counts
4 → 129
Calls

4 calls:

12.0ms
(/.f64 (-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2))) (-.f64 (*.f64 y.im x.re) (*.f64 y.re x.im)))
7.0ms
(*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2))
7.0ms
(-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2)))
6.0ms
(*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re))
Compiler

Compiled 3850 to 1425 computations (63% saved)

series221.0ms (5.6%)

Error
0.0b
Counts
4 → 60
Calls

4 calls:

89.0ms
(/.f64 (-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2))) (-.f64 (*.f64 y.im x.re) (*.f64 y.re x.im)))
86.0ms
(-.f64 (*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re)) (*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2)))
21.0ms
(*.f64 (*.f64 y.im x.re) (*.f64 y.im x.re))
20.0ms
(*.f64 (pow.f64 y.re 2) (pow.f64 x.im 2))
Compiler

Compiled 1591 to 1302 computations (18.2% saved)

simplify163.0ms (4.1%)

Algorithm
egg-herbie
Rules
390×times-frac_binary64
314×unswap-sqr_binary64
240×associate-*l*_binary64
233×log-prod_binary64
226×distribute-rgt-in_binary64
212×distribute-rgt-neg-in_binary64
198×cancel-sign-sub-inv_binary64 associate-*r*_binary64
190×distribute-lft-neg-in_binary64
110×associate-/l*_binary64
107×div-sub_binary64
91×exp-prod_binary64
82×*-commutative_binary64
78×sqr-pow_binary64
76×cube-prod_binary64
64×distribute-neg-frac_binary64
57×swap-sqr_binary64
41×distribute-rgt-out_binary64
40×neg-mul-1_binary64 neg-sub0_binary64
38×sub-neg_binary64
29×log-div_binary64 distribute-lft-neg-out_binary64 distribute-lft-out_binary64
27×log-pow_binary64
25×distribute-lft-in_binary64
20×associate-/r*_binary64 +-commutative_binary64
18×unpow3_binary64
17×associate-/l/_binary64
16×pow-sqr_binary64
15×cube-div_binary64 *-rgt-identity_binary64 distribute-rgt-neg-out_binary64 associate-/r/_binary64
12×associate-*l/_binary64
11×log-rec_binary64 *-lft-identity_binary64 difference-of-squares_binary64 distribute-neg-in_binary64
10×pow-plus_binary64 cube-mult_binary64
exp-sum_binary64 associate-*r/_binary64
unpow2_binary64 unpow1/2_binary64 unpow1_binary64
cube-unmult_binary64 /-rgt-identity_binary64 associate-+l+_binary64 associate-+r+_binary64
rem-sqrt-square_binary64
exp-diff_binary64 *-inverses_binary64
unsub-neg_binary64
rem-square-sqrt_binary64 remove-double-neg_binary64 distribute-rgt-out--_binary64 count-2_binary64 associate--r-_binary64 associate--r+_binary64
div-exp_binary64 1-exp_binary64 exp-1-e_binary64 rem-3cbrt-rft_binary64 rem-3cbrt-lft_binary64 +-rgt-identity_binary64 cancel-sign-sub_binary64 associate-+r-_binary64
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 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 rec-exp_binary64 prod-exp_binary64 exp-neg_binary64 e-exp-1_binary64 exp-0_binary64 rem-log-exp_binary64 rem-exp-log_binary64 cube-neg_binary64 rem-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 mul-1-neg_binary64 sub0-neg_binary64 --rgt-identity_binary64 +-lft-identity_binary64 mul0-rgt_binary64 mul0-lft_binary64 div0_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 remove-double-div_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 distribute-frac-neg_binary64 distribute-neg-out_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 distribute-lft-out--_binary64 associate--l-_binary64 associate--l+_binary64 associate-+l-_binary64
Counts
189 → 115
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01924455
14404014
218193684
346963684
449513684

prune59.0ms (1.5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1150115
Fresh000
Picked011
Done033
Total1154119
Error
0.0b
Counts
119 → 4
Compiler

Compiled 2001 to 911 computations (54.5% saved)

regimes442.0ms (11.2%)

Accuracy

Total 0.0b remaining (21.3%)

Threshold costs 0.0b (21.3%)

Compiler

Compiled 2827 to 2005 computations (29.1% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
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 neg-mul-1_binary64 neg-sub0_binary64 unsub-neg_binary64 sub-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-inv_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 distribute-lft-neg-out_binary64 distribute-rgt-neg-in_binary64 distribute-lft-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11314
21314

end24.0ms (0.6%)

Remove

(sort x.im y.re)

(sort x.re y.im)

Compiler

Compiled 35 to 35 computations (0% saved)

sample715.0ms (18.1%)

Algorithm
intervals
Results
225.0ms8000×body128valid
33.0ms1354×body128invalid
Compiler

Compiled 81 to 77 computations (4.9% saved)

Profiling

Loading profile data...