Details

Time bar (total: 2.8s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 22 to 12 computations (45.5% saved)

sample848.0ms (29.9%)

Infinites
44.7% of outputs are infinite.
Results
741.0ms8256×body128valid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify129.0ms (4.5%)

Algorithm
egg-herbie
Rules
680×unsub-neg_binary64
594×fma-neg_binary64
560×sub-neg_binary64
520×fma-def_binary64
399×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01226
13025
27123
319416
457314
5177914
6304814
7413714
8461514
9474914
10478414
11490714
12499814

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
4.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
4.1b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
9.8b
(-.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))
Compiler

Compiled 97 to 51 computations (47.4% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 x.im x.im) -3)
0.5b
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
3.5b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))

series29.0ms (1%)

Counts
3 → 60
Calls

3 calls:

18.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
8.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
2.0ms
(*.f64 (*.f64 x.im x.im) -3)

rewrite11.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
3 → 53
Calls

3 calls:

6.0ms
(*.f64 (*.f64 x.im x.im) -3)
3.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
0.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))

simplify52.0ms (1.8%)

Algorithm
egg-herbie
Rules
652×distribute-rgt-in_binary64
645×distribute-lft-in_binary64
429×fma-def_binary64
175×*-commutative_binary64
160×associate-+l+_binary64
Counts
113 → 93
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0881459
11811302
25251293
311351293
449531293

prune64.0ms (2.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh011
Picked011
Done000
Total91495
Error
3.5b
Counts
95 → 4
Alt Table
StatusErrorProgram
4.1b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
9.8b
(-.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))
25.7b
(pow.f64 x.re 3)
10.8b
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3))
Compiler

Compiled 1513 to 734 computations (51.5% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
2.7b
(-.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))
3.7b
(-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
3.8b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)

series46.0ms (1.6%)

Counts
4 → 96
Calls

4 calls:

14.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
13.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))
12.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
7.0ms
(-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))

rewrite24.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
12×associate-*l/_binary64
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
4 → 82
Calls

4 calls:

6.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))
5.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
5.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
3.0ms
(-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))

simplify90.0ms (3.2%)

Algorithm
egg-herbie
Rules
343×unswap-sqr_binary64
222×associate-*l*_binary64
210×distribute-rgt-out_binary64
207×fma-neg_binary64
202×cancel-sign-sub-inv_binary64
Counts
178 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01632905
14532632
217642513
335922504
447952504

prune104.0ms (3.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1451146
Fresh022
Picked011
Done011
Total1455150
Error
0.0b
Counts
150 → 5
Alt Table
StatusErrorProgram
4.1b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
3.1b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
9.8b
(-.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))
25.7b
(pow.f64 x.re 3)
10.8b
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3))
Compiler

Compiled 4231 to 804 computations (81% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series38.0ms (1.3%)

Counts
3 → 72
Calls

3 calls:

19.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))
14.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
5.0ms
(*.f64 (-.f64 x.re x.im) x.re)

rewrite41.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
42×associate-*l/_binary64
17×flip-+_binary64
17×flip3-+_binary64
16×frac-sub_binary64
12×frac-times_binary64
Counts
3 → 85
Calls

3 calls:

10.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
8.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))
5.0ms
(*.f64 (-.f64 x.re x.im) x.re)

simplify126.0ms (4.4%)

Algorithm
egg-herbie
Rules
600×fma-neg_binary64
595×associate-*l*_binary64
550×associate-*r*_binary64
324×cancel-sign-sub-inv_binary64
307×distribute-rgt-in_binary64
Counts
157 → 148
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02073654
17752962
236462738
343582738
446952738

prune211.0ms (7.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1834187
Fresh112
Picked101
Done112
Total1866192
Error
0b
Counts
192 → 6
Alt Table
StatusErrorProgram
25.7b
(pow.f64 x.re 3)
3.4b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im))))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
3.1b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
4.1b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
3.5b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))) (cbrt.f64 (-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)))) (cbrt.f64 (-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))))
3.4b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
Compiler

Compiled 6529 to 1346 computations (79.4% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 x.re x.im) -2)
0.0b
(*.f64 (-.f64 x.re x.im) x.re)
0.1b
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -2))
2.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))

series42.0ms (1.5%)

Counts
3 → 72
Calls

3 calls:

25.0ms
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
13.0ms
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -2))
5.0ms
(*.f64 (*.f64 x.re x.im) -2)

rewrite12.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
17×pow1_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
3 → 53
Calls

3 calls:

5.0ms
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -2))
4.0ms
(*.f64 (*.f64 x.re x.im) -2)
0.0ms
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))

simplify90.0ms (3.2%)

Algorithm
egg-herbie
Rules
582×fma-neg_binary64
443×unswap-sqr_binary64
385×*-commutative_binary64
248×fma-def_binary64
216×distribute-rgt-in_binary64
Counts
125 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0891604
12041449
27111403
312971381
425771381
547321381
652011381

prune149.0ms (5.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1203123
Fresh314
Picked011
Done011
Total1236129
Error
0b
Counts
129 → 6
Alt Table
StatusErrorProgram
3.1b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
4.1b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
3.3b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im)))) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
3.3b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
4.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x.re (fma.f64 (*.f64 x.im x.im) -2 (*.f64 (+.f64 x.re x.im) (-.f64 x.re x.im))))) (cbrt.f64 (*.f64 x.re (fma.f64 (*.f64 x.im x.im) -2 (*.f64 (+.f64 x.re x.im) (-.f64 x.re x.im)))))) (cbrt.f64 (*.f64 x.re (fma.f64 (*.f64 x.im x.im) -2 (*.f64 (+.f64 x.re x.im) (-.f64 x.re x.im))))))
25.7b
(pow.f64 x.re 3)
Compiler

Compiled 2754 to 933 computations (66.1% saved)

regimes550.0ms (19.4%)

Accuracy

Total 1.9b remaining (99.1%)

Threshold costs 0b (0%)

Counts
111 → 3
Compiler

Compiled 8187 to 4245 computations (48.1% saved)

bsearch27.0ms (0.9%)

Steps
ItersRangePoint
1
6.683892221046906e+46
6.425934896900342e+47
2.0298236451026524e+47
2
-128084.29530163761
-69.54409892658597
-20274.627700358556
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02970
14270
24770
34970
45070
55070

end103.0ms (3.6%)

Compiler

Compiled 238 to 123 computations (48.3% saved)

Profiling

Loading profile data...