Logistic regression 2

Time bar (total: 6.6s)

start0.0ms (0%)

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

analyze71.0ms (1.1%)

Memory
9.9MiB live, 56.6MiB allocated; 4ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
50%50%50%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
75%74.9%25%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
75%74.9%25%0.1%0%0%0%7
75%74.9%25%0.1%0%0%0%8
75%74.9%25%0.1%0%0%0%9
75%74.9%25%0.1%0%0%0%10
75%74.9%25%0.1%0%0%0%11
75%74.9%25%0.1%0%0%0%12
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.7s (40.9%)

Memory
113.6MiB live, 3 097.5MiB allocated; 650ms collecting garbage
Samples
1.5s2 703×5exit
560.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.6s
ival-log1p: 934.0ms (57.7% of total)
adjust: 267.0ms (16.5% of total)
ival-exp: 145.0ms (9% of total)
ival-mult: 145.0ms (9% of total)
ival-sub: 112.0ms (6.9% of total)
ival-true: 10.0ms (0.6% of total)
ival-assert: 5.0ms (0.3% of total)
Bogosity

explain114.0ms (1.7%)

Memory
-17.4MiB live, 188.7MiB allocated; 33ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
178(-3.843489809254474e+124 1.4367308584748083e+93)0-(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
00-0-(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
00-0-(+.f64 #s(literal 1 binary64) (exp.f64 x))
00-0-y
00-0-#s(literal 1 binary64)
00-0-(exp.f64 x)
00-0-(*.f64 x y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f64(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))sensitivity780
log.f64(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))oflow-rescue10
(exp.f64 x)overflow1
(+.f64 #s(literal 1 binary64) (exp.f64 x))overflow1
Confusion
Predicted +Predicted -
+10
-78177
Precision
0.012658227848101266
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+100
-780177
Precision?
0.012658227848101266
Recall?
1.0
Freqs
test
numberfreq
0177
179
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
35.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
ival-log1p: 5.0ms (25.3% of total)
ival-exp: 4.0ms (20.3% of total)
ival-mult: 4.0ms (20.3% of total)
ival-add: 3.0ms (15.2% of total)
ival-sub: 2.0ms (10.1% 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)

preprocess333.0ms (5%)

Memory
-22.8MiB live, 256.3MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02251
15249
212349
328549
4117049
5569449
089
0139
1239
2469
3979
43169
529159
081067
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Outputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
Compiler

Compiled 9 to 8 computations (11.1% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Compiler

Compiled 9 to 8 computations (11.1% saved)

simplify249.0ms (3.8%)

Memory
31.8MiB live, 307.9MiB allocated; 35ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(exp.f64 x)
cost-diff0
(+.f64 #s(literal 1 binary64) (exp.f64 x))
cost-diff0
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
cost-diff2
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
01326
12326
24626
39726
431626
5291526
0810622
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
#s(literal 1 binary64)
(exp.f64 x)
x
(*.f64 x y)
y
Outputs
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
(log1p.f64 (exp.f64 x))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
#s(literal 1 binary64)
(exp.f64 x)
x
(*.f64 x y)
(*.f64 y x)
y

localize68.0ms (1%)

Memory
-13.7MiB live, 99.9MiB allocated; 12ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(exp.f64 x)
accuracy0.0078125
(+.f64 #s(literal 1 binary64) (exp.f64 x))
accuracy0.01171875
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
accuracy0.2577414417378886
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
Samples
62.0ms256×0valid
Compiler

Compiled 28 to 10 computations (64.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-exp: 2.0ms (21.2% of total)
ival-mult: 2.0ms (21.2% of total)
ival-log1p: 2.0ms (21.2% of total)
ival-add: 1.0ms (10.6% of total)
ival-sub: 1.0ms (10.6% 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)

series67.0ms (1%)

Memory
-6.7MiB live, 85.2MiB allocated; 8ms collecting garbage
Counts
4 → 24
Calls
Call 1
Inputs
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
(exp.f64 x)
Outputs
(log 2)
(+ (log 2) (* 1/2 x))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
2
(+ 2 x)
(+ 2 (* x (+ 1 (* 1/2 x))))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
1
(+ 1 x)
(+ 1 (* x (+ 1 (* 1/2 x))))
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(log (+ 1 (exp x)))
(* -1 (* x y))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(+ 1 (exp x))
(exp x)
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
Calls

6 calls:

TimeVariablePointExpression
31.0ms
x
@-inf
((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x))
29.0ms
x
@inf
((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x))
3.0ms
y
@0
((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x))
1.0ms
y
@-inf
((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x))
1.0ms
y
@inf
((log (+ 1 (exp x))) (- (log (+ 1 (exp x))) (* x y)) (+ 1 (exp x)) (exp x))

simplify141.0ms (2.1%)

Memory
33.5MiB live, 169.1MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067193
1212192
2673192
32213192
45569192
08515158
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
(log 2)
(+ (log 2) (* 1/2 x))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
2
(+ 2 x)
(+ 2 (* x (+ 1 (* 1/2 x))))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
1
(+ 1 x)
(+ 1 (* x (+ 1 (* 1/2 x))))
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(log (+ 1 (exp x)))
(* -1 (* x y))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(+ 1 (exp x))
(exp x)
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
Outputs
(log 2)
(log.f64 #s(literal 2 binary64))
(+ (log 2) (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/192 binary64) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
(+ (log 2) (* x (- 1/2 y)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/192 binary64) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x (log.f64 #s(literal 2 binary64)))
2
#s(literal 2 binary64)
(+ 2 x)
(-.f64 x #s(literal -2 binary64))
(+ 2 (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 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 2 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 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))
(log (+ 1 (exp x)))
(log1p.f64 (exp.f64 x))
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* x (- (/ (log (+ 1 (exp x))) x) y))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(+ 1 (exp x))
(+.f64 (exp.f64 x) #s(literal 1 binary64))
(exp x)
(exp.f64 x)
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)

rewrite69.0ms (1%)

Memory
10.1MiB live, 54.3MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
01320
14920
036416
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 45
Calls
Call 1
Inputs
(log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
(exp.f64 x)
Outputs
(log1p.f64 (exp.f64 x))
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (log.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x))))
(-.f64 (log1p.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (log1p.f64 (*.f64 (exp.f64 x) (expm1.f64 x))))
(log.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (fma.f64 y x (log1p.f64 (exp.f64 x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 y x (log1p.f64 (exp.f64 x))))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x)))
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))))
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x))
(+.f64 (*.f64 (neg.f64 x) y) (log1p.f64 (exp.f64 x)))
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 y) x))
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 x) y))
(/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (exp.f64 x)))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (-.f64 #s(literal 1 binary64) (exp.f64 x))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64)))
(fma.f64 (exp.f64 x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (exp.f64 x) #s(literal 1 binary64))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (exp.f64 x))) (/.f64 (pow.f64 (exp.f64 x) #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (exp.f64 x))))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(+.f64 (+.f64 #s(literal 1 binary64) (cosh.f64 x)) (sinh.f64 x))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))) (/.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64)) (fma.f64 (exp.f64 x) (expm1.f64 x) #s(literal 1 binary64))))
(+.f64 (cosh.f64 x) (+.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (exp.f64 x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.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 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)))))
(fma.f64 (cosh.f64 x) #s(literal 1 binary64) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(exp.f64 (+.f64 #s(literal 0 binary64) x))
(exp.f64 x)
(+.f64 (*.f64 (cosh.f64 x) #s(literal 1 binary64)) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 x)) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))

eval50.0ms (0.8%)

Memory
-32.7MiB live, 22.7MiB allocated; 12ms collecting garbage
Compiler

Compiled 1 065 to 280 computations (73.7% saved)

prune4.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New62567
Fresh000
Picked101
Done000
Total63568
Accuracy
99.7%
Counts
68 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
91.4%
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
79.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
85.4%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
48.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
Compiler

Compiled 138 to 114 computations (17.4% saved)

simplify155.0ms (2.3%)

Memory
14.8MiB live, 145.3MiB allocated; 22ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 1/2 binary64) y)
cost-diff0
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
cost-diff0
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
cost-diff0
(log.f64 #s(literal 2 binary64))
cost-diff0
(-.f64 #s(literal 1/2 binary64) y)
cost-diff0
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
cost-diff0
(*.f64 x y)
cost-diff0
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
cost-diff0
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
cost-diff0
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
cost-diff0
(neg.f64 x)
cost-diff0
(*.f64 (neg.f64 x) y)
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
cost-diff0
(exp.f64 x)
cost-diff0
(log1p.f64 (exp.f64 x))
cost-diff0
(neg.f64 x)
cost-diff0
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028141
044141
164141
2116141
3241141
4623141
54130141
65893141
08081141
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(neg.f64 x)
x
y
(log1p.f64 (exp.f64 x))
(exp.f64 x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
(*.f64 (neg.f64 x) y)
(neg.f64 x)
x
y
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 x y)
x
y
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
#s(literal 1/8 binary64)
x
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(neg.f64 x)
x
y
(log1p.f64 (exp.f64 x))
(exp.f64 x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 y (neg.f64 x)))
(*.f64 (neg.f64 x) y)
(*.f64 y (neg.f64 x))
(neg.f64 x)
x
y
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 x y)
(*.f64 y x)
x
y
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
#s(literal 1/8 binary64)
x
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)

localize81.0ms (1.2%)

Memory
-31.4MiB live, 119.3MiB allocated; 14ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(log.f64 #s(literal 2 binary64))
accuracy0.00390625
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
accuracy0.0078125
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
accuracy13.316178942192764
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
accuracy0.0
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
accuracy0.0
(-.f64 #s(literal 1/2 binary64) y)
accuracy0.0
(log.f64 #s(literal 2 binary64))
accuracy9.363943604065234
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
accuracy0.0
(*.f64 x y)
accuracy0.01171875
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
accuracy0.2577414417378886
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
accuracy16.97174215138883
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
accuracy0.0
(*.f64 (neg.f64 x) y)
accuracy0.0
(neg.f64 x)
accuracy32.800785542884256
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
accuracy0.0
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
accuracy0.0
(neg.f64 x)
accuracy0.0
(exp.f64 x)
accuracy0.24992894173788857
(log1p.f64 (exp.f64 x))
Samples
47.0ms255×0valid
0.0ms2valid
Compiler

Compiled 128 to 24 computations (81.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0ms
ival-mult: 14.0ms (42.9% of total)
ival-add: 6.0ms (18.4% of total)
ival-log1p: 4.0ms (12.3% of total)
ival-exp: 2.0ms (6.1% of total)
ival-sub: 2.0ms (6.1% of total)
ival-log: 2.0ms (6.1% of total)
ival-neg: 1.0ms (3.1% 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)

series34.0ms (0.5%)

Memory
14.7MiB live, 61.6MiB allocated; 2ms collecting garbage
Counts
17 → 60
Calls
Call 1
Inputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(neg.f64 x)
(log1p.f64 (exp.f64 x))
(exp.f64 x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
(*.f64 (neg.f64 x) y)
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
(*.f64 x y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(-.f64 #s(literal 1/2 binary64) y)
(log.f64 #s(literal 2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
Outputs
(log 2)
(+ (log 2) (* x (+ 1/2 (* -1 y))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x)))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2))))))))
(* -1 x)
(+ (log 2) (* 1/2 x))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
1
(+ 1 x)
(+ 1 (* x (+ 1 (* 1/2 x))))
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(* -1 (* x y))
2
(+ 2 x)
(+ 2 (* x (+ 1 (* 1/2 x))))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(* x y)
(- 1/2 y)
(- (+ 1/2 (* 1/8 x)) y)
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x)))
(log (+ 1 (exp x)))
(exp x)
(* x (- (/ (log (+ 1 (exp x))) x) y))
(+ 1 (exp x))
(* x (- 1/2 y))
(* x (- (+ 1/2 (/ (log 2) x)) y))
(* 1/8 (pow x 2))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(* 1/8 x)
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x)))))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
1/2
(+ 1/2 (* -1 y))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(+ 1/2 (* 1/8 x))
(+ 1/2 (+ (* -1 y) (* 1/8 x)))
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(* -1 y)
(* y (- (* 1/2 (/ 1 y)) 1))
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1))
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y)))))
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y)))))
Calls

