Rust f64::asinh

Time bar (total: 5.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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)

sample656.0ms (11.9%)

Memory
26.0MiB live, 863.1MiB allocated; 211ms collecting garbage
Samples
352.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 105.0ms
ival-asinh: 94.0ms (89.8% of total)
ival-true: 6.0ms (5.7% of total)
ival-assert: 3.0ms (2.9% of total)
adjust: 2.0ms (1.9% of total)
Bogosity

explain969.0ms (17.5%)

Memory
-50.4MiB live, 362.2MiB allocated; 1.2s collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1260-1(-0.012680790026279885)(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
670-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)))))sensitivity1252
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))oflow-rescue670
(*.f64 x x)overflow67
(+.f64 (*.f64 x x) #s(literal 1 binary64))overflow67
Confusion
Predicted +Predicted -
+1921
-063
Precision
1.0
Recall
0.9948186528497409
Confusion?
Predicted +Predicted MaybePredicted -
+19210
-0162
Precision?
0.9948453608247423
Recall?
1.0
Freqs
test
numberfreq
064
1192
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
794.0ms170×1valid
39.0ms76×2valid
30.0ms266×0valid
Compiler

Compiled 114 to 31 computations (72.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 151.0ms
ival-copysign: 62.0ms (40.9% of total)
ival-log: 46.0ms (30.4% of total)
ival-hypot: 19.0ms (12.5% of total)
adjust: 10.0ms (6.6% of total)
ival-add: 7.0ms (4.6% of total)
ival-mult: 4.0ms (2.6% of total)
ival-fabs: 3.0ms (2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess279.0ms (5%)

Memory
-36.6MiB live, 245.9MiB allocated; 23ms collecting garbage
Algorithm
egg-herbie
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.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
29.5%
(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)

simplify217.0ms (3.9%)

Memory
35.5MiB live, 178.6MiB allocated; 22ms collecting garbage
Algorithm
egg-herbie
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)

localize167.0ms (3%)

Memory
-42.0MiB live, 153.1MiB allocated; 36ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fabs.f64 x)
accuracy0.0078125
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))
accuracy15.58455077323471
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))
accuracy28.914537116073603
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))))
Samples
62.0ms85×1valid
39.0ms38×2valid
34.0ms133×0valid
Compiler

Compiled 51 to 11 computations (78.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 125.0ms
ival-add: 45.0ms (36% of total)
ival-hypot: 29.0ms (23.2% of total)
ival-mult: 24.0ms (19.2% of total)
ival-log: 17.0ms (13.6% of total)
adjust: 5.0ms (4% of total)
ival-copysign: 4.0ms (3.2% of total)
ival-fabs: 2.0ms (1.6% 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
12.3MiB live, 12.3MiB 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))

simplify173.0ms (3.1%)

Memory
22.8MiB live, 257.7MiB allocated; 21ms collecting garbage
Algorithm
egg-herbie
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)

rewrite75.0ms (1.3%)

Memory
1.9MiB live, 101.2MiB allocated; 18ms 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)

eval56.0ms (1%)

Memory
7.0MiB live, 47.4MiB allocated; 7ms collecting garbage
Compiler

Compiled 2 162 to 611 computations (71.7% saved)

prune5.0ms (0.1%)

Memory
12.0MiB live, 12.0MiB 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
27.1%
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x)
25.3%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x)
29.9%
(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.8%
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
8.6%
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Compiler

Compiled 154 to 108 computations (29.9% saved)

simplify225.0ms (4.1%)

Memory
-20.1MiB live, 205.6MiB allocated; 80ms collecting garbage
Algorithm
egg-herbie
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)

localize216.0ms (3.9%)

