math.cos on complex, real part

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.1MiB live, 0.1MiB 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 13 to 12 computations (7.7% saved)

sample995.0ms (49.2%)

Memory
-8.6MiB live, 544.0MiB allocated; 61ms collecting garbage
Samples
713.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 513.0ms
ival-cos: 189.0ms (36.8% of total)
ival-exp: 112.0ms (21.8% of total)
ival-mult: 109.0ms (21.2% of total)
ival-add: 46.0ms (9% of total)
ival-neg: 44.0ms (8.6% of total)
exact: 7.0ms (1.4% of total)
adjust: 3.0ms (0.6% of total)
ival-assert: 3.0ms (0.6% of total)
Bogosity

explain115.0ms (5.7%)

Memory
33.8MiB live, 81.4MiB allocated; 3ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(exp.f64 im)
00-0-(neg.f64 im)
00-0-(exp.f64 (neg.f64 im))
00-0-(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
00-0-(cos.f64 re)
00-0-im
00-0-(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
00-0-re
00-0-#s(literal 1/2 binary64)
00-0-(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
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
48.0ms512×0valid
Compiler

Compiled 81 to 34 computations (58% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-cos: 12.0ms (38% of total)
ival-exp: 7.0ms (22.2% of total)
ival-mult: 7.0ms (22.2% of total)
ival-add: 2.0ms (6.3% of total)
ival-neg: 2.0ms (6.3% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess245.0ms (12.1%)

Memory
-51.0MiB live, 102.8MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02668
111266
232066
3122238
4732438
01011
01711
14411
212711
353411
426385
083865
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (cosh.f64 im) (cos.f64 re))
Symmetry

(abs re)

(abs im)

Compiler

Compiled 11 to 10 computations (9.1% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 11 to 10 computations (9.1% saved)

series9.0ms (0.4%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Counts
10 → 40
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(exp.f64 (neg.f64 im))
(neg.f64 im)
im
(exp.f64 im)
Outputs
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (* 1/2 (+ (exp im) (exp (neg im))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (* -1/4 (* (pow re 2) (+ (exp im) (exp (neg im))))) (* 1/2 (+ (exp im) (exp (neg im)))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (* 1/2 (+ (exp im) (exp (neg im)))) (* (pow re 2) (+ (* -1/4 (+ (exp im) (exp (neg im)))) (* 1/48 (* (pow re 2) (+ (exp im) (exp (neg im))))))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (* 1/2 (+ (exp im) (exp (neg im)))) (* (pow re 2) (+ (* -1/4 (+ (exp im) (exp (neg im)))) (* (pow re 2) (+ (* -1/1440 (* (pow re 2) (+ (exp im) (exp (neg im))))) (* 1/48 (+ (exp im) (exp (neg im)))))))))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 1/2))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (+ 1/2 (* -1/4 (pow re 2)))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (+ 1/2 (* (pow re 2) (- (* 1/48 (pow re 2)) 1/4)))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (+ 1/2 (* (pow re 2) (- (* (pow re 2) (+ 1/48 (* -1/1440 (pow re 2)))) 1/4)))))
#s(approx (cos re) #s(hole binary64 1))
#s(approx (cos re) #s(hole binary64 (+ 1 (* -1/2 (pow re 2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* 1/24 (pow re 2)) 1/2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* (pow re 2) (+ 1/24 (* -1/720 (pow re 2)))) 1/2)))))
#s(approx re #s(hole binary64 re))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (* 1/2 (* (cos re) (+ (exp im) (exp (neg im)))))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (* 1/2 (cos re))))
#s(approx (cos re) #s(hole binary64 (cos re)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (cos re)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (cos re) (* 1/2 (* (pow im 2) (cos re))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (cos re) (* (pow im 2) (+ (* 1/24 (* (pow im 2) (cos re))) (* 1/2 (cos re)))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (cos re) (* (pow im 2) (+ (* 1/2 (cos re)) (* (pow im 2) (+ (* 1/720 (* (pow im 2) (cos re))) (* 1/24 (cos re)))))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 2))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ 2 (pow im 2))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ 2 (* (pow im 2) (+ 1 (* 1/12 (pow im 2)))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ 2 (* (pow im 2) (+ 1 (* (pow im 2) (+ 1/12 (* 1/360 (pow im 2)))))))))
#s(approx (exp (neg im)) #s(hole binary64 1))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* -1 im))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* 1/2 im) 1)))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* im (+ 1/2 (* -1/6 im))) 1)))))
#s(approx (neg im) #s(hole binary64 (* -1 im)))
#s(approx im #s(hole binary64 im))
#s(approx (exp im) #s(hole binary64 1))
#s(approx (exp im) #s(hole binary64 (+ 1 im)))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* 1/2 im))))))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* im (+ 1/2 (* 1/6 im))))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ (exp im) (exp (neg im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (neg im))))
#s(approx (exp im) #s(hole binary64 (exp im)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (* 1/2 (* (cos re) (+ (exp im) (exp (* -1 im)))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ (exp im) (exp (* -1 im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (* -1 im))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
im
@0
((* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (* 1/2 (cos re)) 1/2 (cos re) re (+ (exp (neg im)) (exp im)) (exp (neg im)) (neg im) im (exp im))
1.0ms
im
@-inf
((* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (* 1/2 (cos re)) 1/2 (cos re) re (+ (exp (neg im)) (exp im)) (exp (neg im)) (neg im) im (exp im))
1.0ms
re
@inf
((* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (* 1/2 (cos re)) 1/2 (cos re) re (+ (exp (neg im)) (exp im)) (exp (neg im)) (neg im) im (exp im))
1.0ms
im
@inf
((* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (* 1/2 (cos re)) 1/2 (cos re) re (+ (exp (neg im)) (exp im)) (exp (neg im)) (neg im) im (exp im))
1.0ms
re
@-inf
((* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (* 1/2 (cos re)) 1/2 (cos re) re (+ (exp (neg im)) (exp im)) (exp (neg im)) (neg im) im (exp im))

rewrite170.0ms (8.4%)

Memory
-3.0MiB live, 86.3MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168681
0179612
11020550
08542512
Stop Event
iter limit
node limit
iter limit
Counts
50 → 132
Calls
Call 1
Inputs
(*.f64 (*.f64 #s(literal 1/2 binary64) (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
#s(literal 1/2 binary64)
(cos.f64 re)
re
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(exp.f64 (neg.f64 im))
(neg.f64 im)
im
(exp.f64 im)
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (* 1/2 (+ (exp im) (exp (neg im))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (* -1/4 (* (pow re 2) (+ (exp im) (exp (neg im))))) (* 1/2 (+ (exp im) (exp (neg im)))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (* 1/2 (+ (exp im) (exp (neg im)))) (* (pow re 2) (+ (* -1/4 (+ (exp im) (exp (neg im)))) (* 1/48 (* (pow re 2) (+ (exp im) (exp (neg im))))))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (* 1/2 (+ (exp im) (exp (neg im)))) (* (pow re 2) (+ (* -1/4 (+ (exp im) (exp (neg im)))) (* (pow re 2) (+ (* -1/1440 (* (pow re 2) (+ (exp im) (exp (neg im))))) (* 1/48 (+ (exp im) (exp (neg im)))))))))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 1/2))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (+ 1/2 (* -1/4 (pow re 2)))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (+ 1/2 (* (pow re 2) (- (* 1/48 (pow re 2)) 1/4)))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (+ 1/2 (* (pow re 2) (- (* (pow re 2) (+ 1/48 (* -1/1440 (pow re 2)))) 1/4)))))
#s(approx (cos re) #s(hole binary64 1))
#s(approx (cos re) #s(hole binary64 (+ 1 (* -1/2 (pow re 2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* 1/24 (pow re 2)) 1/2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* (pow re 2) (+ 1/24 (* -1/720 (pow re 2)))) 1/2)))))
#s(approx re #s(hole binary64 re))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (* 1/2 (* (cos re) (+ (exp im) (exp (neg im)))))))
#s(approx (* 1/2 (cos re)) #s(hole binary64 (* 1/2 (cos re))))
#s(approx (cos re) #s(hole binary64 (cos re)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (cos re)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (cos re) (* 1/2 (* (pow im 2) (cos re))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (cos re) (* (pow im 2) (+ (* 1/24 (* (pow im 2) (cos re))) (* 1/2 (cos re)))))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (+ (cos re) (* (pow im 2) (+ (* 1/2 (cos re)) (* (pow im 2) (+ (* 1/720 (* (pow im 2) (cos re))) (* 1/24 (cos re)))))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 2))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ 2 (pow im 2))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ 2 (* (pow im 2) (+ 1 (* 1/12 (pow im 2)))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ 2 (* (pow im 2) (+ 1 (* (pow im 2) (+ 1/12 (* 1/360 (pow im 2)))))))))
#s(approx (exp (neg im)) #s(hole binary64 1))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* -1 im))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* 1/2 im) 1)))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* im (+ 1/2 (* -1/6 im))) 1)))))
#s(approx (neg im) #s(hole binary64 (* -1 im)))
#s(approx im #s(hole binary64 im))
#s(approx (exp im) #s(hole binary64 1))
#s(approx (exp im) #s(hole binary64 (+ 1 im)))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* 1/2 im))))))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* im (+ 1/2 (* 1/6 im))))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ (exp im) (exp (neg im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (neg im))))
#s(approx (exp im) #s(hole binary64 (exp im)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) #s(hole binary64 (* 1/2 (* (cos re) (+ (exp im) (exp (* -1 im)))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(hole binary64 (+ (exp im) (exp (* -1 im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (* -1 im))))
Outputs
(*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (cosh.f64 im))
(*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 2 binary64)) (cosh.f64 im)) #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 im)) (cos.f64 re))
(*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (*.f64 #s(literal 2 binary64) (cosh.f64 im)))
(*.f64 #s(literal 1/2 binary64) (*.f64 (*.f64 (cos.f64 re) #s(literal 2 binary64)) (cosh.f64 im)))
(/.f64 (-.f64 (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))) (*.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im)))) (*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)))) (-.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im))))
(/.f64 (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 3 binary64))) (fma.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (-.f64 (*.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))) (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (-.f64 (*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im))) (*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im))))))
(neg.f64 (*.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 2 binary64)) (cosh.f64 im)) #s(literal -1/2 binary64)))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 (*.f64 (cos.f64 re) #s(literal 2 binary64)) (cosh.f64 im))))
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(fma.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) (cos.f64 re)) #s(literal 1/2 binary64) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(fma.f64 (*.f64 (exp.f64 im) (cos.f64 re)) #s(literal 1/2 binary64) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(fma.f64 (*.f64 (cos.f64 re) (exp.f64 im)) #s(literal 1/2 binary64) (*.f64 (*.f64 (cos.f64 re) (exp.f64 (neg.f64 im))) #s(literal 1/2 binary64)))
(fma.f64 (exp.f64 im) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(fma.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(fma.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))))
(fma.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im)) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 im) (cos.f64 re)) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 (neg.f64 im)) (cos.f64 re))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (exp.f64 im)) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (exp.f64 (neg.f64 im)))))
(-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (neg.f64 (exp.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(-.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 #s(literal -1/2 binary64) (cos.f64 re)) (exp.f64 im)))
(+.f64 (*.f64 (*.f64 (cos.f64 re) (exp.f64 im)) #s(literal 1/2 binary64)) (*.f64 (*.f64 (cos.f64 re) (exp.f64 (neg.f64 im))) #s(literal 1/2 binary64)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 im) (cos.f64 re))) (*.f64 #s(literal 1/2 binary64) (*.f64 (exp.f64 (neg.f64 im)) (cos.f64 re))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 #s(literal 1/2 binary64) (*.f64 (cos.f64 re) (exp.f64 (neg.f64 im)))))
(+.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(+.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(+.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)))
(*.f64 (cos.f64 re) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (cos.f64 re))
(neg.f64 (*.f64 (cos.f64 re) #s(literal -1/2 binary64)))
(neg.f64 (*.f64 #s(literal -1/2 binary64) (cos.f64 re)))
#s(literal 1/2 binary64)
(fma.f64 (sin.f64 re) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 re) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (+.f64 (neg.f64 re) (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64))))
(cos.f64 (neg.f64 (neg.f64 re)))
(cos.f64 (neg.f64 re))
(cos.f64 re)
(+.f64 (*.f64 (sin.f64 re) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 re) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
re
(*.f64 #s(literal 2 binary64) (cosh.f64 im))
(/.f64 (neg.f64 (-.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (pow.f64 (exp.f64 im) #s(literal 2 binary64)))) (neg.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(/.f64 (neg.f64 (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 #s(literal 2 binary64) (sinh.f64 im)))) (neg.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 im))))
(/.f64 (neg.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 3 binary64))) (pow.f64 (exp.f64 im) #s(literal 3 binary64)))) (neg.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (expm1.f64 (*.f64 im #s(literal 2 binary64))))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 im) #s(literal 3 binary64)) (exp.f64 (*.f64 (neg.f64 im) #s(literal 3 binary64))))) (neg.f64 (fma.f64 (exp.f64 im) (exp.f64 im) (expm1.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))))))
(/.f64 (-.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (pow.f64 (exp.f64 im) #s(literal 2 binary64))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 #s(literal 2 binary64) (sinh.f64 im))) (*.f64 #s(literal 2 binary64) (sinh.f64 im)))
(/.f64 (+.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 3 binary64))) (pow.f64 (exp.f64 im) #s(literal 3 binary64))) (+.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (expm1.f64 (*.f64 im #s(literal 2 binary64)))))
(/.f64 (+.f64 (pow.f64 (exp.f64 im) #s(literal 3 binary64)) (exp.f64 (*.f64 (neg.f64 im) #s(literal 3 binary64)))) (fma.f64 (exp.f64 im) (exp.f64 im) (expm1.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64)))))
(fma.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 im #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 im #s(literal 2 binary64))) (exp.f64 im))
(-.f64 (+.f64 (exp.f64 im) (cosh.f64 im)) (sinh.f64 im))
(-.f64 (/.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (/.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(-.f64 (/.f64 (pow.f64 (exp.f64 im) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (sinh.f64 im))) (/.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (sinh.f64 im))))
(-.f64 (cosh.f64 im) (-.f64 (sinh.f64 im) (exp.f64 im)))
(+.f64 (+.f64 (exp.f64 im) (cosh.f64 im)) (sinh.f64 (neg.f64 im)))
(+.f64 (+.f64 (exp.f64 (neg.f64 im)) (cosh.f64 im)) (sinh.f64 im))
(+.f64 (/.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 3 binary64))) (+.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (expm1.f64 (*.f64 im #s(literal 2 binary64))))) (/.f64 (pow.f64 (exp.f64 im) #s(literal 3 binary64)) (+.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))) (expm1.f64 (*.f64 im #s(literal 2 binary64))))))
(+.f64 (/.f64 (pow.f64 (exp.f64 im) #s(literal 3 binary64)) (fma.f64 (exp.f64 im) (exp.f64 im) (expm1.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))))) (/.f64 (exp.f64 (*.f64 (neg.f64 im) #s(literal 3 binary64))) (fma.f64 (exp.f64 im) (exp.f64 im) (expm1.f64 (*.f64 (neg.f64 im) #s(literal 2 binary64))))))
(+.f64 (cosh.f64 im) (+.f64 (sinh.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (cosh.f64 im) (+.f64 (sinh.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (cosh.f64 im) (cosh.f64 im))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 im #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 im #s(literal 2 binary64))))
(pow.f64 (exp.f64 #s(literal -1 binary64)) im)
(pow.f64 (exp.f64 im) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 im) (cosh.f64 im)) (*.f64 (sinh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))) (-.f64 (cosh.f64 im) (sinh.f64 (neg.f64 im))))
(/.f64 (-.f64 (pow.f64 (cosh.f64 im) #s(literal 3 binary64)) (pow.f64 (sinh.f64 im) #s(literal 3 binary64))) (fma.f64 (cosh.f64 im) (cosh.f64 im) (fma.f64 (sinh.f64 im) (sinh.f64 im) (*.f64 (cosh.f64 im) (sinh.f64 im)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 im) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 im)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 im) (cosh.f64 im) (-.f64 (*.f64 (sinh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im))) (*.f64 (cosh.f64 im) (sinh.f64 (neg.f64 im))))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 im)))
(/.f64 #s(literal 1 binary64) (exp.f64 im))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 im)))
(-.f64 (cosh.f64 im) (sinh.f64 im))
(exp.f64 (-.f64 #s(literal 0 binary64) im))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) im))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 im) (sinh.f64 (neg.f64 im)))
(*.f64 #s(literal -1 binary64) im)
(*.f64 #s(literal 1 binary64) (neg.f64 im))
(*.f64 im #s(literal -1 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (neg.f64 im)))
(neg.f64 im)
im
(/.f64 (+.f64 (pow.f64 (cosh.f64 im) #s(literal 3 binary64)) (pow.f64 (sinh.f64 im) #s(literal 3 binary64))) (fma.f64 (cosh.f64 im) (cosh.f64 im) (-.f64 (*.f64 (sinh.f64 im) (sinh.f64 im)) (*.f64 (cosh.f64 im) (sinh.f64 im)))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 im)))
(exp.f64 im)
(+.f64 (cosh.f64 im) (sinh.f64 im))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (*.f64 #s(literal 1 binary64) (cosh.f64 im)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (fma.f64 #s(literal 1 binary64) (cosh.f64 im) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (fma.f64 #s(literal 1/48 binary64) (*.f64 re re) #s(literal -1/4 binary64))) (*.f64 re re))))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (fma.f64 #s(literal 1 binary64) (cosh.f64 im) (*.f64 (fma.f64 #s(literal -1/2 binary64) (cosh.f64 im) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (fma.f64 #s(literal -1/1440 binary64) (*.f64 re re) #s(literal 1/48 binary64))) (*.f64 re re))) (*.f64 re re))))
#s(approx (* 1/2 (cos re)) #s(literal 1/2 binary64))
#s(approx (* 1/2 (cos re)) (fma.f64 (*.f64 re re) #s(literal -1/4 binary64) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (cos re)) (fma.f64 (fma.f64 #s(literal 1/48 binary64) (*.f64 re re) #s(literal -1/4 binary64)) (*.f64 re re) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (cos re)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/1440 binary64) (*.f64 re re) #s(literal 1/48 binary64)) (*.f64 re re) #s(literal -1/4 binary64)) (*.f64 re re) #s(literal 1/2 binary64)))
#s(approx (cos re) #s(literal 1 binary64))
#s(approx (cos re) (fma.f64 #s(literal -1/2 binary64) (*.f64 re re) #s(literal 1 binary64)))
#s(approx (cos re) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 re re)) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64)))
#s(approx (cos re) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 re re) #s(literal 1/24 binary64)) re) re) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64)))
#s(approx re re)
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (*.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 im)) (cos.f64 re)))
#s(approx (* 1/2 (cos re)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
#s(approx (cos re) (cos.f64 re))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (cos.f64 re))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (*.f64 (fma.f64 (*.f64 im #s(literal 1/2 binary64)) im #s(literal 1 binary64)) (cos.f64 re)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (fma.f64 (*.f64 (cos.f64 re) (fma.f64 #s(literal 1/24 binary64) (*.f64 im im) #s(literal 1/2 binary64))) (*.f64 im im) (cos.f64 re)))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (fma.f64 (fma.f64 (*.f64 im #s(literal 1/2 binary64)) im #s(literal 1 binary64)) (cos.f64 re) (*.f64 (pow.f64 im #s(literal 4 binary64)) (*.f64 (cos.f64 re) (fma.f64 #s(literal 1/720 binary64) (*.f64 im im) #s(literal 1/24 binary64))))))
#s(approx (+ (exp (neg im)) (exp im)) #s(literal 2 binary64))
#s(approx (+ (exp (neg im)) (exp im)) (fma.f64 im im #s(literal 2 binary64)))
#s(approx (+ (exp (neg im)) (exp im)) (fma.f64 im im (fma.f64 (pow.f64 im #s(literal 4 binary64)) #s(literal 1/12 binary64) #s(literal 2 binary64))))
#s(approx (+ (exp (neg im)) (exp im)) (fma.f64 im im (fma.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 #s(literal 1/360 binary64) (*.f64 im im) #s(literal 1/12 binary64)) #s(literal 2 binary64))))
#s(approx (exp (neg im)) #s(literal 1 binary64))
#s(approx (exp (neg im)) (-.f64 #s(literal 1 binary64) im))
#s(approx (exp (neg im)) (fma.f64 (fma.f64 im #s(literal 1/2 binary64) #s(literal -1 binary64)) im #s(literal 1 binary64)))
#s(approx (exp (neg im)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) im #s(literal 1/2 binary64)) im #s(literal -1 binary64)) im #s(literal 1 binary64)))
#s(approx (neg im) (neg.f64 im))
#s(approx im im)
#s(approx (exp im) #s(literal 1 binary64))
#s(approx (exp im) (-.f64 im #s(literal -1 binary64)))
#s(approx (exp im) (fma.f64 (fma.f64 im #s(literal 1/2 binary64) #s(literal 1 binary64)) im #s(literal 1 binary64)))
#s(approx (exp im) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) im #s(literal 1/2 binary64)) im #s(literal 1 binary64)) im #s(literal 1 binary64)))
#s(approx (+ (exp (neg im)) (exp im)) (*.f64 #s(literal 2 binary64) (cosh.f64 im)))
#s(approx (exp (neg im)) (exp.f64 (neg.f64 im)))
#s(approx (exp im) (exp.f64 im))
#s(approx (* (* 1/2 (cos re)) (+ (exp (neg im)) (exp im))) (*.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 im)) (cos.f64 re)))
#s(approx (+ (exp (neg im)) (exp im)) (*.f64 #s(literal 2 binary64) (cosh.f64 im)))
#s(approx (exp (neg im)) (exp.f64 (neg.f64 im)))

eval14.0ms (0.7%)

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

Compiled 2 405 to 470 computations (80.5% saved)

prune145.0ms (7.2%)

Memory
6.2MiB live, 64.9MiB allocated; 3ms collecting garbage
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1301131
Fresh000
Picked101
Done000
Total1311132
Accuracy
100.0%
Counts
132 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
Compiler

Compiled 15 to 11 computations (26.7% saved)

series11.0ms (0.5%)

Memory
7.7MiB live, 7.7MiB allocated; 0ms collecting garbage
Counts
11 → 49
Calls
Call 1
Inputs
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64))
(exp.f64 (neg.f64 im))
(neg.f64 im)
im
#s(literal 1/2 binary64)
(cos.f64 re)
re
(*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))
(*.f64 (exp.f64 im) #s(literal 1/2 binary64))
(exp.f64 im)
Outputs
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (* 1/2 (exp (neg im))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (+ (* 1/2 (exp (neg im))) (* (pow re 2) (+ (* -1/4 (exp im)) (* -1/4 (exp (neg im)))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (+ (* 1/2 (exp (neg im))) (* (pow re 2) (+ (* -1/4 (exp im)) (+ (* -1/4 (exp (neg im))) (* (pow re 2) (+ (* 1/48 (exp im)) (* 1/48 (exp (neg im))))))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (+ (* 1/2 (exp (neg im))) (* (pow re 2) (+ (* -1/4 (exp im)) (+ (* -1/4 (exp (neg im))) (* (pow re 2) (+ (* 1/48 (exp im)) (+ (* 1/48 (exp (neg im))) (* (pow re 2) (+ (* -1/1440 (exp im)) (* -1/1440 (exp (neg im)))))))))))))))
#s(approx (cos re) #s(hole binary64 1))
#s(approx (cos re) #s(hole binary64 (+ 1 (* -1/2 (pow re 2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* 1/24 (pow re 2)) 1/2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* (pow re 2) (+ 1/24 (* -1/720 (pow re 2)))) 1/2)))))
#s(approx re #s(hole binary64 re))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (* 1/2 (exp im))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* -1/4 (* (pow re 2) (exp im))) (* 1/2 (exp im)))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (exp im)) (* (pow re 2) (+ (* -1/4 (exp im)) (* 1/48 (* (pow re 2) (exp im))))))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (exp im)) (* (pow re 2) (+ (* -1/4 (exp im)) (* (pow re 2) (+ (* -1/1440 (* (pow re 2) (exp im))) (* 1/48 (exp im)))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (* (cos re) (exp im))) (* 1/2 (* (cos re) (exp (neg im)))))))
#s(approx (cos re) #s(hole binary64 (cos re)))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (* 1/2 (* (cos re) (exp im)))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (cos re)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (cos re) (* im (+ (* -1/2 (cos re)) (* 1/2 (cos re)))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (cos re) (* im (+ (* -1/2 (cos re)) (+ (* 1/2 (cos re)) (* 1/2 (* im (cos re)))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (cos re) (* im (+ (* -1/2 (cos re)) (+ (* 1/2 (cos re)) (* im (+ (* 1/2 (cos re)) (* im (+ (* -1/12 (cos re)) (* 1/12 (cos re))))))))))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 1/2))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (+ 1/2 (* -1/2 im))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (+ 1/2 (* im (- (* 1/4 im) 1/2)))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (+ 1/2 (* im (- (* im (+ 1/4 (* -1/12 im))) 1/2)))))
#s(approx (exp (neg im)) #s(hole binary64 1))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* -1 im))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* 1/2 im) 1)))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* im (+ 1/2 (* -1/6 im))) 1)))))
#s(approx (neg im) #s(hole binary64 (* -1 im)))
#s(approx im #s(hole binary64 im))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (* 1/2 (cos re))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (cos re)) (* 1/2 (* im (cos re))))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (cos re)) (* im (+ (* 1/4 (* im (cos re))) (* 1/2 (cos re)))))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (cos re)) (* im (+ (* 1/2 (cos re)) (* im (+ (* 1/12 (* im (cos re))) (* 1/4 (cos re)))))))))
#s(approx (* (exp im) 1/2) #s(hole binary64 1/2))
#s(approx (* (exp im) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 im))))
#s(approx (* (exp im) 1/2) #s(hole binary64 (+ 1/2 (* im (+ 1/2 (* 1/4 im))))))
#s(approx (* (exp im) 1/2) #s(hole binary64 (+ 1/2 (* im (+ 1/2 (* im (+ 1/4 (* 1/12 im))))))))
#s(approx (exp im) #s(hole binary64 1))
#s(approx (exp im) #s(hole binary64 (+ 1 im)))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* 1/2 im))))))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* im (+ 1/2 (* 1/6 im))))))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (* 1/2 (exp (neg im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (neg im))))
#s(approx (* (exp im) 1/2) #s(hole binary64 (* 1/2 (exp im))))
#s(approx (exp im) #s(hole binary64 (exp im)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (* (cos re) (exp im))) (* 1/2 (* (cos re) (exp (* -1 im)))))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (* 1/2 (exp (* -1 im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (* -1 im))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
re
@0
((+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (* (exp (neg im)) 1/2) (exp (neg im)) (neg im) im 1/2 (cos re) re (* (* (exp im) 1/2) (cos re)) (* (exp im) 1/2) (exp im))
2.0ms
im
@inf
((+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (* (exp (neg im)) 1/2) (exp (neg im)) (neg im) im 1/2 (cos re) re (* (* (exp im) 1/2) (cos re)) (* (exp im) 1/2) (exp im))
2.0ms
im
@-inf
((+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (* (exp (neg im)) 1/2) (exp (neg im)) (neg im) im 1/2 (cos re) re (* (* (exp im) 1/2) (cos re)) (* (exp im) 1/2) (exp im))
1.0ms
re
@inf
((+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (* (exp (neg im)) 1/2) (exp (neg im)) (neg im) im 1/2 (cos re) re (* (* (exp im) 1/2) (cos re)) (* (exp im) 1/2) (exp im))
1.0ms
re
@-inf
((+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (* (exp (neg im)) 1/2) (exp (neg im)) (neg im) im 1/2 (cos re) re (* (* (exp im) 1/2) (cos re)) (* (exp im) 1/2) (exp im))

rewrite158.0ms (7.8%)

Memory
-18.8MiB live, 117.8MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0225946
0238851
11443809
08311762
Stop Event
iter limit
node limit
iter limit
Counts
60 → 106
Calls
Call 1
Inputs
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64))
(exp.f64 (neg.f64 im))
(neg.f64 im)
im
#s(literal 1/2 binary64)
(cos.f64 re)
re
(*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))
(*.f64 (exp.f64 im) #s(literal 1/2 binary64))
(exp.f64 im)
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (* 1/2 (exp (neg im))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (+ (* 1/2 (exp (neg im))) (* (pow re 2) (+ (* -1/4 (exp im)) (* -1/4 (exp (neg im)))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (+ (* 1/2 (exp (neg im))) (* (pow re 2) (+ (* -1/4 (exp im)) (+ (* -1/4 (exp (neg im))) (* (pow re 2) (+ (* 1/48 (exp im)) (* 1/48 (exp (neg im))))))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (exp im)) (+ (* 1/2 (exp (neg im))) (* (pow re 2) (+ (* -1/4 (exp im)) (+ (* -1/4 (exp (neg im))) (* (pow re 2) (+ (* 1/48 (exp im)) (+ (* 1/48 (exp (neg im))) (* (pow re 2) (+ (* -1/1440 (exp im)) (* -1/1440 (exp (neg im)))))))))))))))
#s(approx (cos re) #s(hole binary64 1))
#s(approx (cos re) #s(hole binary64 (+ 1 (* -1/2 (pow re 2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* 1/24 (pow re 2)) 1/2)))))
#s(approx (cos re) #s(hole binary64 (+ 1 (* (pow re 2) (- (* (pow re 2) (+ 1/24 (* -1/720 (pow re 2)))) 1/2)))))
#s(approx re #s(hole binary64 re))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (* 1/2 (exp im))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* -1/4 (* (pow re 2) (exp im))) (* 1/2 (exp im)))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (exp im)) (* (pow re 2) (+ (* -1/4 (exp im)) (* 1/48 (* (pow re 2) (exp im))))))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (exp im)) (* (pow re 2) (+ (* -1/4 (exp im)) (* (pow re 2) (+ (* -1/1440 (* (pow re 2) (exp im))) (* 1/48 (exp im)))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (* (cos re) (exp im))) (* 1/2 (* (cos re) (exp (neg im)))))))
#s(approx (cos re) #s(hole binary64 (cos re)))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (* 1/2 (* (cos re) (exp im)))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (cos re)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (cos re) (* im (+ (* -1/2 (cos re)) (* 1/2 (cos re)))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (cos re) (* im (+ (* -1/2 (cos re)) (+ (* 1/2 (cos re)) (* 1/2 (* im (cos re)))))))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (cos re) (* im (+ (* -1/2 (cos re)) (+ (* 1/2 (cos re)) (* im (+ (* 1/2 (cos re)) (* im (+ (* -1/12 (cos re)) (* 1/12 (cos re))))))))))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 1/2))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (+ 1/2 (* -1/2 im))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (+ 1/2 (* im (- (* 1/4 im) 1/2)))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (+ 1/2 (* im (- (* im (+ 1/4 (* -1/12 im))) 1/2)))))
#s(approx (exp (neg im)) #s(hole binary64 1))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* -1 im))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* 1/2 im) 1)))))
#s(approx (exp (neg im)) #s(hole binary64 (+ 1 (* im (- (* im (+ 1/2 (* -1/6 im))) 1)))))
#s(approx (neg im) #s(hole binary64 (* -1 im)))
#s(approx im #s(hole binary64 im))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (* 1/2 (cos re))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (cos re)) (* 1/2 (* im (cos re))))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (cos re)) (* im (+ (* 1/4 (* im (cos re))) (* 1/2 (cos re)))))))
#s(approx (* (* (exp im) 1/2) (cos re)) #s(hole binary64 (+ (* 1/2 (cos re)) (* im (+ (* 1/2 (cos re)) (* im (+ (* 1/12 (* im (cos re))) (* 1/4 (cos re)))))))))
#s(approx (* (exp im) 1/2) #s(hole binary64 1/2))
#s(approx (* (exp im) 1/2) #s(hole binary64 (+ 1/2 (* 1/2 im))))
#s(approx (* (exp im) 1/2) #s(hole binary64 (+ 1/2 (* im (+ 1/2 (* 1/4 im))))))
#s(approx (* (exp im) 1/2) #s(hole binary64 (+ 1/2 (* im (+ 1/2 (* im (+ 1/4 (* 1/12 im))))))))
#s(approx (exp im) #s(hole binary64 1))
#s(approx (exp im) #s(hole binary64 (+ 1 im)))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* 1/2 im))))))
#s(approx (exp im) #s(hole binary64 (+ 1 (* im (+ 1 (* im (+ 1/2 (* 1/6 im))))))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (* 1/2 (exp (neg im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (neg im))))
#s(approx (* (exp im) 1/2) #s(hole binary64 (* 1/2 (exp im))))
#s(approx (exp im) #s(hole binary64 (exp im)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) #s(hole binary64 (+ (* 1/2 (* (cos re) (exp im))) (* 1/2 (* (cos re) (exp (* -1 im)))))))
#s(approx (* (exp (neg im)) 1/2) #s(hole binary64 (* 1/2 (exp (* -1 im)))))
#s(approx (exp (neg im)) #s(hole binary64 (exp (* -1 im))))
Outputs
(*.f64 (cos.f64 re) (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im))))
(/.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re)) (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re)))) (fma.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64))) (-.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re)) (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re)) (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 3 binary64)) (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 3 binary64)))) (neg.f64 (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))))))
(/.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64))) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))))
(/.f64 (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))))))
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(fma.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(fma.f64 (exp.f64 im) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(fma.f64 (cos.f64 re) (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(fma.f64 (cos.f64 re) (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(fma.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(-.f64 (/.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))) (/.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))))
(-.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (neg.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64))) (cos.f64 re)))
(+.f64 (/.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))))) (/.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) #s(literal 2 binary64)) (*.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))))))
(+.f64 (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)) (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
(+.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
(*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (exp.f64 (neg.f64 im)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) im)
(pow.f64 (exp.f64 im) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 im) (cosh.f64 im)) (*.f64 (sinh.f64 im) (sinh.f64 im))) (exp.f64 im))
(/.f64 (-.f64 (*.f64 (cosh.f64 im) (cosh.f64 im)) (*.f64 (sinh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im)))) (-.f64 (cosh.f64 im) (sinh.f64 (neg.f64 im))))
(/.f64 (-.f64 (pow.f64 (cosh.f64 im) #s(literal 3 binary64)) (pow.f64 (sinh.f64 im) #s(literal 3 binary64))) (fma.f64 (cosh.f64 im) (cosh.f64 im) (fma.f64 (sinh.f64 im) (sinh.f64 im) (*.f64 (cosh.f64 im) (sinh.f64 im)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 im) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 im)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 im) (cosh.f64 im) (-.f64 (*.f64 (sinh.f64 (neg.f64 im)) (sinh.f64 (neg.f64 im))) (*.f64 (cosh.f64 im) (sinh.f64 (neg.f64 im))))))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 im)))
(/.f64 #s(literal 1 binary64) (exp.f64 im))
(-.f64 (cosh.f64 im) (sinh.f64 im))
(exp.f64 (-.f64 #s(literal 0 binary64) im))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) im))
(exp.f64 (neg.f64 im))
(+.f64 (cosh.f64 im) (sinh.f64 (neg.f64 im)))
(*.f64 #s(literal -1 binary64) im)
(*.f64 im #s(literal -1 binary64))
(neg.f64 im)
im
#s(literal 1/2 binary64)
(fma.f64 (sin.f64 re) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 re) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (+.f64 (neg.f64 re) (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 re (/.f64 (PI.f64) #s(literal 2 binary64))))
(cos.f64 (neg.f64 (neg.f64 re)))
(cos.f64 (neg.f64 re))
(cos.f64 re)
(+.f64 (*.f64 (sin.f64 re) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 re) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
re
(*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re))
(*.f64 (exp.f64 im) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
(*.f64 (cos.f64 re) (*.f64 (exp.f64 im) #s(literal 1/2 binary64)))
(*.f64 (exp.f64 im) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (exp.f64 im))
(/.f64 (-.f64 (*.f64 (cosh.f64 im) (cosh.f64 im)) (*.f64 (sinh.f64 im) (sinh.f64 im))) (exp.f64 (neg.f64 im)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 im) #s(literal 3 binary64)) (pow.f64 (sinh.f64 im) #s(literal 3 binary64))) (fma.f64 (cosh.f64 im) (cosh.f64 im) (-.f64 (*.f64 (sinh.f64 im) (sinh.f64 im)) (*.f64 (cosh.f64 im) (sinh.f64 im)))))
(exp.f64 im)
(+.f64 (cosh.f64 im) (sinh.f64 im))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (*.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im))) (*.f64 re re))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (*.f64 #s(literal 1/48 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im))) (*.f64 re re))) (*.f64 re re))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (fma.f64 #s(literal -1/4 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (fma.f64 #s(literal 1/48 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im)) (*.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 im))) (*.f64 re re))) (*.f64 re re))) (*.f64 re re))))
#s(approx (cos re) #s(literal 1 binary64))
#s(approx (cos re) (fma.f64 #s(literal -1/2 binary64) (*.f64 re re) #s(literal 1 binary64)))
#s(approx (cos re) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 re re)) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64)))
#s(approx (cos re) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 re re) #s(literal 1/24 binary64)) (*.f64 re re)) #s(literal 1/2 binary64)) (*.f64 re re) #s(literal 1 binary64)))
#s(approx re re)
#s(approx (* (* (exp im) 1/2) (cos re)) (*.f64 (exp.f64 im) #s(literal 1/2 binary64)))
#s(approx (* (* (exp im) 1/2) (cos re)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 re re)) (exp.f64 im) (*.f64 (exp.f64 im) #s(literal 1/2 binary64))))
#s(approx (* (* (exp im) 1/2) (cos re)) (fma.f64 (fma.f64 (*.f64 #s(literal 1/48 binary64) (*.f64 re re)) (exp.f64 im) (*.f64 #s(literal -1/4 binary64) (exp.f64 im))) (*.f64 re re) (*.f64 (exp.f64 im) #s(literal 1/2 binary64))))
#s(approx (* (* (exp im) 1/2) (cos re)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal -1/1440 binary64) (*.f64 re re)) (exp.f64 im) (*.f64 #s(literal 1/48 binary64) (exp.f64 im))) (*.f64 re re) (*.f64 #s(literal -1/4 binary64) (exp.f64 im))) (*.f64 re re) (*.f64 (exp.f64 im) #s(literal 1/2 binary64))))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (*.f64 #s(literal 1/2 binary64) (fma.f64 (exp.f64 im) (cos.f64 re) (*.f64 (cos.f64 re) (exp.f64 (neg.f64 im))))))
#s(approx (cos re) (cos.f64 re))
#s(approx (* (* (exp im) 1/2) (cos re)) (*.f64 (*.f64 (cos.f64 re) #s(literal 1/2 binary64)) (exp.f64 im)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (cos.f64 re))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (fma.f64 (*.f64 (cos.f64 re) #s(literal 0 binary64)) im (cos.f64 re)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (fma.f64 (fma.f64 (cos.f64 re) #s(literal 0 binary64) (*.f64 (*.f64 (cos.f64 re) im) #s(literal 1/2 binary64))) im (cos.f64 re)))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (fma.f64 (fma.f64 (cos.f64 re) #s(literal 0 binary64) (*.f64 (fma.f64 (*.f64 (cos.f64 re) #s(literal 0 binary64)) im (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) im)) im (cos.f64 re)))
#s(approx (* (exp (neg im)) 1/2) #s(literal 1/2 binary64))
#s(approx (* (exp (neg im)) 1/2) (fma.f64 #s(literal -1/2 binary64) im #s(literal 1/2 binary64)))
#s(approx (* (exp (neg im)) 1/2) (fma.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) im) #s(literal 1/2 binary64)) im #s(literal 1/2 binary64)))
#s(approx (* (exp (neg im)) 1/2) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/12 binary64) im #s(literal 1/4 binary64)) im) #s(literal 1/2 binary64)) im #s(literal 1/2 binary64)))
#s(approx (exp (neg im)) #s(literal 1 binary64))
#s(approx (exp (neg im)) (fma.f64 #s(literal -1 binary64) im #s(literal 1 binary64)))
#s(approx (exp (neg im)) (fma.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) im) #s(literal 1 binary64)) im #s(literal 1 binary64)))
#s(approx (exp (neg im)) (fma.f64 (-.f64 (*.f64 (fma.f64 #s(literal -1/6 binary64) im #s(literal 1/2 binary64)) im) #s(literal 1 binary64)) im #s(literal 1 binary64)))
#s(approx (neg im) (neg.f64 im))
#s(approx im im)
#s(approx (* (* (exp im) 1/2) (cos re)) (*.f64 (cos.f64 re) #s(literal 1/2 binary64)))
#s(approx (* (* (exp im) 1/2) (cos re)) (*.f64 #s(literal 1/2 binary64) (+.f64 (cos.f64 re) (*.f64 (cos.f64 re) im))))
#s(approx (* (* (exp im) 1/2) (cos re)) (fma.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 (cos.f64 re) im) (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) im (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
#s(approx (* (* (exp im) 1/2) (cos re)) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/4 binary64) (cos.f64 re) (*.f64 #s(literal 1/12 binary64) (*.f64 (cos.f64 re) im))) im (*.f64 (cos.f64 re) #s(literal 1/2 binary64))) im (*.f64 (cos.f64 re) #s(literal 1/2 binary64))))
#s(approx (* (exp im) 1/2) #s(literal 1/2 binary64))
#s(approx (* (exp im) 1/2) (fma.f64 #s(literal 1/2 binary64) im #s(literal 1/2 binary64)))
#s(approx (* (exp im) 1/2) (fma.f64 (fma.f64 #s(literal 1/4 binary64) im #s(literal 1/2 binary64)) im #s(literal 1/2 binary64)))
#s(approx (* (exp im) 1/2) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/12 binary64) im #s(literal 1/4 binary64)) im #s(literal 1/2 binary64)) im #s(literal 1/2 binary64)))
#s(approx (exp im) #s(literal 1 binary64))
#s(approx (exp im) (+.f64 #s(literal 1 binary64) im))
#s(approx (exp im) (fma.f64 (fma.f64 #s(literal 1/2 binary64) im #s(literal 1 binary64)) im #s(literal 1 binary64)))
#s(approx (exp im) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) im #s(literal 1/2 binary64)) im #s(literal 1 binary64)) im #s(literal 1 binary64)))
#s(approx (* (exp (neg im)) 1/2) (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)))
#s(approx (exp (neg im)) (exp.f64 (neg.f64 im)))
#s(approx (* (exp im) 1/2) (*.f64 (exp.f64 im) #s(literal 1/2 binary64)))
#s(approx (exp im) (exp.f64 im))
#s(approx (+ (* (* (exp (neg im)) 1/2) (cos re)) (* (* (exp im) 1/2) (cos re))) (*.f64 #s(literal 1/2 binary64) (fma.f64 (exp.f64 im) (cos.f64 re) (*.f64 (cos.f64 re) (exp.f64 (neg.f64 im))))))
#s(approx (* (exp (neg im)) 1/2) (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)))
#s(approx (exp (neg im)) (exp.f64 (neg.f64 im)))

eval15.0ms (0.7%)

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

Compiled 2 918 to 432 computations (85.2% saved)

prune95.0ms (4.7%)

Memory
-25.3MiB live, 124.7MiB allocated; 5ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done000
Total1201121
Accuracy
100.0%
Counts
121 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (*.f64 (exp.f64 (neg.f64 im)) #s(literal 1/2 binary64)) (cos.f64 re) (*.f64 (*.f64 (exp.f64 im) #s(literal 1/2 binary64)) (cos.f64 re)))
Compiler

Compiled 41 to 32 computations (22% saved)

derivations31.0ms (1.5%)

Memory
-20.7MiB live, 27.1MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 15 to 11 computations (26.7% saved)

preprocess17.0ms (0.8%)

Memory
28.3MiB live, 28.3MiB allocated; 0ms collecting garbage
Remove

(abs re)

Compiler

Compiled 142 to 108 computations (23.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...