Rust f64::asinh

Time bar (total: 5.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 4 to 4 computations (0% saved)

sample622.0ms (12.2%)

Memory
15.8MiB live, 926.7MiB allocated; 198ms collecting garbage
Samples
408.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 121.0ms
ival-asinh: 109.0ms (89.9% of total)
ival-true: 6.0ms (4.9% of total)
ival-assert: 3.0ms (2.5% of total)
adjust: 2.0ms (1.6% of total)
Bogosity

explain267.0ms (5.2%)

Memory
7.7MiB live, 400.3MiB allocated; 44ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1310-0-(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
550-0-(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
00-0-#s(literal 1 binary64)
00-0-(fabs.f64 x)
00-0-(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
00-0-(*.f64 x x)
00-0-(+.f64 (*.f64 x x) #s(literal 1 binary64))
00-0-(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f64(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))sensitivity1300
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))oflow-rescue550
(*.f64 x x)overflow55
(+.f64 (*.f64 x x) #s(literal 1 binary64))overflow55
log.f64(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))oflow-rescue10
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))overflow1
(*.f64 x x)overflow55
(+.f64 (*.f64 x x) #s(literal 1 binary64))overflow55
Confusion
Predicted +Predicted -
+1850
-071
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+18500
-0071
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
071
1184
21
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
84.0ms98×2valid
41.0ms158×1valid
38.0ms256×0valid
Compiler

Compiled 114 to 31 computations (72.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 126.0ms
ival-log: 72.0ms (57% of total)
ival-hypot: 20.0ms (15.8% of total)
adjust: 11.0ms (8.7% of total)
ival-copysign: 8.0ms (6.3% of total)
ival-add: 7.0ms (5.5% of total)
ival-mult: 5.0ms (4% of total)
ival-fabs: 3.0ms (2.4% of total)
ival-true: 1.0ms (0.8% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess218.0ms (4.3%)

Memory
-31.8MiB live, 154.3MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
0912
01612
12412
24512
38512
414412
535112
6240112
7591412
0815311
Stop Event
iter limit
node limit
iter limit
saturated
Calls
Call 1
Inputs
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
Outputs
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x)
Compiler

Compiled 12 to 9 computations (25% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
32.3%
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
Compiler

Compiled 12 to 9 computations (25% saved)

simplify183.0ms (3.6%)

Memory
30.5MiB live, 136.0MiB allocated; 8ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
cost-diff0
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
cost-diff0
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
cost-diff1
(+.f64 (*.f64 x x) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0949
01649
12449
24549
38549
414449
535149
6240149
7591449
0815344
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
(fabs.f64 x)
x
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
(+.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1 binary64)
Outputs
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x)))
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
(+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))
(fabs.f64 x)
x
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
(sqrt.f64 (fma.f64 x x #s(literal 1 binary64)))
(+.f64 (*.f64 x x) #s(literal 1 binary64))
(fma.f64 x x #s(literal 1 binary64))
(*.f64 x x)
#s(literal 1 binary64)

localize110.0ms (2.2%)

Memory
-5.4MiB live, 79.1MiB allocated; 22ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fabs.f64 x)
accuracy0.01171875
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
accuracy12.762454284963866
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
accuracy30.2219719974362
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
Samples
50.0ms79×1valid
39.0ms49×2valid
12.0ms128×0valid
Compiler

Compiled 51 to 11 computations (78.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 90.0ms
ival-log: 63.0ms (69.8% of total)
ival-hypot: 10.0ms (11.1% of total)
adjust: 5.0ms (5.5% of total)
ival-copysign: 4.0ms (4.4% of total)
ival-add: 4.0ms (4.4% of total)
ival-mult: 2.0ms (2.2% of total)
ival-fabs: 2.0ms (2.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
15.8MiB live, 15.8MiB allocated; 0ms collecting garbage
Counts
6 → 39
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) #s(literal 1 binary64))
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
(fabs.f64 x)
Outputs
1
(+ 1 (pow x 2))
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(log (+ 1 (fabs x)))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ 1 (fabs x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(+ 1 (* 1/2 (pow x 2)))
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))
(fabs x)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* -1 (log (/ 1 x)))
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
x
(* x (+ 1 (/ (fabs x) x)))
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))
(* -1 (log (/ -1 x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(* -1 x)
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))))
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
((+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (fabs x))
1.0ms
x
@-inf
((+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (fabs x))
1.0ms
x
@inf
((+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (fabs x))

simplify174.0ms (3.4%)

Memory
-39.6MiB live, 389.4MiB allocated; 61ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169586
1568548
22395527
08393487
Stop Event
iter limit
node limit
Counts
39 → 38
Calls
Call 1
Inputs
1
(+ 1 (pow x 2))
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(log (+ 1 (fabs x)))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ 1 (fabs x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(+ 1 (* 1/2 (pow x 2)))
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))
(fabs x)
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* -1 (log (/ 1 x)))
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
x
(* x (+ 1 (/ (fabs x) x)))
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))
(* -1 (log (/ -1 x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(* -1 x)
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))))
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))))
Outputs
1
#s(literal 1 binary64)
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x)
(log (+ 1 (fabs x)))
(log1p.f64 (fabs.f64 x))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x)))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x)))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x)))
(+ 1 (fabs x))
(-.f64 (fabs.f64 x) #s(literal -1 binary64))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64)))
(+ 1 (* 1/2 (pow x 2)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(fabs x)
(fabs.f64 x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* -1 (log (/ 1 x)))
(log.f64 x)
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+.f64 (/.f64 (fabs.f64 x) x) (log.f64 x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
(fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x)))
x
(* x (+ 1 (/ (fabs x) x)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x)
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)
(* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)
(* -1 (log (/ -1 x)))
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(-.f64 (fma.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x)
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))))
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x)
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))))
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))))) x)