Memory
3.1MiB live, 256.8MiB allocated; 101ms 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)
accuracy14.024165837275875
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)))
accuracy29.430771869006488
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))
accuracy0.0
(fabs.f64 x)
accuracy6.501420745556758
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))
accuracy14.024165837275875
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))
accuracy15.235027758119559
#s(approx (+ (* x x) 1) (*.f64 x x))
accuracy0.0
(/.f64 (fabs.f64 x) x)
accuracy0.0
(fabs.f64 x)
accuracy14.024165837275875
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)))
accuracy15.025254506071574
#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)
accuracy25.348710225834484
#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.05078125
(asinh.f64 (fabs.f64 x))
Samples
50.0ms135×0invalid
23.0ms18×2valid
14.0ms42×1valid
10.0ms61×0valid
Compiler

Compiled 185 to 19 computations (89.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 53.0ms
ival-log: 23.0ms (43.6% of total)
ival-hypot: 7.0ms (13.3% of total)
ival-copysign: 4.0ms (7.6% of total)
ival-add: 4.0ms (7.6% of total)
ival-mult: 4.0ms (7.6% of total)
adjust: 3.0ms (5.7% of total)
ival-div: 2.0ms (3.8% of total)
ival-asinh: 2.0ms (3.8% of total)
ival-fabs: 2.0ms (3.8% of total)
ival-sub: 1.0ms (1.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series198.0ms (3.6%)

Memory
17.0MiB live, 202.4MiB allocated; 33ms 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
116.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)))
57.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)))
24.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)))

simplify216.0ms (3.9%)

Memory
12.2MiB live, 197.3MiB allocated; 60ms collecting garbage
Algorithm
egg-herbie
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)

rewrite111.0ms (2%)

Memory
-35.6MiB live, 162.2MiB allocated; 18ms 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)))

eval39.0ms (0.7%)

Memory
1.3MiB live, 61.5MiB allocated; 23ms collecting garbage
Compiler

Compiled 4 105 to 804 computations (80.4% saved)

prune5.0ms (0.1%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms 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
25.3%
(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)
29.9%
(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)
47.0%
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x)
99.8%
(copysign.f64 (asinh.f64 (fabs.f64 x)) x)
8.6%
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Compiler

Compiled 80 to 52 computations (35% saved)

simplify230.0ms (4.2%)

Memory
-11.8MiB live, 216.7MiB allocated; 49ms collecting garbage
Algorithm
egg-herbie
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-diff1
(fabs.f64 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
(fabs.f64 x)
cost-diff2
(-.f64 (fabs.f64 x) x)
cost-diff0
(sqrt.f64 x)
cost-diff0
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
cost-diff0
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x)
cost-diff4
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027208
039194
161170
2159128
3566120
41657120
08130114
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x)
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(sqrt.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 x) (sqrt.f64 x))) x)
(copysign.f64 (asinh.f64 x) x)
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
(asinh.f64 x)
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
x
(sqrt.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) #s(literal 0 binary64)))) 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) #s(literal 0 binary64))))
#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) #s(literal 0 binary64)))
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))
#s(approx (* (- (/ (fabs x) x) 1) x) #s(literal 0 binary64))
(-.f64 (fabs.f64 x) x)
#s(literal 0 binary64)
(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))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))) 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) (*.f64 #s(literal 2 binary64) 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) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
#s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x))
(+.f64 (fabs.f64 x) x)
(*.f64 #s(literal 2 binary64) x)
(fabs.f64 x)
x
x

localize111.0ms (2%)

Memory
25.1MiB live, 112.9MiB allocated; 16ms 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))
accuracy14.024165837275875
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))))
accuracy15.025254506071574
#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))
accuracy14.024165837275875
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))))
accuracy29.430771869006488
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))
accuracy0.0
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x)
accuracy0.0
(sqrt.f64 x)
accuracy0.05078125
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
accuracy0.2421875
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
Samples
58.0ms135×0invalid
19.0ms42×1valid
11.0ms18×2valid
9.0ms61×0valid
Compiler

