math.square on complex, imaginary part

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample497.0ms (37%)

Memory
4.4MiB live, 462.4MiB allocated; 93ms collecting garbage
Samples
309.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 121.0ms
ival-mult!: 101.0ms (83.7% of total)
ival-add!: 18.0ms (14.9% of total)
adjust: 1.0ms (0.8% of total)
Bogosity

preprocess71.0ms (5.3%)

Memory
2.6MiB live, 54.6MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01642
19718
Stop Event
iter-limit
iter-limit
unsound
Alt Table
Click to see full alt table
StatusAccuracyProgram
62.0%
(+.f64 (*.f64 re im) (*.f64 im re))
Symmetry

(abs re)

(abs im)

(negabs re)

(negabs im)

(sort re im)

Compiler

Compiled 14 to 10 computations (28.6% saved)

series62.0ms (4.6%)

Memory
7.0MiB live, 54.7MiB allocated; 9ms collecting garbage
Counts
5 → 4
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)) (*.f64 #s(literal 2 binary64) (*.f64 im re)))
#s(approx (* re im) (*.f64 im re))
#s(approx re re)
#s(approx im im)
Calls

6 calls:

TimeVariablePoint
1.0ms
im
-inf
1.0ms
re
-inf
1.0ms
re
inf
1.0ms
im
inf
1.0ms
re
0

rewrite132.0ms (9.8%)

Memory
3.9MiB live, 95.3MiB allocated; 19ms collecting garbage
Counts
5 → 14
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
re
im
(*.f64 im re)
Outputs
#s(literal 2 binary64)
#s(literal 0 binary64)
#s(literal 1 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 re #s(literal 2 binary64))
(*.f64 re im)
(*.f64 im re)
(neg.f64 (neg.f64 (*.f64 re im)))
re
im
(neg.f64 (neg.f64 im))
(*.f64 re im)
(*.f64 im re)
(neg.f64 (neg.f64 (*.f64 re im)))

eval2.0ms (0.1%)

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

Compiled 82 to 33 computations (59.8% saved)

prune3.0ms (0.2%)

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New6612
Fresh000
Picked101
Done000
Total7613
Accuracy
100.0%
Counts
13 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
4.6%
(*.f64 re #s(literal 2 binary64))
3.5%
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
62.0%
#s(approx (+ (* re im) (* im re)) (*.f64 #s(literal 2 binary64) (*.f64 im re)))
3.5%
#s(literal 2 binary64)
3.5%
#s(literal 1 binary64)
17.6%
#s(literal 0 binary64)
Compiler

Compiled 44 to 52 computations (-18.2% saved)

series61.0ms (4.5%)

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

6 calls:

TimeVariablePoint
1.0ms
re
-inf
1.0ms
im
-inf
1.0ms
re
inf
1.0ms
im
inf
0.0ms
re
0

rewrite135.0ms (10%)

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

eval3.0ms (0.2%)

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

Compiled 114 to 33 computations (71.1% saved)

prune5.0ms (0.3%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New9110
Fresh101
Picked145
Done000
Total11516
Accuracy
100.0%
Counts
16 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
30.9%
#s(approx (+ (* re im) (* im re)) (*.f64 im re))
62.0%
#s(approx (+ (* re im) (* im re)) (*.f64 #s(literal 2 binary64) (*.f64 im re)))
3.5%
#s(literal 2 binary64)
3.5%
#s(literal 1 binary64)
17.6%
#s(literal 0 binary64)
Compiler

Compiled 27 to 25 computations (7.4% saved)

series69.0ms (5.2%)

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

6 calls:

TimeVariablePoint
2.0ms
re
-inf
1.0ms
im
-inf
1.0ms
im
inf
1.0ms
re
inf
1.0ms
re
0

rewrite154.0ms (11.5%)

Memory
-7.1MiB live, 93.0MiB allocated; 75ms collecting garbage
Counts
4 → 7
Calls
Call 1
Inputs
#s(approx (+ (* re im) (* im re)) (*.f64 im re))
(*.f64 im re)
im
re
Outputs
#s(approx 2 (*.f64 im re))
(*.f64 im re)
(*.f64 re im)
(neg.f64 (neg.f64 (*.f64 im re)))
im
(neg.f64 (neg.f64 im))
re

eval1.0ms (0%)

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

Compiled 83 to 25 computations (69.9% saved)

prune2.0ms (0.1%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New707
Fresh000
Picked011
Done044
Total7512
Accuracy
100.0%
Counts
12 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
30.9%
#s(approx (+ (* re im) (* im re)) (*.f64 im re))
62.0%
#s(approx (+ (* re im) (* im re)) (*.f64 #s(literal 2 binary64) (*.f64 im re)))
3.5%
#s(literal 2 binary64)
3.5%
#s(literal 1 binary64)
17.6%
#s(literal 0 binary64)
Compiler

Compiled 27 to 25 computations (7.4% saved)

regimes22.0ms (1.7%)

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

Total -9.8b remaining (-8.1%)

Threshold costs -9.8b (-8.1%)

Counts
3 → 1
6 → 1
8 → 1
Calls
Call 1
Inputs
#s(literal 0 binary64)
#s(literal 1 binary64)
#s(literal 2 binary64)
Outputs
#s(literal 0 binary64)
Call 2
Inputs
#s(literal 0 binary64)
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(approx (+ (* re im) (* im re)) (*.f64 im re))
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 re #s(literal 2 binary64))
Outputs
#s(approx (+ (* re im) (* im re)) (*.f64 im re))
Call 3
Inputs
#s(literal 0 binary64)
#s(literal 1 binary64)
#s(literal 2 binary64)
#s(approx (+ (* re im) (* im re)) (*.f64 im re))
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 re #s(literal 2 binary64))
#s(approx (+ (* re im) (* im re)) (*.f64 #s(literal 2 binary64) (*.f64 im re)))
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
#s(approx (+ (* re im) (* im re)) (*.f64 #s(literal 2 binary64) (*.f64 im re)))
Calls

9 calls:

3.0ms
im
3.0ms
re
3.0ms
(+.f64 (*.f64 re im) (*.f64 im re))
2.0ms
re
2.0ms
im
Results
AccuracySegmentsBranch
17.6%1(+.f64 (*.f64 re im) (*.f64 im re))
17.6%1re
17.6%1im
30.9%1im
30.9%1(+.f64 (*.f64 re im) (*.f64 im re))
30.9%1re
62.0%1(+.f64 (*.f64 re im) (*.f64 im re))
62.0%1re
62.0%1im
Compiler

Compiled 67 to 43 computations (35.8% saved)

derivations1.0ms (0%)

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

Compiled 25 to 11 computations (56% saved)

preprocess123.0ms (9.2%)

Memory
-15.6MiB live, 173.0MiB allocated; 47ms collecting garbage
Remove

(sort re im)

(negabs im)

(negabs re)

(abs im)

(abs re)

Compiler

Compiled 378 to 270 computations (28.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...