6 calls:

TimeVariablePointExpression
10.0ms
x
@-inf
((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) (log 2) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)))
9.0ms
x
@inf
((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) (log 2) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)))
4.0ms
x
@0
((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) (log 2) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)))
4.0ms
y
@0
((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) (log 2) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)))
3.0ms
y
@inf
((+ (* (neg x) y) (log (+ 1 (exp x)))) (neg x) (log (+ 1 (exp x))) (exp x) (- (log (+ 1 (exp x))) (* x y)) (* (neg x) y) (- (log (+ 1 (exp x))) (* x y)) (log (+ 1 (exp x))) (+ 1 (exp x)) (* x y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (- 1/2 y) (log 2) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)))

simplify130.0ms (2%)

Memory
2.7MiB live, 100.8MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0159548
1555519
21942514
36802514
08109452
Stop Event
iter limit
node limit
Counts
60 → 60
Calls
Call 1
Inputs
(log 2)
(+ (log 2) (* x (+ 1/2 (* -1 y))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x)))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2))))))))
(* -1 x)
(+ (log 2) (* 1/2 x))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
1
(+ 1 x)
(+ 1 (* x (+ 1 (* 1/2 x))))
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(* -1 (* x y))
2
(+ 2 x)
(+ 2 (* x (+ 1 (* 1/2 x))))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(* x y)
(- 1/2 y)
(- (+ 1/2 (* 1/8 x)) y)
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x)))
(log (+ 1 (exp x)))
(exp x)
(* x (- (/ (log (+ 1 (exp x))) x) y))
(+ 1 (exp x))
(* x (- 1/2 y))
(* x (- (+ 1/2 (/ (log 2) x)) y))
(* 1/8 (pow x 2))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(* 1/8 x)
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x)))))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
1/2
(+ 1/2 (* -1 y))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(+ 1/2 (* 1/8 x))
(+ 1/2 (+ (* -1 y) (* 1/8 x)))
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(* -1 y)
(* y (- (* 1/2 (/ 1 y)) 1))
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1))
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y)))))
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y)))))
Outputs
(log 2)
(log.f64 #s(literal 2 binary64))
(+ (log 2) (* x (+ 1/2 (* -1 y))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x)))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2))))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/192 binary64) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x (log.f64 #s(literal 2 binary64)))
(* -1 x)
(neg.f64 x)
(+ (log 2) (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))
1
#s(literal 1 binary64)
(+ 1 x)
(-.f64 x #s(literal -1 binary64))
(+ 1 (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 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))
(+ (log 2) (* x (- 1/2 y)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/192 binary64) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x (log.f64 #s(literal 2 binary64)))
(* -1 (* x y))
(*.f64 (neg.f64 y) x)
2
#s(literal 2 binary64)
(+ 2 x)
(-.f64 x #s(literal -2 binary64))
(+ 2 (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 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 2 binary64))
(* x y)
(*.f64 y x)
(- 1/2 y)
(-.f64 #s(literal 1/2 binary64) y)
(- (+ 1/2 (* 1/8 x)) y)
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x)))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(log (+ 1 (exp x)))
(log1p.f64 (exp.f64 x))
(exp x)
(exp.f64 x)
(* x (- (/ (log (+ 1 (exp x))) x) y))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(+ 1 (exp x))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(* x (- 1/2 y))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* x (- (+ 1/2 (/ (log 2) x)) y))
(*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)
(* 1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 (+.f64 #s(literal -1/2 binary64) y) (/.f64 (log.f64 #s(literal 2 binary64)) x)) x)) x) x)
(* 1/8 x)
(*.f64 #s(literal 1/8 binary64) x)
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x)
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x)))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 (+.f64 #s(literal -1/2 binary64) y) (/.f64 (log.f64 #s(literal 2 binary64)) x)) x)) x) x)
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8)))
(*.f64 (neg.f64 x) (-.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1 y))
(-.f64 #s(literal 1/2 binary64) y)
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ 1/2 (* 1/8 x))
(fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64))
(+ 1/2 (+ (* -1 y) (* 1/8 x)))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y)))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* y (- (/ (log (+ 1 (exp x))) y) x))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* -1 y)
(neg.f64 y)
(* y (- (* 1/2 (/ 1 y)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1))
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) #s(literal 1 binary64)) y)
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y)))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y)))))
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y) #s(literal 1 binary64)) y)

rewrite79.0ms (1.2%)