Compiled 116 to 20 computations (82.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 84.0ms
ival-sub: 39.0ms (46.4% of total)
ival-log: 13.0ms (15.5% of total)
ival-hypot: 6.0ms (7.1% of total)
ival-asinh: 5.0ms (5.9% of total)
ival-copysign: 5.0ms (5.9% of total)
ival-mult: 5.0ms (5.9% of total)
ival-add: 4.0ms (4.8% of total)
ival-sqrt: 3.0ms (3.6% of total)
adjust: 2.0ms (2.4% of total)
ival-div: 2.0ms (2.4% of total)
ival-fabs: 1.0ms (1.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series7.0ms (0.1%)

Memory
10.4MiB live, 10.4MiB allocated; 0ms collecting garbage
Counts
14 → 46
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x)
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
(sqrt.f64 x)
(-.f64 (fabs.f64 x) x)
(fabs.f64 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))))
(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) (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))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
Outputs
x
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x)
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6))))
(sqrt x)
(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))
(+ (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 x)
(* 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 (+ 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 (pow (sqrt -1) 2)))
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) 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)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -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
3.0ms
x
@-inf
((* (sqrt x) (sqrt x)) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (sqrt x) (- (fabs x) x) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (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) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (+ (* (/ (fabs x) x) x) x))
2.0ms
x
@inf
((* (sqrt x) (sqrt x)) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (sqrt x) (- (fabs x) x) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (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) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (+ (* (/ (fabs x) x) x) x))
2.0ms
x
@0
((* (sqrt x) (sqrt x)) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (sqrt x) (- (fabs x) x) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (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) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (+ (* (/ (fabs x) x) x) x))

simplify160.0ms (2.9%)

Memory
-11.7MiB live, 173.1MiB allocated; 58ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0232723
1717653
22843624
08452583
Stop Event
iter limit
node limit
Counts
46 → 45
Calls
Call 1
Inputs
x
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x)
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6))))
(sqrt x)
(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))
(+ (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 x)
(* 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 (+ 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 (pow (sqrt -1) 2)))
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) 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)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -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
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(* x (+ 1 (* -1/6 (pow x 2))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) #s(literal 1/6 binary64)) x)
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -5/112 binary64) (*.f64 x x) #s(literal 3/40 binary64)) x) x) #s(literal 1/6 binary64)) x)
(sqrt x)
(sqrt.f64 x)
(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 (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 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.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)))
(+ x (fabs x))
(+.f64 (fabs.f64 x) x)
(+ (log 2) (* -1 (log (/ 1 x))))
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64)))
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2)))))
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.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 x) (log.f64 #s(literal 2 binary64))) (/.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 x) (log.f64 #s(literal 2 binary64))) (/.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 x)
(neg.f64 x)
(* x (- (/ (fabs x) x) 1))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) 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 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) (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 (+ 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 (pow (sqrt -1) 2)))
x
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(-.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 (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 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.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 (log.f64 #s(literal -2 binary64)) (-.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 (/.f64 #s(literal -1 binary64) 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))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(*.f64 (sqrt.f64 x) #s(literal 1 binary64))
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x)))))
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) 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 (/.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) x) #s(literal -1/6 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1/2 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #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 (/ (fabs x) x)) 1)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)

rewrite23.0ms (0.4%)

Memory
17.3MiB live, 17.3MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027199
039145
0139141
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
14 → 18
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x)
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)))
(sqrt.f64 x)
(-.f64 (fabs.f64 x) x)
(fabs.f64 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))))
(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) (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))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))
Outputs
x
(copysign.f64 (asinh.f64 x) x)
(asinh.f64 x)
(log.f64 (+.f64 (cosh.f64 (asinh.f64 x)) x))
(pow.f64 x #s(literal 1/2 binary64))
(sqrt.f64 x)
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (fma.f64 x x (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (+.f64 x x))
(-.f64 x x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x 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)))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x)))
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))

eval62.0ms (1.1%)

Memory
-21.6MiB live, 41.7MiB allocated; 10ms collecting garbage
Compiler

Compiled 1 512 to 336 computations (77.8% saved)

prune3.0ms (0%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh000
Picked213
Done202
Total65469
Accuracy
100.0%
Counts
69 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
23.8%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x)
29.9%
(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)
99.8%
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
51.3%
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
Compiler

