Details

Time bar (total: 5.4s)

analyze133.0ms (2.5%)

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
25%74.9%0.1%5
25%62.4%12.6%6
31.2%50%18.8%7
40.6%37.5%22%8
45.3%26.5%28.2%9
46.8%19.5%33.7%10
48.8%14%37.2%11
51.7%10.1%38.1%12
52.8%7.1%40.1%13
53.3%5.1%41.6%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample20.0ms (0.4%)

Algorithm
intervals
Results
11.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 39 to 25 computations (35.9% saved)

simplify243.0ms (4.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (144.0ms)

IterNodesCost
0495620
1495620

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
6.1b
Counts
2 → 2
Compiler

Compiled 41 to 29 computations (29.3% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)))
0.2b
(*.f64 (*.f64 x.im x.im) -3)
6.7b
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))

rewrite83.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
6.0b
Rules
17×pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
add-sqr-sqrt_binary64_2487
add-log-exp_binary64_2504 add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
associate-*l*_binary64_2406 associate-*r*_binary64_2405
*-commutative_binary64_2396
unswap-sqr_binary64_2433 sum-log_binary64_2556 flip3-+_binary64_2468 flip-+_binary64_2439 cube-mult_binary64_2495 distribute-lft-out_binary64_2416 +-commutative_binary64_2395
Counts
3 → 52
Calls

3 calls:

10.0ms
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)))
7.0ms
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))
6.0ms
(*.f64 (*.f64 x.im x.im) -3)
Compiler

Compiled 947 to 550 computations (41.9% saved)

series274.0ms (5.1%)

Error
5.9b
Counts
3 → 21
Calls

3 calls:

154.0ms
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)))
79.0ms
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))
26.0ms
(*.f64 (*.f64 x.im x.im) -3)
Compiler

Compiled 555 to 476 computations (14.2% saved)

simplify75.0ms (1.4%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049511038
149511038

prune77.0ms (1.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New68573
Fresh011
Picked011
Done000
Total68775
Error
5.9b
Counts
75 → 7
Compiler

Compiled 1116 to 835 computations (25.2% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))
0.1b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
0.2b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
5.8b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)

rewrite94.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
12×add-sqr-sqrt_binary64_2487 associate-*l/_binary64_2408
pow1_binary64_2526 add-exp-log_binary64_2503 add-log-exp_binary64_2504 add-cbrt-cube_binary64_2501 add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
associate-*l*_binary64_2406
associate-*r*_binary64_2405
flip3--_binary64_2469 flip--_binary64_2440 flip3-+_binary64_2468 flip-+_binary64_2439 frac-sub_binary64_2474
pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 unswap-sqr_binary64_2433 *-commutative_binary64_2396
difference-of-squares_binary64_2434 diff-log_binary64_2557 sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 sum-log_binary64_2556 +-commutative_binary64_2395
Counts
4 → 68
Calls

4 calls:

9.0ms
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
7.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
7.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
4.0ms
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))
Compiler

Compiled 2304 to 309 computations (86.6% saved)

series442.0ms (8.2%)

Error
4.8b
Counts
4 → 36
Calls

4 calls:

159.0ms
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
136.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
69.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
50.0ms
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))
Compiler

Compiled 1392 to 856 computations (38.5% saved)

simplify52.0ms (1%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
046912004
146912004

prune102.0ms (1.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh325
Picked101
Done011
Total1056111
Error
0.0b
Counts
111 → 6
Compiler

Compiled 2336 to 942 computations (59.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x.re (-.f64 x.re x.im))
0.1b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 x.re (-.f64 x.re x.im))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
0.2b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
0.2b
(*.f64 (+.f64 x.re x.im) (*.f64 x.re (-.f64 x.re x.im)))

rewrite187.0ms (3.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
36×distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414
31×cancel-sign-sub-inv_binary64_2431
26×associate-*r/_binary64_2407
25×add-sqr-sqrt_binary64_2487
24×associate-*l/_binary64_2408
23×*-un-lft-identity_binary64_2465
19×add-cube-cbrt_binary64_2500
18×flip3-+_binary64_2468 flip-+_binary64_2439
16×frac-sub_binary64_2474 associate--l+_binary64_2402
13×pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
12×frac-times_binary64_2475
11×flip3--_binary64_2469 flip--_binary64_2440 sub-neg_binary64_2458
10×associate-*l*_binary64_2406
associate-*r*_binary64_2405
add-log-exp_binary64_2504
pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
*-commutative_binary64_2396
unswap-sqr_binary64_2433
distribute-lft-out_binary64_2416 diff-log_binary64_2557 difference-of-squares_binary64_2434 distribute-lft-out--_binary64_2417
Counts
4 → 137
Calls

4 calls:

16.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 x.re (-.f64 x.re x.im))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
12.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 x.re (-.f64 x.re x.im)))
7.0ms
(*.f64 x.re (-.f64 x.re x.im))
7.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
Compiler