Memory
-6.3MiB live, 38.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028118
044118
1157118
01205118
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
17 → 121
Calls
Call 1
Inputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(neg.f64 x)
(log1p.f64 (exp.f64 x))
(exp.f64 x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
(*.f64 (neg.f64 x) y)
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
(*.f64 x y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(-.f64 #s(literal 1/2 binary64) y)
(log.f64 #s(literal 2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
Outputs
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (fma.f64 y x (log1p.f64 (exp.f64 x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log1p.f64 (exp.f64 x)) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 y x (log1p.f64 (exp.f64 x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))) (-.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x))))
(/.f64 (-.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64))) (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x))))))
(/.f64 (+.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (log1p.f64 (exp.f64 x)) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 (neg.f64 y) x (log1p.f64 (exp.f64 x)))
(fma.f64 y (neg.f64 x) (log1p.f64 (exp.f64 x)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(fma.f64 x (neg.f64 y) (log1p.f64 (exp.f64 x)))
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x (log1p.f64 (exp.f64 x)))))
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x)))) (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)) (-.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x)))))
(-.f64 (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 2 binary64)))))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 y) (neg.f64 x)))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 y x))
(+.f64 (/.f64 (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64)) (fma.f64 (log1p.f64 (exp.f64 x)) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log1p.f64 (exp.f64 x)) #s(literal 3 binary64)) (fma.f64 (log1p.f64 (exp.f64 x)) (fma.f64 y x (log1p.f64 (exp.f64 x))) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (*.f64 y (neg.f64 x)) (log1p.f64 (exp.f64 x)))
(+.f64 (log1p.f64 (exp.f64 x)) (*.f64 y (neg.f64 x)))
(neg.f64 x)
(log1p.f64 (exp.f64 x))
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) #s(literal 2 binary64)))) (log.f64 (-.f64 #s(literal 1 binary64) (exp.f64 x))))
(-.f64 (log1p.f64 (pow.f64 (exp.f64 x) #s(literal 3 binary64))) (log1p.f64 (*.f64 (exp.f64 x) (expm1.f64 x))))
(log.f64 (-.f64 (exp.f64 x) #s(literal -1 binary64)))
(*.f64 #s(literal 1 binary64) (exp.f64 x))
(*.f64 (exp.f64 x) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.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 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)))))
(fma.f64 (cosh.f64 x) #s(literal 1 binary64) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) (cosh.f64 x) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(exp.f64 (+.f64 #s(literal 0 binary64) x))
(exp.f64 x)
(+.f64 (*.f64 (cosh.f64 x) #s(literal 1 binary64)) (*.f64 (sinh.f64 x) #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) (cosh.f64 x)) (*.f64 #s(literal 1 binary64) (sinh.f64 x)))
(+.f64 (sinh.f64 x) (cosh.f64 x))
(+.f64 (cosh.f64 x) (sinh.f64 x))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 y (neg.f64 x)))
(*.f64 (neg.f64 y) x)
(*.f64 y (neg.f64 x))
(*.f64 (neg.f64 x) y)
(*.f64 x (neg.f64 y))
(neg.f64 (*.f64 y x))
(/.f64 (+.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y (neg.f64 x))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))) (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (*.f64 y x) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))) (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64))))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 y (neg.f64 x) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 (neg.f64 x) y (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 x (neg.f64 y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))))
(-.f64 (/.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))) (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (fma.f64 y x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))) (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 y) (neg.f64 x)))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y x))
(+.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 y (neg.f64 x)))
(+.f64 (*.f64 y (neg.f64 x)) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
(*.f64 y x)
(*.f64 x y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (log.f64 #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(fma.f64 x (-.f64 #s(literal 1/2 binary64) y) (log.f64 #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64)))))
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 (-.f64 #s(literal 1/2 binary64) y)) x))
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 x) (-.f64 #s(literal 1/2 binary64) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (pow.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (-.f64 #s(literal 1/2 binary64) y) x) (log.f64 #s(literal 2 binary64)))
(+.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y))) (neg.f64 (+.f64 #s(literal 1/2 binary64) y)))
(/.f64 (neg.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64))))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y))
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64)))
(-.f64 (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) y)) (/.f64 (*.f64 y y) (+.f64 #s(literal 1/2 binary64) y)))
(-.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 #s(literal 1/2 binary64) y) #s(literal 1/4 binary64))))
(-.f64 #s(literal 1/2 binary64) y)
(log.f64 #s(literal 2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64))) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log.f64 #s(literal 2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log.f64 #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (log.f64 #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log.f64 #s(literal 2 binary64))))))
(/.f64 (+.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(fma.f64 x (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) (log.f64 #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log.f64 #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log.f64 #s(literal 2 binary64)))))
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))) x))
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x) (log.f64 #s(literal 2 binary64)))
(+.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))
(/.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64))) (*.f64 y y)) (+.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64))) (-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x)))
(/.f64 (-.f64 (pow.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) (fma.f64 y y (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/512 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/64 binary64) (*.f64 (-.f64 #s(literal 1/2 binary64) y) (-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x))))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y)))
(/.f64 (fma.f64 #s(literal 1/512 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/8 binary64) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))))
(/.f64 (fma.f64 #s(literal 1/512 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/64 binary64) (*.f64 (-.f64 #s(literal 1/2 binary64) y) (-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x)))))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
(fma.f64 x #s(literal 1/8 binary64) (-.f64 #s(literal 1/2 binary64) y))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y))) (/.f64 (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y))))
(-.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y)
(-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1/8 binary64) x))
(-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 (neg.f64 x) #s(literal 1/8 binary64)))
(-.f64 #s(literal 1/2 binary64) (-.f64 y (*.f64 #s(literal 1/8 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/64 binary64) (*.f64 (-.f64 #s(literal 1/2 binary64) y) (-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x))))) (/.f64 (pow.f64 (-.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/64 binary64) (*.f64 (-.f64 #s(literal 1/2 binary64) y) (-.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x))))))
(+.f64 (*.f64 #s(literal 1/8 binary64) x) (-.f64 #s(literal 1/2 binary64) y))
(+.f64 (-.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/8 binary64) x))

eval20.0ms (0.3%)

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

Compiled 4 276 to 626 computations (85.4% saved)

prune15.0ms (0.2%)

Memory
-32.1MiB live, 14.9MiB allocated; 2ms collecting garbage
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1747181
Fresh000
Picked235
Done000
Total17610186
Accuracy
99.7%
Counts
186 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.4%
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
99.6%
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
56.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
85.4%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
53.5%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
48.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
35.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
22.8%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
53.0%
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
Compiler

Compiled 340 to 277 computations (18.5% saved)

simplify170.0ms (2.6%)

Memory
5.4MiB live, 145.1MiB allocated; 13ms collecting garbage
Localize:

Found 18 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 #s(literal 2 binary64))
cost-diff0
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
cost-diff0
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))
cost-diff0
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
cost-diff0
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
cost-diff0
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
cost-diff0
(-.f64 #s(literal 1/2 binary64) y)
cost-diff0
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
cost-diff0
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
cost-diff0
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
cost-diff0
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
cost-diff0
(neg.f64 y)
cost-diff0
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
043241
056240
194240
2180240
3369240
4822240
54326240
66083240
08143222
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(neg.f64 y)
y
x
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
x
#s(literal 1/8 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))
#s(literal 1/8 binary64)
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x)
(+.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
y
x
(*.f64 x x)
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 (neg.f64 x) y (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(neg.f64 y)
y
x
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
x
#s(literal 1/8 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x)))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x)
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))
#s(literal 1/8 binary64)
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x)
(+.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
y
x
(*.f64 x x)
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log.f64 #s(literal 2 binary64)))
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)

localize89.0ms (1.3%)

Memory
44.6MiB live, 140.4MiB allocated; 15ms collecting garbage
Localize:

Found 18 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(log.f64 #s(literal 2 binary64))
accuracy30.050837568935407
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
accuracy0.00390625
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x)
accuracy13.316178942192764
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
accuracy19.350959414135286
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
accuracy32.463731797720165
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
accuracy13.316178942192764
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
accuracy47.543719483367155
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
accuracy0.0
(-.f64 #s(literal 1/2 binary64) y)
accuracy0.00390625
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
accuracy9.363943604065234
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
accuracy32.522325547714665
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
accuracy0.0
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
accuracy0.0
(neg.f64 y)
accuracy0.2577414417378886
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
accuracy16.97174215138883
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
Samples
68.0ms256×0valid
Compiler

Compiled 152 to 34 computations (77.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 50.0ms
ival-mult: 14.0ms (28.1% of total)
adjust: 13.0ms (26.1% of total)
ival-add: 7.0ms (14% of total)
ival-sub: 3.0ms (6% of total)
ival-div: 2.0ms (4% of total)
ival-exp: 2.0ms (4% of total)
ival-log: 2.0ms (4% of total)
ival-log1p: 2.0ms (4% of total)
ival-neg: 2.0ms (4% of total)
exact: 1.0ms (2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series57.0ms (0.9%)

Memory
-37.4MiB live, 53.0MiB allocated; 19ms collecting garbage
Counts
19 → 71
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(neg.f64 y)
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(-.f64 #s(literal 1/2 binary64) y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
(log.f64 #s(literal 2 binary64))
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x)
Outputs
(log 2)
(+ (log 2) (* x (+ 1/2 (* -1 y))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x)))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2))))))))
(+ (log 2) (* 1/2 x))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
2
(+ 2 x)
(+ 2 (* x (+ 1 (* 1/2 x))))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(* x (- 1/2 y))
(* 1/8 (pow x 2))
(pow x 2)
(* x (- (+ 1/2 (* 1/8 x)) y))
(/ (- 1/2 y) x)
(/ (- (+ 1/2 (* 1/8 x)) y) x)
(/ (- y 1/2) x)
(* -1 (* x y))
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x)))
(log (+ 1 (exp x)))
(+ 1 (exp x))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(* x (- (+ 1/2 (/ (log 2) x)) y))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
1/8
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x)))))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x))))
(+ 1/8 (* -1 (/ (- y 1/2) x)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(* -1 y)
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(* 1/2 x)
(+ (* -1 (* x y)) (* 1/2 x))
1/2
(+ 1/2 (* -1 y))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))))
(+ 1/8 (* 1/2 (/ 1 x)))
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x))))
(/ -1/2 x)
(- (/ y x) (* 1/2 (/ 1 x)))
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(* y (+ (* -1 x) (* 1/2 (/ x y))))
(* y (- (* 1/2 (/ 1 y)) 1))
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))
(* -1 (/ y x))
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(/ y x)
(* y (- (/ 1 x) (* 1/2 (/ 1 (* x y)))))
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y)))))
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(* -1 (* y (+ x (* -1/2 (/ x y)))))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))))
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x))))
(* -1 (* y (- (* 1/2 (/ 1 (* x y))) (/ 1 x))))
Calls

