math.square on complex, imaginary part

Time bar (total: 970.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample612.0ms (63.1%)

Memory
23.5MiB live, 672.2MiB allocated
Samples
381.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 192.0ms
ival-mult: 122.0ms (63.5% of total)
ival-add: 61.0ms (31.8% of total)
ival-true: 6.0ms (3.1% of total)
ival-assert: 3.0ms (1.6% of total)
Bogosity

explain55.0ms (5.6%)

Memory
35.6MiB live, 82.1MiB allocated
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: 7.0ms (68.6% of total)
ival-add: 2.0ms (19.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess27.0ms (2.7%)

Memory
-15.7MiB live, 28.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01543
13627
28125
315425
420625
523025
057
087
1145
2305
3535
4895
51435
61775
71975
82125
02125
Stop Event
iter limit
saturated
iter limit
saturated
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 im)

(negabs re)

(sort re im)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

series5.0ms (0.6%)

Memory
12.7MiB live, 12.7MiB allocated
Counts
5 → 4
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
re
im
(*.f64 im re)
Outputs
(* 2 (* im re))
(* im re)
re
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))

simplify6.0ms (0.6%)

Memory
8.7MiB live, 8.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
11210
23110
34610
46410
59810
616810
719310
821310
922310
022310
Stop Event
iter limit
saturated
Counts
4 → 2
Calls
Call 1
Inputs
(* 2 (* im re))
(* im re)
re
im
Outputs
(* 2 (* im re))
(*.f64 (*.f64 im re) #s(literal 2 binary64))
(* im re)
(*.f64 im re)
re
im

rewrite115.0ms (11.9%)

Memory
-69.9MiB live, 60.7MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0515
0815
13211
015311
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 24
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
re
im
(*.f64 im re)
Outputs
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 im (+.f64 re re))
(*.f64 re (-.f64 im (neg.f64 im)))
(*.f64 re (+.f64 im im))
(/.f64 (-.f64 (pow.f64 (*.f64 im re) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 im) re) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 im re) #s(literal 2 binary64)) (+.f64 (pow.f64 (*.f64 im re) #s(literal 2 binary64)) (*.f64 (*.f64 im re) (*.f64 (neg.f64 im) re)))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (*.f64 im re) #s(literal 3 binary64)))) (neg.f64 (+.f64 #s(literal 0 binary64) (pow.f64 (*.f64 im re) #s(literal 2 binary64)))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 (*.f64 im re) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (pow.f64 (*.f64 im re) #s(literal 2 binary64))))
(fma.f64 im re (*.f64 (neg.f64 (neg.f64 im)) re))
(fma.f64 im re (*.f64 im re))
(fma.f64 re im (*.f64 (neg.f64 (neg.f64 im)) re))
(fma.f64 re im (*.f64 im re))
(-.f64 (/.f64 (pow.f64 (*.f64 im re) #s(literal 2 binary64)) #s(literal 0 binary64)) (/.f64 (pow.f64 (*.f64 im re) #s(literal 2 binary64)) #s(literal 0 binary64)))
(-.f64 (*.f64 im re) (*.f64 (neg.f64 re) im))
(-.f64 (*.f64 im re) (*.f64 (neg.f64 im) re))
(+.f64 (/.f64 (pow.f64 (*.f64 im re) #s(literal 3 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 (*.f64 im re) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 im re) #s(literal 3 binary64)) (+.f64 #s(literal 0 binary64) (pow.f64 (*.f64 im re) #s(literal 2 binary64)))))
(+.f64 (*.f64 im re) (*.f64 (neg.f64 (neg.f64 im)) re))
(+.f64 (*.f64 im re) (*.f64 im re))
(*.f64 im re)
(*.f64 re im)
re
im
(*.f64 im re)
(*.f64 re im)

eval5.0ms (0.5%)

Memory
9.3MiB live, 9.3MiB allocated
Compiler

Compiled 257 to 55 computations (78.6% saved)

prune1.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New25126
Fresh000
Picked101
Done000
Total26127
Accuracy
100.0%
Counts
27 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 im (+.f64 re re))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

series6.0ms (0.6%)

Memory
10.9MiB live, 10.9MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(*.f64 im (+.f64 re re))
im
(+.f64 re re)
re
Outputs
(* 2 (* im re))
(* 2 re)
re
im
Calls

6 calls:

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

simplify19.0ms (1.9%)

Memory
-27.4MiB live, 17.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11510
23010
34310
46110
59510
615910
718410
820410
921410
021410
Stop Event
iter limit
saturated
Counts
4 → 2
Calls
Call 1
Inputs
(* 2 (* im re))
(* 2 re)
re
im
Outputs
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 re)
(*.f64 #s(literal 2 binary64) re)
re
im

rewrite24.0ms (2.5%)

Memory
43.1MiB live, 43.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
12210
013710
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 26
Calls
Call 1
Inputs
(*.f64 im (+.f64 re re))
im
(+.f64 re re)
re
Outputs
(*.f64 (*.f64 im #s(literal 2 binary64)) re)
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 (*.f64 #s(literal 2 binary64) re) im)
(*.f64 re (+.f64 im im))
(*.f64 im (*.f64 #s(literal 2 binary64) re))
(/.f64 (*.f64 #s(literal 0 binary64) im) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 re #s(literal 3 binary64))) im) (fma.f64 re re #s(literal 0 binary64)))
(/.f64 (*.f64 im #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 im (*.f64 #s(literal 2 binary64) (pow.f64 re #s(literal 3 binary64)))) (fma.f64 re re #s(literal 0 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 re im) (*.f64 re im)) (*.f64 (*.f64 re im) (*.f64 re im))) (-.f64 (*.f64 re im) (*.f64 re im)))
(/.f64 (+.f64 (pow.f64 (*.f64 re im) #s(literal 3 binary64)) (pow.f64 (*.f64 re im) #s(literal 3 binary64))) (fma.f64 (*.f64 re im) (*.f64 re im) (-.f64 (*.f64 (*.f64 re im) (*.f64 re im)) (*.f64 (*.f64 re im) (*.f64 re im)))))
(fma.f64 re im (*.f64 re im))
(fma.f64 im re (*.f64 re im))
(-.f64 (*.f64 re im) (*.f64 (neg.f64 re) im))
(-.f64 (*.f64 re im) (*.f64 (neg.f64 im) re))
(+.f64 (*.f64 re im) (*.f64 re im))
im
(*.f64 #s(literal 2 binary64) re)
(*.f64 re #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 re #s(literal 3 binary64)))) (neg.f64 (fma.f64 re re #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 re #s(literal 3 binary64))) (fma.f64 re re #s(literal 0 binary64)))
(-.f64 (/.f64 (*.f64 re re) #s(literal 0 binary64)) (/.f64 (*.f64 re re) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 re #s(literal 3 binary64)) (fma.f64 re re #s(literal 0 binary64))) (/.f64 (pow.f64 re #s(literal 3 binary64)) (fma.f64 re re #s(literal 0 binary64))))
(+.f64 re re)
re

eval14.0ms (1.5%)

Memory
-33.7MiB live, 10.2MiB allocated
Compiler

Compiled 264 to 67 computations (74.6% saved)

prune1.0ms (0.1%)

Memory
4.3MiB live, 4.3MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done000
Total29130
Accuracy
100.0%
Counts
30 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 im (+.f64 re re))
Compiler

Compiled 17 to 11 computations (35.3% saved)

regimes4.0ms (0.4%)

Memory
11.1MiB live, 11.1MiB allocated
Accuracy

Total -0.0b remaining (-∞%)

Threshold costs -0b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 im (+.f64 re re))
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(*.f64 im (+.f64 re 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)

simplify9.0ms (0.9%)

Memory
21.2MiB live, 21.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 im (+.f64 re re))
Outputs
(*.f64 im (+.f64 re re))

soundness35.0ms (3.6%)

Memory
-11.3MiB live, 43.7MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0515
0815
13211
015311
Stop Event
done
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 17 to 11 computations (35.3% saved)

preprocess33.0ms (3.4%)

Memory
-27.6MiB live, 64.7MiB allocated
Remove

(sort re im)

(negabs re)

(negabs im)

Compiler

Compiled 54 to 42 computations (22.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...