math.square on complex, imaginary part

Time bar (total: 852.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample577.0ms (67.7%)

Memory
13.0MiB live, 910.9MiB allocated; 121ms collecting garbage
Samples
370.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 128.0ms
ival-mult!: 84.0ms (65.6% of total)
ival-add!: 43.0ms (33.6% of total)
adjust: 2.0ms (1.6% of total)
Bogosity

explain52.0ms (6.1%)

Memory
18.4MiB live, 110.9MiB allocated; 6ms 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
18.0ms512×0valid
Compiler

Compiled 41 to 19 computations (53.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult!: 5.0ms (78.1% of total)
ival-add!: 1.0ms (15.6% of total)
adjust: 0.0ms (0% of total)

preprocess58.0ms (6.8%)

Memory
-35.7MiB live, 62.2MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01644
13532
28030
315330
421730
531530
674730
7160230
8357830
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 re im) (*.f64 im re))
Symmetry

(negabs re)

(negabs im)

(sort re im)

Compiler

Compiled 14 to 10 computations (28.6% saved)

series6.0ms (0.7%)

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

rewrite43.0ms (5.1%)

Memory
-10.7MiB live, 80.6MiB allocated; 7ms 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
2.7MiB live, 2.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 99 to 23 computations (76.8% saved)

prune2.0ms (0.2%)

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

Compiled 16 to 12 computations (25% saved)

series2.0ms (0.2%)

Memory
5.1MiB live, 5.1MiB 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
re
@-inf
((+ (* re im) (* im re)) 2)
0.0ms
im
@-inf
((+ (* re im) (* im re)) 2)
0.0ms
re
@0
((+ (* re im) (* im re)) 2)
0.0ms
re
@inf
((+ (* re im) (* im re)) 2)
0.0ms
im
@inf
((+ (* re im) (* im re)) 2)

rewrite39.0ms (4.6%)

Memory
2.7MiB live, 52.1MiB allocated; 10ms 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.0MiB live, 3.0MiB 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.2%
#s(approx (+ (* re im) (* im re)) #s(literal 2 binary64))
Compiler

Compiled 32 to 22 computations (31.3% saved)

regimes4.0ms (0.5%)

Memory
12.9MiB live, 12.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)

regimes6.0ms (0.8%)

Memory
-34.4MiB live, 11.8MiB allocated; 4ms 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:

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

Compiled 9 to 9 computations (0% saved)

derivations2.0ms (0.2%)

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

Compiled 16 to 10 computations (37.5% saved)

preprocess57.0ms (6.7%)

Memory
31.5MiB live, 122.9MiB allocated; 9ms 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...