math.square on complex, real part

Time bar (total: 955.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample698.0ms (73.1%)

Memory
-12.1MiB live, 655.7MiB allocated; 166ms collecting garbage
Samples
395.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-mult!: 153.0ms (89.4% of total)
ival-sub!: 17.0ms (9.9% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

preprocess58.0ms (6.1%)

Memory
-9.6MiB live, 33.2MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
16242
227342
347742
4120242
5463242
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.7%
(-.f64 (*.f64 re re) (*.f64 im im))
Symmetry

(abs re)

(abs im)

Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.4%)

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

6 calls:

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

rewrite176.0ms (18.4%)

Memory
30.8MiB live, 177.7MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
032124
033120
1163119
21182115
Stop Event
iter-limit
unsound
node-limit
iter-limit
Counts
14 → 11
Calls
Call 1
Inputs
(-.f64 (*.f64 re re) (*.f64 im im))
(*.f64 re re)
re
(*.f64 im im)
im
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2))))
#s(approx (* re re) #s(hole binary64 (pow re 2)))
#s(approx re #s(hole binary64 re))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2)))))))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2))))
#s(approx (* im im) #s(hole binary64 (pow im 2)))
#s(approx im #s(hole binary64 im))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1))))
Outputs
(-.f64 (*.f64 re re) (*.f64 im im))
(*.f64 re re)
re
(*.f64 im im)
im
#s(approx (- (* re re) (* im im)) (-.f64 (*.f64 re re) (*.f64 im im)))
#s(approx (* re re) (*.f64 re re))
#s(approx re re)
#s(approx (- (* re re) (* im im)) (-.f64 (*.f64 re re) (*.f64 im im)))
#s(approx (* im im) (*.f64 im im))
#s(approx im im)

eval0.0ms (0%)

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

Compiled 27 to 19 computations (29.6% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New505
Fresh000
Picked011
Done000
Total516
Accuracy
93.7%
Counts
6 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
93.7%
(-.f64 (*.f64 re re) (*.f64 im im))
Compiler

Compiled 10 to 10 computations (0% saved)

derivations0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

preprocess18.0ms (1.9%)

Memory
-29.4MiB live, 16.4MiB allocated; 4ms collecting garbage
Remove

(abs im)

(abs re)

Compiler

Compiled 30 to 30 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...