Compiled 76 to 47 computations (38.2% saved)

simplify133.0ms (2.4%)

Memory
3.9MiB live, 243.8MiB allocated; 36ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))
cost-diff0
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))
cost-diff0
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.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 x x)))) x)
cost-diff0
#s(approx (* (sqrt x) (sqrt x)) x)
cost-diff0
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
cost-diff0
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
cost-diff0
(pow.f64 x #s(literal 3 binary64))
cost-diff0
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
cost-diff0
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
cost-diff0
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027152
036132
162125
2201109
3819109
42103109
56856109
08488106
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(pow.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
#s(literal -1/6 binary64)
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
#s(approx (* (sqrt x) (sqrt x)) x)
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)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))
(+.f64 x x)
x
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)) x)
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)
(pow.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
#s(literal -1/6 binary64)
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
#s(approx (* (sqrt x) (sqrt x)) x)
x
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))))
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x))))
#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 #s(literal 2 binary64) x)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))
#s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x))
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
x

localize140.0ms (2.5%)

Memory
-36.8MiB live, 152.4MiB allocated; 25ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x x)
accuracy0.0
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))
accuracy14.024165837275875
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))))
accuracy15.025254506071574
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))
accuracy0.0
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
accuracy0.0
#s(approx (* (sqrt x) (sqrt x)) x)
accuracy0.05078125
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
accuracy0.0
(pow.f64 x #s(literal 3 binary64))
accuracy0.0
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
accuracy0.01953125
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
accuracy14.496913677633403
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
Samples
46.0ms135×0invalid
21.0ms61×0valid
17.0ms42×1valid
13.0ms18×2valid
Compiler

Compiled 92 to 22 computations (76.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 84.0ms
ival-log: 29.0ms (34.7% of total)
ival-mult: 16.0ms (19.2% of total)
ival-hypot: 6.0ms (7.2% of total)
ival-asinh: 5.0ms (6% of total)
ival-copysign: 5.0ms (6% of total)
ival-add: 5.0ms (6% of total)
const: 4.0ms (4.8% of total)
ival-pow: 4.0ms (4.8% of total)
adjust: 3.0ms (3.6% of total)
ival-sqrt: 3.0ms (3.6% of total)
ival-div: 2.0ms (2.4% of total)
ival-fabs: 1.0ms (1.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
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Counts
12 → 47
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(pow.f64 x #s(literal 3 binary64))
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
#s(approx (* (sqrt x) (sqrt x)) 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)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))
(+.f64 x x)
Outputs
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x)
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6))))
(pow x 3)
(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))))))
(fabs x)
(+ x (fabs x))
(* 2 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/6 (pow x 3))
(* (pow x 3) (- (/ 1 (pow x 2)) 1/6))
(* -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 (+ 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) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) 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)))))
(* -1 (* (pow x 3) (- 1/6 (/ 1 (pow x 2)))))
(* -1 (* x (pow (sqrt -1) 2)))
(* -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 (/ (fabs x) x)) 1)))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (+ (* (pow x 3) -1/6) x) (pow x 3) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (* (sqrt x) (sqrt 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) x) x) (+ x x))
1.0ms
x
@inf
((copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (+ (* (pow x 3) -1/6) x) (pow x 3) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (* (sqrt x) (sqrt 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) x) x) (+ x x))
1.0ms
x
@0
((copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (+ (* (pow x 3) -1/6) x) (pow x 3) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (* (sqrt x) (sqrt 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) x) x) (+ x x))

simplify229.0ms (4.1%)

