expfmod (used to be hard to sample)

Time bar (total: 7.1s)

start0.0ms (0%)

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

analyze264.0ms (3.7%)

Memory
16.3MiB live, 248.7MiB allocated; 37ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
50%50%50%0%0%0%0%4
50%50%50%0%0%0%0%5
50%50%50%0%0%0%0%6
50%50%50%0%0%0%0%7
50%50%50%0%0%0%0%8
50%50%50%0%0%0%0%9
50%50%50%0%0%0%0%10
50%50%50%0%0%0%0%11
50%50%50%0%0%0%0%12
Compiler

Compiled 12 to 10 computations (16.7% saved)

sample5.0s (70.4%)

Memory
81.9MiB live, 4 110.9MiB allocated; 753ms collecting garbage
Samples
1.6s1 637×5exit
1.2s2 700×2valid
938.0ms3 623×1valid
411.0ms3 207×0invalid
228.0ms1 933×0valid
Precisions
Click to see histograms. Total time spent on operations: 3.9s
ival-cos: 1.4s (36.2% of total)
ival-fmod: 878.0ms (22.5% of total)
ival-exp: 720.0ms (18.4% of total)
adjust: 380.0ms (9.7% of total)
ival-sqrt: 289.0ms (7.4% of total)
ival-mult: 161.0ms (4.1% of total)
ival-neg: 59.0ms (1.5% of total)
ival-assert: 5.0ms (0.1% of total)
Bogosity

explain633.0ms (8.9%)

Memory
-47.7MiB live, 306.9MiB allocated; 31ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1980-198(-1.7714979865112938e-273)(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
10-0-(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
00-0-(sqrt.f64 (cos.f64 x))
00-0-(cos.f64 x)
00-0-(exp.f64 x)
00-0-(exp.f64 (neg.f64 x))
00-0-(neg.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
*.f64(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))u*o10
(exp.f64 x)underflow1
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))underflow1
(exp.f64 (neg.f64 x))overflow1
Confusion
Predicted +Predicted -
+1248
-07
Precision
1.0
Recall
0.004016064257028112
Confusion?
Predicted +Predicted MaybePredicted -
+11247
-007
Precision?
1.0
Recall?
0.008032128514056224
Freqs
test
numberfreq
0255
11
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
433.0ms100×5exit
77.0ms182×2valid
59.0ms206×1valid
3.0ms24×0valid
Compiler

Compiled 72 to 28 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 528.0ms
ival-cos: 396.0ms (74.9% of total)
ival-fmod: 43.0ms (8.1% of total)
ival-exp: 40.0ms (7.6% of total)
adjust: 21.0ms (4% of total)
ival-sqrt: 17.0ms (3.2% of total)
ival-mult: 7.0ms (1.3% of total)
ival-neg: 4.0ms (0.8% of total)
ival-true: 1.0ms (0.2% of total)
ival-assert: 0.0ms (0% of total)

preprocess106.0ms (1.5%)

Memory
18.7MiB live, 63.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01531
14731
210330
334430
4207830
0810
01510
13110
2609
31679
47699
084589
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Outputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 10 to 8 computations (20% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.0%
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Compiler

Compiled 10 to 8 computations (20% saved)

series4.0ms (0.1%)

Memory
1.6MiB live, 1.6MiB allocated; 0ms collecting garbage
Counts
8 → 30
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(exp.f64 x)
x
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) x (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))
1.0ms
x
@-inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) x (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))
1.0ms
x
@inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) x (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))

rewrite162.0ms (2.3%)