rewrite65.0ms (1.3%)

Memory
32.6MiB live, 134.8MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0944
01632
15624
040623
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
6 → 75
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) #s(literal 1 binary64))
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
(fabs.f64 x)
Outputs
(*.f64 (neg.f64 (cosh.f64 (asinh.f64 x))) (neg.f64 (cosh.f64 (asinh.f64 x))))
(*.f64 (fabs.f64 (cosh.f64 (asinh.f64 x))) (fabs.f64 (cosh.f64 (asinh.f64 x))))
(*.f64 (cosh.f64 (asinh.f64 x)) (cosh.f64 (asinh.f64 x)))
(pow.f64 (*.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64))) #s(literal 1/2 binary64))
(pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 2 binary64))
(pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 1 binary64))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal 1 binary64))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 x x #s(literal 1 binary64))
(sqrt.f64 (*.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x))
(-.f64 #s(literal 1 binary64) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 x x) #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))))
(+.f64 #s(literal 1 binary64) (*.f64 x x))
(+.f64 (*.f64 x x) #s(literal 1 binary64))
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(asinh.f64 (fabs.f64 x))
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))))
(-.f64 (log.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))))
(log.f64 (+.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)))
(/.f64 (-.f64 (fma.f64 x x #s(literal 1 binary64)) (*.f64 x x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (neg.f64 (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64))) (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (-.f64 (*.f64 x x) (*.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)))))
(/.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x)))
(fma.f64 (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (fabs.f64 x))
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) (cosh.f64 (asinh.f64 x)))
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) (cosh.f64 (asinh.f64 x)))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (cosh.f64 (asinh.f64 x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))) (/.f64 (fma.f64 x x #s(literal 1 binary64)) (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))))
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))) (/.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))))
(+.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x))
(+.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))
(*.f64 (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))))
(/.f64 (+.f64 (exp.f64 (asinh.f64 x)) (exp.f64 (neg.f64 (asinh.f64 x)))) #s(literal 2 binary64))
(cosh.f64 (neg.f64 (asinh.f64 x)))
(cosh.f64 (asinh.f64 (neg.f64 x)))
(cosh.f64 (asinh.f64 x))
(cosh.f64 (asinh.f64 (fabs.f64 x)))
(sqrt.f64 (fma.f64 x x #s(literal 1 binary64)))
(exp.f64 (*.f64 (log1p.f64 (*.f64 x x)) #s(literal 1/2 binary64)))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 1 binary64))
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 (neg.f64 x)))
(fabs.f64 (neg.f64 x))
(fabs.f64 (fabs.f64 x))
(fabs.f64 x)

eval36.0ms (0.7%)

Memory
-15.7MiB live, 65.6MiB allocated; 24ms collecting garbage
Compiler

Compiled 2 162 to 611 computations (71.7% saved)

prune4.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1075112
Fresh000
Picked101
Done000
Total1085113
Accuracy
100.0%
Counts
113 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
30.2%
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
24.9%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
28.4%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
99.9%
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
8.1%
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Compiler

Compiled 154 to 108 computations (29.9% saved)

simplify161.0ms (3.2%)

Memory
13.5MiB live, 205.0MiB allocated; 41ms collecting garbage
Localize:

Found 18 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
cost-diff0
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
cost-diff0
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
cost-diff0
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
cost-diff0
(fabs.f64 x)
cost-diff0
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
cost-diff0
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
cost-diff0
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
cost-diff0
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
cost-diff0
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
cost-diff0
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
cost-diff3
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
cost-diff0
(log.f64 x)
cost-diff0
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
cost-diff0
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
cost-diff0
(fabs.f64 x)
cost-diff0
(asinh.f64 (fabs.f64 x))
cost-diff0
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030259
049259
165259
297255
3164247
4366247
52172247
08375234
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(asinh.f64 (fabs.f64 x))
(fabs.f64 x)
x
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
(log.f64 x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(fabs.f64 x)
x
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
#s(approx (+ (* x x) 1) (*.f64 x x))
(*.f64 x x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64))
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
#s(literal 1 binary64)
Outputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(asinh.f64 (fabs.f64 x))
(fabs.f64 x)
x
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
(log.f64 x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (+.f64 (fabs.f64 x) x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (+.f64 (fabs.f64 x) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (+.f64 (fabs.f64 x) x))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(+.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))
(fabs.f64 x)
x
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
#s(approx (+ (* x x) 1) (*.f64 x x))
(*.f64 x x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64))
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
#s(literal 1 binary64)

localize199.0ms (3.9%)

Memory
-18.5MiB live, 229.6MiB allocated; 133ms collecting garbage
Localize:

Found 18 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
accuracy0.0
(fabs.f64 x)
accuracy12.475894713213844
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
accuracy27.249458789702476
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
accuracy0.00390625
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
accuracy6.283434590679516
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
accuracy12.475894713213844
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
accuracy13.175646908619433
#s(approx (+ (* x x) 1) (*.f64 x x))
accuracy0.0
(/.f64 (fabs.f64 x) x)
accuracy0.0
(fabs.f64 x)
accuracy12.475894713213844
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
accuracy13.030921559599737
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
accuracy0.0
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
accuracy0.0
(log.f64 x)
accuracy23.18985149923933
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
accuracy0.0
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
accuracy0.0
(fabs.f64 x)
accuracy0.02734375
(asinh.f64 (fabs.f64 x))
Samples
57.0ms144×0invalid
21.0ms25×2valid
10.0ms29×1valid
9.0ms58×0valid
Compiler

Compiled 185 to 19 computations (89.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 75.0ms
ival-fabs: 19.0ms (25.4% of total)
ival-log: 15.0ms (20% of total)
ival-asinh: 11.0ms (14.7% of total)
ival-hypot: 7.0ms (9.3% of total)
adjust: 6.0ms (8% of total)
ival-copysign: 5.0ms (6.7% of total)
ival-mult: 5.0ms (6.7% of total)
ival-add: 4.0ms (5.3% of total)
ival-div: 2.0ms (2.7% of total)
ival-sub: 1.0ms (1.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series192.0ms (3.8%)

Memory
12.9MiB live, 298.9MiB allocated; 29ms collecting garbage
Counts
20 → 48
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(asinh.f64 (fabs.f64 x))
(fabs.f64 x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
(log.f64 x)
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(/.f64 (fabs.f64 x) x)
#s(approx (+ (* x x) 1) (*.f64 x x))
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
Outputs
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x)
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2)))))
(fabs x)
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(log (+ 1 (fabs x)))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(log x)
(+ x (fabs x))
(+ 1 (fabs x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(+ (fabs x) (* -1 x))
(/ (fabs x) x)
1
(+ 1 (pow x 2))
(+ 1 (* 1/2 (pow x 2)))
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))
(* -1 (log (/ 1 x)))
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
x
(* x (+ 1 (/ (fabs x) x)))
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(* -1 x)
(* x (- (/ (fabs x) x) 1))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))
(* -1 (log (/ -1 x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1)))
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))))
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))))
Calls

