ln(1 + x)

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze1.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
66.7%50%25%0%0%25%0%3
83.3%62.5%12.5%0%0%25%0%4
91.7%68.7%6.2%0%0%25%0%5
95.8%71.8%3.1%0%0%25%0%6
97.9%73.4%1.6%0%0%25%0%7
99%74.2%0.8%0%0%25%0%8
99.5%74.6%0.4%0%0%25%0%9
99.7%74.8%0.2%0%0%25%0%10
99.9%74.9%0.1%0%0%25%0%11
99.9%74.9%0%0%0%25%0%12
Compiler

Compiled 6 to 4 computations (33.3% saved)

sample478.0ms (30.6%)

Memory
23.0MiB live, 549.6MiB allocated; 150ms collecting garbage
Samples
282.0ms8 256×0valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 82.0ms
ival-log1p: 80.0ms (97.9% of total)
adjust: 2.0ms (2.4% of total)
Bogosity

preprocess175.0ms (11.2%)

Memory
-38.4MiB live, 51.5MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0815
11515
22615
37215
439213
5368313
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
39.0%
(log.f64 (+.f64 #s(literal 1 binary64) x))
Compiler

Compiled 8 to 8 computations (0% saved)

series2.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated; 0ms collecting garbage
Counts
4 → 14
Calls
Call 1
Inputs
(log.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
Outputs
#s(approx (log (+ 1 x)) #s(hole binary64 x))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2))))))
#s(approx (+ 1 x) #s(hole binary64 1))
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x)))
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2)))))
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((log (+ 1 x)) (+ 1 x) 1 x)
1.0ms
x
@inf
((log (+ 1 x)) (+ 1 x) 1 x)
0.0ms
x
@0
((log (+ 1 x)) (+ 1 x) 1 x)

rewrite140.0ms (9%)

Memory
31.9MiB live, 178.9MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069229
070203
1406187
03886155
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
18 → 39
Calls
Call 1
Inputs
(log.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(approx (log (+ 1 x)) #s(hole binary64 x))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2))))))
#s(approx (+ 1 x) #s(hole binary64 1))
#s(approx (+ 1 x) #s(hole binary64 (+ 1 x)))
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2)))))
#s(approx (+ 1 x) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
Outputs
(log1p.f64 x)
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (log.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (log.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (log.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(log.f64 (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/4 binary64) x #s(literal 1/3 binary64)) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (+ 1 x) #s(literal 1 binary64))
#s(approx (+ 1 x) (-.f64 x #s(literal -1 binary64)))
#s(approx (log (+ 1 x)) (log.f64 x))
#s(approx (log (+ 1 x)) (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))))
#s(approx (log (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x)) (log.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))))
#s(approx (+ 1 x) (-.f64 x #s(literal -1 binary64)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) x)) #s(literal -1 binary64)) x)))

eval6.0ms (0.4%)

Memory
-36.0MiB live, 9.9MiB allocated; 6ms collecting garbage
Compiler

Compiled 433 to 131 computations (69.7% saved)

prune2.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New30535
Fresh000
Picked101
Done000
Total31536
Accuracy
100.0%
Counts
36 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
39.0%
(log.f64 (-.f64 x #s(literal -1 binary64)))
66.7%
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
32.7%
#s(approx (log (+ 1 x)) (log.f64 x))
67.5%
#s(approx (log (+ 1 x)) x)
Compiler

Compiled 60 to 52 computations (13.3% saved)

series50.0ms (3.2%)

Memory
23.0MiB live, 119.3MiB allocated; 19ms collecting garbage
Counts
13 → 21
Calls
Call 1
Inputs
(log1p.f64 x)
x
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
(log.f64 x)
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)
(fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64))
#s(literal -1/2 binary64)
#s(literal 1 binary64)
(log.f64 (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
Outputs
#s(approx (log (+ 1 x)) #s(hole binary64 x))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2))))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 1))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (+ 1 (* -1/2 x))))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2)))))
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* -1/2 (pow x 2))))
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2))))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1/2 x)))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* x (- (/ 1 x) 1/2))))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1 (* x (- 1/2 (/ 1 x))))))
Calls

3 calls:

