math.square on complex, real part

Time bar (total: 988.0ms)

start0.0ms (0%)

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

sample555.0ms (56.2%)

Memory
-39.9MiB live, 865.9MiB allocated; 212ms collecting garbage
Samples
365.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 179.0ms
ival-mult!: 161.0ms (89.9% of total)
ival-sub!: 16.0ms (8.9% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

explain53.0ms (5.4%)

Memory
0.7MiB live, 99.6MiB allocated; 7ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
130-0-(-.f64 (*.f64 re re) (*.f64 im im))
00-0-(*.f64 re re)
00-0-re
00-0-(*.f64 im im)
00-0-im
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 re re) (*.f64 im im))nan-rescue130
(*.f64 re re)overflow62
(*.f64 im im)overflow59
Confusion
Predicted +Predicted -
+130
-0243
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+1300
-00243
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0243
113
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.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 (79.5% of total)
ival-sub!: 1.0ms (15.9% of total)
adjust: 0.0ms (0% of total)

preprocess31.0ms (3.1%)

Memory
-0.3MiB live, 45.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01445
15142
221942
338142
494542
5195242
6294442
7328442
8336242
9336242
10355542
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.9%
(-.f64 (*.f64 re re) (*.f64 im im))
Symmetry

(abs re)

(abs im)

Compiler

Compiled 14 to 10 computations (28.6% saved)

series4.0ms (0.4%)