3 calls:

TimeVariablePointExpression
67.0ms
x
@inf
((copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (+ (* (/ (fabs x) x) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (/ (fabs x) x) (+ (* x x) 1) (sqrt (+ (* x x) 1)))
64.0ms
x
@-inf
((copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (+ (* (/ (fabs x) x) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (/ (fabs x) x) (+ (* x x) 1) (sqrt (+ (* x x) 1)))
60.0ms
x
@0
((copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (+ (* (/ (fabs x) x) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (/ (fabs x) x) (+ (* x x) 1) (sqrt (+ (* x x) 1)))

simplify184.0ms (3.6%)

Memory
20.2MiB live, 191.1MiB allocated; 49ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0184646
1595606
22437586
08448543
Stop Event
iter limit
node limit
Counts
48 → 47
Calls
Call 1
Inputs
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x)
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2)))))
(fabs x)
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(log (+ 1 (fabs x)))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(log x)
(+ x (fabs x))
(+ 1 (fabs x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(+ (fabs x) (* -1 x))
(/ (fabs x) x)
1
(+ 1 (pow x 2))
(+ 1 (* 1/2 (pow x 2)))
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))
(* -1 (log (/ 1 x)))
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
x
(* x (+ 1 (/ (fabs x) x)))
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(* -1 x)
(* x (- (/ (fabs x) x) 1))
(pow x 2)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))
(* -1 (log (/ -1 x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1)))
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2))))))
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))))
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))))
Outputs
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x)
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2)))))
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x)))
(fabs x)
(fabs.f64 x)
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x)
(log (+ 1 (fabs x)))
(log1p.f64 (fabs.f64 x))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x)))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x)))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x)))
(log x)
(log.f64 x)
(+ x (fabs x))
(+.f64 (fabs.f64 x) x)
(+ 1 (fabs x))
(-.f64 (fabs.f64 x) #s(literal -1 binary64))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64)))
(+ (fabs x) (* -1 x))
(-.f64 (fabs.f64 x) x)
(/ (fabs x) x)
(/.f64 (fabs.f64 x) x)
1
#s(literal 1 binary64)
(+ 1 (pow x 2))
(fma.f64 x x #s(literal 1 binary64))
(+ 1 (* 1/2 (pow x 2)))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64))
(* -1 (log (/ 1 x)))
(log.f64 x)
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+.f64 (log.f64 x) (/.f64 (fabs.f64 x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
(fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x)))
x
(* x (+ 1 (/ (fabs x) x)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x)
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)
(* -1 x)
(neg.f64 x)
(* x (- (/ (fabs x) x) 1))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ 1 (pow x 2))))
(fma.f64 x x #s(literal 1 binary64))
(* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)
(* -1 (log (/ -1 x)))
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(-.f64 (fma.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2))))))
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x)
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))))
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x)
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))))
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))))) x)

rewrite58.0ms (1.1%)

