math.abs on complex

Time bar (total: 2.1s)

analyze1.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
100%99.9%0%0.1%0%0%0%3
Results
Compiler

Compiled 11 to 7 computations (36.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-add, time spent: 0.0ms, 0.0% of total-time
Operation ival-mult, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-sqrt, time spent: 0.0ms, 0.0% of total-time

sample1.7s (79.5%)

Results
1.6s8256×256valid
Precisions
Click to see histograms. Total time spent on operations: 623.0ms
Operation ival-mult, time spent: 415.0ms, 67.0% of total-time
Operation ival-sqrt, time spent: 120.0ms, 19.0% of total-time
Operation ival-add, time spent: 75.0ms, 12.0% of total-time
Operation const, time spent: 13.0ms, 2.0% of total-time
Bogosity

preprocess213.0ms (10.1%)

Algorithm
egg-herbie
Rules
52×fma-neg
45×fma-define
15×distribute-lft-neg-in
15×neg-sub0
14×unsub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1350-1(6.41548335129596e-266 6.187277135709877e-161)(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
00-0-im
00-0-(*.f64 im im)
00-0-(*.f64 re re)
00-0-re
00-0-(+.f64 (*.f64 re re) (*.f64 im im))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02499
15199
29899
318599
428299
532199
633199
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)))
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))))
(neg.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))))
(neg.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))))
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))
Outputs
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(hypot.f64 re im)
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(hypot.f64 re im)
(sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)))
(hypot.f64 re im)
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))))
(hypot.f64 re im)
(neg.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))))
(neg.f64 (hypot.f64 re im))
(neg.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))))
(neg.f64 (hypot.f64 re im))
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))
(hypot.f64 re im)
Symmetry

(abs re)

(abs im)

(sort re im)

Results
Compiler

Compiled 62 to 20 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
Operation ival-mult, time spent: 13.0ms, 49.0% of total-time
Operation ival-sqrt, time spent: 8.0ms, 30.0% of total-time
Operation ival-add, time spent: 5.0ms, 19.0% of total-time
Operation const, time spent: 1.0ms, 4.0% of total-time

eval0.0ms (0%)

Results
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 re im)
Results
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

localize49.0ms (2.4%)

Results
Compiler

Compiled 8 to 4 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
Operation composed, time spent: 15.0ms, 53.0% of total-time
Operation ival-mult, time spent: 6.0ms, 21.0% of total-time
Operation ival-sqrt, time spent: 4.0ms, 14.0% of total-time
Operation ival-add, time spent: 3.0ms, 11.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

eval0.0ms (0%)

Results
Compiler

Compiled 2 to 2 computations (0% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

prune2.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 re im)
Results
Compiler

Compiled 18 to 10 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

regimes18.0ms (0.9%)

Accuracy

Total -31.4b remaining (-∞%)

Threshold costs -31.4b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(hypot.f64 re im)
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Outputs
(hypot.f64 re im)
Calls

6 calls:

6.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
3.0ms
re
3.0ms
im
2.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
2.0ms
(*.f64 im im)
Results
AccuracySegmentsBranch
100.0%1re
100.0%1im
100.0%1(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
100.0%1(+.f64 (*.f64 re re) (*.f64 im im))
100.0%1(*.f64 re re)
100.0%1(*.f64 im im)
Results
Compiler

Compiled 35 to 21 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 re im)
Outputs
(hypot.f64 re im)
Results
Compiler

Compiled 5 to 3 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

soundness90.0ms (4.3%)

Rules
52×fma-neg
45×fma-define
15×distribute-lft-neg-in
15×neg-sub0
14×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02499
15199
29899
318599
428299
532199
633199
Stop Event
saturated
Results
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 0ms

end0.0ms (0%)

preprocess50.0ms (2.4%)

Remove

(sort re im)

(abs im)

(abs re)

Compiler

Compiled 90 to 54 computations (40% saved)

Profiling

Loading profile data...