Details

Time bar (total: 7.1s)

analyze572.0ms (8.1%)

Algorithm
search
egg-herbie
Rules
11×+-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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041210
145210
245210
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
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample22.0ms (0.3%)

Algorithm
intervals
Results
10.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify11.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
01430
11830
21830

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 15 to 11 computations (26.7% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.6b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
27.0b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite75.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
27.4b
Rules
10×add-cube-cbrt_binary64 add-sqr-sqrt_binary64 *-un-lft-identity_binary64
times-frac_binary64
add-exp-log_binary64 add-log-exp_binary64 add-cbrt-cube_binary64
flip3-+_binary64 flip-+_binary64 associate-/l*_binary64 associate-/r*_binary64
pow1_binary64 associate-/l/_binary64 associate-/r/_binary64
div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 clear-num_binary64 div-inv_binary64 sum-log_binary64 +-commutative_binary64
Counts
2 → 42
Calls

2 calls:

8.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
3.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
Compiler

Compiled 1186 to 158 computations (86.7% saved)

series127.0ms (1.8%)

Error
5.7b
Counts
2 → 48
Calls

2 calls:

75.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
37.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
Compiler

Compiled 1154 to 906 computations (21.5% saved)

simplify97.0ms (1.4%)

Algorithm
egg-herbie
Rules
781×distribute-rgt-in_binary64
412×associate-*l*_binary64
331×associate-*r*_binary64
281×unswap-sqr_binary64
277×times-frac_binary64
233×cancel-sign-sub-inv_binary64
176×distribute-rgt-out_binary64
166×distribute-lft-in_binary64
148×*-commutative_binary64
135×distribute-rgt-neg-in_binary64
113×distribute-lft-neg-in_binary64
109×distribute-lft-out_binary64
86×associate-/l*_binary64
73×sub-neg_binary64
58×sqr-pow_binary64
55×distribute-lft-neg-out_binary64
54×associate-*l/_binary64
53×associate-/r*_binary64
47×associate-/l/_binary64
41×associate-*r/_binary64
38×neg-sub0_binary64
34×neg-mul-1_binary64
33×associate-+l+_binary64 associate-+r+_binary64
32×distribute-rgt-neg-out_binary64
30×associate-/r/_binary64
23×difference-of-squares_binary64 +-commutative_binary64
22×distribute-rgt-out--_binary64
18×cube-prod_binary64
17×div-sub_binary64 unsub-neg_binary64
14×associate-+r-_binary64
13×cube-unmult_binary64
12×exp-prod_binary64 +-rgt-identity_binary64 pow-sqr_binary64 distribute-neg-in_binary64 associate-+l-_binary64
10×unpow3_binary64 /-rgt-identity_binary64 distribute-lft-out--_binary64
sub0-neg_binary64
*-rgt-identity_binary64
distribute-neg-frac_binary64
pow-plus_binary64 cube-mult_binary64
*-lft-identity_binary64 swap-sqr_binary64 cancel-sign-sub_binary64
log-div_binary64
log-prod_binary64 unpow2_binary64 unpow1/2_binary64 unpow1_binary64 rem-sqrt-square_binary64 associate--l-_binary64 associate--r+_binary64
prod-exp_binary64 1-exp_binary64 cube-div_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-pow_binary64 log-rec_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 exp-sum_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 mul-1-neg_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 distribute-frac-neg_binary64 distribute-neg-out_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 count-2_binary64 associate--r-_binary64
Counts
90 → 55
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01012446
12742283
28152283
324812283
451312283

prune70.0ms (1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New47855
Fresh000
Picked101
Done000
Total48856
Error
27.3b
Counts
56 → 8
Compiler

Compiled 1205 to 547 computations (54.6% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.6b
(+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re))
17.4b
(/.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
30.3b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.3b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

rewrite233.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
27.3b
Rules
43×*-un-lft-identity_binary64
28×sqrt-prod_binary64
25×add-sqr-sqrt_binary64
24×times-frac_binary64
23×add-cube-cbrt_binary64
10×unpow-prod-down_binary64 distribute-lft-out_binary64
associate-/r*_binary64
pow1_binary64 add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
flip3-+_binary64 flip-+_binary64
associate-/l*_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 associate-/l/_binary64 associate-/r/_binary64
div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 clear-num_binary64 div-inv_binary64 sum-log_binary64 +-commutative_binary64
Counts
4 → 94
Calls

4 calls:

13.0ms
(/.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
Compiler

Compiled 3118 to 1219 computations (60.9% saved)

series324.0ms (4.6%)

Error
24.2b
Counts
4 → 91
Calls

4 calls:

106.0ms
(/.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
50.0ms
(+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re))
46.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
44.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
Compiler

Compiled 4537 to 3166 computations (30.2% saved)

simplify175.0ms (2.5%)

Algorithm
egg-herbie
Rules
527×associate-*l*_binary64
503×associate-*r*_binary64
387×times-frac_binary64
322×associate-/l*_binary64
202×cancel-sign-sub-inv_binary64
191×associate-/r*_binary64
158×associate-*l/_binary64
151×distribute-rgt-neg-in_binary64
138×distribute-lft-neg-in_binary64
137×associate-*r/_binary64
110×distribute-rgt-in_binary64
87×sub-neg_binary64
83×distribute-lft-in_binary64
73×distribute-neg-frac_binary64
69×associate-/l/_binary64 associate-/r/_binary64
67×*-commutative_binary64
63×div-sub_binary64
60×unswap-sqr_binary64
52×neg-sub0_binary64
48×neg-mul-1_binary64
39×+-commutative_binary64
37×sqr-pow_binary64
25×distribute-rgt-out_binary64
17×distribute-lft-neg-out_binary64
16×unsub-neg_binary64 distribute-rgt-out--_binary64
15×cube-unmult_binary64 cube-prod_binary64 associate--r+_binary64
14×distribute-neg-in_binary64 distribute-lft-out_binary64
13×exp-prod_binary64
12×unpow3_binary64 pow-plus_binary64 associate--l+_binary64
10×cube-mult_binary64
difference-of-squares_binary64
*-rgt-identity_binary64
associate-+l+_binary64
pow-sqr_binary64 associate-+r-_binary64
rem-sqrt-square_binary64 distribute-lft-out--_binary64
log-div_binary64 mul-1-neg_binary64 /-rgt-identity_binary64 swap-sqr_binary64 distribute-rgt-neg-out_binary64
+-rgt-identity_binary64
unpow2_binary64 unpow1/2_binary64 unpow1_binary64 rem-square-sqrt_binary64 associate-+l-_binary64
log-prod_binary64 prod-exp_binary64 1-exp_binary64 cube-div_binary64 *-lft-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 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 exp-sum_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 remove-double-neg_binary64 sub0-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-frac-neg_binary64 distribute-neg-out_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 count-2_binary64 associate--r-_binary64 associate--l-_binary64 associate-+r+_binary64
Counts
185 → 89
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01945040
14634727
213864727
349434721
450084721

prune96.0ms (1.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New85489
Fresh257
Picked011
Done000
Total871097
Error
25.2b
Counts
97 → 10
Compiler

Compiled 1768 to 836 computations (52.7% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.2b
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
0.6b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
27.2b
(*.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))

rewrite191.0ms (2.7%)

Algorithm
rewrite-expression-head
Error
25.2b
Rules
52×*-un-lft-identity_binary64
32×times-frac_binary64
30×add-sqr-sqrt_binary64
23×add-cube-cbrt_binary64
21×associate-*r*_binary64
16×add-exp-log_binary64
14×unpow-prod-down_binary64 distribute-lft-out_binary64
10×add-cbrt-cube_binary64
pow1_binary64
add-log-exp_binary64 flip3-+_binary64 flip-+_binary64 associate-/r*_binary64
div-exp_binary64 prod-exp_binary64 associate-/r/_binary64
unswap-sqr_binary64 associate-*l*_binary64 associate-/l*_binary64
1-exp_binary64 rec-exp_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 frac-times_binary64 associate-*l/_binary64 div-inv_binary64
pow-prod-down_binary64 un-div-inv_binary64 associate-*r/_binary64 *-commutative_binary64 sum-log_binary64 +-commutative_binary64 inv-pow_binary64 pow-flip_binary64 frac-2neg_binary64 clear-num_binary64
Counts
3 → 100
Calls

3 calls:

19.0ms
(*.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
10.0ms
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
Compiler

Compiled 2551 to 1395 computations (45.3% saved)

series148.0ms (2.1%)

Error
25.2b
Counts
3 → 54
Calls

3 calls:

74.0ms
(*.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
46.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
17.0ms
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
Compiler

Compiled 1462 to 1261 computations (13.7% saved)

simplify163.0ms (2.3%)

Algorithm
egg-herbie
Rules
736×times-frac_binary64
342×distribute-rgt-in_binary64
329×distribute-lft-in_binary64
263×*-commutative_binary64
227×associate-/l/_binary64
219×div-sub_binary64
200×associate-/r/_binary64
175×associate-/l*_binary64
149×associate-*l/_binary64
145×unswap-sqr_binary64
143×associate-*r/_binary64
124×cancel-sign-sub-inv_binary64
118×associate-*l*_binary64
106×distribute-rgt-neg-in_binary64
99×associate-*r*_binary64
87×distribute-lft-neg-in_binary64
77×sqr-pow_binary64
72×sub-neg_binary64
70×associate-/r*_binary64
59×*-rgt-identity_binary64
53×distribute-rgt-out_binary64
52×exp-prod_binary64
50×*-lft-identity_binary64
45×neg-mul-1_binary64 associate-+r+_binary64
44×neg-sub0_binary64
42×associate-+l+_binary64
32×distribute-lft-neg-out_binary64
29×+-commutative_binary64
28×unsub-neg_binary64
23×difference-of-squares_binary64
21×cube-prod_binary64 associate-+r-_binary64
20×/-rgt-identity_binary64 distribute-neg-in_binary64
16×pow-sqr_binary64 swap-sqr_binary64 distribute-rgt-neg-out_binary64 distribute-rgt-out--_binary64
14×associate-+l-_binary64
13×unpow3_binary64
12×rem-sqrt-square_binary64 +-rgt-identity_binary64
11×distribute-lft-out_binary64
10×exp-sum_binary64
cube-mult_binary64 distribute-neg-frac_binary64
pow-plus_binary64 cube-unmult_binary64 sub0-neg_binary64
cube-div_binary64
log-div_binary64 unpow1/2_binary64
log-prod_binary64 distribute-neg-out_binary64 distribute-lft-out--_binary64 associate--r+_binary64
log-rec_binary64 unpow2_binary64 unpow1_binary64 sqr-neg_binary64 +-lft-identity_binary64 cancel-sign-sub_binary64 distribute-frac-neg_binary64
prod-exp_binary64 1-exp_binary64 exp-1-e_binary64 --rgt-identity_binary64 remove-double-div_binary64 distribute-rgt1-in_binary64 distribute-lft1-in_binary64 count-2_binary64 associate--l-_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-pow_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-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 rem-square-sqrt_binary64 mul-1-neg_binary64 remove-double-neg_binary64 mul0-rgt_binary64 mul0-lft_binary64 div0_binary64 *-inverses_binary64 +-inverses_binary64 lft-mult-inverse_binary64 rgt-mult-inverse_binary64 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 associate--r-_binary64
Counts
154 → 96
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01323729
13553449
212103325
328113325
445713325
550193325

prune79.0ms (1.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh088
Picked011
Done011
Total9610106
Error
25.2b
Counts
106 → 10
Compiler

Compiled 1531 to 851 computations (44.4% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

17.9b
(cbrt.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)))
17.9b
(cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
17.9b
(cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
19.1b
(/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (cbrt.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)))))

rewrite234.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
25.2b
Rules
96×times-frac_binary64
89×*-un-lft-identity_binary64
41×add-cube-cbrt_binary64 add-sqr-sqrt_binary64
39×cbrt-prod_binary64
36×associate-/r*_binary64
24×unpow-prod-down_binary64 distribute-lft-out_binary64
22×cbrt-div_binary64
16×add-exp-log_binary64
11×flip3-+_binary64 flip-+_binary64
10×add-cbrt-cube_binary64
associate-/l/_binary64
div-exp_binary64 cbrt-undiv_binary64
associate-/r/_binary64
pow1_binary64 add-log-exp_binary64 frac-times_binary64
div-inv_binary64 pow1/3_binary64
prod-exp_binary64 cbrt-unprod_binary64 associate-*l/_binary64 associate-*r/_binary64
frac-2neg_binary64 clear-num_binary64 associate-/l*_binary64
Counts
4 → 139
Calls

4 calls:

26.0ms
(/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (cbrt.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)))))
4.0ms
(cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
3.0ms
(cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
3.0ms
(cbrt.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)))
Compiler

Compiled 6571 to 1743 computations (73.5% saved)

series473.0ms (6.7%)

Error
25.2b
Counts
4 → 90
Calls

4 calls:

116.0ms
(/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))) (/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (cbrt.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)))))
97.0ms
(cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
97.0ms
(cbrt.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
92.0ms
(cbrt.f64 (+.f64 (*.f64 y.im x.im) (*.f64 y.re x.re)))
Compiler

Compiled 8841 to 5750 computations (35% saved)

simplify323.0ms (4.6%)

Algorithm
egg-herbie
Rules
691×associate-/r*_binary64
567×associate-/r/_binary64
197×distribute-rgt-in_binary64
177×distribute-lft-in_binary64
175×associate-/l*_binary64
164×associate-*l*_binary64
162×associate-/l/_binary64
149×*-commutative_binary64
146×associate-*r*_binary64
134×times-frac_binary64
131×associate-*l/_binary64
97×unswap-sqr_binary64
90×cancel-sign-sub-inv_binary64
81×sub-neg_binary64
70×sqr-pow_binary64
68×distribute-rgt-neg-in_binary64
59×distribute-lft-neg-in_binary64
56×associate-*r/_binary64
53×log-prod_binary64
42×neg-mul-1_binary64 neg-sub0_binary64
41×*-rgt-identity_binary64
40×exp-sum_binary64
39×+-commutative_binary64
38×log-div_binary64
28×distribute-lft-neg-out_binary64
24×exp-prod_binary64
17×unsub-neg_binary64
16×distribute-rgt-out_binary64
14×distribute-rgt-neg-out_binary64 distribute-rgt-out--_binary64
13×log-pow_binary64 distribute-neg-in_binary64
11×unpow1/3_binary64 cube-prod_binary64 div-sub_binary64 distribute-lft-out--_binary64
10×pow-sqr_binary64 distribute-lft-out_binary64 associate--r-_binary64
exp-diff_binary64 *-lft-identity_binary64 swap-sqr_binary64
unpow3_binary64 cube-mult_binary64
log-rec_binary64 cube-div_binary64 remove-double-neg_binary64
cube-unmult_binary64 /-rgt-identity_binary64
unpow2_binary64 unpow1/2_binary64 unpow1_binary64 distribute-neg-frac_binary64 distribute-neg-out_binary64
rem-3cbrt-lft_binary64 difference-of-squares_binary64 count-2_binary64 associate--l+_binary64 associate--r+_binary64 associate-+l-_binary64 associate-+r-_binary64 associate-+l+_binary64
pow-plus_binary64 1-exp_binary64 distribute-rgt1-in_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 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 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-cbrt-cube_binary64 rem-cube-cbrt_binary64 sqr-abs_binary64 sqr-neg_binary64 rem-sqrt-square_binary64 rem-square-sqrt_binary64 mul-1-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 difference-of-sqr--1_binary64 difference-of-sqr-1_binary64 cancel-sign-sub_binary64 distribute-frac-neg_binary64 distribute-lft1-in_binary64 associate--l-_binary64 associate-+r+_binary64
Counts
229 → 194
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
033412007
183010736
2261510643
3496110643
4499310643

prune177.0ms (2.5%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1940194
Fresh077
Picked011
Done022
Total19410204
Error
25.2b
Counts
204 → 10
Compiler

Compiled 6368 to 2112 computations (66.8% saved)

regimes2.3s (33.1%)

Accuracy

Total -7.7b remaining (-53.1%)

Threshold costs -7.7b (-53.1%)

Compiler

Compiled 19269 to 13271 computations (31.1% saved)

bsearch69.0ms (1%)

Steps
ItersRangePoint
8
1.1206515766963426e+109
2.0941289985188146e+112
4.6122899397645205e+110
8
8.072578226233312e-119
8.348583258274886e-115
8.461756974617389e-119
8
-7.403937533133293e-111
-1.1325550453202653e-114
-2.5745863487788416e-111
6
-6.390321185109893e+147
-1.4405428724937755e+147
-1.9684429409544687e+147
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify6.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
038157
144157
244157

end2.0ms (0%)

Compiler

Compiled 83 to 45 computations (45.8% saved)

sample991.0ms (14%)

Algorithm
intervals
Results
352.0ms8000×body128valid
18.0ms450×body128invalid
Compiler

Compiled 340 to 251 computations (26.2% saved)

Profiling

Loading profile data...