Details

Time bar (total: 4.5s)

analyze565.0ms (12.5%)

Algorithm
search
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
Compiler

Compiled 8 to 8 computations (0% saved)

sample17.0ms (0.4%)

Algorithm
intervals
Results
7.0ms256×body128valid
1.0ms38×body128invalid
Compiler

Compiled 15 to 19 computations (-26.7% saved)

simplify168.0ms (3.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
016014
116014

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 14 to 14 computations (0% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_1798
flip3--_binary64_1766 diff-log_binary64_1851 flip--_binary64_1737 add-sqr-sqrt_binary64_1783 sub-neg_binary64_1755 *-un-lft-identity_binary64_1762 add-cube-cbrt_binary64_1794 add-cbrt-cube_binary64_1795 add-exp-log_binary64_1797 pow1_binary64_1820
Counts
1 → 11
Calls

1 calls:

6.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series89.0ms (2%)

Counts
1 → 3
Calls

1 calls:

88.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

simplify66.0ms (1.5%)

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
06201286

prune14.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New11314
Fresh000
Picked011
Done000
Total11415

Merged error: 0.0b

Counts
15 → 4
Compiler

Compiled 232 to 75 computations (67.7% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
0.3b
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
1.0b
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
1.0b
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

rewrite36.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64_1783
24×sqrt-prod_binary64_1777
21×pow1_binary64_1820
16×sqrt-div_binary64_1778
14×*-un-lft-identity_binary64_1762 add-cube-cbrt_binary64_1794
10×sqrt-pow1_binary64_1779 pow1/2_binary64_1839
flip3--_binary64_1766 flip--_binary64_1737
swap-sqr_binary64_1729
add-log-exp_binary64_1798 add-cbrt-cube_binary64_1795 add-exp-log_binary64_1797 associate-*l*_binary64_1705 associate-*r*_binary64_1704
pow-prod-up_binary64_1829
frac-times_binary64_1772 unswap-sqr_binary64_1730
pow-sqr_binary64_1735 pow-prod-down_binary64_1830
rem-sqrt-square_binary64_1775 associate-*l/_binary64_1707 associate-*r/_binary64_1706
diff-log_binary64_1851 prod-exp_binary64_1808 pow-plus_binary64_1822 sqrt-unprod_binary64_1781 cbrt-unprod_binary64_1792 rem-square-sqrt_binary64_1774 sub-neg_binary64_1755 *-commutative_binary64_1695 pow2_binary64_1840
Counts
4 → 98
Calls

4 calls:

13.0ms
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
4.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
4.0ms
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

series530.0ms (11.8%)

Counts
4 → 12
Calls

4 calls:

185.0ms
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
181.0ms
(sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
87.0ms
(*.f64 (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))) (sqrt.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
75.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

simplify62.0ms (1.4%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
051002569

prune83.0ms (1.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh022
Picked011
Done011
Total1104114

Merged error: 0.0b

Counts
114 → 4
Compiler

Compiled 2337 to 445 computations (81% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
1.0b
(log.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
2.7b
(exp.f64 (log.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
log-prod_binary64_1845 add-sqr-sqrt_binary64_1783 *-un-lft-identity_binary64_1762 add-cube-cbrt_binary64_1794
add-log-exp_binary64_1798 pow1_binary64_1820
exp-prod_binary64_1811 add-exp-log_binary64_1797 log-div_binary64_1846
flip3--_binary64_1766 flip--_binary64_1737 exp-sum_binary64_1805 add-cbrt-cube_binary64_1795
log-pow_binary64_1848 exp-diff_binary64_1807
diff-log_binary64_1851 rem-exp-log_binary64_1799 sub-neg_binary64_1755 rem-log-exp_binary64_1800
Counts
3 → 42
Calls

3 calls:

5.0ms
(exp.f64 (log.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
4.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
4.0ms
(log.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

series407.0ms (9%)

Counts
3 → 9
Calls

3 calls:

214.0ms
(exp.f64 (log.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
114.0ms
(log.f64 (-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
78.0ms
(-.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

simplify70.0ms (1.5%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050001055

prune37.0ms (0.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New51051
Fresh011
Picked011
Done022
Total51455

Merged error: 0.0b

Counts
55 → 4
Compiler

Compiled 767 to 208 computations (72.9% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.8b
(+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
1.8b
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
4.3b
(*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
37.9b
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))))

rewrite65.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64_1783
29×*-un-lft-identity_binary64_1762
27×times-frac_binary64_1768
20×sqr-pow_binary64_1734 difference-of-squares_binary64_1731
19×add-cube-cbrt_binary64_1794
11×add-cbrt-cube_binary64_1795 add-exp-log_binary64_1797
associate-/l*_binary64_1709 pow1_binary64_1820
add-log-exp_binary64_1798 distribute-rgt-in_binary64_1714 distribute-lft-in_binary64_1713
distribute-lft-out--_binary64_1716 difference-cubes_binary64_1764
associate-*r/_binary64_1706 associate-+r+_binary64_1696
pow-prod-down_binary64_1830 prod-exp_binary64_1808 flip3-+_binary64_1765 associate-/r*_binary64_1708 flip-+_binary64_1736 cbrt-unprod_binary64_1792 associate-*l*_binary64_1705
associate-/r/_binary64_1710 flip3--_binary64_1766 associate-/l/_binary64_1711 flip--_binary64_1737
frac-2neg_binary64_1773 diff-log_binary64_1851 div-sub_binary64_1767 clear-num_binary64_1761 div-inv_binary64_1759 +-commutative_binary64_1694 cbrt-undiv_binary64_1793 div-exp_binary64_1810 sub-neg_binary64_1755 *-commutative_binary64_1695 sum-log_binary64_1850 associate-*r*_binary64_1704
Counts
4 → 112
Calls

4 calls:

19.0ms
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))))
10.0ms
(+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
9.0ms
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
8.0ms
(*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))

series971.0ms (21.6%)

Counts
4 → 12
Calls

4 calls:

355.0ms
(-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3))
319.0ms
(/.f64 (-.f64 (pow.f64 (*.f64 x.re y.re) 3) (pow.f64 (*.f64 x.im y.im) 3)) (+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))))
178.0ms
(+.f64 (*.f64 (*.f64 x.re y.re) (*.f64 x.re y.re)) (*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))))
119.0ms
(*.f64 x.im (*.f64 y.im (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))

simplify94.0ms (2.1%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050747079

prune386.0ms (8.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1240124
Fresh000
Picked011
Done033
Total1244128

Merged error: 0.0b

Counts
128 → 4
Compiler

Compiled 5595 to 1997 computations (64.3% saved)

regimes132.0ms (2.9%)

Compiler

Compiled 909 to 703 computations (22.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03814
13814

end0.0ms (0%)

sample645.0ms (14.3%)

Algorithm
intervals
Results
216.0ms8000×body128valid
39.0ms1398×body128invalid
Compiler

Compiled 140 to 110 computations (21.4% saved)

Profiling

Loading profile data...