Memory
9.6MiB live, 9.6MiB allocated; 0ms collecting garbage
Counts
5 → 10
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)))
#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
re
@0
((- (* 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)

rewrite54.0ms (5.4%)

Memory
34.8MiB live, 80.8MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033135
035131
1135130
01189129
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
15 → 129
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)))
#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 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 im im (pow.f64 re #s(literal 2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64)))) (neg.f64 (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))))
(/.f64 (neg.f64 (+.f64 (pow.f64 re #s(literal 6 binary64)) (neg.f64 (pow.f64 im #s(literal 6 binary64))))) (neg.f64 (fma.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 im im (pow.f64 re #s(literal 2 binary64))) (pow.f64 im #s(literal 4 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) (neg.f64 (fma.f64 im im (pow.f64 re #s(literal 2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64)))) (neg.f64 (+.f64 (+.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 re #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re)))
(/.f64 (-.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (+.f64 (+.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 re #s(literal 4 binary64))))
(/.f64 (+.f64 (pow.f64 re #s(literal 6 binary64)) (neg.f64 (pow.f64 im #s(literal 6 binary64)))) (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (neg.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64))))))
(/.f64 (+.f64 (pow.f64 re #s(literal 6 binary64)) (neg.f64 (pow.f64 im #s(literal 6 binary64)))) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 im im (pow.f64 re #s(literal 2 binary64))) (pow.f64 im #s(literal 4 binary64))))
(-.f64 (/.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))) (/.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))))
(-.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 im im (pow.f64 re #s(literal 2 binary64)))) (/.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 im im (pow.f64 re #s(literal 2 binary64)))))
(-.f64 (/.f64 (pow.f64 re #s(literal 6 binary64)) (+.f64 (+.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 re #s(literal 4 binary64)))) (/.f64 (pow.f64 im #s(literal 6 binary64)) (+.f64 (+.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64)) (pow.f64 im #s(literal 4 binary64))) (pow.f64 re #s(literal 4 binary64)))))
(-.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 (neg.f64 (neg.f64 im)) im))
(-.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 im) im) #s(literal -1 binary64)))
(-.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 #s(literal 1 binary64) (pow.f64 im #s(literal 2 binary64))))
(-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))
(-.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 re) re))
(+.f64 (/.f64 (neg.f64 (pow.f64 im #s(literal 6 binary64))) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 im im (pow.f64 re #s(literal 2 binary64))) (pow.f64 im #s(literal 4 binary64)))) (/.f64 (pow.f64 re #s(literal 6 binary64)) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (fma.f64 im im (pow.f64 re #s(literal 2 binary64))) (pow.f64 im #s(literal 4 binary64)))))
(+.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 (neg.f64 im) im))
(+.f64 (*.f64 (neg.f64 im) im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 im)) (neg.f64 im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 im)) (fabs.f64 im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (*.f64 #s(literal -1 binary64) im) im (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 #s(literal 1 binary64) re) re (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 (neg.f64 im)) (neg.f64 im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 (neg.f64 im) im))
(fma.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re)) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 im) (*.f64 (neg.f64 im) #s(literal -1 binary64)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (neg.f64 im) (neg.f64 (neg.f64 im)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (neg.f64 im) im (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 im) im))
(fma.f64 (fabs.f64 im) (*.f64 (fabs.f64 im) #s(literal -1 binary64)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (fabs.f64 im) (neg.f64 (fabs.f64 im)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 (neg.f64 im) im))
(fma.f64 #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 1 binary64) (*.f64 (neg.f64 im) im))
(fma.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 #s(literal -1 binary64) (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 im (*.f64 im #s(literal -1 binary64)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 im (neg.f64 im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 re (*.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 re re (*.f64 (neg.f64 im) im))
(*.f64 (+.f64 (neg.f64 re) (neg.f64 im)) (-.f64 (neg.f64 re) (neg.f64 im)))
(*.f64 (+.f64 (fabs.f64 re) (neg.f64 im)) (-.f64 (fabs.f64 re) (neg.f64 im)))
(*.f64 (+.f64 re (neg.f64 im)) (-.f64 re (neg.f64 im)))
(*.f64 (+.f64 (neg.f64 re) (fabs.f64 im)) (-.f64 (neg.f64 re) (fabs.f64 im)))
(*.f64 (+.f64 (fabs.f64 re) (fabs.f64 im)) (-.f64 (fabs.f64 re) (fabs.f64 im)))
(*.f64 (+.f64 re (fabs.f64 im)) (-.f64 re (fabs.f64 im)))
(*.f64 (+.f64 (neg.f64 re) im) (-.f64 (neg.f64 re) im))
(*.f64 (+.f64 (fabs.f64 re) im) (-.f64 (fabs.f64 re) im))
(*.f64 (-.f64 re im) (+.f64 im re))
(*.f64 (+.f64 im re) (-.f64 re im))
(pow.f64 (exp.f64 (log.f64 re)) #s(literal 2 binary64))
(pow.f64 (neg.f64 re) #s(literal 2 binary64))
(pow.f64 (fabs.f64 re) #s(literal 2 binary64))
(pow.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 re #s(literal 2 binary64))
(/.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 re #s(literal 2 binary64))) #s(literal 2 binary64))
(+.f64 (cosh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 re) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 re) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re)))
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re))
(*.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re))
(*.f64 (*.f64 #s(literal 1 binary64) re) re)
(*.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64)))
(*.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)))
(*.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)))
(*.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)))
(*.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re)))
(*.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64)))
(*.f64 (neg.f64 re) (neg.f64 re))
(*.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64)))
(*.f64 (fabs.f64 re) (fabs.f64 re))
(*.f64 #s(literal 1 binary64) (pow.f64 re #s(literal 2 binary64)))
(*.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 re (*.f64 re #s(literal 1 binary64)))
(*.f64 re re)
(fabs.f64 (pow.f64 re #s(literal 2 binary64)))
(neg.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal -1 binary64)))
(neg.f64 (*.f64 #s(literal -1 binary64) (pow.f64 re #s(literal 2 binary64))))
(neg.f64 (*.f64 (neg.f64 re) re))
re
(pow.f64 (exp.f64 (log.f64 im)) #s(literal 2 binary64))
(pow.f64 (neg.f64 im) #s(literal 2 binary64))
(pow.f64 (fabs.f64 im) #s(literal 2 binary64))
(pow.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 im #s(literal 2 binary64))
(+.f64 (cosh.f64 (*.f64 (log.f64 im) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 im) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64)))
(*.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 im)))
(*.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 im)))
(*.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 im)))
(*.f64 (exp.f64 (log.f64 im)) (exp.f64 (log.f64 im)))
(*.f64 (neg.f64 im) (neg.f64 im))
(*.f64 (fabs.f64 im) (fabs.f64 im))
(*.f64 im im)
(fabs.f64 (pow.f64 im #s(literal 2 binary64)))
(neg.f64 (*.f64 (neg.f64 im) im))
im
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
#s(approx (- (* re re) (* im im)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* re re) (pow.f64 re #s(literal 2 binary64)))
#s(approx re re)
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64)))
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 (fma.f64 (/.f64 im re) (/.f64 im re) #s(literal -1 binary64))) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- (* re re) (* im im)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* im im) (pow.f64 im #s(literal 2 binary64)))
#s(approx im im)
#s(approx (- (* re re) (* im im)) (*.f64 (fma.f64 (/.f64 re im) (/.f64 re im) #s(literal -1 binary64)) (pow.f64 im #s(literal 2 binary64))))

eval14.0ms (1.4%)

Memory
-21.4MiB live, 25.0MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 477 to 301 computations (79.6% saved)

prune3.0ms (0.3%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh000
Picked101
Done000
Total1312133
Accuracy
100.0%
Counts
133 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 re im) (+.f64 im re))
54.3%
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
Compiler

Compiled 19 to 13 computations (31.6% saved)

series6.0ms (0.6%)

Memory
12.5MiB live, 12.5MiB allocated; 0ms collecting garbage
Counts
8 → 38
Calls
Call 1
Inputs
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
(*.f64 (neg.f64 im) im)
(neg.f64 im)
im
(*.f64 (-.f64 re im) (+.f64 im re))
(-.f64 re im)
re
(+.f64 im re)
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 im) (+ im re)) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im)))))))
#s(approx (- re im) #s(hole binary64 (* -1 im)))
#s(approx (- re im) #s(hole binary64 (- re im)))
#s(approx re #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 im))
#s(approx (+ im re) #s(hole binary64 (+ im re)))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2)))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2)))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (pow re 2)))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re)))))))
#s(approx (- re im) #s(hole binary64 re))
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re))))))
#s(approx (+ im re) #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re))))))
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1)))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1)))))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2))))
#s(approx (* (neg im) im) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (neg im) #s(hole binary64 (* -1 im)))
#s(approx im #s(hole binary64 im))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2))))
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im))))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1))))
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1))))
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1))))
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im)))))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1)))))
Calls

