Details

Time bar (total: 9.5s)

analyze356.0ms (3.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14
Compiler

Compiled 13 to 12 computations (7.7% saved)

sample137.0ms (1.4%)

Algorithm
intervals
Results
69.0ms154×body1024valid
20.0ms75×body1024invalid
13.0ms56×body512valid
9.0ms14×body2048valid
5.0ms28×body512invalid
3.0ms21×body256invalid
2.0ms17×body256valid
1.0ms21×body128invalid
1.0ms15×body128valid
Compiler

Compiled 25 to 25 computations (0% saved)

simplify226.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0489618
1489618

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 57.1b

Counts
2 → 1
Compiler

Compiled 45 to 41 computations (8.9% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.2b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_3519 add-sqr-sqrt_binary64_3541
cancel-sign-sub-inv_binary64_3485
add-cbrt-cube_binary64_3555 add-exp-log_binary64_3557 pow1_binary64_3580
add-cube-cbrt_binary64_3554
associate-*r*_binary64_3459
add-log-exp_binary64_3558 distribute-lft-in_binary64_3468 distribute-rgt-in_binary64_3469
pow-prod-down_binary64_3590 prod-exp_binary64_3568 sub-neg_binary64_3512 cbrt-unprod_binary64_3552
difference-of-squares_binary64_3488 flip--_binary64_3494 associate-*r/_binary64_3461 distribute-lft-out--_binary64_3471 flip3--_binary64_3523
diff-log_binary64_3611 associate-*l*_binary64_3460 *-commutative_binary64_3450
Counts
2 → 46
Calls

2 calls:

13.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
7.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series195.0ms (2%)

Counts
2 → 6
Calls

2 calls:

150.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
45.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify78.0ms (0.8%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
04880927
14880927

prune95.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New50252
Fresh000
Picked011
Done000
Total50353

Merged error: 0.1b

Counts
53 → 3
Compiler

Compiled 1466 to 821 computations (44% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))
0.1b
(*.f64 (pow.f64 im 5) -1/60)
0.1b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
0.1b
(*.f64 1/3 (pow.f64 im 3))

rewrite38.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_3541
19×add-exp-log_binary64_3557
18×associate-*r*_binary64_3459
13×add-cbrt-cube_binary64_3555
12×*-un-lft-identity_binary64_3519 add-cube-cbrt_binary64_3554
11×associate-*l*_binary64_3460
prod-exp_binary64_3568 pow1_binary64_3580
unpow-prod-down_binary64_3598
unswap-sqr_binary64_3487
add-log-exp_binary64_3558
cbrt-unprod_binary64_3552
cube-prod_binary64_3547 sqr-pow_binary64_3491
pow-prod-down_binary64_3590 *-commutative_binary64_3450
pow-exp_binary64_3587 pow-to-exp_binary64_3588 associate-*r/_binary64_3461
flip-+_binary64_3493 flip3-+_binary64_3522 diff-log_binary64_3611 flip--_binary64_3494 cancel-sign-sub-inv_binary64_3485 sub-neg_binary64_3512 distribute-lft-in_binary64_3468 cube-mult_binary64_3549 unpow3_binary64_3585 distribute-rgt-in_binary64_3469 flip3--_binary64_3523
Counts
4 → 90
Calls

4 calls:

12.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
7.0ms
(*.f64 1/3 (pow.f64 im 3))
6.0ms
(*.f64 (pow.f64 im 5) -1/60)
4.0ms
(-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))

series548.0ms (5.8%)

Counts
4 → 12
Calls

4 calls:

292.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
144.0ms
(-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))
59.0ms
(*.f64 (pow.f64 im 5) -1/60)
52.0ms
(*.f64 1/3 (pow.f64 im 3))

simplify64.0ms (0.7%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050261652

prune344.0ms (3.6%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New948102
Fresh011
Picked011
Done011
Total9411105

Merged error: 0.0b

Counts
105 → 11
Compiler

Compiled 6319 to 5154 computations (18.4% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))) (cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
0.6b
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
0.6b
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
0.6b
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))

