math.square on complex, imaginary part

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
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 9 to 7 computations (22.2% saved)

sample646.0ms (52.6%)

Memory
35.5MiB live, 644.1MiB allocated; 123ms collecting garbage
Samples
449.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 189.0ms
ival-mult: 135.0ms (71.5% of total)
ival-add: 49.0ms (26% of total)
ival-assert: 3.0ms (1.6% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain371.0ms (30.2%)

Memory
-36.9MiB live, 58.6MiB allocated; 19ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 im re)
00-0-(+.f64 (*.f64 re im) (*.f64 im re))
00-0-(*.f64 re im)
00-0-re
00-0-im
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
339.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 7.0ms (71% of total)
ival-add: 2.0ms (20.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess64.0ms (5.2%)

Memory
14.5MiB live, 59.2MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01944
14032
28530
315830
422230
532030
675230
7160430
8358030
087
0147
0147
Stop Event
saturated
saturated
iter limit
node limit
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
Symmetry

(negabs re)

(negabs im)

(sort re im)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 re im) (*.f64 im re))
Compiler

Compiled 7 to 5 computations (28.6% saved)

series6.0ms (0.5%)

Memory
9.5MiB live, 9.5MiB allocated; 0ms collecting garbage
Counts
5 → 5
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
re
im
(*.f64 im re)
Outputs
#s(approx (+ (* re im) (* im re)) #s(hole binary64 (* 2 (* im re))))
#s(approx (* re im) #s(hole binary64 (* im re)))
#s(approx re #s(hole binary64 re))
#s(approx (* im re) #s(hole binary64 (* im re)))
#s(approx im #s(hole binary64 im))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
im
@-inf
((+ (* re im) (* im re)) (* re im) re im (* im re))
1.0ms
re
@-inf
((+ (* re im) (* im re)) (* re im) re im (* im re))
1.0ms
re
@inf
((+ (* re im) (* im re)) (* re im) re im (* im re))
1.0ms
im
@inf
((+ (* re im) (* im re)) (* re im) re im (* im re))
1.0ms
re
@0
((+ (* re im) (* im re)) (* re im) re im (* im re))

rewrite39.0ms (3.2%)

Memory
10.2MiB live, 55.4MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02254
13650
23850
33950
03948
17036
021836
Stop Event
saturated
iter limit
iter limit
unsound
saturated
Counts
10 → 13
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
re
im
(*.f64 im re)
#s(approx (+ (* re im) (* im re)) #s(hole binary64 (* 2 (* im re))))
#s(approx (* re im) #s(hole binary64 (* im re)))
#s(approx re #s(hole binary64 re))
#s(approx (* im re) #s(hole binary64 (* im re)))
#s(approx im #s(hole binary64 im))
Outputs
(+.f64 (*.f64 im re) (*.f64 im re))
#s(literal 2 binary64)
(*.f64 im re)
(*.f64 re im)
re
im
(*.f64 im re)
(*.f64 re im)
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
#s(approx (* im re) (*.f64 im re))
#s(approx re re)
#s(approx (* im re) (*.f64 im re))
#s(approx im im)

eval2.0ms (0.1%)

Memory
3.1MiB live, 3.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 106 to 23 computations (78.3% saved)

prune2.0ms (0.2%)

Memory
3.6MiB live, 3.6MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13114
Fresh000
Picked011
Done000
Total13215
Accuracy
100.0%
Counts
15 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 re im) (*.f64 im re))
5.1%
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
Compiler

Compiled 16 to 12 computations (25% saved)

series11.0ms (0.9%)

Memory
-45.5MiB live, 7.3MiB allocated; 7ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
#s(approx (+ (* re im) (* im re)) #s(hole binary64 (* 2 (* im re))))
Calls

6 calls:

TimeVariablePointExpression
9.0ms
im
@-inf
((+ (* re im) (* im re)) 2)
0.0ms
re
@-inf
((+ (* re im) (* im re)) 2)
0.0ms
re
@inf
((+ (* re im) (* im re)) 2)
0.0ms
re
@0
((+ (* re im) (* im re)) 2)
0.0ms
im
@inf
((+ (* re im) (* im re)) 2)

rewrite26.0ms (2.2%)

Memory
18.9MiB live, 18.9MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01425
12425
22525
02515
1567
02047
Stop Event
saturated
iter limit
iter limit
unsound
saturated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (+ (* re im) (* im re)) #s(hole binary64 (* 2 (* im re))))
Outputs
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 18 to 7 computations (61.1% saved)

prune1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New202
Fresh000
Picked011
Done011
Total224
Accuracy
100.0%
Counts
4 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 re im) (*.f64 im re))
5.1%
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
Compiler

Compiled 32 to 22 computations (31.3% saved)

regimes4.0ms (0.3%)

Memory
9.9MiB live, 9.9MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
Calls

3 calls:

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

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.3%)

Memory
8.6MiB live, 8.6MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Stop Event
done
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
Outputs
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
Calls

3 calls:

1.0ms
im
1.0ms
re
1.0ms
(+.f64 (*.f64 re im) (*.f64 im re))
Results
AccuracySegmentsBranch
5.1%1(+.f64 (*.f64 re im) (*.f64 im re))
5.1%1re
5.1%1im
Compiler

Compiled 25 to 19 computations (24% saved)

preprocess52.0ms (4.2%)

Memory
-26.1MiB live, 63.4MiB allocated; 10ms collecting garbage
Remove

(sort re im)

(negabs im)

(negabs re)

Compiler

Compiled 172 to 120 computations (30.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...