Compiled 4904 to 737 computations (85% saved)

series477.0ms (8.8%)

Error
0.0b
Counts
4 → 42
Calls

4 calls:

167.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 x.re (-.f64 x.re x.im))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
141.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 x.re (-.f64 x.re x.im)))
76.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
68.0ms
(*.f64 x.re (-.f64 x.re x.im))
Compiler

Compiled 1680 to 964 computations (42.6% saved)

simplify112.0ms (2.1%)

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
047164129
147164129

prune171.0ms (3.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1754179
Fresh224
Picked011
Done011
Total1778185
Error
0b
Counts
185 → 8
Compiler

Compiled 4315 to 1516 computations (64.9% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x.re (+.f64 x.im x.re))
0.1b
(+.f64 (*.f64 x.re (+.f64 x.im x.re)) (*.f64 2 (*.f64 x.im x.re)))
0.1b
(*.f64 (neg.f64 x.im) (+.f64 (*.f64 x.re (+.f64 x.im x.re)) (*.f64 2 (*.f64 x.im x.re))))
3.1b
(*.f64 (*.f64 x.re x.re) (+.f64 x.re x.im))

rewrite125.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
16×add-sqr-sqrt_binary64_2487
15×*-un-lft-identity_binary64_2465
14×associate-*l*_binary64_2406
13×pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
11×add-cube-cbrt_binary64_2500 associate-*r*_binary64_2405
add-log-exp_binary64_2504 associate-*r/_binary64_2407
pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414 flip3-+_binary64_2468 flip-+_binary64_2439
unswap-sqr_binary64_2433 *-commutative_binary64_2396 distribute-rgt-neg-in_binary64_2423 distribute-lft-neg-in_binary64_2422
distribute-lft-out_binary64_2416 associate-+l+_binary64_2398
distribute-lft-neg-out_binary64_2424 neg-mul-1_binary64_2461 sum-log_binary64_2556 +-commutative_binary64_2395
Counts
4 → 90
Calls

4 calls:

12.0ms
(*.f64 (neg.f64 x.im) (+.f64 (*.f64 x.re (+.f64 x.im x.re)) (*.f64 2 (*.f64 x.im x.re))))
9.0ms
(*.f64 (*.f64 x.re x.re) (+.f64 x.re x.im))
8.0ms
(+.f64 (*.f64 x.re (+.f64 x.im x.re)) (*.f64 2 (*.f64 x.im x.re)))
7.0ms
(*.f64 x.re (+.f64 x.im x.re))
Compiler

Compiled 2717 to 790 computations (70.9% saved)

series473.0ms (8.7%)

Error
0b
Counts
4 → 48
Calls

4 calls:

165.0ms
(*.f64 (neg.f64 x.im) (+.f64 (*.f64 x.re (+.f64 x.im x.re)) (*.f64 2 (*.f64 x.im x.re))))
103.0ms
(+.f64 (*.f64 x.re (+.f64 x.im x.re)) (*.f64 2 (*.f64 x.im x.re)))
99.0ms
(*.f64 (*.f64 x.re x.re) (+.f64 x.re x.im))
69.0ms
(*.f64 x.re (+.f64 x.im x.re))
Compiler

Compiled 2448 to 1404 computations (42.6% saved)

simplify73.0ms (1.4%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049642119
149642119

prune119.0ms (2.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1371138
Fresh145
Picked011
Done022
Total1388146
Error
0b
Counts
146 → 8
Compiler

Compiled 3269 to 1167 computations (64.3% saved)

regimes341.0ms (6.3%)

Accuracy

Total 0.2b remaining (99.1%)

Threshold costs 0.2b (99.1%)

Compiler

Compiled 4560 to 2781 computations (39% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010441
110441

end0.0ms (0%)

sample1.7s (31.3%)

Algorithm
intervals
Results
367.0ms8000×body128valid
18.0ms418×body128invalid
Compiler

Compiled 1564 to 954 computations (39% saved)

Profiling

Loading profile data...