6 calls:

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

rewrite42.0ms (4.3%)

Memory
-10.7MiB live, 38.4MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0142609
0145558
0807550
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
46 → 77
Calls
Call 1
Inputs
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
(*.f64 (neg.f64 im) im)
(neg.f64 im)
im
(*.f64 (-.f64 re im) (+.f64 im re))
(-.f64 re im)
re
(+.f64 im re)
#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 im) (+ im re)) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im)))))))
#s(approx (- re im) #s(hole binary64 (* -1 im)))
#s(approx (- re im) #s(hole binary64 (- re im)))
#s(approx re #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 im))
#s(approx (+ im re) #s(hole binary64 (+ im re)))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2)))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2)))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (pow re 2)))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re)))))))
#s(approx (- re im) #s(hole binary64 re))
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re))))))
#s(approx (+ im re) #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re))))))
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1)))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1)))))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2))))
#s(approx (* (neg im) im) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (neg im) #s(hole binary64 (* -1 im)))
#s(approx im #s(hole binary64 im))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2))))
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im))))
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1))))
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1))))
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1))))
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im)))))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1)))))
Outputs
#s(approx (* (- re im) (+ im re)) (*.f64 (neg.f64 im) im))
(*.f64 (neg.f64 im) im)
(*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (pow.f64 im #s(literal 2 binary64)))
(*.f64 im (neg.f64 im))
(neg.f64 (pow.f64 im #s(literal 2 binary64)))
(*.f64 #s(literal -1 binary64) im)
(*.f64 im #s(literal -1 binary64))
(neg.f64 im)
im
(/.f64 (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) (*.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) (fma.f64 re re (pow.f64 im #s(literal 2 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 im) im)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))) (-.f64 (*.f64 (neg.f64 im) im) (pow.f64 re #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)) (fma.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)) (*.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (neg.f64 im) im) #s(literal 3 binary64)) (pow.f64 (pow.f64 re #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 im) im) (-.f64 (*.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) (*.f64 (*.f64 (neg.f64 im) im) (pow.f64 re #s(literal 2 binary64))))))
(-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))
(+.f64 (*.f64 im (-.f64 re im)) (*.f64 re (-.f64 re im)))
(+.f64 (*.f64 (-.f64 re im) im) (*.f64 (-.f64 re im) re))
(+.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 (neg.f64 im) im))
(+.f64 (*.f64 (neg.f64 im) im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im))
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 im) im))
(fma.f64 (neg.f64 im) im (pow.f64 re #s(literal 2 binary64)))
(fma.f64 (-.f64 re im) im (*.f64 (-.f64 re im) re))
(fma.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 #s(literal -1 binary64) (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 im (neg.f64 im) (pow.f64 re #s(literal 2 binary64)))
(fma.f64 im (-.f64 re im) (*.f64 re (-.f64 re im)))
(fma.f64 re re (*.f64 (neg.f64 im) im))
(*.f64 (+.f64 im re) (-.f64 re im))
(*.f64 (-.f64 re im) (+.f64 im re))
(/.f64 (-.f64 (pow.f64 re #s(literal 3 binary64)) (pow.f64 im #s(literal 3 binary64))) (fma.f64 re re (fma.f64 im im (*.f64 re im))))
(/.f64 (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) (+.f64 im re))
(-.f64 re im)
re
(/.f64 (-.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) (-.f64 im re))
(/.f64 (+.f64 (pow.f64 im #s(literal 3 binary64)) (pow.f64 re #s(literal 3 binary64))) (fma.f64 im im (-.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 im re))))
(+.f64 im re)
(+.f64 re im)
#s(approx (* (- re im) (+ im re)) (*.f64 (neg.f64 im) im))
#s(approx (* (- re im) (+ im re)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (neg.f64 im) im))
#s(approx (* (- re im) (+ im re)) (fma.f64 (neg.f64 im) im (*.f64 (*.f64 #s(literal 0 binary64) im) re)))
#s(approx (* (- re im) (+ im re)) (fma.f64 (neg.f64 im) im (*.f64 (+.f64 (+.f64 (neg.f64 im) re) im) re)))
#s(approx (- re im) (neg.f64 im))
#s(approx (- re im) (-.f64 re im))
#s(approx re re)
#s(approx (+ im re) im)
#s(approx (+ im re) (+.f64 im re))
#s(approx (* (- re im) (+ im re)) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 (/.f64 (*.f64 (neg.f64 im) im) (pow.f64 re #s(literal 2 binary64))) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 im re) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 (+.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)) (+.f64 (/.f64 im re) (/.f64 (*.f64 (neg.f64 im) im) (pow.f64 re #s(literal 2 binary64))))) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) re)
#s(approx (- re im) (*.f64 (+.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)) re))
#s(approx (+ im re) re)
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 im re) #s(literal 1 binary64)) re))
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) im) #s(literal -1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) re)) re) #s(literal -1 binary64) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (neg.f64 re) (-.f64 (/.f64 im re) #s(literal 1 binary64))))
#s(approx (+ im re) (*.f64 (neg.f64 re) (-.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64))))
#s(approx (* (- re im) (+ im re)) (-.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (neg im) im) (*.f64 (neg.f64 im) im))
#s(approx (neg im) (neg.f64 im))
#s(approx im im)
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) re) im (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (fma.f64 #s(literal -1 binary64) (+.f64 im re) re) im (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) (+.f64 (neg.f64 im) re))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64))) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal 0 binary64) re) im) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 re im) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (-.f64 (/.f64 re im) #s(literal 1 binary64)) im))
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 re im) #s(literal 1 binary64)) im))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (*.f64 #s(literal 0 binary64) re) im)) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) re (neg.f64 (/.f64 (pow.f64 re #s(literal 2 binary64)) im))) im)) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (neg.f64 im) (+.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64))))
#s(approx (+ im re) (*.f64 (neg.f64 im) (-.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64))))

eval10.0ms (1%)

Memory
-26.9MiB live, 19.0MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 125 to 233 computations (79.3% saved)

prune3.0ms (0.4%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New80181
Fresh000
Picked022
Done000
Total80383
Accuracy
100.0%
Counts
83 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 re im) (+.f64 im re))
55.2%
(*.f64 #s(approx (- re im) re) (+.f64 im re))
54.3%
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
Compiler

Compiled 28 to 19 computations (32.1% saved)

series2.0ms (0.2%)

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

6 calls:

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

rewrite39.0ms (4%)

Memory
30.1MiB live, 70.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119479
0121434
0720426
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 43
Calls
Call 1
Inputs
(*.f64 #s(approx (- re im) re) (+.f64 im re))
#s(approx (- re im) re)
re
(+.f64 im re)
im
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im)))))))
#s(approx (- re im) #s(hole binary64 (* -1 im)))
#s(approx (- re im) #s(hole binary64 (- re im)))
#s(approx re #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 im))
#s(approx (+ im re) #s(hole binary64 (+ im re)))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (pow re 2)))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re)))))))
#s(approx (- re im) #s(hole binary64 re))
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re))))))
#s(approx (+ im re) #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re))))))
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1)))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2))))
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im))))
#s(approx im #s(hole binary64 im))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1))))
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1))))
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1))))
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im)))))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1)))))
Outputs
(+.f64 (*.f64 im #s(approx (- re im) re)) (*.f64 re #s(approx (- re im) re)))
(+.f64 (*.f64 #s(approx (- re im) re) im) (*.f64 #s(approx (- re im) re) re))
(fma.f64 #s(approx (- re im) re) im (*.f64 #s(approx (- re im) re) re))
(fma.f64 im #s(approx (- re im) re) (*.f64 re #s(approx (- re im) re)))
(*.f64 (+.f64 im re) #s(approx (- re im) re))
(*.f64 #s(approx (- re im) re) (+.f64 im re))
#s(approx (- re im) re)
re
(/.f64 (-.f64 (pow.f64 im #s(literal 2 binary64)) (pow.f64 re #s(literal 2 binary64))) (-.f64 im re))
(/.f64 (+.f64 (pow.f64 im #s(literal 3 binary64)) (pow.f64 re #s(literal 3 binary64))) (fma.f64 im im (-.f64 (pow.f64 re #s(literal 2 binary64)) (*.f64 im re))))
(+.f64 im re)
(+.f64 re im)
im
#s(approx (* (- re im) (+ im re)) (neg.f64 (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) im) re (neg.f64 (pow.f64 im #s(literal 2 binary64)))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (+.f64 (+.f64 (neg.f64 im) re) im) re (neg.f64 (pow.f64 im #s(literal 2 binary64)))))
#s(approx (- re im) (neg.f64 im))
#s(approx (- re im) (-.f64 re im))
#s(approx re re)
#s(approx (+ im re) im)
#s(approx (+ im re) (+.f64 im re))
#s(approx (* (- re im) (+ im re)) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 im re) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 (+.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)) (+.f64 (/.f64 (neg.f64 (pow.f64 im #s(literal 2 binary64))) (pow.f64 re #s(literal 2 binary64))) (/.f64 im re))) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) re)
#s(approx (- re im) (*.f64 (+.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)) re))
#s(approx (+ im re) re)
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 im re) #s(literal 1 binary64)) re))
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) im) #s(literal -1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) re)) re) #s(literal -1 binary64) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (neg.f64 re) (-.f64 (/.f64 im re) #s(literal 1 binary64))))
#s(approx (+ im re) (*.f64 (neg.f64 re) (-.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) re) im (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (fma.f64 #s(literal -1 binary64) (+.f64 im re) re) im (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) (+.f64 (neg.f64 im) re))
#s(approx im im)
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal 0 binary64) re) im) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 re im) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (-.f64 (/.f64 re im) #s(literal 1 binary64)) im))
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 re im) #s(literal 1 binary64)) im))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (*.f64 #s(literal 0 binary64) re) im)) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) re (neg.f64 (/.f64 (pow.f64 re #s(literal 2 binary64)) im))) im)) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (neg.f64 im) (+.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64))))
#s(approx (+ im re) (*.f64 (neg.f64 im) (-.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64))))

eval8.0ms (0.8%)

Memory
-24.0MiB live, 14.9MiB allocated; 8ms collecting garbage
Compiler

Compiled 670 to 148 computations (77.9% saved)

prune2.0ms (0.2%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New42244
Fresh000
Picked101
Done022
Total43447
Accuracy
100.0%
Counts
47 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 re im) (+.f64 im re))
55.5%
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
17.5%
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
54.3%
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
Compiler

Compiled 41 to 27 computations (34.1% saved)

series3.0ms (0.3%)

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

6 calls:

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

rewrite56.0ms (5.7%)

Memory
-6.4MiB live, 87.0MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119499
0121454
0715446
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
37 → 39
Calls
Call 1
Inputs
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
#s(approx (- re im) re)
re
#s(approx (+ im re) im)
im
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
#s(approx (+ im re) re)
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* -1 (pow im 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im)))))))
#s(approx (- re im) #s(hole binary64 (* -1 im)))
#s(approx (- re im) #s(hole binary64 (- re im)))
#s(approx re #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 im))
#s(approx (+ im re) #s(hole binary64 (+ im re)))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (pow re 2)))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re))))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re)))))))
#s(approx (- re im) #s(hole binary64 re))
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re))))))
#s(approx (+ im re) #s(hole binary64 re))
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re))))))
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1)))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2))))
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im))))
#s(approx im #s(hole binary64 im))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1))))
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1))))
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im)))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1))))
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1))))
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im)))))))
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1)))))
Outputs
(*.f64 #s(approx (+ im re) im) #s(approx (- re im) re))
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
#s(approx (- re im) re)
re
#s(approx (+ im re) im)
im
(*.f64 #s(approx (+ im re) re) #s(approx (- re im) re))
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
#s(approx (+ im re) re)
#s(approx (* (- re im) (+ im re)) (neg.f64 (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) im) re (neg.f64 (pow.f64 im #s(literal 2 binary64)))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (+.f64 (+.f64 (neg.f64 im) re) im) re (neg.f64 (pow.f64 im #s(literal 2 binary64)))))
#s(approx (- re im) (neg.f64 im))
#s(approx (- re im) (-.f64 re im))
#s(approx re re)
#s(approx (+ im re) im)
#s(approx (+ im re) (+.f64 im re))
#s(approx (* (- re im) (+ im re)) (pow.f64 re #s(literal 2 binary64)))
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 im re) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 (+.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)) (+.f64 (/.f64 (neg.f64 (pow.f64 im #s(literal 2 binary64))) (pow.f64 re #s(literal 2 binary64))) (/.f64 im re))) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) re)
#s(approx (- re im) (*.f64 (+.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)) re))
#s(approx (+ im re) re)
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 im re) #s(literal 1 binary64)) re))
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) im) #s(literal -1 binary64) (/.f64 (pow.f64 im #s(literal 2 binary64)) re)) re) #s(literal -1 binary64) #s(literal 1 binary64)) (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (neg.f64 re) (-.f64 (/.f64 im re) #s(literal 1 binary64))))
#s(approx (+ im re) (*.f64 (neg.f64 re) (-.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) re) im (pow.f64 re #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (fma.f64 (fma.f64 #s(literal -1 binary64) (+.f64 im re) re) im (pow.f64 re #s(literal 2 binary64))))
#s(approx (- re im) (+.f64 (neg.f64 im) re))
#s(approx im im)
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (/.f64 (*.f64 #s(literal 0 binary64) re) im) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 re im) (/.f64 (pow.f64 re #s(literal 2 binary64)) (pow.f64 im #s(literal 2 binary64)))) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (-.f64 (/.f64 re im) #s(literal 1 binary64)) im))
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 re im) #s(literal 1 binary64)) im))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (*.f64 #s(literal 0 binary64) re) im)) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) re (neg.f64 (/.f64 (pow.f64 re #s(literal 2 binary64)) im))) im)) #s(literal 1 binary64)) (pow.f64 im #s(literal 2 binary64))))
#s(approx (- re im) (*.f64 (neg.f64 im) (+.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64))))
#s(approx (+ im re) (*.f64 (neg.f64 im) (-.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64))))

eval4.0ms (0.4%)

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

Compiled 753 to 133 computations (82.3% saved)

prune14.0ms (1.4%)

Memory
-25.0MiB live, 17.4MiB allocated; 11ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New48048
Fresh000
Picked022
Done022
Total48452
Accuracy
100.0%
Counts
52 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (-.f64 re im) (+.f64 im re))
55.5%
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
17.5%
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
54.3%
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
Compiler

Compiled 98 to 49 computations (50% saved)

regimes11.0ms (1.1%)

Memory
29.4MiB live, 29.4MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im))
(*.f64 #s(approx (- re im) re) (+.f64 im re))
(*.f64 (-.f64 re im) (+.f64 im re))
(-.f64 (*.f64 re re) (*.f64 im im))
Outputs
(*.f64 (-.f64 re im) (+.f64 im re))
Calls

5 calls:

2.0ms
im
2.0ms
re
2.0ms
(-.f64 (*.f64 re re) (*.f64 im im))
2.0ms
(*.f64 re re)
2.0ms
(*.f64 im im)
Results
AccuracySegmentsBranch
100.0%1(*.f64 im im)
100.0%1(*.f64 re re)
100.0%1(-.f64 (*.f64 re re) (*.f64 im im))
100.0%1re
100.0%1im
Compiler

Compiled 15 to 15 computations (0% saved)

regimes11.0ms (1.1%)

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

5 calls:

4.0ms
(*.f64 re re)
2.0ms
re
2.0ms
im
1.0ms
(*.f64 im im)
1.0ms
(-.f64 (*.f64 re re) (*.f64 im im))
Results
AccuracySegmentsBranch
79.4%2(*.f64 im im)
78.3%2(*.f64 re re)
97.6%2(-.f64 (*.f64 re re) (*.f64 im im))
78.3%2re
79.4%2im
Compiler

Compiled 15 to 15 computations (0% saved)

regimes6.0ms (0.6%)

Memory
15.9MiB live, 15.9MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
Outputs
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) re))
Calls