Memory
-8.0MiB live, 37.5MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030234
049202
1135202
0856197
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
20 → 86
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(asinh.f64 (fabs.f64 x))
(fabs.f64 x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
(log.f64 x)
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(/.f64 (fabs.f64 x) x)
#s(approx (+ (* x x) 1) (*.f64 x x))
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
Outputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(asinh.f64 (fabs.f64 x))
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))))
(-.f64 (log.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))))
(log.f64 (+.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 1 binary64))
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 (neg.f64 x)))
(fabs.f64 (neg.f64 x))
(fabs.f64 (fabs.f64 x))
(fabs.f64 x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x))
(log.f64 x)
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))) (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)))
(/.f64 (neg.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))))
(/.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (*.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(fma.f64 (fabs.f64 x) (/.f64 x x) x)
(fma.f64 x (/.f64 (fabs.f64 x) x) x)
(-.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 (fabs.f64 x) x)) x))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 (fabs.f64 x) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))))
(+.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)
(+.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x))
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) x)
(-.f64 (log.f64 (-.f64 (*.f64 x x) #s(approx (+ (* x x) 1) (*.f64 x x)))) (log.f64 (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))))
(-.f64 (log.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))))
(log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))
(/.f64 (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 x x)) (-.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) #s(approx (+ (* x x) 1) (*.f64 x x)))) (neg.f64 (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))))
(/.f64 (-.f64 (*.f64 x x) #s(approx (+ (* x x) 1) (*.f64 x x))) (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (+.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (-.f64 (*.f64 x x) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))))
(fma.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)) (fabs.f64 x))
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) (/.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))))
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))) (/.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))))
(+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)
(*.f64 x (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64)) x) (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 3 binary64)) #s(literal 1 binary64)) x) (+.f64 (+.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 (fabs.f64 x) x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 3 binary64)) #s(literal 1 binary64))) (+.f64 (+.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 (fabs.f64 x) x)))
(*.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(/.f64 (*.f64 (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) (neg.f64 x))
(/.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) x)
(/.f64 (neg.f64 (neg.f64 (fabs.f64 x))) (neg.f64 (neg.f64 x)))
(/.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x))
(/.f64 (fabs.f64 x) x)
(neg.f64 (/.f64 (neg.f64 (fabs.f64 x)) x))
(neg.f64 (/.f64 (fabs.f64 x) (neg.f64 x)))
(*.f64 (neg.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) (neg.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(*.f64 (fabs.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) (fabs.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
(*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))
(pow.f64 (*.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(approx (+ (* x x) 1) (*.f64 x x))) #s(literal 1/2 binary64))
(pow.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) #s(literal 2 binary64))
(pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1 binary64))
#s(approx (+ (* x x) 1) (*.f64 x x))
(sqrt.f64 (*.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(approx (+ (* x x) 1) (*.f64 x x))))
(*.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)))
(pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) #s(literal 1/2 binary64)))

eval104.0ms (2%)

Memory
13.7MiB live, 62.7MiB allocated; 46ms collecting garbage
Compiler

Compiled 4 105 to 804 computations (80.4% saved)

prune18.0ms (0.4%)

Memory
-32.8MiB live, 13.0MiB allocated; 21ms collecting garbage
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1683171
Fresh000
Picked325
Done000
Total1715176
Accuracy
100.0%
Counts
176 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
24.9%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
28.4%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
56.0%
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
99.9%
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
8.1%
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Compiler

Compiled 82 to 53 computations (35.4% saved)

simplify833.0ms (16.3%)

Memory
-30.2MiB live, 146.7MiB allocated; 1.1s collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))
cost-diff0
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
cost-diff0
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
cost-diff3
(+.f64 (fabs.f64 x) x)
cost-diff0
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
cost-diff0
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
cost-diff0
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
cost-diff1
(-.f64 (fabs.f64 x) x)
cost-diff0
(sqrt.f64 (neg.f64 x))
cost-diff0
(asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))))
cost-diff0
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
cost-diff5
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028217
041202
162202
2116190
3312151
4601128
54500128
08490122
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
(asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(sqrt.f64 (neg.f64 x))
(neg.f64 x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))
(-.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
(+.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
Outputs
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
(copysign.f64 (asinh.f64 (neg.f64 x)) x)
(asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))))
(asinh.f64 (neg.f64 x))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(neg.f64 x)
(sqrt.f64 (neg.f64 x))
(neg.f64 x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (*.f64 #s(literal -2 binary64) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (*.f64 #s(literal -2 binary64) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (*.f64 #s(literal -2 binary64) x)))
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))
#s(approx (* (- (/ (fabs x) x) 1) x) (*.f64 #s(literal -2 binary64) x))
(-.f64 (fabs.f64 x) x)
(*.f64 #s(literal -2 binary64) x)
(fabs.f64 x)
(neg.f64 x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 0 binary64)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 0 binary64))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 0 binary64)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
#s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 0 binary64))
(+.f64 (fabs.f64 x) x)
#s(literal 0 binary64)
(fabs.f64 x)
(neg.f64 x)
x

localize150.0ms (2.9%)

Memory
-24.9MiB live, 166.0MiB allocated; 25ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fabs.f64 x)
accuracy0.0
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
accuracy17.746077284222352
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
accuracy35.01597155155874
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))
accuracy0.0
(fabs.f64 x)
accuracy0.0
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))
accuracy17.746077284222352
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
accuracy18.346450455454534
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
accuracy0.0
(sqrt.f64 (neg.f64 x))
accuracy0.0
(neg.f64 x)
accuracy0.03515625
(asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))))
accuracy0.30078125
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
Samples
33.0ms50×1valid
24.0ms112×0invalid
17.0ms24×2valid
12.0ms70×0valid
Compiler

Compiled 125 to 21 computations (83.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 71.0ms
ival-mult: 17.0ms (23.9% of total)
ival-copysign: 12.0ms (16.8% of total)
ival-log: 12.0ms (16.8% of total)
ival-hypot: 7.0ms (9.8% of total)
ival-asinh: 5.0ms (7% of total)
ival-add: 4.0ms (5.6% of total)
ival-sqrt: 3.0ms (4.2% of total)
adjust: 2.0ms (2.8% of total)
ival-div: 2.0ms (2.8% of total)
ival-sub: 2.0ms (2.8% of total)
ival-neg: 2.0ms (2.8% of total)
ival-fabs: 1.0ms (1.4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series16.0ms (0.3%)

Memory
-29.6MiB live, 22.6MiB allocated; 15ms collecting garbage
Counts
16 → 46
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
(asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))))
(sqrt.f64 (neg.f64 x))
(-.f64 (fabs.f64 x) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
(+.f64 (fabs.f64 x) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))
(neg.f64 x)
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))
(fabs.f64 x)
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
Outputs
(* x (pow (sqrt -1) 2))
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* x (pow (sqrt -1) 2)))) x)
(* x (+ (* 1/2 (* x (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4)))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/6 (* x (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6))))) (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))) (* x (+ (* 1/24 (* x (+ (* -12 (pow (sqrt -1) 8)) (* 12 (pow (sqrt -1) 8))))) (* 1/6 (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6)))))))) (pow (sqrt -1) 2)))
(* (sqrt x) (sqrt -1))
(fabs x)
(+ (fabs x) (* -1 x))
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(log (+ 1 (fabs x)))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ 1 (fabs x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(+ x (fabs x))
(* -1 x)
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ 1 x))))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8)))))
(* x (- (/ (fabs x) x) 1))
(* -1 (log (/ 1 x)))
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
x
(* x (+ 1 (/ (fabs x) x)))
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(copysign (log (+ (sqrt (+ 1 (pow x 2))) (* -1 x))) x)
(+ (log 2) (* -1 (log (/ -1 x))))
(+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2)))))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4)))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4)))
(* -1 (* (sqrt x) (sqrt -1)))
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(* -1 (log (/ -1 x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1)))
Calls

