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)

sample707.0ms (58.8%)

Memory
3.6MiB live, 877.9MiB allocated; 187ms collecting garbage
Samples
435.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 129.0ms
ival-mult!: 110.0ms (85.1% of total)
ival-add!: 18.0ms (13.9% of total)
adjust: 2.0ms (1.5% of total)
Bogosity

explain63.0ms (5.3%)

Memory
-38.7MiB live, 107.5MiB allocated; 9ms 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
22.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!: 8.0ms (82.8% of total)
ival-add!: 1.0ms (10.4% of total)
adjust: 0.0ms (0% of total)

preprocess272.0ms (22.6%)

Memory
12.4MiB live, 289.0MiB allocated; 39ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01644
13532
28030
315330
421730
531530
674730
7160230
8357830
057
087
1145
2305
3535
4945
51975
65065
712485
847725
976725
083155
Stop Event
iter-limit
node-limit
iter-limit
node-limit
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.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.2MiB live, 0.2MiB 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.2MiB live, 9.2MiB 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
re
@0
((+ (* re im) (* im re)) (* re im) re im (* im re))
1.0ms
im
@inf
((+ (* re im) (* im re)) (* re im) re im (* im re))

rewrite37.0ms (3.1%)

Memory
7.2MiB live, 54.2MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01548
01944
15032
019832
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
10 → 12
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
#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)

eval1.0ms (0.1%)

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

Compiled 99 to 23 computations (76.8% saved)

prune2.0ms (0.2%)

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

2 alts after pruning (1 fresh and 1 done)

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

Compiled 16 to 12 computations (25% saved)

series2.0ms (0.2%)

Memory
3.4MiB live, 3.4MiB allocated; 0ms 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
0.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)

rewrite41.0ms (3.4%)

Memory
-20.9MiB live, 38.4MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0923
0915
1397
01877
Stop Event
iter-limit
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.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 18 to 7 computations (61.1% saved)

prune1.0ms (0.1%)

Memory
3.4MiB live, 3.4MiB 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.3%
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
Compiler

Compiled 32 to 22 computations (31.3% saved)

regimes4.0ms (0.3%)

Memory
10.0MiB live, 10.0MiB 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)

regimes7.0ms (0.6%)

Memory
-35.4MiB live, 12.7MiB allocated; 3ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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:

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

Compiled 9 to 9 computations (0% saved)

derivations2.0ms (0.1%)

Memory
3.4MiB live, 3.4MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 16 to 10 computations (37.5% saved)

preprocess56.0ms (4.7%)

Memory
14.2MiB live, 108.0MiB allocated; 6ms collecting garbage
Remove

(sort re im)

Compiler

Compiled 178 to 130 computations (27% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...