math.square on complex, imaginary part

Time bar (total: 1.4s)

analyze0.0ms (0%)

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

Compiled 10 to 6 computations (40% 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

sample1.1s (79.2%)

Results
994.0ms7250×256valid
87.0ms1005×256infinite
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 180.0ms
Operation ival-mult, time spent: 126.0ms, 70.0% of total-time
Operation ival-add, time spent: 45.0ms, 25.0% of total-time
Operation const, time spent: 9.0ms, 5.0% of total-time
Bogosity

preprocess141.0ms (9.8%)

Algorithm
egg-herbie
Rules
446×fma-define
186×fma-neg
68×distribute-lft-neg-in
60×associate-*r*
56×unsub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-im
00-0-re
00-0-(+.f64 (*.f64 re im) (*.f64 im re))
00-0-(*.f64 re im)
00-0-(*.f64 im re)
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022205
150141
292133
3239133
4465133
5718133
6720133
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re)))
(+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re))
(neg.f64 (+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re))))
(neg.f64 (+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re)))
(+.f64 (*.f64 im re) (*.f64 re im))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
(fma.f64 re im (*.f64 re im))
(*.f64 2 (*.f64 re im))
(*.f64 re (*.f64 2 im))
(*.f64 im (*.f64 re 2))
(+.f64 (*.f64 re im) (*.f64 im re))
(fma.f64 re im (*.f64 re im))
(*.f64 2 (*.f64 re im))
(*.f64 re (*.f64 2 im))
(*.f64 im (*.f64 re 2))
(+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re)))
(fma.f64 re (neg.f64 im) (*.f64 re (neg.f64 im)))
(*.f64 2 (*.f64 re (neg.f64 im)))
(*.f64 re (*.f64 im -2))
(+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re))
(fma.f64 re (neg.f64 im) (*.f64 re (neg.f64 im)))
(*.f64 2 (*.f64 re (neg.f64 im)))
(*.f64 re (*.f64 im -2))
(neg.f64 (+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re))))
(fma.f64 re im (*.f64 re im))
(*.f64 2 (*.f64 re im))
(*.f64 re (*.f64 2 im))
(*.f64 im (*.f64 re 2))
(neg.f64 (+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re)))
(fma.f64 re im (*.f64 re im))
(*.f64 2 (*.f64 re im))
(*.f64 re (*.f64 2 im))
(*.f64 im (*.f64 re 2))
(+.f64 (*.f64 im re) (*.f64 re im))
(fma.f64 re im (*.f64 re im))
(*.f64 2 (*.f64 re im))
(*.f64 re (*.f64 2 im))
(*.f64 im (*.f64 re 2))
Symmetry

(negabs re)

(negabs im)

(sort re im)

Compiler

Compiled 45 to 17 computations (62.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
Operation ival-mult, time spent: 7.0ms, 70.0% of total-time
Operation ival-add, time spent: 3.0ms, 30.0% of total-time
Operation const, time spent: 1.0ms, 10.0% of total-time

eval1.0ms (0%)

Compiler

Compiled 23 to 12 computations (47.8% saved)

prune1.0ms (0.1%)

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

Compiled 7 to 5 computations (28.6% saved)

localize38.0ms (2.6%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
Operation ival-mult, time spent: 13.0ms, 97.0% of total-time
Operation const, time spent: 1.0ms, 7.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.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%
(*.f64 re (*.f64 2 im))
Compiler

Compiled 21 to 13 computations (38.1% saved)

regimes7.0ms (0.5%)

Accuracy

Total -0.0b remaining (-∞%)

Threshold costs -0b (-∞%)

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

3 calls:

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

Compiled 15 to 9 computations (40% saved)

simplify5.0ms (0.4%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
11219
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 re (*.f64 2 im))
Outputs
(*.f64 re (*.f64 2 im))
Compiler

Compiled 7 to 5 computations (28.6% saved)

soundness79.0ms (5.5%)

Rules
446×fma-define
186×fma-neg
68×distribute-lft-neg-in
60×associate-*r*
56×unsub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022205
150141
292133
3239133
4465133
5718133
6720133
Stop Event
saturated
Compiler

Compiled 26 to 11 computations (57.7% saved)

end0.0ms (0%)

preprocess27.0ms (1.9%)

Remove

(sort re im)

(negabs im)

(negabs re)

Compiler

Compiled 116 to 80 computations (31% saved)

Profiling

Loading profile data...