rewrite60.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64_3550
23×add-sqr-sqrt_binary64_3541
18×cbrt-div_binary64_3551
15×*-un-lft-identity_binary64_3519 add-cube-cbrt_binary64_3554
11×pow1_binary64_3580
flip-+_binary64_3493 flip3-+_binary64_3522 pow1/3_binary64_3601
add-exp-log_binary64_3557 associate-*r*_binary64_3459 associate-*l*_binary64_3460 swap-sqr_binary64_3486
add-cbrt-cube_binary64_3555 add-log-exp_binary64_3558 frac-times_binary64_3529 unswap-sqr_binary64_3487
pow-prod-up_binary64_3589 associate-*l/_binary64_3462 pow-prod-down_binary64_3590 associate-*r/_binary64_3461 pow-sqr_binary64_3492
pow-plus_binary64_3582 prod-exp_binary64_3568 cbrt-unprod_binary64_3552 *-commutative_binary64_3450 pow2_binary64_3600
Counts
4 → 87
Calls

4 calls:

21.0ms
(*.f64 (cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))) (cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
7.0ms
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
7.0ms
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
7.0ms
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))

series727.0ms (7.6%)

Counts
4 → 12
Calls

4 calls:

217.0ms
(*.f64 (cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))) (cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60))))
172.0ms
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
170.0ms
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))
169.0ms
(cbrt.f64 (+.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))) (*.f64 (pow.f64 im 5) -1/60)))

simplify109.0ms (1.1%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049144377
149144377

prune475.0ms (5%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New98199
Fresh088
Picked011
Done022
Total9812110

Merged error: 0.0b

Counts
110 → 12
Compiler

Compiled 7848 to 6398 computations (18.5% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))) (cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))))
0.6b
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))
0.6b
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))
0.6b
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))

rewrite40.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64_3550
23×add-sqr-sqrt_binary64_3541
18×cbrt-div_binary64_3551
15×*-un-lft-identity_binary64_3519 add-cube-cbrt_binary64_3554
11×pow1_binary64_3580
flip--_binary64_3494 pow1/3_binary64_3601 flip3--_binary64_3523
add-exp-log_binary64_3557 associate-*r*_binary64_3459 associate-*l*_binary64_3460 swap-sqr_binary64_3486
add-cbrt-cube_binary64_3555 add-log-exp_binary64_3558 frac-times_binary64_3529 unswap-sqr_binary64_3487
pow-prod-up_binary64_3589 associate-*l/_binary64_3462 pow-prod-down_binary64_3590 associate-*r/_binary64_3461 pow-sqr_binary64_3492
pow-plus_binary64_3582 prod-exp_binary64_3568 cbrt-unprod_binary64_3552 *-commutative_binary64_3450 pow2_binary64_3600
Counts
4 → 87
Calls

4 calls:

14.0ms
(*.f64 (cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))) (cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))))
4.0ms
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))
4.0ms
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))
4.0ms
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))

series655.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

185.0ms
(*.f64 (cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))) (cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3)))))
166.0ms
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))
155.0ms
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))
147.0ms
(cbrt.f64 (-.f64 (*.f64 im -2) (*.f64 1/3 (pow.f64 im 3))))

simplify101.0ms (1.1%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
050512884

prune336.0ms (3.5%)

Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New99099
Fresh088
Picked011
Done033
Total9912111

Merged error: 0.0b

Counts
111 → 12
Compiler

Compiled 5582 to 4485 computations (19.7% saved)

regimes153.0ms (1.6%)

Compiler

Compiled 1756 to 1520 computations (13.4% saved)

bsearch47.0ms (0.5%)

Steps
ItersRangePoint
9
-0.3266957999283024
-2.0131118503346367e-06
-0.014919648224425593
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07454
17454

end0.0ms (0%)

sample4.6s (48.7%)

Algorithm
intervals
Results
2.2s4906×body1024valid
565.0ms2065×body1024invalid
416.0ms1691×body512valid
262.0ms408×body2048valid
193.0ms1009×body512invalid
96.0ms647×body256valid
67.0ms522×body256invalid
54.0ms777×body128invalid
26.0ms348×body128valid
Compiler

Compiled 525 to 445 computations (15.2% saved)

Profiling

Loading profile data...