6 calls:

TimeVariablePointExpression
20.0ms
x
@0
((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) (log (+ 1 (exp x))) (+ 1 (exp x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (* x x) 1/8) (* x x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (+ (* (neg x) y) (log (+ 1 (exp x)))) (log 2) (/ (+ -1/2 y) x))
10.0ms
x
@-inf
((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) (log (+ 1 (exp x))) (+ 1 (exp x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (* x x) 1/8) (* x x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (+ (* (neg x) y) (log (+ 1 (exp x)))) (log 2) (/ (+ -1/2 y) x))
9.0ms
x
@inf
((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) (log (+ 1 (exp x))) (+ 1 (exp x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (* x x) 1/8) (* x x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (+ (* (neg x) y) (log (+ 1 (exp x)))) (log 2) (/ (+ -1/2 y) x))
9.0ms
y
@-inf
((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) (log (+ 1 (exp x))) (+ 1 (exp x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (* x x) 1/8) (* x x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (+ (* (neg x) y) (log (+ 1 (exp x)))) (log 2) (/ (+ -1/2 y) x))
4.0ms
y
@0
((+ (* (neg y) x) (log (+ 1 (exp x)))) (neg y) (log (+ 1 (exp x))) (+ 1 (exp x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (* x x) 1/8) (* x x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (+ (* (neg x) y) (log (+ 1 (exp x)))) (log 2) (/ (+ -1/2 y) x))

simplify144.0ms (2.2%)

Memory
14.9MiB live, 158.0MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186661
1666630
22377624
37876622
08309566
Stop Event
iter limit
node limit
Counts
71 → 71
Calls
Call 1
Inputs
(log 2)
(+ (log 2) (* x (+ 1/2 (* -1 y))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x)))))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2))))))))
(+ (log 2) (* 1/2 x))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
2
(+ 2 x)
(+ 2 (* x (+ 1 (* 1/2 x))))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(* x (- 1/2 y))
(* 1/8 (pow x 2))
(pow x 2)
(* x (- (+ 1/2 (* 1/8 x)) y))
(/ (- 1/2 y) x)
(/ (- (+ 1/2 (* 1/8 x)) y) x)
(/ (- y 1/2) x)
(* -1 (* x y))
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x)))
(log (+ 1 (exp x)))
(+ 1 (exp x))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(* x (- (+ 1/2 (/ (log 2) x)) y))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
1/8
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x)))))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x))))
(+ 1/8 (* -1 (/ (- y 1/2) x)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(* -1 y)
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(* 1/2 x)
(+ (* -1 (* x y)) (* 1/2 x))
1/2
(+ 1/2 (* -1 y))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))))
(+ 1/8 (* 1/2 (/ 1 x)))
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x))))
(/ -1/2 x)
(- (/ y x) (* 1/2 (/ 1 x)))
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y)))
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(* y (+ (* -1 x) (* 1/2 (/ x y))))
(* y (- (* 1/2 (/ 1 y)) 1))
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))
(* -1 (/ y x))
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(/ y x)
(* y (- (/ 1 x) (* 1/2 (/ 1 (* x y)))))
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y)))))
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(* -1 (* y (+ x (* -1/2 (/ x y)))))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))))
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x))))
(* -1 (* y (- (* 1/2 (/ 1 (* x y))) (/ 1 x))))
Outputs
(log 2)
(log.f64 #s(literal 2 binary64))
(+ (log 2) (* x (+ 1/2 (* -1 y))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* 1/8 x)))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (+ (* -1 y) (* x (+ 1/8 (* -1/192 (pow x 2))))))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2)))))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))
2
#s(literal 2 binary64)
(+ 2 x)
(-.f64 x #s(literal -2 binary64))
(+ 2 (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 2 binary64))
(+ 2 (* x (+ 1 (* x (+ 1/2 (* 1/6 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 2 binary64))
(+ (log 2) (* x (- 1/2 y)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(* x (- 1/2 y))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* 1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(pow x 2)
(*.f64 x x)
(* x (- (+ 1/2 (* 1/8 x)) y))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(/ (- 1/2 y) x)
(/.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(/ (- (+ 1/2 (* 1/8 x)) y) x)
(/.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(/ (- y 1/2) x)
(/.f64 (-.f64 y #s(literal 1/2 binary64)) x)
(* -1 (* x y))
(*.f64 (neg.f64 y) x)
(* x (+ (* -1 y) (/ (log (+ 1 (exp x))) x)))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(log (+ 1 (exp x)))
(log1p.f64 (exp.f64 x))
(+ 1 (exp x))
(-.f64 (exp.f64 x) #s(literal -1 binary64))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* x (- (+ 1/2 (/ (log 2) x)) y))
(*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) (*.f64 x x))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(*.f64 (*.f64 (-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x) #s(literal -1/8 binary64)) x) x)
1/8
#s(literal 1/8 binary64)
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(* -1 (* x (+ y (* -1 (/ (log (+ 1 (exp x))) x)))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(*.f64 (*.f64 (-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x) #s(literal -1/8 binary64)) x) x)
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64)) (*.f64 x x))
(+ 1/8 (* -1 (/ (- y 1/2) x)))
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(* -1 y)
(neg.f64 y)
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(+ (* -1 (* x y)) (* 1/2 x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1 y))
(-.f64 #s(literal 1/2 binary64) y)
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) x) x)
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))))
(*.f64 x (-.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) x) y))
(+ 1/8 (* 1/2 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64))
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x))))
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(/ -1/2 x)
(/.f64 #s(literal -1/2 binary64) x)
(- (/ y x) (* 1/2 (/ 1 x)))
(/.f64 (-.f64 y #s(literal 1/2 binary64)) x)
(* y (+ (* -1 x) (/ (log (+ 1 (exp x))) y)))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* y (- (/ (log (+ 1 (exp x))) y) x))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* y (+ (* -1 x) (* 1/2 (/ x y))))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(* y (- (* 1/2 (/ 1 y)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) y (/.f64 (neg.f64 y) x))
(/ y x)
(/.f64 y x)
(* y (- (/ 1 x) (* 1/2 (/ 1 (* x y)))))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y)
(* -1 (* y (+ x (* -1 (/ (log (+ 1 (exp x))) y)))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(*.f64 (-.f64 (/.f64 (fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* -1 (* y (+ x (* -1/2 (/ x y)))))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(*.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))) y) x) y)
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))))
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x))))
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) y (/.f64 (neg.f64 y) x))
(* -1 (* y (- (* 1/2 (/ 1 (* x y))) (/ 1 x))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) y) x) (/.f64 #s(literal 1 binary64) x)) (neg.f64 y))

rewrite61.0ms (0.9%)

Memory
12.5MiB live, 59.5MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
043222
056221
1221221
01580203
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
19 → 98
Calls
Call 1
Inputs
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(neg.f64 y)
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(-.f64 #s(literal 1/2 binary64) y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 x x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
(log.f64 #s(literal 2 binary64))
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x)
Outputs
(/.f64 (-.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (neg.f64 x) y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64))) (-.f64 (*.f64 (neg.f64 x) y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))))
(/.f64 (+.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (-.f64 (pow.f64 (*.f64 x y) #s(literal 2 binary64)) (*.f64 (*.f64 (neg.f64 x) y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))))))
(/.f64 (+.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))
(fma.f64 (neg.f64 x) y (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 x (neg.f64 y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(fma.f64 y (neg.f64 x) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 x y) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 x) y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))) (/.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 2 binary64)) (-.f64 (*.f64 (neg.f64 x) y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 (neg.f64 x)) y))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) (neg.f64 y)))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 (neg.f64 y)) x))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 y) (neg.f64 x)))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(+.f64 (/.f64 (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) y)) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(+.f64 (*.f64 (neg.f64 x) y) (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
(+.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 (neg.f64 x) y))
(neg.f64 y)
(log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))
#s(approx (+ 1 (exp x)) #s(literal 2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(*.f64 x (-.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1/4 binary64) (*.f64 y y))) (+.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 x (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y))) (neg.f64 (+.f64 #s(literal 1/2 binary64) y)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (+.f64 #s(literal 1/2 binary64) y))
(/.f64 (-.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64)))
(-.f64 (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) y)) (/.f64 (*.f64 y y) (+.f64 #s(literal 1/2 binary64) y)))
(-.f64 (/.f64 #s(literal 1/8 binary64) (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64))))
(-.f64 #s(literal 1/2 binary64) y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 #s(literal 1/8 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1/8 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/8 binary64)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/8 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(*.f64 (*.f64 #s(literal 1/8 binary64) x) x)
(*.f64 #s(literal 1/8 binary64) (*.f64 x x))
(*.f64 x (*.f64 #s(literal 1/8 binary64) x))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x)))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x))
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x) x)
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))))
(*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))
(*.f64 (*.f64 x x) (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)))
(*.f64 x (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) x))
(/.f64 (*.f64 (-.f64 #s(literal 1/64 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 2 binary64))) (*.f64 x x)) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1/512 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 3 binary64))) (*.f64 x x)) (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)) #s(literal 1/64 binary64)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 1/64 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 2 binary64)))) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 1/512 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 3 binary64)))) (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)) #s(literal 1/64 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1/64 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 2 binary64)))) (neg.f64 (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1/512 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)) #s(literal 1/64 binary64))))
(/.f64 (-.f64 #s(literal 1/64 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 2 binary64))) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)))
(/.f64 (-.f64 #s(literal 1/512 binary64) (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 3 binary64))) (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)) #s(literal 1/64 binary64)))
(-.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 #s(literal -1/2 binary64) x)) (/.f64 y x))
(-.f64 (/.f64 #s(literal 1/64 binary64) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64))) (/.f64 (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 2 binary64)) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64))))
(-.f64 (/.f64 #s(literal 1/512 binary64) (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)) #s(literal 1/64 binary64))) (/.f64 (pow.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 3 binary64)) (fma.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) (+.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) x) #s(literal 1/8 binary64)) #s(literal 1/64 binary64))))
(-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log.f64 #s(literal 2 binary64)))
(log.f64 #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) x)) (*.f64 (/.f64 y x) (/.f64 y x))) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x)))
(/.f64 (+.f64 (pow.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal 3 binary64)) (pow.f64 (/.f64 y x) #s(literal 3 binary64))) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1/2 binary64) x) (-.f64 (*.f64 (/.f64 y x) (/.f64 y x)) (*.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x)))))
(/.f64 (neg.f64 (+.f64 #s(literal 1/2 binary64) (neg.f64 y))) (neg.f64 (neg.f64 x)))
(/.f64 (fma.f64 #s(literal -1/2 binary64) x (*.f64 x y)) (*.f64 x x))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal -1/8 binary64)) (*.f64 (fma.f64 y (-.f64 y #s(literal -1/2 binary64)) #s(literal 1/4 binary64)) x))
(/.f64 (+.f64 #s(literal 1/2 binary64) (neg.f64 y)) (neg.f64 x))
(/.f64 (+.f64 #s(literal -1/2 binary64) y) x)
(neg.f64 (/.f64 (+.f64 #s(literal 1/2 binary64) (neg.f64 y)) x))
(neg.f64 (/.f64 (+.f64 #s(literal -1/2 binary64) y) (neg.f64 x)))
(+.f64 (/.f64 y x) (/.f64 #s(literal -1/2 binary64) x))
(+.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x))

eval21.0ms (0.3%)

Memory
-11.5MiB live, 34.6MiB allocated; 3ms collecting garbage
Compiler

Compiled 5 290 to 690 computations (87% saved)

prune14.0ms (0.2%)

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

20 alts after pruning (13 fresh and 7 done)

PrunedKeptTotal
New15711168
Fresh022
Picked145
Done033
Total15820178
Accuracy
99.7%
Counts
178 → 20
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.4%
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
99.6%
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
56.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
85.4%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
53.5%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
48.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
20.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
35.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
3.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
35.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
11.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
22.9%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
22.3%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
27.8%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
32.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
28.9%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
28.5%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
53.0%
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
Compiler

Compiled 1 038 to 776 computations (25.2% saved)

simplify204.0ms (3.1%)

Memory
-57.8MiB live, 118.7MiB allocated; 84ms collecting garbage
Localize:

Found 20 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))
cost-diff0
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
cost-diff1
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
cost-diff0
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
cost-diff0
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))
cost-diff0
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
cost-diff0
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
cost-diff0
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
cost-diff0
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
cost-diff0
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
cost-diff0
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
cost-diff0
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
cost-diff0
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
cost-diff0
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
cost-diff0
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
cost-diff0
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058493
078493
1136493
2281493
3649493
42173489
08644467
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
#s(literal 1/8 binary64)
x
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(/.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(*.f64 x x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)))
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
(*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)))
x
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))
(/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y)
(-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64))
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
#s(literal -1/8 binary64)
y
#s(literal -1 binary64)
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
#s(literal 1/8 binary64)
x
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(log.f64 #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
x
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
(/.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(-.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(*.f64 x x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/.f64 x y)
x
y
#s(literal 1/2 binary64)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (neg.f64 (fma.f64 (*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1/8 binary64)) x) x (*.f64 y x))))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (neg.f64 (fma.f64 (*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1/8 binary64)) x) x (*.f64 y x)))))
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (neg.f64 (fma.f64 (*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1/8 binary64)) x) x (*.f64 y x))))
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
(neg.f64 (fma.f64 (*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1/8 binary64)) x) x (*.f64 y x)))
(*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)))
(*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) x)
x
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))
(/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y)
(-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64))
(/.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
#s(literal -1/8 binary64)
y
#s(literal -1 binary64)

localize136.0ms (2.1%)

Memory
15.7MiB live, 116.3MiB allocated; 7ms collecting garbage
Localize:

Found 20 expressions of interest:

NewMetricScoreProgram
accuracy2.672714854315846
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
accuracy12.155710442766757
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))
accuracy13.316178942192764
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
accuracy32.463731797720165
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)))
accuracy0.01953125
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)
accuracy4.0324722238938975
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
accuracy9.363943604065234
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
accuracy32.522325547714665
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
accuracy13.316178942192764
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
accuracy14.164832436314281
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
accuracy19.350959414135286
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
accuracy32.463731797720165
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x)))
accuracy0.00390625
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
accuracy9.363943604065234
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
accuracy30.498803370428924
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
accuracy32.522325547714665
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
accuracy0.00390625
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
accuracy0.0078125
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
accuracy13.316178942192764
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
accuracy30.498803370428924
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
Samples
112.0ms255×0valid
1.0ms2valid
Compiler

Compiled 259 to 39 computations (84.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 76.0ms
ival-mult: 49.0ms (64.2% of total)
ival-div: 8.0ms (10.5% of total)
ival-sub: 6.0ms (7.9% of total)
ival-add: 5.0ms (6.6% of total)
ival-exp: 2.0ms (2.6% of total)
ival-log: 2.0ms (2.6% of total)
ival-log1p: 2.0ms (2.6% of total)
exact: 1.0ms (1.3% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series32.0ms (0.5%)

Memory
8.6MiB live, 53.9MiB allocated; 5ms collecting garbage
Counts
21 → 79
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)))
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))
Outputs
(log 2)
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(- 1/2 y)
(- (+ 1/2 (* 1/8 x)) y)
(* x (- 1/2 y))
(* x (- (+ 1/2 (* 1/8 x)) y))
(/ (- 1/2 y) x)
(/ (- (+ 1/2 (* 1/8 x)) y) x)
(* x (* y (- (* 1/2 (/ 1 y)) 1)))
(* x (+ (* 1/8 x) (* y (- (* 1/2 (/ 1 y)) 1))))
(* x (- (* 1/2 (/ 1 y)) 1))
(- (* 1/2 (/ 1 y)) 1)
(- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)
(* -1 (* x y))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(* 1/8 (pow x 2))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(* 1/8 x)
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* x (- (+ 1/2 (/ (log 2) x)) y))
1/8
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))
(* (pow x 2) (+ 1/8 (/ (* y (- (* 1/2 (/ 1 y)) 1)) x)))
(* 1/8 (/ x y))
(* x (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8)))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x))))
(+ 1/8 (* -1 (/ (- y 1/2) x)))
(* -1 (* x (* y (- 1 (* 1/2 (/ 1 y))))))
(* -1 (* x (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* x (- (* -1 (/ (- (* 1/2 (/ 1 y)) 1) x)) (* 1/8 (/ 1 y)))))
(log (+ 1 (exp x)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(+ 1/2 (* 1/8 x))
(+ 1/2 (+ (* -1 y) (* 1/8 x)))
1/2
(+ 1/2 (* -1 y))
(+ (log 2) (* 1/2 x))
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(* 1/2 x)
(+ (* -1 (* x y)) (* 1/2 x))
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))))
(+ 1/8 (* 1/2 (/ 1 x)))
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x))))
(* 1/2 (/ x y))
(/ (+ (* -1 (* x y)) (* 1/2 x)) y)
(/ (* x (+ 1/8 (* 1/2 (/ 1 x)))) y)
(/ (+ (* -1 y) (* x (+ 1/8 (* 1/2 (/ 1 x))))) y)
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(* -1 y)
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1))
(* y (- (* 1/2 (/ 1 y)) 1))
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(* y (+ (* -1 x) (* 1/2 (/ x y))))
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))
(* -1 (/ y x))
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(* -1 x)
(- (* 1/2 (/ x y)) x)
-1
(- (/ (* x (+ 1/8 (* 1/2 (/ 1 x)))) y) 1)
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y)))))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(* -1 (* y (+ x (* -1/2 (/ x y)))))
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))))
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x))))
Calls