TimeVariablePointExpression
28.0ms
x
@0
((log (+ 1 x)) x (log (+ 1 x)) (log (+ 1 x)) (log x) (log (+ 1 x)) (* (+ (* -1/2 x) 1) x) (+ (* -1/2 x) 1) -1/2 1 (log (- x -1)) (- x -1) -1)
14.0ms
x
@inf
((log (+ 1 x)) x (log (+ 1 x)) (log (+ 1 x)) (log x) (log (+ 1 x)) (* (+ (* -1/2 x) 1) x) (+ (* -1/2 x) 1) -1/2 1 (log (- x -1)) (- x -1) -1)
7.0ms
x
@-inf
((log (+ 1 x)) x (log (+ 1 x)) (log (+ 1 x)) (log x) (log (+ 1 x)) (* (+ (* -1/2 x) 1) x) (+ (* -1/2 x) 1) -1/2 1 (log (- x -1)) (- x -1) -1)

rewrite165.0ms (10.5%)

Memory
10.4MiB live, 138.5MiB allocated; 30ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093319
099286
1476272
04339265
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
34 → 116
Calls
Call 1
Inputs
(log1p.f64 x)
x
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
(log.f64 x)
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)
(fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64))
#s(literal -1/2 binary64)
#s(literal 1 binary64)
(log.f64 (-.f64 x #s(literal -1 binary64)))
(-.f64 x #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (log (+ 1 x)) #s(hole binary64 x))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2))))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 1))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (+ 1 (* -1/2 x))))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2)))))
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* -1/2 (pow x 2))))
#s(approx (* (+ (* -1/2 x) 1) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2))))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1/2 x)))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* x (- (/ 1 x) 1/2))))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1 (* x (- 1/2 (/ 1 x))))))
Outputs
(log1p.f64 x)
(-.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64))) (log.f64 (+.f64 #s(literal -1 binary64) x)))
(-.f64 (log.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (log.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (log.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (log.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (log.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(log.f64 (-.f64 x #s(literal -1 binary64)))
x
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
(*.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)))
(neg.f64 (*.f64 (neg.f64 (log.f64 x)) #s(literal 1 binary64)))
(neg.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))
(neg.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (log.f64 x))))
(neg.f64 (neg.f64 (log.f64 x)))
(log.f64 x)
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)))
(/.f64 (*.f64 x (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64))) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
(/.f64 (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64)) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) x) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
(/.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) x) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))) (-.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64))))
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64))) (*.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64))))))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x x)
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) x)
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) x)
(-.f64 x (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x)))
(-.f64 x (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))
(+.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) x)
(+.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x)))))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (neg.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))))
(/.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) #s(literal -1 binary64)) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
(/.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64)))
(fma.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal 1 binary64))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1/2 binary64) x)) #s(literal 1 binary64))
(fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64))
(fma.f64 x #s(literal -1/2 binary64) #s(literal 1 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))))
(-.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) #s(literal 1 binary64))))
(+.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))
#s(literal -1/2 binary64)
#s(literal 1 binary64)
(log1p.f64 x)
(-.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64))) (log.f64 (+.f64 #s(literal -1 binary64) x)))
(-.f64 (log.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (log.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(-.f64 (log.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (log.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (log.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (log.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(log.f64 (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 #s(literal -1 binary64) x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 #s(literal -1 binary64) x))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) x)))
(-.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
#s(literal -1 binary64)
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/4 binary64) x #s(literal 1/3 binary64)) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (log x) (log.f64 x))
#s(approx (+ (* -1/2 x) 1) #s(literal 1 binary64))
#s(approx (+ (* -1/2 x) 1) (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (log (+ 1 x)) (log.f64 x))
#s(approx (log (+ 1 x)) (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))))
#s(approx (log (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x)) (log.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))))
#s(approx (* (+ (* -1/2 x) 1) x) (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (* (+ (* -1/2 x) 1) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x) x))
#s(approx (+ (* -1/2 x) 1) (*.f64 #s(literal -1/2 binary64) x))
#s(approx (+ (* -1/2 x) 1) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) x)) #s(literal -1 binary64)) x)))
#s(approx (+ (* -1/2 x) 1) (*.f64 (neg.f64 x) (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x))))

eval9.0ms (0.6%)

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

Compiled 1 524 to 363 computations (76.2% saved)

prune45.0ms (2.9%)

Memory
-43.6MiB live, 8.1MiB allocated; 26ms collecting garbage
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New92193
Fresh000
Picked145
Done000
Total93598
Accuracy
100.0%
Counts
98 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
39.0%
(log.f64 (-.f64 x #s(literal -1 binary64)))
66.7%
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
32.7%
#s(approx (log (+ 1 x)) (log.f64 x))
67.5%
#s(approx (log (+ 1 x)) x)
Compiler

Compiled 30 to 25 computations (16.7% saved)

series2.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated; 0ms collecting garbage
Counts
5 → 14
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)
(*.f64 x x)
x
#s(literal -1/2 binary64)
Outputs
#s(approx (log (+ 1 x)) #s(hole binary64 x))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2))))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2)))))
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* -1/2 (pow x 2))))
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((log (+ 1 x)) (+ (* (* x x) -1/2) x) (* x x) x -1/2)
1.0ms
x
@inf
((log (+ 1 x)) (+ (* (* x x) -1/2) x) (* x x) x -1/2)
1.0ms
x
@0
((log (+ 1 x)) (+ (* (* x x) -1/2) x) (* x x) x -1/2)

rewrite120.0ms (7.7%)

Memory
26.2MiB live, 159.4MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074254
076231
1426215
04008184
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
19 → 59
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)
(*.f64 x x)
x
#s(literal -1/2 binary64)
#s(approx (log (+ 1 x)) #s(hole binary64 x))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* -1/2 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* 1/3 x) 1/2))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (* x (+ 1 (* x (- (* x (+ 1/3 (* -1/4 x))) 1/2))))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (log (+ 1 x)) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (/ 1 x)) (/ 1/2 (pow x 2)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (+ (* -1 (log (/ 1 x))) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (/ 1/2 (pow x 2)))))
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* -1/2 (pow x 2))))
#s(approx (+ (* (* x x) -1/2) x) #s(hole binary64 (* (pow x 2) (- (/ 1 x) 1/2))))
#s(approx (log (+ 1 x)) #s(hole binary64 (- (* -1 (log (/ 1 x))) (/ 1 x))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
Outputs
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x)
(*.f64 x (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (*.f64 x (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (-.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) x) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (-.f64 (*.f64 #s(literal -1/2 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x))) (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 x x) x)) (fma.f64 x x (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x))))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x)))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (fabs.f64 x)) (fabs.f64 x) x)
(fma.f64 (*.f64 #s(literal -1/2 binary64) (neg.f64 x)) (neg.f64 x) x)
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal -1/2 binary64)) x)
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal -1/2 binary64)) x)
(fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x)
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) x x)
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) x)
(fma.f64 x (*.f64 #s(literal -1/2 binary64) x) x)
(-.f64 (/.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)))
(-.f64 x (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))
(-.f64 x (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1/2 binary64)))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) x)))
(-.f64 x (*.f64 #s(literal 1/2 binary64) (*.f64 x x)))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) x))) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x) (*.f64 x (-.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))))))
(+.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) x) x) x)
(+.f64 x (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
#s(literal -1/2 binary64)
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -1/4 binary64) x #s(literal 1/3 binary64)) x #s(literal -1/2 binary64)) x #s(literal 1 binary64)) x))
#s(approx (* x x) (*.f64 x x))
#s(approx (log (+ 1 x)) (log.f64 x))
#s(approx (log (+ 1 x)) (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (+.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))))
#s(approx (log (+ 1 x)) (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal -1/3 binary64) (*.f64 (*.f64 x x) x)) (log.f64 x))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))))
#s(approx (+ (* (* x x) -1/2) x) (*.f64 (*.f64 #s(literal -1/2 binary64) x) x))
#s(approx (+ (* (* x x) -1/2) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64)) x) x))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 x) (/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) x)) #s(literal -1 binary64)) x)))

eval5.0ms (0.3%)

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

Compiled 952 to 210 computations (77.9% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done044
Total52557
Accuracy
100.0%
Counts
57 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
39.0%
(log.f64 (-.f64 x #s(literal -1 binary64)))
66.7%
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
32.7%
#s(approx (log (+ 1 x)) (log.f64 x))
67.5%
#s(approx (log (+ 1 x)) x)
Compiler

Compiled 75 to 46 computations (38.7% saved)

regimes162.0ms (10.3%)

Memory
-64.3MiB live, 76.9MiB allocated; 97ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
(log.f64 (-.f64 x #s(literal -1 binary64)))
(log.f64 (+.f64 #s(literal 1 binary64) x))
(log1p.f64 x)
Outputs
(log1p.f64 x)
Calls

3 calls:

157.0ms
x
2.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
2.0ms
(+.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
100.0%1(+.f64 #s(literal 1 binary64) x)
100.0%1(log.f64 (+.f64 #s(literal 1 binary64) x))
100.0%1x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes6.0ms (0.4%)

Memory
12.0MiB live, 12.0MiB allocated; 0ms collecting garbage
Counts
6 → 2
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
(log.f64 (-.f64 x #s(literal -1 binary64)))
(log.f64 (+.f64 #s(literal 1 binary64) x))
Outputs
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
(log.f64 (-.f64 x #s(literal -1 binary64)))
Calls

3 calls:

2.0ms
x
2.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
2.0ms
(+.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
99.8%2(+.f64 #s(literal 1 binary64) x)
99.8%2(log.f64 (+.f64 #s(literal 1 binary64) x))
99.8%2x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes30.0ms (1.9%)

Memory
-36.3MiB live, 9.9MiB allocated; 4ms collecting garbage
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
Outputs
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
#s(approx (log (+ 1 x)) (log.f64 x))
Calls

3 calls:

26.0ms
(+.f64 #s(literal 1 binary64) x)
2.0ms
x
1.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
Results
AccuracySegmentsBranch
98.4%2(+.f64 #s(literal 1 binary64) x)
98.4%2(log.f64 (+.f64 #s(literal 1 binary64) x))
98.4%2x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes4.0ms (0.3%)

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

3 calls:

1.0ms
x
1.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
1.0ms
(+.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
98.4%2(+.f64 #s(literal 1 binary64) x)
98.4%2(log.f64 (+.f64 #s(literal 1 binary64) x))
98.4%2x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes3.0ms (0.2%)

Memory
9.8MiB live, 9.8MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
Outputs
#s(approx (log (+ 1 x)) x)
#s(approx (log (+ 1 x)) (log.f64 x))
Calls

3 calls:

1.0ms
x
1.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
1.0ms
(+.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
97.6%2(+.f64 #s(literal 1 binary64) x)
97.6%2(log.f64 (+.f64 #s(literal 1 binary64) x))
97.6%2x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes3.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (log (+ 1 x)) x)
Outputs
#s(approx (log (+ 1 x)) x)
Calls

3 calls:

1.0ms
x
1.0ms
(+.f64 #s(literal 1 binary64) x)
1.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
Results
AccuracySegmentsBranch
67.5%1(+.f64 #s(literal 1 binary64) x)
67.5%1(log.f64 (+.f64 #s(literal 1 binary64) x))
67.5%1x
Compiler

Compiled 8 to 8 computations (0% saved)

bsearch5.0ms (0.3%)

Memory
10.6MiB live, 10.6MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
5.0ms
3.364353204724073e-6
1.3195134989688012e-5
Samples
2.0ms80×0valid
Compiler

Compiled 82 to 76 computations (7.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0ms
ival-log1p: 1.0ms (144.3% of total)
adjust: 0.0ms (0% of total)

bsearch10.0ms (0.6%)

Memory
-31.5MiB live, 13.1MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
9.0ms
0.5669895112798946
3.0358688197262973
Samples
6.0ms96×0valid
Compiler

Compiled 115 to 102 computations (11.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-log1p: 4.0ms (91.2% of total)
adjust: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
1.0ms
0.5669895112798946
3.0358688197262973
Compiler

Compiled 115 to 108 computations (6.1% saved)

bsearch3.0ms (0.2%)

Memory
6.7MiB live, 6.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
3.0ms
0.5669895112798946
3.0358688197262973
Samples
1.0ms48×0valid
Compiler

Compiled 85 to 84 computations (1.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0ms
ival-log1p: 1.0ms (194.7% of total)
adjust: 0.0ms (0% of total)

derivations84.0ms (5.3%)

Memory
30.8MiB live, 125.1MiB allocated; 17ms collecting garbage
Stop Event
done
Compiler

Compiled 88 to 29 computations (67% saved)

preprocess48.0ms (3.1%)

Memory
-26.8MiB live, 116.8MiB allocated; 24ms collecting garbage
Compiler

Compiled 111 to 42 computations (62.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...