3 calls:

TimeVariablePointExpression
10.0ms
x
@inf
((* (sqrt (neg x)) (sqrt (neg x))) (copysign (asinh (* (sqrt (neg x)) (sqrt (neg x)))) x) (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (sqrt (neg x)) (- (fabs x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (fabs x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (neg x) (* (- (/ (fabs x) x) 1) x) (fabs x) (+ (* (/ (fabs x) x) x) x))
3.0ms
x
@0
((* (sqrt (neg x)) (sqrt (neg x))) (copysign (asinh (* (sqrt (neg x)) (sqrt (neg x)))) x) (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (sqrt (neg x)) (- (fabs x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (fabs x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (neg x) (* (- (/ (fabs x) x) 1) x) (fabs x) (+ (* (/ (fabs x) x) x) x))
2.0ms
x
@-inf
((* (sqrt (neg x)) (sqrt (neg x))) (copysign (asinh (* (sqrt (neg x)) (sqrt (neg x)))) x) (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (sqrt (neg x)) (- (fabs x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (fabs x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (neg x) (* (- (/ (fabs x) x) 1) x) (fabs x) (+ (* (/ (fabs x) x) x) x))

simplify162.0ms (3.2%)

Memory
15.8MiB live, 252.2MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0245792
1803673
23563634
08218591
Stop Event
iter limit
node limit
Counts
46 → 45
Calls
Call 1
Inputs
(* x (pow (sqrt -1) 2))
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* x (pow (sqrt -1) 2)))) x)
(* x (+ (* 1/2 (* x (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4)))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/6 (* x (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6))))) (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))) (* x (+ (* 1/24 (* x (+ (* -12 (pow (sqrt -1) 8)) (* 12 (pow (sqrt -1) 8))))) (* 1/6 (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6)))))))) (pow (sqrt -1) 2)))
(* (sqrt x) (sqrt -1))
(fabs x)
(+ (fabs x) (* -1 x))
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(log (+ 1 (fabs x)))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(+ 1 (fabs x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(+ x (fabs x))
(* -1 x)
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ 1 x))))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8)))))
(* x (- (/ (fabs x) x) 1))
(* -1 (log (/ 1 x)))
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
x
(* x (+ 1 (/ (fabs x) x)))
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(copysign (log (+ (sqrt (+ 1 (pow x 2))) (* -1 x))) x)
(+ (log 2) (* -1 (log (/ -1 x))))
(+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2)))))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4)))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4)))
(* -1 (* (sqrt x) (sqrt -1)))
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(* -1 (log (/ -1 x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1)))
Outputs
(* x (pow (sqrt -1) 2))
(neg.f64 x)
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* x (pow (sqrt -1) 2)))) x)
(copysign.f64 (log.f64 (-.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(* x (+ (* 1/2 (* x (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4)))) (pow (sqrt -1) 2)))
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
(* x (+ (* x (+ (* 1/6 (* x (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6))))) (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))))) (pow (sqrt -1) 2)))
(*.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal -1/6 binary64)) x #s(literal 0 binary64)) x #s(literal -1 binary64)) x)
(* x (+ (* x (+ (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))) (* x (+ (* 1/24 (* x (+ (* -12 (pow (sqrt -1) 8)) (* 12 (pow (sqrt -1) 8))))) (* 1/6 (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6)))))))) (pow (sqrt -1) 2)))
(*.f64 (fma.f64 (fma.f64 (fma.f64 (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal -1/6 binary64) (*.f64 #s(literal 0 binary64) x)) x #s(literal 0 binary64)) x #s(literal -1 binary64)) x)
(* (sqrt x) (sqrt -1))
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -1 binary64)))
(fabs x)
(fabs.f64 x)
(+ (fabs x) (* -1 x))
(-.f64 (fabs.f64 x) x)
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x)
(log (+ 1 (fabs x)))
(log1p.f64 (fabs.f64 x))
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x)))))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x))) x) x (log1p.f64 (fabs.f64 x)))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x))) #s(literal 3 binary64)) (+.f64 #s(literal 1 binary64) (fabs.f64 x))) (/.f64 #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x)))) (*.f64 x x) (log1p.f64 (fabs.f64 x)))
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x)))))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x))) #s(literal 45 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fabs.f64 x)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x))) #s(literal 3 binary64)) (+.f64 #s(literal 1 binary64) (fabs.f64 x))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (fabs.f64 x)))) (*.f64 x x) (log1p.f64 (fabs.f64 x)))
(+ 1 (fabs x))
(+.f64 #s(literal 1 binary64) (fabs.f64 x))
(+ 1 (+ (fabs x) (* 1/2 (pow x 2))))
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (+.f64 #s(literal 1 binary64) (fabs.f64 x)))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))))
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x (+.f64 #s(literal 1 binary64) (fabs.f64 x)))
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))))
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (+.f64 #s(literal 1 binary64) (fabs.f64 x)))
(+ x (fabs x))
(+.f64 (fabs.f64 x) x)
(* -1 x)
(neg.f64 x)
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ 1 x))))
(+.f64 (log.f64 x) (log.f64 #s(literal -2 binary64)))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal -2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x)))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8))))
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal -2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8)))))
(-.f64 (+.f64 (+.f64 (-.f64 (/.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 12 binary64))) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (log.f64 x)) (log.f64 #s(literal -2 binary64))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64))))
(* x (- (/ (fabs x) x) 1))
(fma.f64 (/.f64 (fabs.f64 x) x) x (neg.f64 x))
(* -1 (log (/ 1 x)))
(log.f64 x)
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x))
(+.f64 (log.f64 x) (/.f64 (fabs.f64 x) x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))
(+.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 x x #s(literal -1 binary64)) x) #s(literal -1/2 binary64) (fabs.f64 x)) x) (log.f64 x))
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))))
(fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 x x #s(literal -1 binary64)) x) #s(literal -1/2 binary64) (fabs.f64 x)) x) (log.f64 x)))
x
(* x (+ 1 (/ (fabs x) x)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))))
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x)
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4)))))
(*.f64 (-.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal 1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x)
(copysign (log (+ (sqrt (+ 1 (pow x 2))) (* -1 x))) x)
(copysign.f64 (log.f64 (-.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(+ (log 2) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2)))))
(-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x)))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4)))
(-.f64 (-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4)))
(-.f64 (-.f64 (-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))
(* -1 (* (sqrt x) (sqrt -1)))
(*.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 #s(literal -1 binary64)))
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(fma.f64 (/.f64 (fabs.f64 x) x) x (neg.f64 x))
(* -1 (log (/ -1 x)))
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x)))
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x)))
(-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x)))
(-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x)) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x)))))
(fma.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x)))))
(fma.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) x (neg.f64 x))
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)