Memory
12.1MiB live, 154.0MiB allocated; 32ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0233736
1719670
22858640
08498599
Stop Event
iter limit
node limit
Counts
47 → 46
Calls
Call 1
Inputs
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x)
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6))))
(pow x 3)
(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))))))
(fabs x)
(+ x (fabs x))
(* 2 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/6 (pow x 3))
(* (pow x 3) (- (/ 1 (pow x 2)) 1/6))
(* -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 (+ 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) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) 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)))))
(* -1 (* (pow x 3) (- 1/6 (/ 1 (pow x 2)))))
(* -1 (* x (pow (sqrt -1) 2)))
(* -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 (/ (fabs x) x)) 1)))
Outputs
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
x
(* x (+ 1 (* -1/6 (pow x 2))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) #s(literal 1/6 binary64)) x)
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -5/112 binary64) (*.f64 x x) #s(literal 3/40 binary64)) x) x) #s(literal 1/6 binary64)) x)
(pow x 3)
(pow.f64 x #s(literal 3 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 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.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)
(fabs.f64 x)
(+ x (fabs x))
(+.f64 (fabs.f64 x) x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(+ (log 2) (* -1 (log (/ 1 x))))
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64)))
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2)))))
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.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 x) (log.f64 #s(literal 2 binary64))) (/.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 x) (log.f64 #s(literal 2 binary64))) (/.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/6 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64))
(* (pow x 3) (- (/ 1 (pow x 2)) 1/6))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 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 (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 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) (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 (+ 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)
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x)
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x)
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4))))))
(-.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 (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 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.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 (log.f64 #s(literal -2 binary64)) (-.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 (/.f64 #s(literal -1 binary64) 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))))
(* -1 (* (pow x 3) (- 1/6 (/ 1 (pow x 2)))))
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 #s(literal 1/6 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)))
(* -1 (* x (pow (sqrt -1) 2)))
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 (/.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) x) #s(literal -1/6 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1/2 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 (/ (fabs x) x)) 1)))
(fma.f64 (/.f64 (fabs.f64 x) x) x x)

rewrite64.0ms (1.2%)

Memory
9.4MiB live, 53.0MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027147
036111
114177
0108077
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
12 → 61
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x)
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(pow.f64 x #s(literal 3 binary64))
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
#s(approx (* (sqrt x) (sqrt x)) 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)))
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))
(+.f64 x x)
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)) x)
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)))) (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 (neg.f64 x) x))) (neg.f64 (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x))))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/216 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))))))
(/.f64 (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 (neg.f64 x) x)) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x)))
(/.f64 (fma.f64 #s(literal -1/216 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 4 binary64))))))
(/.f64 (fma.f64 #s(literal -1/216 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)))))))
(fma.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x)
(fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)
(fma.f64 (*.f64 #s(literal -1/6 binary64) x) (*.f64 x x) x)
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -1/6 binary64)) x)
(fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)
(fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(fma.f64 x (*.f64 (*.f64 x x) #s(literal -1/6 binary64)) x)
(-.f64 (/.f64 (*.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x))) (/.f64 (*.f64 x x) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x))))
(-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))) (neg.f64 x))
(-.f64 x (*.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 3 binary64))))
(-.f64 x (*.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) #s(literal -1/6 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))))))
(+.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))) x)
(+.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))
(*.f64 (*.f64 (*.f64 x x) (neg.f64 (sqrt.f64 x))) (neg.f64 (sqrt.f64 x)))
(*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 x))) (*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 x))))
(*.f64 (*.f64 (neg.f64 x) (sqrt.f64 x)) (*.f64 (neg.f64 x) (sqrt.f64 x)))
(*.f64 (*.f64 x (neg.f64 (sqrt.f64 x))) (*.f64 x (neg.f64 (sqrt.f64 x))))
(*.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 x)) (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 x)))
(*.f64 (*.f64 (neg.f64 (sqrt.f64 x)) x) (*.f64 (neg.f64 (sqrt.f64 x)) x))
(*.f64 (*.f64 (sqrt.f64 x) (neg.f64 x)) (*.f64 (sqrt.f64 x) (neg.f64 x)))
(*.f64 (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (neg.f64 (pow.f64 x #s(literal 3/2 binary64))))
(*.f64 (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))) (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))))
(*.f64 (*.f64 x (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 x (sqrt.f64 x)) (*.f64 x (sqrt.f64 x)))
(*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x))
(*.f64 (pow.f64 (neg.f64 (sqrt.f64 x)) #s(literal 3 binary64)) (pow.f64 (neg.f64 (sqrt.f64 x)) #s(literal 3 binary64)))
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))
(*.f64 (neg.f64 (sqrt.f64 x)) (*.f64 (neg.f64 (sqrt.f64 x)) (*.f64 x x)))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) x))
(*.f64 (*.f64 x x) x)
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x x)))
(*.f64 x (*.f64 x x))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 3 binary64))
(pow.f64 (*.f64 x (sqrt.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 (sqrt.f64 x) x) #s(literal 2 binary64))
(pow.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 3/2 binary64))
(pow.f64 (sqrt.f64 x) #s(literal 6 binary64))
(pow.f64 x #s(literal 3 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 3 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))))
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))
(log.f64 (+.f64 (cosh.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))) #s(approx (* (sqrt x) (sqrt x)) x)))
#s(approx (* (sqrt x) (sqrt x)) x)
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64)))) x)
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64))))
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64)))
#s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64))
#s(literal 2 binary64)

