math.square on complex, real part

Time bar (total: 1.7s)

analyze4.0ms (0.2%)

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
ival-sub: 0.0ms (0% of total)
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)

sample844.0ms (50.3%)

Results
324.0ms4569×0valid
284.0ms3687×0infinite
Precisions
Click to see histograms. Total time spent on operations: 207.0ms
ival-mult: 149.0ms (72.1% of total)
ival-sub: 47.0ms (22.7% of total)
const: 8.0ms (3.9% of total)
backward-pass: 4.0ms (1.9% of total)
Bogosity

preprocess233.0ms (13.9%)

Algorithm
egg-herbie
Rules
890×fma-define
612×sub-neg
575×fma-neg
564×distribute-lft-in
514×distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020229
166217
2174217
3440217
41065217
52042217
63011217
73853217
85641217
96242217
106355217
116469217
126549217
136549217
147930217
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 re re) (*.f64 im im))
(-.f64 (*.f64 re re) (*.f64 im im))
(-.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))
(-.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))
(neg.f64 (-.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)))
(neg.f64 (-.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))))
(-.f64 (*.f64 im im) (*.f64 re re))
Outputs
(-.f64 (*.f64 re re) (*.f64 im im))
(*.f64 (+.f64 re im) (-.f64 re im))
(-.f64 (*.f64 re re) (*.f64 im im))
(*.f64 (+.f64 re im) (-.f64 re im))
(-.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))
(*.f64 (+.f64 re im) (-.f64 re im))
(-.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))
(*.f64 (+.f64 re im) (-.f64 re im))
(neg.f64 (-.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)))
(-.f64 (*.f64 im im) (*.f64 re re))
(neg.f64 (-.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))))
(-.f64 (*.f64 im im) (*.f64 re re))
(-.f64 (*.f64 im im) (*.f64 re re))
Symmetry

(abs re)

(abs im)

explain61.0ms (3.6%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
170-0-(-.f64 (*.f64 re re) (*.f64 im im))
00-0-im
00-0-(*.f64 im im)
00-0-(*.f64 re re)
00-0-re
Results
22.0ms296×256valid
19.0ms216×256infinite
Compiler

Compiled 45 to 17 computations (62.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 8.0ms (72.8% of total)
ival-sub: 3.0ms (27.3% of total)
const: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 9 to 5 computations (44.4% saved)

prune1.0ms (0%)

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

Compiled 9 to 5 computations (44.4% saved)

localize116.0ms (6.9%)

Results
11.0ms148×256valid
97.0ms108×256infinite
Compiler

Compiled 18 to 6 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 6.0ms (65.3% of total)
ival-add: 2.0ms (21.8% of total)
ival-sub: 1.0ms (10.9% of total)
const: 0.0ms (0% of total)

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 (+.f64 re im) (-.f64 re im))
Compiler

Compiled 25 to 13 computations (48% saved)

regimes7.0ms (0.4%)

Accuracy

Total -4.2b remaining (-∞%)

Threshold costs -4.2b (-∞%)

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

5 calls:

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

Compiled 25 to 15 computations (40% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative
sub-neg
*-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
11531
22031
32231
42331
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (+.f64 re im) (-.f64 re im))
Outputs
(*.f64 (+.f64 re im) (-.f64 re im))

soundness383.0ms (22.8%)

Rules
890×fma-define
612×sub-neg
575×fma-neg
564×distribute-lft-in
514×distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020229
166217
2174217
3440217
41065217
52042217
63011217
73853217
85641217
96242217
106355217
116469217
126549217
136549217
147930217
Stop Event
done
node limit
Compiler

Compiled 25 to 13 computations (48% saved)

preprocess25.0ms (1.5%)

Remove

(abs im)

(abs re)

Compiler

Compiled 108 to 60 computations (44.4% saved)

end0.0ms (0%)

Profiling

Loading profile data...