math.square on complex, imaginary part

Time bar (total: 1.8s)

analyze335.0ms (18.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
0%0%99.9%0.1%0%0%0%5
0%0%99.9%0.1%0%0%0%6
6.3%6.2%93.7%0.1%0%0%0%7
9.4%9.4%90.5%0.1%0%0%0%8
14.1%14%85.9%0.1%0%0%0%9
16.4%16.4%83.5%0.1%0%0%0%10
19.1%19.1%80.8%0.1%0%0%0%11
20.5%20.5%79.4%0.1%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample917.0ms (49.8%)

Samples
628.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 376.0ms
ival-mult: 266.0ms (70.7% of total)
ival-add: 100.0ms (26.6% of total)
ival-true: 6.0ms (1.6% of total)
ival-assert: 5.0ms (1.3% of total)
Bogosity

preprocess55.0ms (3%)

Algorithm
egg-herbie
Rules
223×fma-define
93×fmm-def
34×distribute-lft-neg-in
32×associate-*r*
27×unsub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022205
150141
292133
3239133
4468133
5721133
6723133
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re)))
(+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re))
(neg.f64 (+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re))))
(neg.f64 (+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re)))
(+.f64 (*.f64 im re) (*.f64 re im))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 re (*.f64 im #s(literal 2 binary64)))
(+.f64 (*.f64 re im) (*.f64 im re))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 re (*.f64 im #s(literal 2 binary64)))
(+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re)))
(fma.f64 re (neg.f64 im) (*.f64 re (neg.f64 im)))
(*.f64 #s(literal 2 binary64) (*.f64 re (neg.f64 im)))
(*.f64 im (*.f64 re #s(literal -2 binary64)))
(+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re))
(fma.f64 re (neg.f64 im) (*.f64 re (neg.f64 im)))
(*.f64 #s(literal 2 binary64) (*.f64 re (neg.f64 im)))
(*.f64 im (*.f64 re #s(literal -2 binary64)))
(neg.f64 (+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re))))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 re (*.f64 im #s(literal 2 binary64)))
(neg.f64 (+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re)))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 re (*.f64 im #s(literal 2 binary64)))
(+.f64 (*.f64 im re) (*.f64 re im))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 re (*.f64 im #s(literal 2 binary64)))
Symmetry

(negabs re)

(negabs im)

(sort re im)

explain61.0ms (3.3%)

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 52 to 24 computations (53.8% saved)

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

eval1.0ms (0%)

Compiler

Compiled 23 to 10 computations (56.5% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 re (*.f64 im #s(literal 2 binary64)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify7.0ms (0.4%)

Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 im #s(literal 2 binary64))
cost-diff0
(*.f64 re (*.f64 im #s(literal 2 binary64)))
Rules
*-commutative
associate-*r*
associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
11438
22138
32338
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))
re
(*.f64 im #s(literal 2 binary64))
im
#s(literal 2 binary64)
Outputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))
re
(*.f64 im #s(literal 2 binary64))
im
#s(literal 2 binary64)

localize17.0ms (0.9%)

Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 re (*.f64 im #s(literal 2 binary64)))
accuracy100.0%
(*.f64 im #s(literal 2 binary64))
Samples
12.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 3.0ms (80.3% of total)
...in/eval/compile.rkt:76:19: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.3%)

Counts
2 → 36
Calls
Call 1
Inputs
#<alt (*.f64 re (*.f64 im #s(literal 2 binary64)))>
#<alt (*.f64 im #s(literal 2 binary64))>
Outputs
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) (*.f64 im re))>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
#<alt (*.f64 #s(literal 2 binary64) im)>
Calls

9 calls:

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

rewrite243.0ms (13.2%)

Algorithm
batch-egg-rewrite
Rules
399×unpow-prod-down
363×log1p-expm1-u
363×expm1-log1p-u
347×add-exp-log
334×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01029
18829
2101229
Stop Event
node limit
Counts
2 → 44
Calls
Call 1
Inputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))
(*.f64 im #s(literal 2 binary64))
Outputs
(+.f64 (*.f64 re im) (*.f64 re im))
(+.f64 #s(literal 0 binary64) (*.f64 re (*.f64 im #s(literal 2 binary64))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 re) im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(-.f64 (+.f64 #s(literal 1 binary64) (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 1 binary64))
(pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(pow.f64 (cbrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 3 binary64))
(pow.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(pow.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64)) #s(literal 1/3 binary64))
(pow.f64 (sqrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64))
(pow.f64 (E.f64) (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))) (sqrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))))
(sqrt.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
(log.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))
(cbrt.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64)))
(expm1.f64 (log1p.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(log1p.f64 (expm1.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(exp.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 3 binary64)))
(exp.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 1/3 binary64)))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 2 binary64)))
(+.f64 im im)
(+.f64 #s(literal 0 binary64) (*.f64 im #s(literal 2 binary64)))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(-.f64 (+.f64 #s(literal 1 binary64) (*.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(pow.f64 (*.f64 im #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 (cbrt.f64 (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))
(pow.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 4 binary64)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (pow.f64 im #s(literal 3 binary64)) #s(literal 8 binary64)) #s(literal 1/3 binary64))
(pow.f64 (sqrt.f64 (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))
(pow.f64 (E.f64) (log.f64 (*.f64 im #s(literal 2 binary64))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64))))) (sqrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))))
(sqrt.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 4 binary64)))
(log.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))
(cbrt.f64 (*.f64 (pow.f64 im #s(literal 3 binary64)) #s(literal 8 binary64)))
(expm1.f64 (log1p.f64 (*.f64 im #s(literal 2 binary64))))
(log1p.f64 (expm1.f64 (*.f64 im #s(literal 2 binary64))))
(exp.f64 (log.f64 (*.f64 im #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 3 binary64)))
(exp.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 1/3 binary64)))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64)))

simplify99.0ms (5.4%)

Algorithm
egg-herbie
Rules
609×prod-exp
464×fmm-def
412×associate-*r*
369×associate-*l*
343×associate-+r+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01261507
12181501
25211495
329081495
455141495
Stop Event
node limit
Counts
80 → 58
Calls
Call 1
Inputs
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(+.f64 (*.f64 re im) (*.f64 re im))
(+.f64 #s(literal 0 binary64) (*.f64 re (*.f64 im #s(literal 2 binary64))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 re) im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(-.f64 (+.f64 #s(literal 1 binary64) (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 1 binary64))
(pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(pow.f64 (cbrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 3 binary64))
(pow.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(pow.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64)) #s(literal 1/3 binary64))
(pow.f64 (sqrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64))
(pow.f64 (E.f64) (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))) (sqrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))))
(sqrt.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
(log.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))
(cbrt.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64)))
(expm1.f64 (log1p.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(log1p.f64 (expm1.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(exp.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 3 binary64)))
(exp.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 1/3 binary64)))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 2 binary64)))
(+.f64 im im)
(+.f64 #s(literal 0 binary64) (*.f64 im #s(literal 2 binary64)))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(-.f64 (+.f64 #s(literal 1 binary64) (*.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(pow.f64 (*.f64 im #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 (cbrt.f64 (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))
(pow.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 4 binary64)) #s(literal 1/2 binary64))
(pow.f64 (*.f64 (pow.f64 im #s(literal 3 binary64)) #s(literal 8 binary64)) #s(literal 1/3 binary64))
(pow.f64 (sqrt.f64 (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))
(pow.f64 (E.f64) (log.f64 (*.f64 im #s(literal 2 binary64))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64))))) (sqrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))))
(sqrt.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 4 binary64)))
(log.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))
(cbrt.f64 (*.f64 (pow.f64 im #s(literal 3 binary64)) #s(literal 8 binary64)))
(expm1.f64 (log1p.f64 (*.f64 im #s(literal 2 binary64))))
(log1p.f64 (expm1.f64 (*.f64 im #s(literal 2 binary64))))
(exp.f64 (log.f64 (*.f64 im #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 3 binary64)))
(exp.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 1/3 binary64)))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64)))
Outputs
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(*.f64 #s(literal 2 binary64) im)
(+.f64 (*.f64 re im) (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(+.f64 #s(literal 0 binary64) (*.f64 re (*.f64 im #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 re) im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 re) im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 re) (*.f64 #s(literal 2 binary64) im)))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 re) im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) (*.f64 #s(literal 2 binary64) re)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(*.f64 #s(literal 2 binary64) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))))
(*.f64 #s(literal 2 binary64) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 re) (*.f64 #s(literal 2 binary64) im)))))
(*.f64 #s(literal 2 binary64) (log.f64 (fabs.f64 (pow.f64 (exp.f64 re) im))))
(-.f64 (+.f64 #s(literal 1 binary64) (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 1 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (cbrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 3 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64)) #s(literal 1/3 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (sqrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (E.f64) (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) (*.f64 im re)))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) (*.f64 im re)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))) (sqrt.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) (*.f64 im re))))) (sqrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) (*.f64 im re)))))
(sqrt.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(log.f64 (pow.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) re))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(cbrt.f64 (pow.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(expm1.f64 (log1p.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(log1p.f64 (expm1.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(exp.f64 (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 3 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(exp.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 1/3 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 re (*.f64 im #s(literal 2 binary64))))) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) (*.f64 im re))
(+.f64 im im)
(*.f64 #s(literal 2 binary64) im)
(+.f64 #s(literal 0 binary64) (*.f64 im #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) im)
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) #s(literal 4 binary64)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 #s(literal 2 binary64)) im))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))))
(*.f64 #s(literal 2 binary64) (log.f64 (fabs.f64 (exp.f64 im))))
(-.f64 (+.f64 #s(literal 1 binary64) (*.f64 im #s(literal 2 binary64))) #s(literal 1 binary64))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (*.f64 im #s(literal 2 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (cbrt.f64 (*.f64 im #s(literal 2 binary64))) #s(literal 3 binary64))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 4 binary64)) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (*.f64 (pow.f64 im #s(literal 3 binary64)) #s(literal 8 binary64)) #s(literal 1/3 binary64))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (sqrt.f64 (*.f64 im #s(literal 2 binary64))) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (E.f64) (log.f64 (*.f64 im #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) im)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) im))) #s(literal 2 binary64))) (cbrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) im))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64))))) (sqrt.f64 (log.f64 (*.f64 im #s(literal 2 binary64)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) im)))) (sqrt.f64 (log.f64 (*.f64 #s(literal 2 binary64) im))))
(sqrt.f64 (*.f64 (pow.f64 im #s(literal 2 binary64)) #s(literal 4 binary64)))
(*.f64 #s(literal 2 binary64) im)
(log.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) im)
(cbrt.f64 (*.f64 (pow.f64 im #s(literal 3 binary64)) #s(literal 8 binary64)))
(*.f64 #s(literal 2 binary64) im)
(expm1.f64 (log1p.f64 (*.f64 im #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) im)
(log1p.f64 (expm1.f64 (*.f64 im #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) im)
(exp.f64 (log.f64 (*.f64 im #s(literal 2 binary64))))
(*.f64 #s(literal 2 binary64) im)
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 3 binary64)))
(*.f64 #s(literal 2 binary64) im)
(exp.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 1/3 binary64)))
(*.f64 #s(literal 2 binary64) im)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 im #s(literal 2 binary64)))) #s(literal 2 binary64)))
(*.f64 #s(literal 2 binary64) im)

eval7.0ms (0.4%)

Compiler

Compiled 591 to 189 computations (68% saved)

prune10.0ms (0.5%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New58058
Fresh000
Picked011
Done000
Total58159
Accuracy
100.0%
Counts
59 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 re (*.f64 im #s(literal 2 binary64)))
Compiler

Compiled 21 to 13 computations (38.1% saved)

regimes5.0ms (0.2%)

Accuracy

Total -0.0b remaining (-∞%)

Threshold costs -0b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))
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 15 to 9 computations (40% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
11219
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))
Outputs
(*.f64 re (*.f64 im #s(literal 2 binary64)))

soundness50.0ms (2.7%)

Rules
223×fma-define
93×fmm-def
34×distribute-lft-neg-in
32×associate-*r*
27×unsub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022205
150141
292133
3239133
4468133
5721133
6723133
Stop Event
done
saturated
Compiler

Compiled 43 to 17 computations (60.5% saved)

preprocess28.0ms (1.5%)

Remove

(sort re im)

(negabs im)

(negabs re)

Compiler

Compiled 116 to 80 computations (31% saved)

end0.0ms (0%)

Profiling

Loading profile data...