Memory
-13.7MiB live, 82.2MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124450
0133443
1636419
05529396
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
38 → 81
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(exp.f64 x)
x
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Outputs
(*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
(/.f64 (*.f64 #s(literal 1 binary64) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x))
(fma.f64 (cosh.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (sinh.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(fma.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cosh.f64 x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sinh.f64 (neg.f64 x))))
(+.f64 (*.f64 (cosh.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sinh.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cosh.f64 x)) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sinh.f64 (neg.f64 x))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(exp.f64 x)
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
x
(*.f64 (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)) (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)))
(pow.f64 (cos.f64 x) #s(literal 1/2 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)))
(sqrt.f64 (cos.f64 x))
(exp.f64 (*.f64 (log.f64 (cos.f64 x)) #s(literal 1/2 binary64)))
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (fma.f64 #s(literal -1 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x))
(cos.f64 (neg.f64 x))
(cos.f64 x)
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (exp.f64 x))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x)))) (-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))
(/.f64 (-.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (fma.f64 (sinh.f64 x) (sinh.f64 x) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x))) (*.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) x))
(exp.f64 (neg.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(neg.f64 x)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64))))))
#s(approx (fmod (exp x) (sqrt (cos x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx x x)
#s(approx (sqrt (cos x)) #s(literal 1 binary64))
#s(approx (sqrt (cos x)) (fma.f64 (*.f64 x x) #s(literal -1/4 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 #s(literal -1/96 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (exp x) (exp.f64 x))
#s(approx (sqrt (cos x)) (sqrt.f64 (cos.f64 x)))
#s(approx (cos x) (cos.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))

eval8.0ms (0.1%)

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

Compiled 1 319 to 303 computations (77% saved)

prune59.0ms (0.8%)

Memory
-0.7MiB live, 46.0MiB allocated; 3ms collecting garbage
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New78583
Fresh000
Picked101
Done000
Total79584
Accuracy
26.6%
Counts
84 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.0%
(/.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
7.0%
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)))) (exp.f64 (neg.f64 x)))
6.8%
(*.f64 (fmod.f64 (exp.f64 x) #s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (exp.f64 (neg.f64 x)))
25.2%
(*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
6.2%
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
Compiler

Compiled 194 to 134 computations (30.9% saved)

series2.0ms (0%)

Memory
2.2MiB live, 2.2MiB allocated; 0ms collecting garbage
Counts
10 → 34
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x -1 (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))
1.0ms
x
@inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x -1 (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))
0.0ms
x
@0
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x -1 (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))

rewrite160.0ms (2.2%)

Memory
4.6MiB live, 97.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0133494
0142483
1675459
05908436
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
44 → 107
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Outputs
(*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))) (exp.f64 x))
(/.f64 (*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
(fma.f64 (cosh.f64 x) (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (*.f64 (sinh.f64 (neg.f64 x)) (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))))
(fma.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (cosh.f64 x) (*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (sinh.f64 (neg.f64 x))))
(+.f64 (*.f64 (cosh.f64 x) (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))) (*.f64 (sinh.f64 (neg.f64 x)) (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))))
(+.f64 (*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (cosh.f64 x)) (*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (sinh.f64 (neg.f64 x))))
(fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)
(*.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) x))
(*.f64 x (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) x) (-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (*.f64 x (+.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64))) (-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (-.f64 #s(literal 1 binary64) x))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 #s(literal -1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 #s(literal -1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) x)))
(-.f64 #s(literal 1 binary64) (neg.f64 x))
(-.f64 x (*.f64 (neg.f64 x) (pow.f64 x #s(literal -1 binary64))))
(-.f64 x (*.f64 (neg.f64 (pow.f64 x #s(literal -1 binary64))) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal -1 binary64)
(*.f64 (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)) (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)))
(pow.f64 (cos.f64 x) #s(literal 1/2 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)))
(sqrt.f64 (cos.f64 x))
(exp.f64 (*.f64 (log.f64 (cos.f64 x)) #s(literal 1/2 binary64)))
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (fma.f64 #s(literal -1 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x))
(cos.f64 (neg.f64 x))
(cos.f64 x)
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x)))) (-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (exp.f64 x))
(/.f64 (-.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (fma.f64 (sinh.f64 x) (sinh.f64 x) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x))) (*.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) x))
(exp.f64 (neg.f64 x))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 x)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64))))))
#s(approx (fmod (exp x) (sqrt (cos x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (sqrt (cos x)) #s(literal 1 binary64))
#s(approx (sqrt (cos x)) (fma.f64 (*.f64 x x) #s(literal -1/4 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 #s(literal -1/96 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (exp x) (exp.f64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (sqrt (cos x)) (sqrt.f64 (cos.f64 x)))
#s(approx (cos x) (cos.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))

eval11.0ms (0.2%)

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