5 calls:

1.0ms
re
1.0ms
im
1.0ms
(-.f64 (*.f64 re re) (*.f64 im im))
1.0ms
(*.f64 re re)
1.0ms
(*.f64 im im)
Results
AccuracySegmentsBranch
55.5%1(*.f64 re re)
55.5%1re
55.5%1(*.f64 im im)
55.5%1im
55.5%1(-.f64 (*.f64 re re) (*.f64 im im))
Compiler

Compiled 15 to 15 computations (0% saved)

regimes5.0ms (0.5%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
Outputs
(*.f64 #s(approx (- re im) re) #s(approx (+ im re) im))
Calls

5 calls:

1.0ms
im
1.0ms
re
1.0ms
(-.f64 (*.f64 re re) (*.f64 im im))
1.0ms
(*.f64 im im)
1.0ms
(*.f64 re re)
Results
AccuracySegmentsBranch
17.5%1(*.f64 re re)
17.5%1(-.f64 (*.f64 re re) (*.f64 im im))
17.5%1re
17.5%1(*.f64 im im)
17.5%1im
Compiler

Compiled 15 to 15 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-2.5573269799548223e-284
0.0
Compiler

Compiled 10 to 10 computations (0% saved)

derivations1.0ms (0.1%)

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

Compiled 62 to 24 computations (61.3% saved)

preprocess48.0ms (4.9%)

Memory
-7.8MiB live, 51.3MiB allocated; 36ms collecting garbage
Remove

(abs im)

Compiler

Compiled 408 to 224 computations (45.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...