ln(1 + x)

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze1.0ms (0.1%)

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

sample415.0ms (27.3%)

Memory
32.4MiB live, 498.6MiB allocated; 71ms collecting garbage
Samples
244.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 86.0ms
ival-log1p: 84.0ms (98.2% of total)
adjust: 1.0ms (1.2% of total)
Bogosity

preprocess172.0ms (11.4%)

Memory
-40.1MiB live, 57.3MiB allocated; 20ms 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
38.4%
(log.f64 (+.f64 #s(literal 1 binary64) x))
Compiler

Compiled 8 to 8 computations (0% saved)

series2.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB allocated; 0ms collecting garbage
Counts
4 → 15
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 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* 1/2 (/ 1 x)) 1) x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ 1 x)) 1/2) x)) 1) 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)

rewrite141.0ms (9.3%)

Memory
36.4MiB live, 172.6MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
080252
081227
1481213
04573180
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
19 → 40
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 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* 1/2 (/ 1 x)) 1) x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ 1 x)) 1/2) x)) 1) 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 (/.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)) (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))))
#s(approx (log (+ 1 x)) (+.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) (neg.f64 x)) #s(literal 1 binary64)) x)))

eval3.0ms (0.2%)

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

Compiled 239 to 135 computations (43.5% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New31536
Fresh000
Picked101
Done000
Total32537
Accuracy
100.0%
Counts
37 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
38.4%
(log.f64 (-.f64 x #s(literal -1 binary64)))
67.7%
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
31.8%
#s(approx (log (+ 1 x)) (log.f64 x))
68.0%
#s(approx (log (+ 1 x)) x)
Compiler

Compiled 52 to 52 computations (0% saved)

series130.0ms (8.6%)

Memory
-42.0MiB live, 90.2MiB allocated; 115ms collecting garbage
Counts
13 → 22
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 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* 1/2 (/ 1 x)) 1) x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ 1 x)) 1/2) x)) 1) x))))))
#s(approx (+ (* -1/2 x) 1) #s(hole binary64 (* -1 (* x (- 1/2 (/ 1 x))))))
Calls

3 calls:

TimeVariablePointExpression
101.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)
17.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)
12.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)

rewrite191.0ms (12.6%)

Memory
-28.0MiB live, 113.3MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104340
0110308
1551296
05030290
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 117
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 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* 1/2 (/ 1 x)) 1) x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ 1 x)) 1/2) x)) 1) 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 (-.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 (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 (-.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 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.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 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.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)) (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))))
#s(approx (log (+ 1 x)) (+.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) (neg.f64 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
17.5MiB live, 17.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 669 to 367 computations (45.1% saved)

prune4.0ms (0.3%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New93194
Fresh000
Picked055
Done000
Total93699
Accuracy
100.0%
Counts
99 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
38.4%
(log.f64 (-.f64 x #s(literal -1 binary64)))
67.7%
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
67.7%
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
31.8%
#s(approx (log (+ 1 x)) (log.f64 x))
68.0%
#s(approx (log (+ 1 x)) x)
Compiler

Compiled 34 to 34 computations (0% saved)

series2.0ms (0.1%)

Memory
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
Counts
5 → 15
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 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* 1/2 (/ 1 x)) 1) x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ 1 x)) 1/2) x)) 1) 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)

rewrite148.0ms (9.8%)

