Details

Time bar (total: 5.5s)

analyze593.0ms (10.8%)

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 14 to 11 computations (21.4% saved)

sample101.0ms (1.8%)

Algorithm
intervals
Results
32.0ms62×body1024valid
23.0ms65×body1024invalid
10.0ms140×body128valid
9.0ms34×body512valid
6.0ms31×body512invalid
3.0ms20×body256valid
3.0ms20×body256invalid
2.0ms24×body128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify121.0ms (2.2%)

Algorithm
egg-herbie
Rules
533×associate-/l*_binary64
430×unswap-sqr_binary64
374×times-frac_binary64
340×associate-/r/_binary64
318×associate-/l/_binary64
Counts
1 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
12818
26318
38318
413018
523118
647218
782418
8318718
9303218
10374918
11394518
12437018
13480818
14490618
15494718

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
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite36.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*r*_binary64
Counts
2 → 35
Calls

2 calls:

8.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
4.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 642 to 207 computations (67.8% saved)

series49.0ms (0.9%)

Error
0.0b
Counts
2 → 18
Calls

2 calls:

31.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 768 to 526 computations (31.5% saved)

simplify102.0ms (1.9%)

Algorithm
egg-herbie
Rules
389×times-frac_binary64
362×*-commutative_binary64
355×distribute-rgt-in_binary64
325×distribute-lft-in_binary64
270×sub-neg_binary64
Counts
53 → 33
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01331232
13661057
212671026
33292976
44774976
54928976

prune18.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New31233
Fresh000
Picked101
Done000
Total32234
Error
0b
Counts
34 → 2
Alt Table
StatusErrorProgram
61.2b
(/.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
Compiler

Compiled 537 to 263 computations (51% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re))
0.0b
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
0.0b
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
0.0b
(/.f64 1/2 (exp.f64 im))

rewrite79.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
26×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
19×times-frac_binary64
16×associate-*l*_binary64
Counts
4 → 88
Calls

4 calls:

6.0ms
(*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re))
6.0ms
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
5.0ms
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
3.0ms
(/.f64 1/2 (exp.f64 im))
Compiler

Compiled 1933 to 983 computations (49.1% saved)

series107.0ms (2%)

Error
0b
Counts
4 → 42
Calls

4 calls:

35.0ms
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
23.0ms
(*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re))
20.0ms
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
8.0ms
(/.f64 1/2 (exp.f64 im))
Compiler

Compiled 1970 to 1267 computations (35.7% saved)

simplify112.0ms (2%)

Algorithm
egg-herbie
Rules
602×cancel-sign-sub-inv_binary64
267×associate-*l/_binary64
216×associate-*r*_binary64
211×associate-/l*_binary64
208×associate-*l*_binary64
Counts
130 → 80
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02212376
15992198
219182123
342782118
450052118

prune46.0ms (0.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh101
Picked011
Done000
Total80282
Error
0b
Counts
82 → 2
Alt Table
StatusErrorProgram
0.4b
(+.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im))) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
0.0b
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
Compiler

Compiled 1552 to 810 computations (47.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im))) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
0.0b
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
0.0b
(/.f64 (sqrt.f64 1/2) (exp.f64 im))
1.0b
(*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im)))

rewrite115.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
51×add-sqr-sqrt_binary64
40×times-frac_binary64
35×*-un-lft-identity_binary64
35×add-cube-cbrt_binary64
29×sqrt-prod_binary64
Counts
4 → 116
Calls

4 calls:

10.0ms
(*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im)))
9.0ms
(+.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im))) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
9.0ms
(/.f64 (sqrt.f64 1/2) (exp.f64 im))
5.0ms
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
Compiler

Compiled 2799 to 1714 computations (38.8% saved)

series109.0ms (2%)

Error
0b
Counts
4 → 33
Calls

4 calls:

44.0ms
(+.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im))) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
20.0ms
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
12.0ms
(*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im)))
11.0ms
(/.f64 (sqrt.f64 1/2) (exp.f64 im))
Compiler

Compiled 1937 to 1387 computations (28.4% saved)

simplify177.0ms (3.2%)

Algorithm
egg-herbie
Rules
414×cancel-sign-sub-inv_binary64
376×associate-/l*_binary64
254×associate-*r*_binary64
237×associate-*l*_binary64
201×distribute-rgt-neg-in_binary64
Counts
149 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02362885
16182477
220632417
346272401
449882401
550002401
649282401

prune52.0ms (0.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done011
Total1022104
Error
0b
Counts
104 → 2
Alt Table
StatusErrorProgram
0.4b
(+.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (exp.f64 im))) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
0.0b
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
Compiler

Compiled 1789 to 1058 computations (40.9% saved)

regimes246.0ms (4.5%)

Accuracy

Total 0.0b remaining (24.7%)

Threshold costs 0.0b (24.7%)

Compiler

Compiled 4180 to 3113 computations (25.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
11524
21524

end1.0ms (0%)

Compiler

Compiled 17 to 11 computations (35.3% saved)

sample3.4s (61.8%)

Algorithm
intervals
Results
1.0s1996×body1024valid
755.0ms2042×body1024invalid
387.0ms4475×body128valid
258.0ms1038×body512valid
210.0ms957×body512invalid
113.0ms485×body256valid
77.0ms521×body256invalid
70.0ms724×body128invalid
8.0msbody2048valid
Compiler

Compiled 71 to 50 computations (29.6% saved)

Profiling

Loading profile data...