eval14.0ms (0.2%)

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

Compiled 2 433 to 537 computations (77.9% saved)

prune57.0ms (1%)

Memory
-24.8MiB live, 19.5MiB allocated; 7ms collecting garbage
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1005105
Fresh000
Picked123
Done011
Total1018109
Accuracy
100.0%
Counts
109 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
23.8%
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x)
29.9%
(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)
99.8%
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
25.3%
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x)
25.3%
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x)
51.3%
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x)
51.3%
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x)
51.3%
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)
Compiler

Compiled 446 to 184 computations (58.7% saved)

regimes10.0ms (0.2%)

Memory
15.0MiB live, 15.0MiB allocated; 0ms collecting garbage
Counts
17 → 1
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) 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) x) x) (+.f64 x 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 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) 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 x) (sqrt.f64 x))) x)
Outputs
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
Calls

2 calls:

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

Compiled 13 to 10 computations (23.1% saved)

regimes5.0ms (0.1%)

Memory
10.2MiB live, 10.2MiB allocated; 0ms collecting garbage
Counts
6 → 2
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x 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
57.6%2(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
57.6%2x
Compiler

Compiled 13 to 10 computations (23.1% saved)

regimes7.0ms (0.1%)

Memory
-32.4MiB live, 11.9MiB allocated; 6ms collecting garbage
Accuracy

Total -16.6b remaining (-53.4%)

Threshold costs -16.6b (-53.4%)

Counts
5 → 1
Calls
Call 1
Inputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x)
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x)
Outputs
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)
Calls

2 calls:

5.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
51.3%1x
51.3%1(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x)
Compiler

Compiled 13 to 10 computations (23.1% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.027098290938482716
8.227728623561962
Compiler

Compiled 15 to 13 computations (13.3% saved)

simplify60.0ms (1.1%)

Memory
-5.5MiB live, 49.7MiB allocated; 17ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03262
14861
29361
317461
423261
549261
6332461
7784561
Stop Event
node limit
Calls
Call 1
Inputs
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(if (<=.f64 (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) #s(literal 3602879701896397/72057594037927936 binary64)) (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x))
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)
Outputs
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x)
(if (<=.f64 (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) #s(literal 3602879701896397/72057594037927936 binary64)) (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x))
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x)

derivations555.0ms (10%)

Memory
11.0MiB live, 578.6MiB allocated; 107ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169586
1568548
22395527
08393487
027147
036111
114177
0108077
0232723
1717653
22843624
08452583
030234
049202
1135202
0856197
0944
01632
15624
040623
Stop Event
fuel
iter limit
iter limit
iter limit
unsound
iter limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 74 to 33 computations (55.4% saved)

preprocess41.0ms (0.7%)

Memory
-5.7MiB live, 85.6MiB allocated; 7ms collecting garbage
Compiler

Compiled 212 to 104 computations (50.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...