rewrite54.0ms (1.1%)

Memory
9.9MiB live, 56.8MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028212
041179
1145168
0927164
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
16 → 92
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
(asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))))
(sqrt.f64 (neg.f64 x))
(-.f64 (fabs.f64 x) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
(+.f64 (fabs.f64 x) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))
(neg.f64 x)
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))
(fabs.f64 x)
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
Outputs
(*.f64 (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(*.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (neg.f64 (sqrt.f64 (neg.f64 x))))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(pow.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 x) #s(literal 1 binary64))
(pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 2 binary64))
(pow.f64 x #s(literal 1 binary64))
(neg.f64 x)
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 x))
(fabs.f64 x)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64)))
(copysign.f64 (asinh.f64 (neg.f64 x)) x)
(asinh.f64 (neg.f64 x))
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (neg.f64 x) (cosh.f64 (asinh.f64 x)))))
(-.f64 (log.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (neg.f64 x)) (*.f64 x x))))
(log.f64 (-.f64 (cosh.f64 (asinh.f64 x)) x))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 1/4 binary64)) (pow.f64 (neg.f64 x) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (sqrt.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 (sqrt.f64 (neg.f64 x))) (sqrt.f64 (sqrt.f64 (neg.f64 x))))
(*.f64 (pow.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 1/2 binary64)) (pow.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 x x) #s(literal 1/4 binary64))
(pow.f64 (neg.f64 x) #s(literal 1/2 binary64))
(pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 1 binary64))
(sqrt.f64 (neg.f64 x))
(fabs.f64 (neg.f64 (sqrt.f64 (neg.f64 x))))
(fabs.f64 (sqrt.f64 (neg.f64 x)))
(exp.f64 (*.f64 (log.f64 (neg.f64 x)) #s(literal 1/2 binary64)))
(*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (-.f64 (neg.f64 x) x))
(*.f64 (/.f64 #s(literal 0 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))) (fma.f64 x x (fma.f64 x x (*.f64 x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) (neg.f64 (-.f64 x x)))
(/.f64 #s(literal 0 binary64) (-.f64 x x))
(/.f64 (-.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x x)) (/.f64 (*.f64 x x) (-.f64 x x)))
(-.f64 (/.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))))
(-.f64 (neg.f64 x) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (neg.f64 x) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (neg.f64 x) x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (neg.f64 x) x)))
(*.f64 (/.f64 #s(literal 0 binary64) (-.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64)))
(*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (-.f64 x x))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x (fma.f64 x x (*.f64 x x)))))
(/.f64 #s(literal 0 binary64) (-.f64 x (neg.f64 x)))
(/.f64 #s(literal 0 binary64) (neg.f64 (-.f64 (neg.f64 x) x)))
(/.f64 #s(literal 0 binary64) (-.f64 (neg.f64 x) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 x x (*.f64 x x))))
(fma.f64 (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) x)
(fma.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (neg.f64 (sqrt.f64 (neg.f64 x))) x)
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 (neg.f64 x) x)) (/.f64 (*.f64 x x) (-.f64 (neg.f64 x) x)))
(-.f64 x x)
(+.f64 (/.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (fma.f64 x x (fma.f64 x x (*.f64 x x)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 x x (*.f64 x x)))))
(+.f64 (neg.f64 x) x)
(+.f64 x (neg.f64 x))
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (-.f64 x x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (-.f64 x x))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (-.f64 x x)))
(*.f64 (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(*.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (neg.f64 (sqrt.f64 (neg.f64 x))))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(pow.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 x) #s(literal 1 binary64))
(pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 2 binary64))
(pow.f64 x #s(literal 1 binary64))
(neg.f64 x)
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 x))
(fabs.f64 x)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (neg.f64 x) x))
(*.f64 (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(*.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (neg.f64 (sqrt.f64 (neg.f64 x))))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(pow.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 x) #s(literal 1 binary64))
(pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 2 binary64))
(pow.f64 x #s(literal 1 binary64))
(neg.f64 x)
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 x))
(fabs.f64 x)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64)))
#s(approx (+ (* (/ (fabs x) x) x) x) (-.f64 x x))