Compiled 2 105 to 437 computations (79.2% saved)

prune122.0ms (1.7%)

Memory
-2.4MiB live, 97.7MiB allocated; 6ms collecting garbage
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1034107
Fresh044
Picked101
Done000
Total1048112
Accuracy
64.9%
Counts
112 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.0%
(/.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
7.0%
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)))) (exp.f64 (neg.f64 x)))
6.8%
(*.f64 (fmod.f64 (exp.f64 x) #s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (exp.f64 (neg.f64 x)))
24.9%
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
23.9%
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) x) (-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
30.0%
(*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
54.4%
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
6.2%
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
Compiler

Compiled 338 to 240 computations (29% saved)

series2.0ms (0%)

Memory
2.8MiB live, 2.8MiB allocated; 0ms collecting garbage
Counts
9 → 34
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
(exp.f64 (neg.f64 x))
(neg.f64 x)
Outputs
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))
1.0ms
x
@inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))
0.0ms
x
@0
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x (sqrt (cos x)) (cos x) (exp (neg x)) (neg x))

rewrite160.0ms (2.2%)

Memory
-19.5MiB live, 73.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0132501
0140490
1673466
05913443
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
43 → 82
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
(exp.f64 (neg.f64 x))
(neg.f64 x)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Outputs
(*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))) (exp.f64 x))
(/.f64 (*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
(fma.f64 (cosh.f64 x) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (*.f64 (sinh.f64 (neg.f64 x)) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))))
(fma.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (cosh.f64 x) (*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (sinh.f64 (neg.f64 x))))
(+.f64 (*.f64 (cosh.f64 x) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))) (*.f64 (sinh.f64 (neg.f64 x)) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))))
(+.f64 (*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (cosh.f64 x)) (*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (sinh.f64 (neg.f64 x))))
(fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
(*.f64 (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)) (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)))
(pow.f64 (cos.f64 x) #s(literal 1/2 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)))
(sqrt.f64 (cos.f64 x))
(exp.f64 (*.f64 (log.f64 (cos.f64 x)) #s(literal 1/2 binary64)))
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (fma.f64 #s(literal -1 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x))
(cos.f64 (neg.f64 x))
(cos.f64 x)
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(*.f64 (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 #s(literal -1 binary64)) (/.f64 x #s(literal 2 binary64))))
(*.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(pow.f64 (exp.f64 #s(literal -1 binary64)) x)
(pow.f64 (exp.f64 x) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x)))) (-.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (exp.f64 x))
(/.f64 (-.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (fma.f64 (sinh.f64 x) (sinh.f64 x) (*.f64 (cosh.f64 x) (sinh.f64 x)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 x) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (cosh.f64 x) (cosh.f64 x) (-.f64 (*.f64 (sinh.f64 (neg.f64 x)) (sinh.f64 (neg.f64 x))) (*.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x))))))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (exp.f64 x)))
(/.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 #s(literal -1 binary64) (neg.f64 (exp.f64 x)))
(neg.f64 (/.f64 #s(literal -1 binary64) (exp.f64 x)))
(-.f64 (cosh.f64 x) (sinh.f64 x))
(exp.f64 (-.f64 #s(literal 0 binary64) x))
(exp.f64 (*.f64 (log.f64 (exp.f64 #s(literal -1 binary64))) x))
(exp.f64 (neg.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 (neg.f64 x)))
(+.f64 (sinh.f64 (neg.f64 x)) (cosh.f64 x))
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) #s(literal 2 binary64))
(neg.f64 x)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64))))))
#s(approx (fmod (exp x) (sqrt (cos x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (sqrt (cos x)) #s(literal 1 binary64))
#s(approx (sqrt (cos x)) (fma.f64 (*.f64 x x) #s(literal -1/4 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 #s(literal -1/96 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (exp x) (exp.f64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (sqrt (cos x)) (sqrt.f64 (cos.f64 x)))
#s(approx (cos x) (cos.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))

eval9.0ms (0.1%)

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

Compiled 1 718 to 301 computations (82.5% saved)

prune40.0ms (0.6%)

Memory
-22.9MiB live, 29.6MiB allocated; 2ms collecting garbage
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New81182
Fresh077
Picked101
Done000
Total82890
Accuracy
64.9%
Counts
90 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.0%
(/.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
7.0%
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)))) (exp.f64 (neg.f64 x)))
6.8%
(*.f64 (fmod.f64 (exp.f64 x) #s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (exp.f64 (neg.f64 x)))
24.9%
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
23.9%
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) x) (-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
30.0%
(*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
35.5%
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
6.2%
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
Compiler

Compiled 342 to 244 computations (28.7% saved)

series2.0ms (0%)

Memory
1.9MiB live, 1.9MiB allocated; 0ms collecting garbage
Counts
9 → 33
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
(fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x (sqrt (cos x)) (cos x) (exp (neg x)) 1)
1.0ms
x
@inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x (sqrt (cos x)) (cos x) (exp (neg x)) 1)
0.0ms
x
@0
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (- x -1) x (sqrt (cos x)) (cos x) (exp (neg x)) 1)

rewrite167.0ms (2.3%)

Memory
5.0MiB live, 95.1MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129498
0134488
1666464
05891441
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
42 → 52
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
(fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
(sqrt.f64 (cos.f64 x))
(cos.f64 x)
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* -1 (* x (fmod (exp x) (sqrt (cos x))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* 1/2 (* x (fmod (exp x) (sqrt (cos x))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (+ (* x (+ (* -1 (fmod (exp x) (sqrt (cos x)))) (* x (+ (* -1/6 (* x (fmod (exp x) (sqrt (cos x))))) (* 1/2 (fmod (exp x) (sqrt (cos x)))))))) (fmod (exp x) (sqrt (cos x))))))
#s(approx (fmod (exp x) (sqrt (cos x))) #s(hole binary64 (fmod (exp x) (sqrt (cos x)))))
#s(approx (exp x) #s(hole binary64 1))
#s(approx (exp x) #s(hole binary64 (+ 1 x)))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x))))))
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (cos x)) #s(hole binary64 1))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* -1/4 (pow x 2)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* -1/96 (pow x 2)) 1/4)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (- (* -19/5760 (pow x 2)) 1/96)) 1/4)))))
#s(approx (cos x) #s(hole binary64 1))
#s(approx (cos x) #s(hole binary64 (+ 1 (* -1/2 (pow x 2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2)))))
#s(approx (cos x) #s(hole binary64 (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2)))))
#s(approx (exp (neg x)) #s(hole binary64 1))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* -1 x))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* 1/2 x) 1)))))
#s(approx (exp (neg x)) #s(hole binary64 (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (neg x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp x) #s(hole binary64 (exp x)))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (sqrt (cos x)) #s(hole binary64 (sqrt (cos x))))
#s(approx (cos x) #s(hole binary64 (cos x)))
#s(approx (exp (neg x)) #s(hole binary64 (exp (neg x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) #s(hole binary64 (* (exp (* -1 x)) (fmod (exp x) (sqrt (cos x))))))
#s(approx (exp (neg x)) #s(hole binary64 (exp (* -1 x))))
Outputs
(*.f64 #s(approx (exp (neg x)) #s(literal 1 binary64)) (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
(fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x)))
#s(approx (exp x) #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
(*.f64 (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)) (pow.f64 (cos.f64 x) #s(literal 1/4 binary64)))
(pow.f64 (cos.f64 x) #s(literal 1/2 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)))
(sqrt.f64 (cos.f64 x))
(exp.f64 (*.f64 (log.f64 (cos.f64 x)) #s(literal 1/2 binary64)))
(fma.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
(sin.f64 (fma.f64 #s(literal -1 binary64) x (/.f64 (PI.f64) #s(literal 2 binary64))))
(sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x))
(cos.f64 (neg.f64 x))
(cos.f64 x)
(+.f64 (*.f64 (sin.f64 x) (cos.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 (/.f64 (PI.f64) #s(literal 2 binary64)))))
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (-.f64 #s(literal 1 binary64) x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64))))))
#s(approx (fmod (exp x) (sqrt (cos x))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
#s(approx (exp x) #s(literal 1 binary64))
#s(approx (exp x) (-.f64 x #s(literal -1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp x) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (sqrt (cos x)) #s(literal 1 binary64))
#s(approx (sqrt (cos x)) (fma.f64 (*.f64 x x) #s(literal -1/4 binary64) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 #s(literal -1/96 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) #s(literal 1 binary64))
#s(approx (cos x) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 #s(literal 1/24 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (cos x) (fma.f64 (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) x) x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)))
#s(approx (exp (neg x)) #s(literal 1 binary64))
#s(approx (exp (neg x)) (-.f64 #s(literal 1 binary64) x))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (exp (neg x)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))))
#s(approx (exp x) (exp.f64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (sqrt (cos x)) (sqrt.f64 (cos.f64 x)))
#s(approx (cos x) (cos.f64 x))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))))
#s(approx (exp (neg x)) (exp.f64 (neg.f64 x)))

eval6.0ms (0.1%)

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

Compiled 1 075 to 199 computations (81.5% saved)

prune14.0ms (0.2%)

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh167
Picked011
Done000
Total49857
Accuracy
65.0%
Counts
57 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
7.0%
(/.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
7.0%
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)))) (exp.f64 (neg.f64 x)))
6.8%
(*.f64 (fmod.f64 (exp.f64 x) #s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (exp.f64 (neg.f64 x)))
5.7%
(*.f64 (fmod.f64 #s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64))) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
24.9%
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
23.9%
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) x) (-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
30.0%
(*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
35.5%
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
Compiler

Compiled 392 to 203 computations (48.2% saved)

regimes7.0ms (0.1%)

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

Total -38.2b remaining (-153.5%)

Threshold costs -38.2b (-153.5%)

Counts
12 → 2
Calls
Call 1
Inputs
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
(*.f64 (fmod.f64 #s(approx (exp x) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64))) (sqrt.f64 (cos.f64 x))) #s(approx (exp (neg x)) #s(literal 1 binary64)))
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 #s(approx (exp x) (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 (exp.f64 x) #s(approx (sqrt (cos x)) (fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal -19/5760 binary64) (*.f64 x x)) #s(literal 1/96 binary64)) (*.f64 x x) #s(literal -1/4 binary64)) (*.f64 x x) #s(literal 1 binary64)))) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) #s(literal 1 binary64)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (sin.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) x)))) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
#s(approx (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64))) x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 #s(approx (exp x) (/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) x) (-.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -1 binary64))))) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Outputs
(*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Calls

2 calls:

4.0ms
x
3.0ms
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Results
AccuracySegmentsBranch
56.0%2(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
61.1%2x
Compiler

Compiled 11 to 9 computations (18.2% saved)

bsearch61.0ms (0.9%)

Memory
11.3MiB live, 11.3MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
58.0ms
-3.946444749409552e-306
3.580625089604209e-308
Samples
52.0ms128×2valid
Compiler

Compiled 285 to 228 computations (20% saved)

Precisions
Click to see histograms. Total time spent on operations: 47.0ms
ival-exp: 25.0ms (53% of total)
ival-fmod: 9.0ms (19.1% of total)
adjust: 5.0ms (10.6% of total)
ival-cos: 3.0ms (6.4% of total)
ival-sqrt: 3.0ms (6.4% of total)
ival-mult: 2.0ms (4.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-neg: 0.0ms (0% of total)

simplify44.0ms (0.6%)

Memory
-35.5MiB live, 11.7MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02138
13038
24138
36638
419038
5163338
6752038
Stop Event
node limit
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal -17393943643597/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856 binary64)) (*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))) (*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))))
Outputs
(if (<=.f64 x #s(literal -17393943643597/3162535207926728411757739792483082922649322652564720599326583719178599055749927295186880995334955070237298091629950186115465761521653023076047084374074039217523709754321349396319795433470206505331871369976136641696281366928510823415907864932018118067825157133005605774255209603362976602065411367322593847864182933454585856 binary64)) (*.f64 (fmod.f64 #s(approx (exp x) (*.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))) (*.f64 (fmod.f64 #s(approx (exp x) #s(approx (- x -1) x)) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))))

derivations55.0ms (0.8%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 38 to 22 computations (42.1% saved)

preprocess14.0ms (0.2%)

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

Compiled 96 to 60 computations (37.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...