6 calls:

TimeVariablePointExpression
7.0ms
x
@inf
((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (* x (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- (* (/ x y) 1/2) x) (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1))
5.0ms
x
@-inf
((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (* x (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- (* (/ x y) 1/2) x) (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1))
5.0ms
y
@0
((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (* x (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- (* (/ x y) 1/2) x) (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1))
5.0ms
y
@-inf
((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (* x (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- (* (/ x y) 1/2) x) (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1))
4.0ms
x
@0
((- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (+ (* 1/8 x) (- 1/2 y)) (- 1/2 y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- 1/8 (/ (+ -1/2 y) x)) (- (log (+ 1 (exp x))) (* x y)) (+ (* (- 1/2 y) x) (log 2)) (* (- 1/2 y) x) (* (- (* (/ x y) 1/2) x) y) (* (* x (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1)) y) (- (log (+ 1 (exp x))) (* x y)) (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (- (* (/ x y) 1/2) x) (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1))

simplify152.0ms (2.3%)

Memory
-32.7MiB live, 110.9MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0184634
1624629
22227609
08434553
Stop Event
iter limit
node limit
Counts
79 → 79
Calls
Call 1
Inputs
(log 2)
(+ (log 2) (* x (- 1/2 y)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(- 1/2 y)
(- (+ 1/2 (* 1/8 x)) y)
(* x (- 1/2 y))
(* x (- (+ 1/2 (* 1/8 x)) y))
(/ (- 1/2 y) x)
(/ (- (+ 1/2 (* 1/8 x)) y) x)
(* x (* y (- (* 1/2 (/ 1 y)) 1)))
(* x (+ (* 1/8 x) (* y (- (* 1/2 (/ 1 y)) 1))))
(* x (- (* 1/2 (/ 1 y)) 1))
(- (* 1/2 (/ 1 y)) 1)
(- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)
(* -1 (* x y))
(* x (- (/ (log (+ 1 (exp x))) x) y))
(* 1/8 (pow x 2))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(* 1/8 x)
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(* x (- (+ 1/2 (/ (log 2) x)) y))
1/8
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))
(* (pow x 2) (+ 1/8 (/ (* y (- (* 1/2 (/ 1 y)) 1)) x)))
(* 1/8 (/ x y))
(* x (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8)))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x))))
(+ 1/8 (* -1 (/ (- y 1/2) x)))
(* -1 (* x (* y (- 1 (* 1/2 (/ 1 y))))))
(* -1 (* x (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* x (- (* -1 (/ (- (* 1/2 (/ 1 y)) 1) x)) (* 1/8 (/ 1 y)))))
(log (+ 1 (exp x)))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(+ 1/2 (* 1/8 x))
(+ 1/2 (+ (* -1 y) (* 1/8 x)))
1/2
(+ 1/2 (* -1 y))
(+ (log 2) (* 1/2 x))
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(* 1/2 x)
(+ (* -1 (* x y)) (* 1/2 x))
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))))
(+ 1/8 (* 1/2 (/ 1 x)))
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x))))
(* 1/2 (/ x y))
(/ (+ (* -1 (* x y)) (* 1/2 x)) y)
(/ (* x (+ 1/8 (* 1/2 (/ 1 x)))) y)
(/ (+ (* -1 y) (* x (+ 1/8 (* 1/2 (/ 1 x))))) y)
(* y (- (/ (log (+ 1 (exp x))) y) x))
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(* -1 y)
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1))
(* y (- (* 1/2 (/ 1 y)) 1))
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(* y (+ (* -1 x) (* 1/2 (/ x y))))
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))
(* -1 (/ y x))
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(* -1 x)
(- (* 1/2 (/ x y)) x)
-1
(- (/ (* x (+ 1/8 (* 1/2 (/ 1 x)))) y) 1)
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y)))))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(* -1 (* y (+ x (* -1/2 (/ x y)))))
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))))
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x))))
Outputs
(log 2)
(log.f64 #s(literal 2 binary64))
(+ (log 2) (* x (- 1/2 y)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* 1/8 x)) y)))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (* x (- (+ 1/2 (* x (+ 1/8 (* -1/192 (pow x 2))))) y)))
(fma.f64 (fma.f64 (fma.f64 (*.f64 x x) #s(literal -1/192 binary64) #s(literal 1/8 binary64)) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(- 1/2 y)
(-.f64 #s(literal 1/2 binary64) y)
(- (+ 1/2 (* 1/8 x)) y)
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
(* x (- 1/2 y))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* x (- (+ 1/2 (* 1/8 x)) y))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(/ (- 1/2 y) x)
(/.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(/ (- (+ 1/2 (* 1/8 x)) y) x)
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(* x (* y (- (* 1/2 (/ 1 y)) 1)))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* x (+ (* 1/8 x) (* y (- (* 1/2 (/ 1 y)) 1))))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(* x (- (* 1/2 (/ 1 y)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)
(- (* 1/2 (/ 1 y)) 1)
(-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64))
(- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1)
(/.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) y)
(* -1 (* x y))
(*.f64 (neg.f64 x) y)
(* x (- (/ (log (+ 1 (exp x))) x) y))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* 1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/8 binary64))
(* (pow x 2) (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(*.f64 (fma.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 y x)) x #s(literal 1/2 binary64)) x)
(* (pow x 2) (- (+ 1/8 (+ (* 1/2 (/ 1 x)) (/ (log 2) (pow x 2)))) (/ y x)))
(*.f64 (*.f64 (-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x) #s(literal -1/8 binary64)) x) x)
(* 1/8 x)
(*.f64 #s(literal 1/8 binary64) x)
(* x (- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x)))
(fma.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 y x)) x #s(literal 1/2 binary64))
(* x (- (+ 1/2 (/ (log 2) x)) y))
(*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)
1/8
#s(literal 1/8 binary64)
(- (+ 1/8 (* 1/2 (/ 1 x))) (/ y x))
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(* (pow x 2) (+ 1/8 (/ (* y (- (* 1/2 (/ 1 y)) 1)) x)))
(*.f64 (fma.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 y x)) x #s(literal 1/2 binary64)) x)
(* 1/8 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/8 binary64))
(* x (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(fma.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) y) (/.f64 #s(literal 1 binary64) x)) x (/.f64 #s(literal 1/2 binary64) y))
(* -1 (* x (- (* -1 (/ (log (+ 1 (exp x))) x)) (* -1 y))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) x) y) x)
(* (pow x 2) (+ 1/8 (* -1 (/ (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x))) x))))
(*.f64 (*.f64 (-.f64 (/.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x) #s(literal -1/8 binary64)) x) x)
(* -1 (* x (- (* -1 (/ (- 1/2 y) x)) 1/8)))
(fma.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 y x)) x #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (- 1/2 y)) (* -1 (/ (log 2) x)))))
(*.f64 (-.f64 (-.f64 (/.f64 (log.f64 #s(literal 2 binary64)) x) #s(literal -1/2 binary64)) y) x)
(* (pow x 2) (+ 1/8 (* -1 (/ (- y 1/2) x))))
(*.f64 (fma.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 y x)) x #s(literal 1/2 binary64)) x)
(+ 1/8 (* -1 (/ (- y 1/2) x)))
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(* -1 (* x (* y (- 1 (* 1/2 (/ 1 y))))))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* -1 (* x (- 1 (* 1/2 (/ 1 y)))))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)
(* -1 (* x (- (* -1 (/ (- (* 1/2 (/ 1 y)) 1) x)) (* 1/8 (/ 1 y)))))
(fma.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) y) (/.f64 #s(literal 1 binary64) x)) x (/.f64 #s(literal 1/2 binary64) y))
(log (+ 1 (exp x)))
(log1p.f64 (exp.f64 x))
(+ (log (+ 1 (exp x))) (* -1 (* x y)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(+ (log 2) (* x (+ 1/2 (* 1/8 x))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (+ (* -1 (* x y)) (* x (+ 1/2 (* 1/8 x)))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(+ 1/2 (* 1/8 x))
(fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64))
(+ 1/2 (+ (* -1 y) (* 1/8 x)))
(fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1 y))
(-.f64 #s(literal 1/2 binary64) y)
(+ (log 2) (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x (log.f64 #s(literal 2 binary64)))
(+ (log 2) (+ (* -1 (* x y)) (* 1/2 x)))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(+ (* -1 (* x y)) (* 1/2 x))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x))))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x)
(+ (* -1 (* x y)) (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(+ 1/8 (* 1/2 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64))
(+ 1/8 (+ (* -1 (/ y x)) (* 1/2 (/ 1 x))))
(-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) y) x) #s(literal -1/8 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(/ (+ (* -1 (* x y)) (* 1/2 x)) y)
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)
(/ (* x (+ 1/8 (* 1/2 (/ 1 x)))) y)
(/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y)
(/ (+ (* -1 y) (* x (+ 1/8 (* 1/2 (/ 1 x))))) y)
(/.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) y)
(* y (- (/ (log (+ 1 (exp x))) y) x))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* y (+ (* -1 x) (+ (/ (log 2) y) (/ (* x (+ 1/2 (* 1/8 x))) y))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(* -1 y)
(neg.f64 y)
(* y (- (+ (* 1/8 (/ x y)) (* 1/2 (/ 1 y))) 1))
(neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal -1/2 binary64)) #s(literal 1 binary64) y))
(* y (- (* 1/2 (/ 1 y)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)
(* y (+ (* -1 x) (+ (* 1/2 (/ x y)) (/ (log 2) y))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(* y (+ (* -1 x) (* 1/2 (/ x y))))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* y (+ (* -1 x) (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(* -1 (/ y x))
(/.f64 (neg.f64 y) x)
(* y (- (+ (/ 1/2 (* x y)) (* 1/8 (/ 1 y))) (/ 1 x)))
(neg.f64 (fma.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) #s(literal 1 binary64) (/.f64 y x)))
(* -1 x)
(neg.f64 x)
(- (* 1/2 (/ x y)) x)
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)
-1
#s(literal -1 binary64)
(- (/ (* x (+ 1/8 (* 1/2 (/ 1 x)))) y) 1)
(/.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) y)
(* -1 (* y (- (* -1 (/ (log (+ 1 (exp x))) y)) (* -1 x))))
(*.f64 (-.f64 (/.f64 (log1p.f64 (exp.f64 x)) y) x) y)
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* x (+ 1/2 (* 1/8 x)))) y)))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))
(* -1 (* y (+ 1 (* -1 (/ (+ 1/2 (* 1/8 x)) y)))))
(neg.f64 (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal -1/2 binary64)) #s(literal 1 binary64) y))
(* -1 (* y (- 1 (* 1/2 (/ 1 y)))))
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) y)
(* -1 (* y (+ x (* -1 (/ (+ (log 2) (* 1/2 x)) y)))))
(fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))
(* -1 (* y (+ x (* -1/2 (/ x y)))))
(*.f64 (-.f64 #s(literal 1/2 binary64) y) x)
(* -1 (* y (+ x (* -1 (/ (* (pow x 2) (+ 1/8 (* 1/2 (/ 1 x)))) y)))))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x)
(* -1 (* y (+ (* -1 (/ (+ 1/8 (* 1/2 (/ 1 x))) y)) (/ 1 x))))
(neg.f64 (fma.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) #s(literal 1 binary64) (/.f64 y x)))

rewrite87.0ms (1.3%)

Memory
10.8MiB live, 97.5MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058423
078423
1299423
02226401
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
21 → 89
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x)))
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y)))
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64))) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log.f64 #s(literal 2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log.f64 #s(literal 2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (log.f64 #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log.f64 #s(literal 2 binary64))))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 3 binary64)) (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64))) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64)))
(fma.f64 x (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) (log.f64 #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log.f64 #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log.f64 #s(literal 2 binary64)))))
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))) x))
(-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (log.f64 #s(literal 2 binary64)) (-.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x) (log.f64 #s(literal 2 binary64)))
(+.f64 (log.f64 #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x))
(/.f64 (-.f64 (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 #s(literal 1/64 binary64) (*.f64 x x))) (-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x)))
(/.f64 (neg.f64 (-.f64 (*.f64 #s(literal 1/64 binary64) (*.f64 x x)) (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/512 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/64 binary64) (*.f64 x x) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x))))))
(/.f64 (-.f64 (*.f64 #s(literal 1/64 binary64) (*.f64 x x)) (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 #s(literal 1/512 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(literal 1/64 binary64) (*.f64 x x)) (*.f64 #s(literal 1/8 binary64) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))))
(/.f64 (fma.f64 #s(literal 1/512 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 #s(literal 1/64 binary64) (*.f64 x x) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x)))))
(fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
(fma.f64 x #s(literal 1/8 binary64) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
(-.f64 (/.f64 (*.f64 #s(literal 1/64 binary64) (*.f64 x x)) (-.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))) (/.f64 (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))))
(-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/8 binary64) x))
(-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/8 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/8 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/64 binary64) (*.f64 x x) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x))))) (/.f64 (pow.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/64 binary64) (*.f64 x x) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (-.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x))))))
(+.f64 (*.f64 #s(literal 1/8 binary64) x) #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
(+.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/8 binary64) x))
#s(approx (- 1/2 y) #s(literal 1/2 binary64))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x))
(*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)
(*.f64 x #s(approx (- 1/2 y) #s(literal 1/2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))))
(*.f64 (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) x) x)
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))))
(*.f64 (*.f64 x x) #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
(*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))
(*.f64 x (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) x))
#s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)))
#s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))
(*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y)
(*.f64 y (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 x x)) y) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) y) (fma.f64 x (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))))
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 x x))) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x))
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))))
(*.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) y) x)
(*.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) x) y)
(*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x))
(*.f64 (*.f64 y x) (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)))
(*.f64 y (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) x))
(*.f64 x (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) y))
(fma.f64 (*.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) x) y (*.f64 (neg.f64 x) y))
(fma.f64 y (*.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) x) (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 (*.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) x) y) (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 y (*.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) x)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) x) y))))
#s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) x) y)))
#s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) x) y))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x)) (/.f64 (*.f64 x x) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x)))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (fma.f64 x (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) x) (pow.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) #s(literal 2 binary64)))))
(-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x)
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x)) (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal -1 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) (neg.f64 x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x)) (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64))))
(fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))
(fma.f64 x (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) #s(literal -1 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal -1 binary64))))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y)) x))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 3 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x)) (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x)) (pow.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x))

eval15.0ms (0.2%)

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

Compiled 5 755 to 662 computations (88.5% saved)

prune31.0ms (0.5%)

Memory
-22.3MiB live, 24.2MiB allocated; 2ms collecting garbage
Pruning

25 alts after pruning (15 fresh and 10 done)

PrunedKeptTotal
New1328140
Fresh178
Picked145
Done167
Total13525160
Accuracy
99.7%
Counts
160 → 25
Alt Table
Click to see full alt table
StatusAccuracyProgram
91.4%
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
56.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
85.4%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
53.5%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
48.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
53.6%
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x)))
20.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
35.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
3.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
3.7%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
35.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
11.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
22.9%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
22.3%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
27.8%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
32.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
28.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
28.5%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
28.9%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
6.2%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
6.1%
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
53.0%
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
Compiler

