Details

Time bar (total: 7.2s)

analyze559.0ms (7.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%40.6%9.5%7
50%39%11%8
50%33.6%16.5%9
50%32.4%17.7%10
50%29.5%20.6%11
50%28.8%21.3%12
50%27.3%22.8%13
50%26.9%23.1%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample4.6s (63.3%)

Results
1.4s2044×body1024valid
1.2s2111×body1024invalid
671.0ms4671×body128valid
434.0ms1062×body512valid
378.0ms1032×body512invalid
147.0ms538×body256invalid
131.0ms476×body256valid
117.0ms826×body128invalid
4.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify33.0ms (0.4%)

Algorithm
egg-herbie
Rules
778×unswap-sqr_binary64
455×associate-/r*_binary64
357×associate-/l*_binary64
346×times-frac_binary64
315×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01218
12818
27118
314017
418517
525217
643017
7110717
8331117
9370217
10419217
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 79 to 56 computations (29.1% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

series18.0ms (0.3%)

Counts
2 → 36
Calls

2 calls:

16.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
2.0ms
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))

rewrite44.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
635×prod-diff_binary64
176×log1p-udef_binary64
125×add-sqr-sqrt_binary64
122×log1p-expm1-u_binary64
122×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01228
125720
2360020
Stop Event
node limit
Counts
2 → 56
Calls

2 calls:

43.0ms
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
43.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

simplify38.0ms (0.5%)

Algorithm
egg-herbie
Rules
785×fma-neg_binary64
523×fma-def_binary64
246×distribute-rgt-neg-in_binary64
244×sub-neg_binary64
226×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
081735
1245670
2799646
33340645
Stop Event
node limit
Counts
92 → 83

prune66.0ms (0.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New80383
Fresh011
Picked011
Done000
Total80585
Error
0b
Counts
85 → 5
Alt Table
StatusErrorProgram
18.3b
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (*.f64 2 (cosh.f64 im)))) 3))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 1631 to 912 computations (44.1% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(/.f64 1/2 (exp.f64 im))

series40.0ms (0.6%)

Counts
3 → 40
Calls

3 calls:

27.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
7.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
6.0ms
(/.f64 1/2 (exp.f64 im))

rewrite44.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
804×log1p-expm1-u_binary64
804×expm1-log1p-u_binary64
116×prod-diff_binary64
92×add-sqr-sqrt_binary64
86×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0935
118235
2218835
Stop Event
node limit
Counts
3 → 63
Calls

3 calls:

43.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
43.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
43.0ms
(/.f64 1/2 (exp.f64 im))

simplify37.0ms (0.5%)

Algorithm
egg-herbie
Rules
685×fma-neg_binary64
443×fma-def_binary64
298×sub-neg_binary64
173×associate-*r*_binary64
173×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083796
1251739
2791715
33085700
Stop Event
node limit
Counts
103 → 96

prune83.0ms (1.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh033
Picked011
Done011
Total965101
Error
0b
Counts
101 → 5
Alt Table
StatusErrorProgram
18.3b
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (*.f64 2 (cosh.f64 im)))) 3))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 1705 to 1007 computations (40.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(cosh.f64 im)
0.0b
(log.f64 (*.f64 2 (cosh.f64 im)))
0.0b
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))

series255.0ms (3.5%)

Counts
4 → 60
Calls

4 calls:

215.0ms
(log.f64 (*.f64 2 (cosh.f64 im)))
23.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))
9.0ms
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 im))))
7.0ms
(cosh.f64 im)

rewrite50.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
523×log-prod_binary64
276×pow2_binary64
195×pow1/3_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01231
122725
2257725
Stop Event
node limit
Counts
4 → 133
Calls

4 calls:

48.0ms
(cosh.f64 im)
48.0ms
(log.f64 (*.f64 2 (cosh.f64 im)))
48.0ms
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 im))))
48.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))

simplify43.0ms (0.6%)

Algorithm
egg-herbie
Rules
637×fma-neg_binary64
480×fma-def_binary64
276×sub-neg_binary64
186×associate-+l+_binary64
154×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0911032
1266971
2812943
33084932
Stop Event
node limit
Counts
193 → 176

prune132.0ms (1.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1751176
Fresh112
Picked011
Done022
Total1765181
Error
0b
Counts
181 → 5
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
18.3b
(cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (sin.f64 re)) 3))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 2887 to 1815 computations (37.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(cosh.f64 im)
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))
0.0b
(pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3)
1.0b
(cbrt.f64 (*.f64 2 (cosh.f64 im)))

series599.0ms (8.3%)

Counts
3 → 48
Calls

3 calls:

296.0ms
(cbrt.f64 (*.f64 2 (cosh.f64 im)))
257.0ms
(pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3)
46.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))

rewrite49.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
563×log-prod_binary64
208×expm1-udef_binary64
208×log1p-udef_binary64
185×pow3_binary64
182×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01328
126622
2286022
Stop Event
node limit
Counts
3 → 90
Calls

3 calls:

47.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))
47.0ms
(pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3)
47.0ms
(cbrt.f64 (*.f64 2 (cosh.f64 im)))

simplify43.0ms (0.6%)

Algorithm
egg-herbie
Rules
664×fma-neg_binary64
477×fma-def_binary64
281×sub-neg_binary64
209×associate-*r*_binary64
195×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0981028
1287975
2891949
33401937
Stop Event
node limit
Counts
138 → 125

prune99.0ms (1.4%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1610161
Fresh011
Picked011
Done033
Total1615166
Error
0b
Counts
166 → 5
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
18.3b
(cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (sin.f64 re)) 3))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (sin.f64 re)) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 2795 to 1786 computations (36.1% saved)

regimes290.0ms (4%)

Accuracy

Total 0.0b remaining (16.9%)

Threshold costs 0.0b (16.9%)

Counts
47 → 1
Compiler

Compiled 3366 to 2670 computations (20.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11818
22018
32118
Stop Event
saturated

end91.0ms (1.3%)

Compiler

Compiled 90 to 71 computations (21.1% saved)

Profiling

Loading profile data...