math.square on complex, imaginary part

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample660.0ms (55.5%)

Memory
-3.7MiB live, 618.3MiB allocated
Samples
422.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 254.0ms
ival-mult: 211.0ms (83.1% of total)
ival-add: 35.0ms (13.8% of total)
ival-true: 5.0ms (2% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain82.0ms (6.9%)

Memory
39.4MiB live, 115.4MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 im re)
031(1.237172134480686e+216 8.146341911267927e+227)0-(+.f64 (*.f64 re im) (*.f64 im re))
00-0-(*.f64 re im)
00-0-re
00-0-im
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
+.f64(+.f64 (*.f64 re im) (*.f64 im re))nan-rescue310
(*.f64 re im)overflow31
(*.f64 im re)overflow31
Confusion
Predicted +Predicted -
+00
-31225
Precision
0.0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-310225
Precision?
0.0
Recall?
0/0
Freqs
test
numberfreq
0225
131
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-100
Precision?
0.0
Recall?
0/0
Samples
23.0ms512×0valid
Compiler

Compiled 86 to 34 computations (60.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 7.0ms (69.3% of total)
ival-add: 2.0ms (19.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess29.0ms (2.4%)

Memory
-25.6MiB live, 58.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01548
13727
27725
321025
438425
540525
057
087
1115
2175
3225
4285
0285
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.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.2%)

Memory
3.6MiB live, 3.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 im re)
cost-diff0
(*.f64 re im)
cost-diff192
(+.f64 (*.f64 re im) (*.f64 im re))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0515
0815
11113
21713
32213
42813
02813
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
re
im
(*.f64 im re)
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 re im)
(*.f64 im re)
re
im
(*.f64 im re)

localize17.0ms (1.4%)

Memory
-9.5MiB live, 29.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 (*.f64 re im) (*.f64 im re))
accuracy0
(*.f64 re im)
accuracy0
(*.f64 im re)
Samples
13.0ms256×0valid
Compiler

Compiled 32 to 12 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (57.4% of total)
ival-add: 2.0ms (38.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.4%)

Memory
9.7MiB live, 9.7MiB allocated
Counts
3 → 72
Calls
Call 1
Inputs
#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())
#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())
#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())
Outputs
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf re) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor 0 im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (+.f64 (*.f64 re im) (*.f64 im re)) (patch (+.f64 (*.f64 re im) (*.f64 im re)) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 re im) (patch (*.f64 re im) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
#s(alt (* im re) (taylor -inf im) (#s(alt (*.f64 im re) (patch (*.f64 im re) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify3.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
05264
19264
216264
318264
018264
Stop Event
iter limit
saturated
Counts
72 → 72
Calls
Call 1
Inputs
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
(* im re)
Outputs
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)
(* im re)
(*.f64 re im)

rewrite29.0ms (2.4%)

Memory
-5.9MiB live, 32.8MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0513
0813
1299
01399
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 18
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(*.f64 re im)
(*.f64 im re)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval7.0ms (0.6%)

Memory
10.6MiB live, 10.6MiB allocated
Compiler

Compiled 684 to 42 computations (93.9% saved)

prune4.0ms (0.3%)

Memory
6.7MiB live, 6.7MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 5 to 4 computations (20% saved)

simplify4.0ms (0.3%)

Memory
2.4MiB live, 2.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 im im)
cost-diff0
(*.f64 re (+.f64 im im))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11310
22010
32410
02410
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 re (+.f64 im im))
re
(+.f64 im im)
im
Outputs
(*.f64 re (+.f64 im im))
(*.f64 (*.f64 #s(literal 2 binary64) im) re)
re
(+.f64 im im)
(*.f64 #s(literal 2 binary64) im)
im

localize50.0ms (4.2%)

Memory
-25.7MiB live, 13.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 im im)
accuracy0
(*.f64 re (+.f64 im im))
Samples
9.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (60.8% of total)
ival-add: 1.0ms (30.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.3%)

Memory
4.3MiB live, 4.3MiB allocated
Counts
2 → 36
Calls
Call 1
Inputs
#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())
#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())
Outputs
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf re) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor 0 im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor 0 im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor 0 im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor 0 im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor 0 im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 (* im re)) (taylor -inf im) (#s(alt (*.f64 re (+.f64 im im)) (patch (*.f64 re (+.f64 im im)) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor -inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor -inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor -inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
#s(alt (* 2 im) (taylor -inf im) (#s(alt (+.f64 im im) (patch (+.f64 im im) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify3.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
06156
110156
216156
317156
017156
Stop Event
iter limit
saturated
Counts
36 → 36
Calls
Call 1
Inputs
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 im)
(* 2 im)
(* 2 im)
(* 2 im)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 im)
(* 2 im)
(* 2 im)
(* 2 im)
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 (* im re))
(* 2 im)
(* 2 im)
(* 2 im)
(* 2 im)
Outputs
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 (* im re))
(*.f64 (*.f64 re im) #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))
(* 2 im)
(*.f64 im #s(literal 2 binary64))

rewrite17.0ms (1.5%)

Memory
10.7MiB live, 10.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1228
01348
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 25
Calls
Call 1
Inputs
(*.f64 re (+.f64 im im))
(+.f64 im im)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval5.0ms (0.4%)

Memory
7.2MiB live, 7.2MiB allocated
Compiler

Compiled 452 to 69 computations (84.7% saved)

prune23.0ms (1.9%)

Memory
-34.4MiB live, 5.2MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

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

Compiled 17 to 11 computations (35.3% saved)

regimes5.0ms (0.4%)

Memory
6.9MiB live, 6.9MiB allocated
Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 re (+.f64 im im))
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(*.f64 re (+.f64 im im))
Calls

3 calls:

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

Compiled 9 to 9 computations (0% saved)

simplify21.0ms (1.8%)

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

Useful iterations: 0 (0.0ms)

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

soundness109.0ms (9.2%)

Memory
-30.8MiB live, 8.2MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0513
0813
1299
01399
Stop Event
done
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 17 to 11 computations (35.3% saved)

preprocess111.0ms (9.3%)

Memory
14.8MiB live, 53.0MiB allocated
Remove

(sort re im)

(negabs re)

(negabs im)

Compiler

Compiled 84 to 66 computations (21.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...