Compiled 1 836 to 817 computations (55.5% saved)

regimes27.0ms (0.4%)

Memory
26.5MiB live, 26.5MiB allocated; 0ms collecting garbage
Counts
32 → 1
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x)))
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Outputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
Calls

3 calls:

8.0ms
x
8.0ms
y
7.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Results
AccuracySegmentsBranch
99.6%1(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
99.6%1x
99.6%1y
Compiler

Compiled 11 to 12 computations (-9.1% saved)

regimes29.0ms (0.4%)

Memory
-29.4MiB live, 26.1MiB allocated; 8ms collecting garbage
Counts
30 → 2
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (log1p.f64 (exp.f64 x)))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64))))
Calls

3 calls:

11.0ms
y
9.0ms
x
7.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Results
AccuracySegmentsBranch
98.4%2(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
99.3%2x
91.4%1y
Compiler

Compiled 11 to 12 computations (-9.1% saved)

regimes9.0ms (0.1%)

Memory
14.3MiB live, 14.3MiB allocated; 0ms collecting garbage
Counts
28 → 2
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(approx (- 1/2 y) #s(literal 1/2 binary64))) x (log.f64 #s(literal 2 binary64))))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64))))
Calls

1 calls:

7.0ms
x
Results
AccuracySegmentsBranch
99.3%2x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes8.0ms (0.1%)

Memory
14.3MiB live, 14.3MiB allocated; 0ms collecting garbage
Counts
26 → 2
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
(fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))))
Calls