eval59.0ms (1.1%)

Memory
-14.6MiB live, 32.6MiB allocated; 2ms collecting garbage
Compiler

Compiled 2 762 to 600 computations (78.3% saved)

prune4.0ms (0.1%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New1211122
Fresh000
Picked033
Done022
Total1216127
Accuracy
100.0%
Counts
127 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
24.9%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
28.4%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
56.0%
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
99.9%
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
8.1%
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
53.3%
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
Compiler

Compiled 99 to 64 computations (35.4% saved)

simplify157.0ms (3.1%)

Memory
-6.4MiB live, 129.4MiB allocated; 28ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x))
cost-diff0
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
cost-diff1
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
cost-diff3
(fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01145
01523
12720
25220
314020
4197120
0843720
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x))
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
(fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64))
#s(literal 0 binary64)
x
#s(literal -1 binary64)
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x))
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x))
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
(neg.f64 x)
(fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64))
#s(literal -1 binary64)
#s(literal 0 binary64)
x
#s(literal -1 binary64)

localize30.0ms (0.6%)

Memory
0.4MiB live, 45.3MiB allocated; 6ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64))
accuracy0.0
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
accuracy0.0
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
accuracy16.254082707100675
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x))
Samples
11.0ms144×0valid
8.0ms112×0invalid
Compiler

Compiled 35 to 13 computations (62.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 4.0ms (32.8% of total)
ival-copysign: 2.0ms (16.4% of total)
ival-asinh: 2.0ms (16.4% of total)
ival-sqrt: 2.0ms (16.4% of total)
ival-add: 1.0ms (8.2% of total)
ival-neg: 1.0ms (8.2% 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)

series2.0ms (0%)

Memory
5.4MiB live, 5.4MiB allocated; 0ms collecting garbage
Counts
4 → 16
Calls
Call 1
Inputs
(fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64))
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x))
Outputs
-1
(* -1 x)
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* x (pow (sqrt -1) 2)))) x)
(* x (pow (sqrt -1) 2))
(* x (+ (* 1/2 (* x (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4)))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/6 (* x (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6))))) (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))) (* x (+ (* 1/24 (* x (+ (* -12 (pow (sqrt -1) 8)) (* 12 (pow (sqrt -1) 8))))) (* 1/6 (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6)))))))) (pow (sqrt -1) 2)))
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ 1 x))))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8)))))
(copysign (log (+ (sqrt (+ 1 (pow x 2))) (* -1 x))) x)
(+ (log 2) (* -1 (log (/ -1 x))))
(+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2)))))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4)))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4)))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((+ (* 0 x) -1) (* (+ (* 0 x) -1) x) (copysign (asinh (* (sqrt (neg x)) (sqrt (neg x)))) x) (asinh (* (sqrt (neg x)) (sqrt (neg x)))))
1.0ms
x
@0
((+ (* 0 x) -1) (* (+ (* 0 x) -1) x) (copysign (asinh (* (sqrt (neg x)) (sqrt (neg x)))) x) (asinh (* (sqrt (neg x)) (sqrt (neg x)))))
0.0ms
x
@-inf
((+ (* 0 x) -1) (* (+ (* 0 x) -1) x) (copysign (asinh (* (sqrt (neg x)) (sqrt (neg x)))) x) (asinh (* (sqrt (neg x)) (sqrt (neg x)))))

simplify175.0ms (3.4%)