Memory
19.7MiB live, 152.2MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085277
087255
1501241
04692209
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
20 → 60
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 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (/ 1 x)))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* 1/2 (/ 1 x)) 1) x))))))
#s(approx (log (+ 1 x)) #s(hole binary64 (+ (log -1) (+ (* -1 (log (/ -1 x))) (* -1 (/ (- (* -1 (/ (- (* 1/3 (/ 1 x)) 1/2) x)) 1) 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 x x) #s(literal -1/2 binary64))))
(/.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 x x) #s(literal -1/2 binary64)) 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 x x) #s(literal -1/2 binary64)))))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) 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 x x) #s(literal -1/2 binary64)) 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 x x) #s(literal -1/2 binary64))))))
(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 x x) #s(literal -1/2 binary64)) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) 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 #s(literal 1/2 binary64) (*.f64 x x)))
(-.f64 x (*.f64 (neg.f64 x) (*.f64 #s(literal -1/2 binary64) 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 x x) #s(literal -1/2 binary64)))))) (/.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 x x) #s(literal -1/2 binary64)))))))
(+.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) x)
(+.f64 x (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))
(*.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 x x) #s(literal -1/2 binary64)))
#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)) (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))))
#s(approx (log (+ 1 x)) (+.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x)))
#s(approx (log (+ 1 x)) (-.f64 (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64))) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) (neg.f64 x)) #s(literal 1 binary64)) x)))

eval14.0ms (0.9%)

Memory
-28.6MiB live, 25.7MiB allocated; 9ms collecting garbage
Compiler

Compiled 416 to 213 computations (48.8% saved)

prune3.0ms (0.2%)

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

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New51051
Fresh000
Picked011
Done055
Total51657
Accuracy
100.0%
Counts
57 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log1p.f64 x)
38.4%
(log.f64 (-.f64 x #s(literal -1 binary64)))
67.7%
#s(approx (log (+ 1 x)) (fma.f64 (*.f64 x x) #s(literal -1/2 binary64) x))
67.7%
#s(approx (log (+ 1 x)) (*.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal 1 binary64)) x))
31.8%
#s(approx (log (+ 1 x)) (log.f64 x))
68.0%
#s(approx (log (+ 1 x)) x)
Compiler

Compiled 59 to 55 computations (6.8% saved)

regimes9.0ms (0.6%)

Memory
-17.3MiB live, 29.2MiB allocated; 4ms 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:

4.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
3.0ms
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
20.1MiB live, 20.1MiB 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.3%2(+.f64 #s(literal 1 binary64) x)
99.3%2(log.f64 (+.f64 #s(literal 1 binary64) x))
99.3%2x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes5.0ms (0.3%)

Memory
14.9MiB live, 14.9MiB allocated; 0ms 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:

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

Compiled 8 to 8 computations (0% saved)

regimes7.0ms (0.4%)

Memory
-27.1MiB live, 18.9MiB allocated; 4ms 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:

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

Compiled 8 to 8 computations (0% saved)

regimes4.0ms (0.3%)

Memory
17.5MiB live, 17.5MiB 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
(+.f64 #s(literal 1 binary64) x)
1.0ms
(log.f64 (+.f64 #s(literal 1 binary64) x))
Results
AccuracySegmentsBranch
97.3%2(+.f64 #s(literal 1 binary64) x)
97.3%2(log.f64 (+.f64 #s(literal 1 binary64) x))
97.3%2x
Compiler

Compiled 8 to 8 computations (0% saved)

regimes4.0ms (0.3%)

Memory
-32.7MiB live, 13.5MiB allocated; 2ms 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
(log.f64 (+.f64 #s(literal 1 binary64) x))
1.0ms
(+.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
68.0%1(+.f64 #s(literal 1 binary64) x)
68.0%1(log.f64 (+.f64 #s(literal 1 binary64) x))
68.0%1x
Compiler

Compiled 8 to 8 computations (0% saved)

bsearch7.0ms (0.5%)

Memory
29.0MiB live, 29.0MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
7.0ms
2.2396113799778443e-7
1.0376029206131952e-5
Samples
3.0ms112×0valid
Compiler

Compiled 91 to 104 computations (-14.3% saved)

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

bsearch21.0ms (1.4%)

Memory
-6.4MiB live, 40.8MiB allocated; 16ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
21.0ms
0.000867515487402782
10448.605993387293
Samples
4.0ms144×0valid
Compiler

Compiled 133 to 150 computations (-12.8% saved)

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

bsearch1.0ms (0.1%)

Memory
4.3MiB live, 4.3MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
1.0ms
0.000867515487402782
10448.605993387293
Compiler

Compiled 142 to 159 computations (-12% saved)

bsearch5.0ms (0.3%)

Memory
20.7MiB live, 20.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
4.0ms
0.000867515487402782
10448.605993387293
Samples
2.0ms64×0valid
Compiler

Compiled 106 to 123 computations (-16% saved)

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

derivations146.0ms (9.6%)

Memory
-32.7MiB live, 100.5MiB allocated; 30ms collecting garbage
Stop Event
done
Compiler

Compiled 35 to 29 computations (17.1% saved)

preprocess63.0ms (4.2%)

Memory
6.3MiB live, 108.1MiB allocated; 52ms collecting garbage
Compiler

Compiled 54 to 42 computations (22.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...