1 calls:

7.0ms
x
Results
AccuracySegmentsBranch
98.8%2x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes11.0ms (0.2%)

Memory
-32.2MiB live, 12.7MiB allocated; 4ms collecting garbage
Counts
25 → 2
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
(-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y))
Calls

1 calls:

10.0ms
x
Results
AccuracySegmentsBranch
98.8%2x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes14.0ms (0.2%)

Memory
24.3MiB live, 24.3MiB allocated; 0ms collecting garbage
Counts
24 → 3
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
Calls

2 calls:

6.0ms
x
6.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Results
AccuracySegmentsBranch
98.7%3(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
85.6%2x
Compiler

Compiled 10 to 10 computations (0% saved)

regimes7.0ms (0.1%)

Memory
16.6MiB live, 16.5MiB allocated; 0ms collecting garbage
Counts
23 → 3
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
Calls

1 calls:

5.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Results
AccuracySegmentsBranch
98.3%3(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Compiler

Compiled 9 to 8 computations (11.1% saved)

regimes21.0ms (0.3%)

Memory
1.5MiB live, 43.8MiB allocated; 3ms collecting garbage
Counts
22 → 1
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 (-.f64 #s(literal 1/2 binary64) y) x)))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (*.f64 x x) #s(literal 1/8 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (neg.f64 y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 #s(approx (- 1/8 (/ (+ -1/2 y) x)) (/.f64 (-.f64 #s(literal 1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 #s(literal -1/2 binary64) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (/.f64 y x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 #s(approx (- (* (/ x y) 1/2) x) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64)) x)) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) #s(approx (* (- 1/2 y) x) (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (*.f64 (/.f64 x y) #s(literal 1/8 binary64)))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x #s(approx (+ (* (/ (- (/ 1/2 x) -1/8) y) x) -1) (/.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/2 binary64)) y))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (+.f64 #s(literal -1/2 binary64) y) x)) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (/.f64 (*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1/2 binary64) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) (/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal -1/2 binary64) y) x))) (*.f64 x x))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) (/.f64 x y) #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (*.f64 x (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64))) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) #s(approx (* (- 1/8 (/ (+ -1/2 y) x)) (* x x)) (*.f64 (fma.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1/8 binary64)) y) x #s(literal -1 binary64)) (*.f64 y x)))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (+ (* 1/8 x) (- 1/2 y)) x) (log 2)) (*.f64 (-.f64 #s(literal 1/8 binary64) #s(approx (/ (+ -1/2 y) x) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) y))) (*.f64 x x))))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
Calls

3 calls:

6.0ms
y
6.0ms
x
6.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Results
AccuracySegmentsBranch
48.7%1x
48.7%1y
48.7%1(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
Compiler

Compiled 11 to 12 computations (-9.1% saved)

regimes12.0ms (0.2%)

Memory
-34.1MiB live, 8.7MiB allocated; 13ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
Outputs
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
Calls

3 calls:

9.0ms
(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
3.7%1(-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y))
3.7%1y
3.7%1x
Compiler

Compiled 11 to 12 computations (-9.1% saved)

bsearch14.0ms (0.2%)

Memory
17.6MiB live, 17.6MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
12.0ms
-37646717392723016.0
-5566400784.571608
Samples
7.0ms144×0valid
Compiler

Compiled 318 to 272 computations (14.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-sub: 1.0ms (27.2% of total)
ival-exp: 1.0ms (27.2% of total)
ival-log1p: 1.0ms (27.2% of total)
ival-mult: 1.0ms (27.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
1.0ms
-37646717392723016.0
-5566400784.571608
Compiler

Compiled 291 to 254 computations (12.7% saved)

bsearch1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
1.0ms
-37646717392723016.0
-5566400784.571608
Compiler

Compiled 237 to 218 computations (8% saved)

bsearch1.0ms (0%)

Memory
1.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
1.0ms
-37646717392723016.0
-5566400784.571608
Compiler

Compiled 237 to 218 computations (8% saved)

bsearch1.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
87.7538475566723
7753289355977107000.0
0.0ms
2.1016737859054695e-16
0.6931463530765931
Compiler

Compiled 12 to 13 computations (-8.3% saved)

bsearch1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
87.7538475566723
7753289355977107000.0
0.0ms
2.1016737859054695e-16
0.6931463530765931
Compiler

Compiled 12 to 13 computations (-8.3% saved)

simplify79.0ms (1.2%)

Memory
-22.5MiB live, 38.9MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061287
193287
2126287
3205287
4566287
55067287
Stop Event
node limit
Calls
Call 1
Inputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)))
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 2028240960365167/5070602400912917605986812821504 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 100 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))))
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 2028240960365167/5070602400912917605986812821504 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 100 binary64)) #s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))
Outputs
(fma.f64 (neg.f64 x) y (log1p.f64 (exp.f64 x)))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (fma.f64 #s(literal 1/8 binary64) x (-.f64 #s(literal 1/2 binary64) y)) x (log.f64 #s(literal 2 binary64)))))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 (-.f64 #s(literal 1/2 binary64) y) x (log.f64 #s(literal 2 binary64)))))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (fma.f64 (neg.f64 y) x (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64)))))
(if (<=.f64 x #s(literal -5600000000 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (-.f64 (log.f64 #s(approx (+ 1 (exp x)) #s(literal 2 binary64))) (*.f64 x y)))
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 2028240960365167/5070602400912917605986812821504 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 100 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))))
(if (or (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 2028240960365167/5070602400912917605986812821504 binary64)) (not (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 100 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (fma.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x (log.f64 #s(literal 2 binary64)))))
(if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 2028240960365167/5070602400912917605986812821504 binary64)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) (if (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 100 binary64)) #s(approx (+ (* (neg x) y) (log (+ 1 (exp x)))) (log.f64 #s(literal 2 binary64))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))))
(if (or (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 2028240960365167/5070602400912917605986812821504 binary64)) (not (<=.f64 (-.f64 (log.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x))) (*.f64 x y)) #s(literal 100 binary64)))) #s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y)) #s(approx (- (log (+ 1 (exp x))) (* x y)) (log.f64 #s(literal 2 binary64))))
#s(approx (- (log (+ 1 (exp x))) (* x y)) (*.f64 (neg.f64 x) y))
#s(approx (- (log (+ 1 (exp x))) (* x y)) #s(approx (+ (* (- 1/2 y) x) (log 2)) (*.f64 #s(approx (- 1/2 y) #s(literal 1/2 binary64)) x)))

derivations743.0ms (11.2%)

Memory
-1.4MiB live, 665.2MiB allocated; 68ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186661
1666630
22377624
37876622
08309566
0159548
1555519
21942514
36802514
08109452
028118
044118
1157118
01205118
067193
1212192
2673192
32213192
45569192
08515158
0820
01320
14920
036416
Stop Event
fuel
iter limit
iter limit
iter limit
unsound
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
node limit
Compiler

Compiled 287 to 61 computations (78.7% saved)

preprocess49.0ms (0.7%)

Memory
37.7MiB live, 82.3MiB allocated; 6ms collecting garbage
Compiler

Compiled 644 to 174 computations (73% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...