Memory
8.0MiB live, 164.7MiB allocated; 42ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108287
1326221
21346192
09107188
Stop Event
iter limit
node limit
Counts
16 → 16
Calls
Call 1
Inputs
-1
(* -1 x)
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* x (pow (sqrt -1) 2)))) x)
(* x (pow (sqrt -1) 2))
(* x (+ (* 1/2 (* x (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4)))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/6 (* x (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6))))) (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))))) (pow (sqrt -1) 2)))
(* x (+ (* x (+ (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))) (* x (+ (* 1/24 (* x (+ (* -12 (pow (sqrt -1) 8)) (* 12 (pow (sqrt -1) 8))))) (* 1/6 (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6)))))))) (pow (sqrt -1) 2)))
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ 1 x))))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8)))))
(copysign (log (+ (sqrt (+ 1 (pow x 2))) (* -1 x))) x)
(+ (log 2) (* -1 (log (/ -1 x))))
(+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2)))))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4)))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4)))
Outputs
-1
#s(literal -1 binary64)
(* -1 x)
(neg.f64 x)
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* x (pow (sqrt -1) 2)))) x)
(copysign.f64 (log.f64 (-.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(* x (pow (sqrt -1) 2))
(neg.f64 x)
(* x (+ (* 1/2 (* x (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4)))) (pow (sqrt -1) 2)))
(neg.f64 x)
(* x (+ (* x (+ (* 1/6 (* x (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6))))) (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))))) (pow (sqrt -1) 2)))
(*.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 6 binary64))) x) x #s(literal -1 binary64)) x)
(* x (+ (* x (+ (* 1/2 (+ (* -1 (pow (sqrt -1) 4)) (pow (sqrt -1) 4))) (* x (+ (* 1/24 (* x (+ (* -12 (pow (sqrt -1) 8)) (* 12 (pow (sqrt -1) 8))))) (* 1/6 (+ (* -3 (pow (sqrt -1) 6)) (* 2 (pow (sqrt -1) 6)))))))) (pow (sqrt -1) 2)))
(*.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 6 binary64))) x) x #s(literal -1 binary64)) x)
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ 1 x))))
(+.f64 (log.f64 x) (log.f64 #s(literal -2 binary64)))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal -2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x)))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8))))
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal -2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64))))
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ 1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8)))))
(-.f64 (+.f64 (+.f64 (-.f64 (/.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 12 binary64))) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (log.f64 x)) (log.f64 #s(literal -2 binary64))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64))))
(copysign (log (+ (sqrt (+ 1 (pow x 2))) (* -1 x))) x)
(copysign.f64 (log.f64 (-.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(+ (log 2) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2)))))
(-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x)))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4)))
(-.f64 (-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))
(- (+ (log 2) (+ (* -1 (log (/ -1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4)))
(-.f64 (-.f64 (-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))))

rewrite45.0ms (0.9%)

Memory
14.5MiB live, 60.0MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01142
01520
16217
022617
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 26
Calls
Call 1
Inputs
(fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64))
(*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x))
Outputs
#s(literal -1 binary64)
(*.f64 (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))))
(*.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (neg.f64 (sqrt.f64 (neg.f64 x))))
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(pow.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 x) #s(literal 1 binary64))
(pow.f64 (sqrt.f64 (neg.f64 x)) #s(literal 2 binary64))
(/.f64 (neg.f64 x) #s(literal 1 binary64))
(neg.f64 (*.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (sqrt.f64 (neg.f64 x))))
(neg.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (neg.f64 (sqrt.f64 (neg.f64 x)))))
(neg.f64 x)
(fma.f64 (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) (neg.f64 (neg.f64 (sqrt.f64 (neg.f64 x)))) #s(literal 0 binary64))
(fma.f64 (neg.f64 (sqrt.f64 (neg.f64 x))) (neg.f64 (sqrt.f64 (neg.f64 x))) #s(literal 0 binary64))
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) #s(literal 0 binary64))
(fma.f64 #s(literal -1 binary64) x #s(literal 0 binary64))
(fma.f64 x #s(literal -1 binary64) #s(literal 0 binary64))
(sqrt.f64 (*.f64 x x))
(fabs.f64 (neg.f64 x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (neg.f64 x))) #s(literal 2 binary64)))
(+.f64 #s(literal 0 binary64) (neg.f64 x))
(+.f64 (neg.f64 x) #s(literal 0 binary64))
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
#s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x))

eval23.0ms (0.5%)

Memory
-24.4MiB live, 29.3MiB allocated; 10ms collecting garbage
Compiler

Compiled 739 to 168 computations (77.3% saved)

prune5.0ms (0.1%)

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

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New36238
Fresh000
Picked101
Done055
Total37744
Accuracy
100.0%
Counts
44 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
24.9%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
28.4%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
56.0%
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
99.9%
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
8.1%
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
30.6%
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
53.3%
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
Compiler

Compiled 312 to 141 computations (54.8% saved)

regimes12.0ms (0.2%)

Memory
-14.8MiB live, 25.9MiB allocated; 10ms collecting garbage
Counts
12 → 1
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x)
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
Outputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
Calls

2 calls:

4.0ms
x
3.0ms
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
Results
AccuracySegmentsBranch
99.9%1(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
99.9%1x
Compiler

Compiled 13 to 10 computations (23.1% saved)

regimes4.0ms (0.1%)

Memory
13.2MiB live, 13.2MiB allocated; 0ms collecting garbage
Counts
4 → 2
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Calls

2 calls:

2.0ms
x
2.0ms
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
Results
AccuracySegmentsBranch
59.2%2(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
59.2%2x
Compiler

Compiled 13 to 10 computations (23.1% saved)

regimes11.0ms (0.2%)

Memory
-28.3MiB live, 13.7MiB allocated; 9ms collecting garbage
Accuracy

Total -14.5b remaining (-48.6%)

Threshold costs -14.5b (-48.6%)

Counts
3 → 1
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (fma.f64 #s(literal 0 binary64) x #s(literal -1 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)))) x)
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
Calls

2 calls:

9.0ms
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
1.0ms
x
Results
AccuracySegmentsBranch
53.3%1(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
53.3%1x
Compiler

Compiled 13 to 10 computations (23.1% saved)

bsearch19.0ms (0.4%)

Memory
40.8MiB live, 40.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
17.0ms
2.8350711551552757e-5
10032249611355.639
Samples
11.0ms160×0valid
Compiler

Compiled 295 to 221 computations (25.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-hypot: 3.0ms (41.2% of total)
ival-log: 2.0ms (27.5% of total)
ival-copysign: 1.0ms (13.7% of total)
ival-add: 1.0ms (13.7% of total)
ival-fabs: 1.0ms (13.7% 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)

simplify130.0ms (2.5%)

Memory
-32.3MiB live, 66.0MiB allocated; 59ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02440
14240
29240
321539
428339
552039
6280039
7745639
Stop Event
node limit
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(if (<=.f64 x #s(literal 3602879701896397/1125899906842624 binary64)) (copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x) (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x))
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)
Outputs
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
(if (<=.f64 x #s(literal 3602879701896397/1125899906842624 binary64)) (copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x) (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x))
(copysign.f64 #s(approx (asinh (* (sqrt (neg x)) (sqrt (neg x)))) (neg.f64 x)) x)

derivations527.0ms (10.3%)

Memory
7.3MiB live, 533.8MiB allocated; 92ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169586
1568548
22395527
08393487
0108287
1326221
21346192
09107188
0944
01632
15624
040623
0245792
1803673
23563634
08218591
030234
049202
1135202
0856197
Stop Event
fuel
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
iter limit
unsound
iter limit
iter limit
node limit
iter limit
node limit
Compiler

Compiled 50 to 24 computations (52% saved)

preprocess79.0ms (1.6%)

Memory
-10.8MiB live, 80.1MiB allocated; 30ms collecting garbage
Compiler

Compiled 164 to 86 computations (47.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...