Rust f32::acosh

Time bar (total: 2.6s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 6 to 5 computations (16.7% saved)

sample698.0ms (26.4%)

Memory
-6.7MiB live, 1 095.7MiB allocated; 200ms collecting garbage
Samples
470.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 214.0ms
ival-acosh: 213.0ms (99.3% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

explain111.0ms (4.2%)

Memory
21.2MiB live, 253.8MiB allocated; 34ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1350-0-(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))
30-0-(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
00-0-(-.f32 (*.f32 x x) #s(literal 1 binary32))
00-0-(*.f32 x x)
00-0-#s(literal 1 binary32)
00-0-(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f32(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))oflow-rescue1350
(*.f32 x x)overflow135
(-.f32 (*.f32 x x) #s(literal 1 binary32))overflow135
log.f32(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))oflow-rescue30
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))overflow3
(*.f32 x x)overflow135
(-.f32 (*.f32 x x) #s(literal 1 binary32))overflow135
Confusion
Predicted +Predicted -
+1350
-0121
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13500
-00121
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0121
1132
23
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
30.0ms512×0valid
Compiler

Compiled 79 to 25 computations (68.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-sqrt: 7.0ms (37.9% of total)
ival-log: 6.0ms (32.5% of total)
ival-mult!: 3.0ms (16.2% of total)
ival-sub!: 2.0ms (10.8% of total)
ival-add!: 1.0ms (5.4% of total)
adjust: 0.0ms (0% of total)

preprocess159.0ms (6%)

Memory
-10.9MiB live, 175.3MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
079
0129
1229
2499
31219
43839
523359
678899
080198
Stop Event
iter limit
node limit
iter limit
saturated
Calls
Call 1
Inputs
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
Outputs
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
(log.f32 (+.f32 (sqrt.f32 (fma.f32 x x #s(literal -1 binary32))) x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.7%
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

series6.0ms (0.2%)

Memory
12.3MiB live, 12.3MiB allocated; 0ms collecting garbage
Counts
7 → 42
Calls
Call 1
Inputs
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
x
(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))
(-.f32 (*.f32 x x) #s(literal 1 binary32))
(*.f32 x x)
#s(literal 1 binary32)
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx x #s(hole binary32 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- (* x x) 1) #s(hole binary32 -1))
#s(approx (- (* x x) 1) #s(hole binary32 (- (pow x 2) 1)))
#s(approx (* x x) #s(hole binary32 (pow x 2)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- (* x x) 1) #s(hole binary32 (pow x 2)))
#s(approx (- (* x x) 1) #s(hole binary32 (* (pow x 2) (- 1 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Calls

3 calls:

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

rewrite86.0ms (3.2%)

Memory
13.8MiB live, 120.3MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0202988
0210724
01179694
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
49 → 64
Calls
Call 1
Inputs
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
x
(sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))
(-.f32 (*.f32 x x) #s(literal 1 binary32))
(*.f32 x x)
#s(literal 1 binary32)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx x #s(hole binary32 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (- (* x x) 1) #s(hole binary32 -1))
#s(approx (- (* x x) 1) #s(hole binary32 (- (pow x 2) 1)))
#s(approx (* x x) #s(hole binary32 (pow x 2)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (- (* x x) 1) #s(hole binary32 (pow x 2)))
#s(approx (- (* x x) 1) #s(hole binary32 (* (pow x 2) (- 1 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Outputs
(acosh.f32 x)
(log.f32 (+.f32 (sinh.f32 (acosh.f32 x)) x))
(/.f32 (-.f32 (*.f32 x x) (*.f32 (sinh.f32 (acosh.f32 x)) (sinh.f32 (acosh.f32 x)))) (-.f32 x (sinh.f32 (acosh.f32 x))))
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 (sinh.f32 (acosh.f32 x)) #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 (sinh.f32 (acosh.f32 x)) (sinh.f32 (acosh.f32 x))) (*.f32 x (sinh.f32 (acosh.f32 x))))))
(+.f32 (sinh.f32 (acosh.f32 x)) x)
(+.f32 x (sinh.f32 (acosh.f32 x)))
x
(sqrt.f32 (expm1.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))))
(pow.f32 (expm1.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))) #s(literal 1/2 binary32))
(sinh.f32 (acosh.f32 x))
(expm1.f32 (*.f32 (log.f32 x) #s(literal 2 binary32)))
(*.f32 (+.f32 x #s(literal 1 binary32)) (-.f32 x #s(literal 1 binary32)))
(/.f32 (-.f32 (pow.f32 x #s(literal 4 binary32)) #s(literal 1 binary32)) (fma.f32 x x #s(literal 1 binary32)))
(/.f32 (-.f32 (pow.f32 (*.f32 x x) #s(literal 3 binary32)) #s(literal 1 binary32)) (+.f32 (pow.f32 x #s(literal 4 binary32)) (+.f32 #s(literal 1 binary32) (*.f32 (*.f32 x x) #s(literal 1 binary32)))))
(-.f32 (*.f32 x x) #s(literal 1 binary32))
(*.f32 (pow.f32 x #s(literal 1 binary32)) (pow.f32 x #s(literal 1 binary32)))
(*.f32 (neg.f32 x) (neg.f32 x))
(*.f32 (fabs.f32 x) (fabs.f32 x))
(*.f32 x x)
(pow.f32 x #s(literal 2 binary32))
(exp.f32 (*.f32 (log.f32 x) #s(literal 2 binary32)))
#s(literal 1 binary32)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f32 #s(literal -1 binary32)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 (sqrt.f32 #s(literal -1 binary32)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 #s(literal 1/2 binary32) (/.f32 x (sqrt.f32 #s(literal -1 binary32))) #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) x #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32))))
#s(approx x x)
#s(approx (sqrt (- (* x x) 1)) (sqrt.f32 #s(literal -1 binary32)))
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (/.f32 (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))) #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 1/16 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/8 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))))
#s(approx (- (* x x) 1) #s(literal -1 binary32))
#s(approx (- (* x x) 1) (expm1.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))))
#s(approx (* x x) (*.f32 x x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 #s(literal -1 binary32) (+.f32 (neg.f32 (log.f32 x)) (/.f32 (fma.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32)) (*.f32 x x))) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 #s(literal -1 binary32) (+.f32 (neg.f32 (log.f32 x)) (/.f32 (fma.f32 #s(literal 5/96 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 3/32 binary32)) (pow.f32 x #s(literal 4 binary32)))) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 #s(literal 2 binary32) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 #s(literal 2 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) (*.f32 x x)) #s(literal -1 binary32) #s(literal 2 binary32)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (pow.f32 x #s(literal 4 binary32))) #s(literal -1 binary32) #s(literal 2 binary32)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 #s(literal 1 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) (*.f32 x x)) #s(literal -1 binary32) #s(literal 1 binary32)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (pow.f32 x #s(literal 4 binary32))) #s(literal -1 binary32) #s(literal 1 binary32)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (- (* x x) 1) (*.f32 x x))
#s(approx (- (* x x) 1) (*.f32 (-.f32 #s(literal 1 binary32) (pow.f32 x #s(literal -2 binary32))) (*.f32 x x)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (log.f32 (/.f32 #s(literal -1 binary32) x))) (log.f32 #s(literal -1/2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (+.f32 (fma.f32 (pow.f32 x #s(literal -6 binary32)) #s(literal 5/96 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 #s(literal 1/2 binary32) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (neg.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (*.f32 x x))) #s(literal 1/2 binary32)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (neg.f32 (/.f32 (fma.f32 #s(literal 5/128 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32)) (pow.f32 x #s(literal 4 binary32)))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32))) x)))
#s(approx (sqrt (- (* x x) 1)) (neg.f32 x))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 #s(literal 1 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32)))))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) (*.f32 x x)) #s(literal -1 binary32) #s(literal 1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (pow.f32 x #s(literal 4 binary32))) #s(literal -1 binary32) #s(literal 1 binary32)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32)))))

eval37.0ms (1.4%)

Memory
-23.7MiB live, 23.1MiB allocated; 3ms collecting garbage
Compiler

Compiled 1 186 to 316 computations (73.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New65368
Fresh000
Picked101
Done000
Total66369
Accuracy
100.0%
Counts
69 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
97.3%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.4%
(acosh.f32 x)
97.7%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 30 to 24 computations (20% saved)

series144.0ms (5.5%)

Memory
16.3MiB live, 241.8MiB allocated; 30ms collecting garbage
Counts
12 → 58
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
(fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32)))
(neg.f32 (log.f32 x))
(log.f32 x)
x
#s(literal -1 binary32)
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
(acosh.f32 x)
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f32 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#s(approx (acosh x) #s(hole binary32 (log (sqrt -1))))
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (neg (log x)) #s(hole binary32 (log (/ 1 x))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) #s(hole binary32 (+ (log -1) (+ (log 2) (* -1 (log (/ -1 x)))))))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Calls

3 calls:

TimeVariablePointExpression
98.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ (* (neg (log x)) -1) (log 2)) (neg (log x)) (log x) x -1 (log 2) 2 (acosh x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
26.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (* (neg (log x)) -1) (log 2)) (neg (log x)) (log x) x -1 (log 2) 2 (acosh x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))
19.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (* (neg (log x)) -1) (log 2)) (neg (log x)) (log x) x -1 (log 2) 2 (acosh x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)))

rewrite127.0ms (4.8%)

Memory
8.1MiB live, 108.3MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311334
02401023
01293983
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
70 → 86
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
(fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32)))
(neg.f32 (log.f32 x))
(log.f32 x)
x
#s(literal -1 binary32)
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
(acosh.f32 x)
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(+.f32 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#s(approx (acosh x) #s(hole binary32 (log (sqrt -1))))
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (acosh x) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (sqrt -1)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ x (sqrt -1))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (sqrt -1)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (neg (log x)) #s(hole binary32 (log (/ 1 x))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (acosh x) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (acosh x) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* 2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- 2 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 x))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) #s(hole binary32 (+ (log -1) (+ (log 2) (* -1 (log (/ -1 x)))))))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (acosh x) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ 1/2 x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x))))
#s(approx (+ x (sqrt (- (* x x) 1))) #s(hole binary32 (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 x)))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))))))
#s(approx (sqrt (- (* x x) 1)) #s(hole binary32 (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))))))
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
(/.f32 (-.f32 (*.f32 (neg.f32 (neg.f32 (log.f32 x))) (neg.f32 (neg.f32 (log.f32 x)))) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)))) (-.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
(/.f32 (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (neg.f32 (neg.f32 (log.f32 x))) (neg.f32 (neg.f32 (log.f32 x))))) (-.f32 (log.f32 #s(literal 2 binary32)) (neg.f32 (neg.f32 (log.f32 x)))))
(/.f32 (+.f32 (pow.f32 (neg.f32 (neg.f32 (log.f32 x))) #s(literal 3 binary32)) (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32))) (fma.f32 (neg.f32 (neg.f32 (log.f32 x))) (neg.f32 (neg.f32 (log.f32 x))) (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))))
(/.f32 (+.f32 (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32)) (pow.f32 (neg.f32 (neg.f32 (log.f32 x))) #s(literal 3 binary32))) (fma.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)) (-.f32 (*.f32 (neg.f32 (neg.f32 (log.f32 x))) (neg.f32 (neg.f32 (log.f32 x)))) (*.f32 (log.f32 #s(literal 2 binary32)) (neg.f32 (neg.f32 (log.f32 x)))))))
(-.f32 (log.f32 #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (neg.f32 (log.f32 x))))
(fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32)))
(fma.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)) (log.f32 #s(literal 2 binary32)))
(+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))
(+.f32 (log.f32 #s(literal 2 binary32)) (neg.f32 (neg.f32 (log.f32 x))))
(log.f32 (/.f32 #s(literal 1 binary32) x))
(*.f32 (log.f32 x) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (log.f32 x))
(-.f32 #s(literal 0 binary32) (log.f32 x))
(neg.f32 (log.f32 x))
(log.f32 x)
x
#s(literal -1 binary32)
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
(acosh.f32 x)
(log.f32 (+.f32 (sinh.f32 (acosh.f32 x)) x))
(log.f32 (+.f32 #s(approx (sqrt (- (* x x) 1)) x) x))
(/.f32 (-.f32 (*.f32 x x) (*.f32 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x))) (-.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 #s(approx (sqrt (- (* x x) 1)) x) #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 #s(approx (sqrt (- (* x x) 1)) x) #s(approx (sqrt (- (* x x) 1)) x)) (*.f32 x #s(approx (sqrt (- (* x x) 1)) x)))))
(+.f32 #s(approx (sqrt (- (* x x) 1)) x) x)
(+.f32 x #s(approx (sqrt (- (* x x) 1)) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) (log.f32 (*.f32 #s(literal 2 binary32) x)))
#s(approx (neg (log x)) (neg.f32 (log.f32 x)))
#s(approx (log x) (log.f32 x))
#s(approx x x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (+ x (sqrt (- (* x x) 1))) (sqrt.f32 #s(literal -1 binary32)))
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f32 (sqrt.f32 #s(literal -1 binary32)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 #s(literal 1/2 binary32) (/.f32 x (sqrt.f32 #s(literal -1 binary32))) #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32))))
#s(approx (+ x (sqrt (- (* x x) 1))) (fma.f32 (fma.f32 (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) x #s(literal 1 binary32)) x (sqrt.f32 #s(literal -1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (sqrt.f32 #s(literal -1 binary32)))
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (/.f32 (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))) #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 #s(literal -1/8 binary32) (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 1/16 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/8 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1/2 binary32) (sqrt.f32 #s(literal -1 binary32)))) (*.f32 x x) (sqrt.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 #s(literal -1 binary32) (fma.f32 (log.f32 x) #s(literal -1 binary32) (/.f32 (fma.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32)) (*.f32 x x))) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 #s(literal -1 binary32) (fma.f32 (log.f32 x) #s(literal -1 binary32) (/.f32 (fma.f32 #s(literal 5/96 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 3/32 binary32)) (pow.f32 x #s(literal 4 binary32)))) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
#s(approx (neg (log x)) (neg.f32 (log.f32 x)))
#s(approx (log x) (neg.f32 (neg.f32 (log.f32 x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 #s(literal -1 binary32) (fma.f32 (log.f32 x) #s(literal -1 binary32) (/.f32 (fma.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32)) (*.f32 x x))) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 #s(literal -1 binary32) (fma.f32 (log.f32 x) #s(literal -1 binary32) (/.f32 (fma.f32 #s(literal 5/96 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 3/32 binary32)) (pow.f32 x #s(literal 4 binary32)))) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 #s(literal 2 binary32) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 #s(literal 2 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) (*.f32 x x)) #s(literal -1 binary32) #s(literal 2 binary32)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f32 (-.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (pow.f32 x #s(literal 4 binary32))) #s(literal -1 binary32) #s(literal 2 binary32)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (sqrt (- (* x x) 1)) x)
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 #s(literal 1 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) (*.f32 x x)) #s(literal -1 binary32) #s(literal 1 binary32)) x))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (-.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (pow.f32 x #s(literal 4 binary32))) #s(literal -1 binary32) #s(literal 1 binary32)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32))) x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (log.f32 (/.f32 #s(literal -1 binary32) x))) (log.f32 #s(literal -1/2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (+.f32 (fma.f32 (pow.f32 x #s(literal -6 binary32)) #s(literal 5/96 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (+ (* (neg (log x)) -1) (log 2)) (+.f32 (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (log.f32 #s(literal -1 binary32))))
#s(approx (neg (log x)) (neg.f32 (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal -1 binary32)))))
#s(approx (log x) (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (log.f32 (/.f32 #s(literal -1 binary32) x))) (log.f32 #s(literal -1/2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (+.f32 (fma.f32 (pow.f32 x #s(literal -6 binary32)) #s(literal 5/96 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 #s(literal 1/2 binary32) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) x))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (neg.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (*.f32 x x))) #s(literal 1/2 binary32)) x)))
#s(approx (+ x (sqrt (- (* x x) 1))) (neg.f32 (/.f32 (-.f32 (neg.f32 (/.f32 (fma.f32 #s(literal 5/128 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32)) (pow.f32 x #s(literal 4 binary32)))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32))) x)))
#s(approx (sqrt (- (* x x) 1)) (neg.f32 x))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 #s(literal 1 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32)))))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/8 binary32) #s(literal 1/2 binary32)) (*.f32 x x)) #s(literal -1 binary32) #s(literal 1 binary32))))
#s(approx (sqrt (- (* x x) 1)) (*.f32 (neg.f32 x) (-.f32 (fma.f32 (/.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/16 binary32) #s(literal 1/8 binary32)) (pow.f32 x #s(literal 4 binary32))) #s(literal -1 binary32) #s(literal 1 binary32)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/2 binary32)))))

eval35.0ms (1.3%)

Memory
-16.0MiB live, 30.2MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 629 to 316 computations (80.6% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New76177
Fresh000
Picked123
Done000
Total77380
Accuracy
100.0%
Counts
80 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
97.3%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.4%
(acosh.f32 x)
97.7%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 30 to 24 computations (20% saved)

series1.0s (38.9%)

Memory
-205.4MiB live, 226.9MiB allocated; 1.4s collecting garbage
Counts
8 → 25
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
(+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))
(neg.f32 (neg.f32 (log.f32 x)))
(neg.f32 (log.f32 x))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (neg (neg (log x))) #s(hole binary32 (log x)))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (neg (neg (log x))) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (neg (log x)) #s(hole binary32 (log (/ 1 x))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log -1) (+ (log 2) (* -1 (log (/ -1 x)))))))
#s(approx (neg (neg (log x))) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
Calls

3 calls:

TimeVariablePointExpression
984.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (neg (neg (log x))) (log 2)) (neg (neg (log x))) (neg (log x)) (log x) x (log 2) 2)
22.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (neg (neg (log x))) (log 2)) (neg (neg (log x))) (neg (log x)) (log x) x (log 2) 2)
21.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ (neg (neg (log x))) (log 2)) (neg (neg (log x))) (neg (log x)) (log x) x (log 2) 2)

rewrite58.0ms (2.2%)

Memory
-3.2MiB live, 97.3MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124521
0133339
0738331
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
33 → 54
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
(+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32)))
(neg.f32 (neg.f32 (log.f32 x)))
(neg.f32 (log.f32 x))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (neg (neg (log x))) #s(hole binary32 (log x)))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (neg (neg (log x))) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (neg (log x)) #s(hole binary32 (log (/ 1 x))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ (neg (neg (log x))) (log 2)) #s(hole binary32 (+ (log -1) (+ (log 2) (* -1 (log (/ -1 x)))))))
#s(approx (neg (neg (log x))) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (neg (log x)) #s(hole binary32 (* -1 (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal 2 binary32) x)))
(log.f32 (*.f32 #s(literal 2 binary32) x))
(/.f32 (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)))) (-.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(/.f32 (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 x))) (-.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))
(/.f32 (+.f32 (pow.f32 (log.f32 x) #s(literal 3 binary32)) (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32))) (fma.f32 (log.f32 x) (log.f32 x) (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))))
(/.f32 (+.f32 (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32)) (pow.f32 (log.f32 x) #s(literal 3 binary32))) (fma.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)) (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))))
(-.f32 (log.f32 #s(literal 2 binary32)) (*.f32 #s(literal 1 binary32) (neg.f32 (log.f32 x))))
(fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32)))
(fma.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)) (log.f32 #s(literal 2 binary32)))
(+.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 (pow.f32 (/.f32 #s(literal 1 binary32) x) #s(literal -1 binary32)))
(log.f32 x)
(*.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)))
(neg.f32 (neg.f32 (log.f32 x)))
(log.f32 (/.f32 #s(literal 1 binary32) x))
(*.f32 (log.f32 x) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (log.f32 x))
(-.f32 #s(literal 0 binary32) (log.f32 x))
(neg.f32 (log.f32 x))
(log.f32 (pow.f32 (/.f32 #s(literal 1 binary32) x) #s(literal -1 binary32)))
(log.f32 x)
(*.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32))
(*.f32 #s(literal -1 binary32) (neg.f32 (log.f32 x)))
(neg.f32 (neg.f32 (log.f32 x)))
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (+ (neg (neg (log x))) (log 2)) (log.f32 (*.f32 #s(literal 2 binary32) x)))
#s(approx (log x) (log.f32 x))
#s(approx (neg (log x)) (neg.f32 (log.f32 x)))
#s(approx (log x) (log.f32 x))
#s(approx x x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal 2 binary32) x)))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (log.f32 (*.f32 #s(literal 2 binary32) x)) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal 2 binary32) x)) (neg.f32 (/.f32 (fma.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32)) (*.f32 x x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (+.f32 (log.f32 (*.f32 #s(literal 2 binary32) x)) (neg.f32 (/.f32 (fma.f32 #s(literal 5/96 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 3/32 binary32)) (pow.f32 x #s(literal 4 binary32))))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (+ (neg (neg (log x))) (log 2)) (log.f32 (*.f32 #s(literal 2 binary32) x)))
#s(approx (log x) (log.f32 x))
#s(approx (neg (log x)) (neg.f32 (log.f32 x)))
#s(approx (log x) (log.f32 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (log.f32 (/.f32 #s(literal -1 binary32) x))) (log.f32 #s(literal -1/2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (+.f32 (fma.f32 (pow.f32 x #s(literal -6 binary32)) #s(literal 5/96 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (+ (neg (neg (log x))) (log 2)) (+.f32 (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (log.f32 #s(literal -1 binary32))))
#s(approx (log x) (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal -1 binary32))))
#s(approx (neg (log x)) (neg.f32 (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal -1 binary32)))))
#s(approx (log x) (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal -1 binary32))))

eval4.0ms (0.2%)

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

Compiled 896 to 185 computations (79.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New41142
Fresh000
Picked101
Done022
Total42345
Accuracy
100.0%
Counts
45 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
97.3%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.4%
(acosh.f32 x)
97.7%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 28 to 22 computations (21.4% saved)

series54.0ms (2.1%)

Memory
-29.9MiB live, 154.7MiB allocated; 31ms collecting garbage
Counts
6 → 19
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ (log x) (log 2)) #s(hole binary32 (+ (log -1) (+ (log 2) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
Calls

3 calls:

TimeVariablePointExpression
22.0ms
x
@-inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (log x) (log 2)) (log x) x (log 2) 2)
16.0ms
x
@inf
((log (+ x (sqrt (- (* x x) 1)))) (+ (log x) (log 2)) (log x) x (log 2) 2)
16.0ms
x
@0
((log (+ x (sqrt (- (* x x) 1)))) (+ (log x) (log 2)) (log x) x (log 2) 2)

rewrite46.0ms (1.7%)

Memory
8.1MiB live, 100.3MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112441
0115303
0681293
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
25 → 32
Calls
Call 1
Inputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (log (sqrt -1))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (/ x (sqrt -1)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1)))))))
#s(approx (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (log x))))
#s(approx (log x) #s(hole binary32 (log x)))
#s(approx x #s(hole binary32 x))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2))))))
#s(approx (+ (log x) (log 2)) #s(hole binary32 (+ (log 2) (* -1 (log (/ 1 x))))))
#s(approx (log x) #s(hole binary32 (* -1 (log (/ 1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (log (/ -1 x)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2)))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2))))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) #s(hole binary32 (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))))))
#s(approx (+ (log x) (log 2)) #s(hole binary32 (+ (log -1) (+ (log 2) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary32 (+ (log -1) (* -1 (log (/ -1 x))))))
Outputs
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal 2 binary32) x)))
(log.f32 (*.f32 #s(literal 2 binary32) x))
(log.f32 (*.f32 x #s(literal 2 binary32)))
(/.f32 (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 x))) (-.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))
(/.f32 (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)))) (-.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
(/.f32 (+.f32 (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32)) (pow.f32 (log.f32 x) #s(literal 3 binary32))) (fma.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32)) (-.f32 (*.f32 (log.f32 x) (log.f32 x)) (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x)))))
(/.f32 (+.f32 (pow.f32 (log.f32 x) #s(literal 3 binary32)) (pow.f32 (log.f32 #s(literal 2 binary32)) #s(literal 3 binary32))) (fma.f32 (log.f32 x) (log.f32 x) (-.f32 (*.f32 (log.f32 #s(literal 2 binary32)) (log.f32 #s(literal 2 binary32))) (*.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))))
(+.f32 (log.f32 #s(literal 2 binary32)) (log.f32 x))
(+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32)))
(log.f32 x)
x
(log.f32 #s(literal 2 binary32))
#s(literal 2 binary32)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (sqrt.f32 #s(literal -1 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (/.f32 x (sqrt.f32 #s(literal -1 binary32))) (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (/.f32 (*.f32 x x) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32))) #s(literal -1/6 binary32) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (fma.f32 (-.f32 (/.f32 (*.f32 #s(literal 3/40 binary32) (*.f32 x x)) (pow.f32 #s(literal -1 binary32) #s(literal 5/2 binary32))) (/.f32 #s(literal 1/6 binary32) (pow.f32 #s(literal -1 binary32) #s(literal 3/2 binary32)))) (*.f32 x x) (/.f32 #s(literal 1 binary32) (sqrt.f32 #s(literal -1 binary32)))) x (log.f32 (sqrt.f32 #s(literal -1 binary32)))))
#s(approx (+ (log x) (log 2)) (log.f32 (*.f32 #s(literal 2 binary32) x)))
#s(approx (log x) (log.f32 x))
#s(approx x x)
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 #s(literal -1 binary32) (+.f32 (neg.f32 (log.f32 x)) (/.f32 (fma.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32)) (*.f32 x x))) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (-.f32 (fma.f32 #s(literal -1 binary32) (+.f32 (neg.f32 (log.f32 x)) (/.f32 (fma.f32 #s(literal 5/96 binary32) (pow.f32 x #s(literal -2 binary32)) #s(literal 3/32 binary32)) (pow.f32 x #s(literal 4 binary32)))) (log.f32 #s(literal 2 binary32))) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))))
#s(approx (+ (log x) (log 2)) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
#s(approx (log x) (neg.f32 (neg.f32 (log.f32 x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (log.f32 (/.f32 #s(literal -1 binary32) x))) (log.f32 #s(literal -1/2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (fma.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 (*.f32 #s(literal -1/2 binary32) (/.f32 #s(literal -1 binary32) x))) (+.f32 (fma.f32 (pow.f32 x #s(literal -6 binary32)) #s(literal 5/96 binary32) (*.f32 (pow.f32 x #s(literal -2 binary32)) #s(literal 1/4 binary32))) (/.f32 #s(literal 3/32 binary32) (pow.f32 x #s(literal 4 binary32))))))
#s(approx (+ (log x) (log 2)) (+.f32 (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))) (log.f32 #s(literal -1 binary32))))
#s(approx (log x) (fma.f32 (log.f32 (/.f32 #s(literal -1 binary32) x)) #s(literal -1 binary32) (log.f32 #s(literal -1 binary32))))

eval4.0ms (0.1%)

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

Compiled 704 to 145 computations (79.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New32032
Fresh000
Picked011
Done022
Total32335
Accuracy
100.0%
Counts
35 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
97.3%
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
99.4%
(acosh.f32 x)
97.7%
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
Compiler

Compiled 99 to 51 computations (48.5% saved)

regimes8.0ms (0.3%)

Memory
-5.1MiB live, 42.2MiB allocated; 1ms collecting garbage
Accuracy

Total -16.2b remaining (-8143%)

Threshold costs -16.2b (-8143%)

Counts
6 → 1
Calls
Call 1
Inputs
(acosh.f32 x)
(log.f32 (+.f32 x #s(approx (sqrt (- (* x x) 1)) x)))
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (log.f32 x) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (+.f32 (neg.f32 (neg.f32 (log.f32 x))) (log.f32 #s(literal 2 binary32))))
#s(approx (log (+ x (sqrt (- (* x x) 1)))) (fma.f32 (neg.f32 (log.f32 x)) #s(literal -1 binary32) (log.f32 #s(literal 2 binary32))))
Outputs
(acosh.f32 x)
Calls

3 calls:

3.0ms
(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
2.0ms
x
2.0ms
(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
Results
AccuracySegmentsBranch
99.4%1(+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32))))
99.4%1(log.f32 (+.f32 x (sqrt.f32 (-.f32 (*.f32 x x) #s(literal 1 binary32)))))
99.4%1x
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify15.0ms (0.6%)

Memory
14.8MiB live, 67.6MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
Stop Event
saturated
Calls
Call 1
Inputs
(acosh.f32 x)
Outputs
(acosh.f32 x)

derivations5.0ms (0.2%)

Memory
-44.0MiB live, 3.5MiB allocated; 3ms collecting garbage
Stop Event
done
Compiler

Compiled 2 to 2 computations (0% saved)

preprocess7.0ms (0.3%)

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

Compiled 22 to 18 computations (18.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...