neg log

Time bar (total: 1.8s)

start0.0ms (0%)

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

analyze4.0ms (0.2%)

Memory
5.2MiB live, 5.2MiB 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
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
33.3%12.5%25%0%0%62.5%0%4
60%18.7%12.5%0%0%68.7%0%5
77.8%21.9%6.2%0%0%71.8%0%6
88.2%23.4%3.1%0%0%73.4%0%7
93.9%24.2%1.6%0%0%74.2%0%8
96.9%24.6%0.8%0%0%74.6%0%9
98.4%24.8%0.4%0%0%74.8%0%10
99.2%24.9%0.2%0%0%74.9%0%11
99.6%24.9%0.1%0%0%74.9%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample775.0ms (43.8%)

Memory
-3.5MiB live, 945.0MiB allocated; 198ms collecting garbage
Samples
539.0ms8 256×0valid
1.0ms23×0invalid
Precisions
Click to see histograms. Total time spent on operations: 397.0ms
ival-log: 187.0ms (47.2% of total)
ival-div!: 117.0ms (29.5% of total)
ival-neg: 69.0ms (17.4% of total)
ival-sub!: 21.0ms (5.3% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain96.0ms (5.4%)

Memory
-3.0MiB live, 90.7MiB allocated; 22ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
00-0-(/.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
00-0-(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
33.0ms512×0valid
Compiler

Compiled 57 to 22 computations (61.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-log: 14.0ms (66.8% of total)
ival-div!: 3.0ms (14.3% of total)
ival-neg: 2.0ms (9.5% of total)
ival-sub!: 1.0ms (4.8% of total)
adjust: 0.0ms (0% of total)

preprocess69.0ms (3.9%)

Memory
-0.9MiB live, 40.4MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01222
11520
22120
33620
49720
553420
6627320
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
Compiler

Compiled 14 to 12 computations (14.3% saved)

series3.0ms (0.2%)

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

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ 1 x) 1 x)
1.0ms
x
@0
((neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ 1 x) 1 x)
1.0ms
x
@inf
((neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ 1 x) 1 x)

rewrite185.0ms (10.4%)

Memory
23.8MiB live, 168.1MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105408
0111384
1610360
06279326
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
30 → 61
Calls
Call 1
Inputs
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (log x)))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- x (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (* -1 (log x))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (+ (* -1 x) (* -1 (log x)))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (/ 1 x)))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (/ (+ 1 (* -1 x)) x)))
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (* -1 (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (/ 1 x) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (log -1)))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (- (log -1) (/ 1 x))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))))
#s(approx (- (/ 1 x) 1) #s(hole binary64 -1))
#s(approx (- (/ 1 x) 1) #s(hole binary64 (- (/ 1 x) 1)))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))))
#s(approx (log (- (/ 1 x) 1)) #s(hole binary64 (+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))))
Outputs
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(-.f64 #s(literal 0 binary64) (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(log.f64 (pow.f64 (expm1.f64 (neg.f64 (log.f64 x))) #s(literal -1 binary64)))
(-.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64))) (log1p.f64 (pow.f64 x #s(literal -1 binary64))))
(-.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64))) (log.f64 (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(/.f64 (-.f64 #s(literal -2 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64))) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(/.f64 (-.f64 #s(literal 2 binary64) (*.f64 x #s(literal 2 binary64))) (*.f64 x #s(literal 2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64))))
(fma.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(expm1.f64 (neg.f64 (log.f64 x)))
(-.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal -3 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))
(+.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 x #s(literal -1 binary64))
(/.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (/.f64 #s(literal -1 binary64) x) #s(literal -1 binary64))
(/.f64 #s(literal -2 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))
(/.f64 #s(literal 2 binary64) (*.f64 x #s(literal 2 binary64)))
(/.f64 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) x)
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)))
(neg.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))
(neg.f64 (/.f64 #s(literal -1 binary64) x))
(exp.f64 (neg.f64 (log.f64 x)))
#s(literal 1 binary64)
x
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)))
#s(approx (log (- (/ 1 x) 1)) (neg.f64 (log.f64 x)))
#s(approx (log (- (/ 1 x) 1)) (-.f64 (neg.f64 x) (log.f64 x)))
#s(approx (log (- (/ 1 x) 1)) (fma.f64 (fma.f64 #s(literal -1/2 binary64) x #s(literal -1 binary64)) x (neg.f64 (log.f64 x))))
#s(approx (log (- (/ 1 x) 1)) (fma.f64 (fma.f64 (fma.f64 #s(literal -1/3 binary64) x #s(literal -1/2 binary64)) x #s(literal -1 binary64)) x (neg.f64 (log.f64 x))))
#s(approx (- (/ 1 x) 1) (pow.f64 x #s(literal -1 binary64)))
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
#s(approx (/ 1 x) (pow.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 #s(literal -1 binary64)))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (pow.f64 x #s(literal -1 binary64)) (log.f64 #s(literal -1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))))
#s(approx (log (- (/ 1 x) 1)) (log.f64 #s(literal -1 binary64)))
#s(approx (log (- (/ 1 x) 1)) (-.f64 (log.f64 #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64))))
#s(approx (log (- (/ 1 x) 1)) (-.f64 (/.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))))
#s(approx (log (- (/ 1 x) 1)) (-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1 binary64)) x)))
#s(approx (- (/ 1 x) 1) #s(literal -1 binary64))
#s(approx (- (/ 1 x) 1) (expm1.f64 (neg.f64 (log.f64 x))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))))
#s(approx (log (- (/ 1 x) 1)) (-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1 binary64)) x)))

eval5.0ms (0.3%)

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

Compiled 655 to 227 computations (65.3% saved)

prune6.0ms (0.3%)

Memory
-39.1MiB live, 4.9MiB allocated; 5ms collecting garbage
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh000
Picked011
Done000
Total50454
Accuracy
100.0%
Counts
54 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
100.0%
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
99.7%
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
98.5%
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
Compiler

Compiled 35 to 29 computations (17.1% saved)

series161.0ms (9.1%)

Memory
32.8MiB live, 172.8MiB allocated; 24ms collecting garbage
Counts
9 → 30
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
(log.f64 x)
x
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(+.f64 (log.f64 x) x)
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(expm1.f64 (neg.f64 (log.f64 x)))
(neg.f64 (log.f64 x))
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (log x)))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- x (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (log x) x) #s(hole binary64 (log x)))
#s(approx (+ (log x) x) #s(hole binary64 (+ x (log x))))
#s(approx (neg (log (- (exp (neg (log x))) 1))) #s(hole binary64 (* -1 (log (- (exp (neg (log x))) 1)))))
#s(approx (log (- (exp (neg (log x))) 1)) #s(hole binary64 (log (- (exp (neg (log x))) 1))))
#s(approx (- (exp (neg (log x))) 1) #s(hole binary64 (- (exp (neg (log x))) 1)))
#s(approx (neg (log x)) #s(hole binary64 (* -1 (log x))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (* -1 (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (/ 1 x) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (+ (log x) x) #s(hole binary64 x))
#s(approx (+ (log x) x) #s(hole binary64 (* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))))
#s(approx (neg (log (- (exp (neg (log x))) 1))) #s(hole binary64 (* -1 (log (- (exp (neg (* -1 (log (/ 1 x))))) 1)))))
#s(approx (log (- (exp (neg (log x))) 1)) #s(hole binary64 (log (- (exp (neg (* -1 (log (/ 1 x))))) 1))))
#s(approx (- (exp (neg (log x))) 1) #s(hole binary64 (- (exp (neg (* -1 (log (/ 1 x))))) 1)))
#s(approx (neg (log x)) #s(hole binary64 (log (/ 1 x))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (+ (log x) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))))
#s(approx (neg (log (- (exp (neg (log x))) 1))) #s(hole binary64 (* -1 (log (- (exp (neg (+ (log -1) (* -1 (log (/ -1 x)))))) 1)))))
#s(approx (log (- (exp (neg (log x))) 1)) #s(hole binary64 (log (- (exp (neg (+ (log -1) (* -1 (log (/ -1 x)))))) 1))))
#s(approx (- (exp (neg (log x))) 1) #s(hole binary64 (- (exp (neg (+ (log -1) (* -1 (log (/ -1 x)))))) 1)))
#s(approx (neg (log x)) #s(hole binary64 (* -1 (+ (log -1) (* -1 (log (/ -1 x)))))))
Calls

3 calls:

TimeVariablePointExpression
93.0ms
x
@-inf
((neg (log (- (/ 1 x) 1))) (log x) x (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (exp (neg (log x))) 1))) (log (- (exp (neg (log x))) 1)) (- (exp (neg (log x))) 1) (neg (log x)))
45.0ms
x
@0
((neg (log (- (/ 1 x) 1))) (log x) x (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (exp (neg (log x))) 1))) (log (- (exp (neg (log x))) 1)) (- (exp (neg (log x))) 1) (neg (log x)))
22.0ms
x
@inf
((neg (log (- (/ 1 x) 1))) (log x) x (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (exp (neg (log x))) 1))) (log (- (exp (neg (log x))) 1)) (- (exp (neg (log x))) 1) (neg (log x)))

rewrite136.0ms (7.7%)

Memory
16.3MiB live, 148.2MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0117487
0129437
1596405
05115395
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
39 → 100
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
(log.f64 x)
x
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(+.f64 (log.f64 x) x)
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(expm1.f64 (neg.f64 (log.f64 x)))
(neg.f64 (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (log x)))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- x (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (log x) x) #s(hole binary64 (log x)))
#s(approx (+ (log x) x) #s(hole binary64 (+ x (log x))))
#s(approx (neg (log (- (exp (neg (log x))) 1))) #s(hole binary64 (* -1 (log (- (exp (neg (log x))) 1)))))
#s(approx (log (- (exp (neg (log x))) 1)) #s(hole binary64 (log (- (exp (neg (log x))) 1))))
#s(approx (- (exp (neg (log x))) 1) #s(hole binary64 (- (exp (neg (log x))) 1)))
#s(approx (neg (log x)) #s(hole binary64 (* -1 (log x))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (* -1 (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (/ 1 x) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (+ (log x) x) #s(hole binary64 x))
#s(approx (+ (log x) x) #s(hole binary64 (* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))))
#s(approx (neg (log (- (exp (neg (log x))) 1))) #s(hole binary64 (* -1 (log (- (exp (neg (* -1 (log (/ 1 x))))) 1)))))
#s(approx (log (- (exp (neg (log x))) 1)) #s(hole binary64 (log (- (exp (neg (* -1 (log (/ 1 x))))) 1))))
#s(approx (- (exp (neg (log x))) 1) #s(hole binary64 (- (exp (neg (* -1 (log (/ 1 x))))) 1)))
#s(approx (neg (log x)) #s(hole binary64 (log (/ 1 x))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (+ (log x) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))))
#s(approx (neg (log (- (exp (neg (log x))) 1))) #s(hole binary64 (* -1 (log (- (exp (neg (+ (log -1) (* -1 (log (/ -1 x)))))) 1)))))
#s(approx (log (- (exp (neg (log x))) 1)) #s(hole binary64 (log (- (exp (neg (+ (log -1) (* -1 (log (/ -1 x)))))) 1))))
#s(approx (- (exp (neg (log x))) 1) #s(hole binary64 (- (exp (neg (+ (log -1) (* -1 (log (/ -1 x)))))) 1)))
#s(approx (neg (log x)) #s(hole binary64 (* -1 (+ (log -1) (* -1 (log (/ -1 x)))))))
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
(*.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)))
(*.f64 (log.f64 x) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (log.f64 x))
(/.f64 (*.f64 #s(literal 2 binary64) (log.f64 x)) #s(literal 2 binary64))
(neg.f64 (neg.f64 (log.f64 x)))
(log.f64 x)
x
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (log.f64 x) #s(literal 2 binary64)))) (neg.f64 (-.f64 x (log.f64 x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (log.f64 x) x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 x) (-.f64 (log.f64 x) x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (log.f64 x)) (pow.f64 (log.f64 x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (log.f64 x) #s(literal 2 binary64))) (-.f64 x (log.f64 x)))
(/.f64 (-.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (log.f64 x) x))
(/.f64 (+.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x (log.f64 x)) (pow.f64 (log.f64 x) #s(literal 2 binary64))))
(fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) x)
(fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) x)
(fma.f64 (log.f64 x) #s(literal 1 binary64) x)
(fma.f64 #s(literal 1 binary64) (log.f64 x) x)
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) x) (*.f64 x x))) (/.f64 (pow.f64 (neg.f64 (log.f64 x)) #s(literal 3 binary64)) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) x) (*.f64 x x))))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (log.f64 x))) (/.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (-.f64 x (log.f64 x))))
(-.f64 (/.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (-.f64 (log.f64 x) x)) (/.f64 (*.f64 x x) (-.f64 (log.f64 x) x)))
(-.f64 x (neg.f64 (log.f64 x)))
(+.f64 (-.f64 x #s(literal 0 binary64)) (log.f64 x))
(+.f64 (/.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (log.f64 x)) (pow.f64 (log.f64 x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (log.f64 x)) (pow.f64 (log.f64 x) #s(literal 2 binary64)))))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) x) (*.f64 x x))) (/.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) x) (*.f64 x x))))
(+.f64 (log.f64 x) x)
(+.f64 x (log.f64 x))
(*.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(neg.f64 (*.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) #s(literal 1 binary64)))
(neg.f64 (*.f64 #s(literal 1 binary64) (log.f64 (expm1.f64 (neg.f64 (log.f64 x))))))
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(-.f64 #s(literal 0 binary64) (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(log.f64 (pow.f64 (expm1.f64 (neg.f64 (log.f64 x))) #s(literal -1 binary64)))
(-.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64))) (log.f64 (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(-.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64))) (log1p.f64 (pow.f64 x #s(literal -1 binary64))))
(log.f64 (expm1.f64 (neg.f64 (log.f64 x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(/.f64 (-.f64 #s(literal -2 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64))) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(/.f64 (-.f64 #s(literal 2 binary64) (*.f64 x #s(literal 2 binary64))) (*.f64 x #s(literal 2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal -3 binary64)) #s(literal 1 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64))))
(fma.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(expm1.f64 (fma.f64 #s(literal -1 binary64) (log.f64 x) #s(literal 0 binary64)))
(expm1.f64 (neg.f64 (log.f64 x)))
(-.f64 (/.f64 (pow.f64 x #s(literal -2 binary64)) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal -3 binary64)) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (+.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -1 binary64)))))
(-.f64 (cosh.f64 (log.f64 x)) (+.f64 (sinh.f64 (log.f64 x)) #s(literal 1 binary64)))
(-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))
(+.f64 (cosh.f64 (log.f64 x)) (-.f64 (sinh.f64 (neg.f64 (log.f64 x))) #s(literal 1 binary64)))
(+.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(*.f64 (neg.f64 (log.f64 x)) #s(literal 1 binary64))
(*.f64 #s(literal -1 binary64) (log.f64 x))
(*.f64 (log.f64 x) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (neg.f64 (log.f64 x)))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (log.f64 x) #s(literal 2 binary64))) (+.f64 #s(literal 0 binary64) (log.f64 x)))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 (log.f64 x) (log.f64 x) (*.f64 #s(literal 0 binary64) (log.f64 x)))))
(/.f64 (*.f64 #s(literal 2 binary64) (neg.f64 (log.f64 x))) #s(literal 2 binary64))
(neg.f64 (log.f64 x))
(-.f64 #s(literal 0 binary64) (log.f64 x))
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (neg.f64 x)))
(log.f64 (pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))
(log.f64 (pow.f64 x #s(literal -1 binary64)))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)))
#s(approx (log x) (log.f64 x))
#s(approx x x)
#s(approx (+ (log x) x) (log.f64 x))
#s(approx (+ (log x) x) (+.f64 (log.f64 x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x))))))
#s(approx (log (- (exp (neg (log x))) 1)) (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
#s(approx (- (exp (neg (log x))) 1) (expm1.f64 (neg.f64 (log.f64 x))))
#s(approx (neg (log x)) (neg.f64 (log.f64 x)))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 #s(literal -1 binary64)))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (pow.f64 x #s(literal -1 binary64)) (log.f64 #s(literal -1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal -1 binary64))) (log.f64 #s(literal -1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (/.f64 (+.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x x)) #s(literal 1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) (log.f64 #s(literal -1 binary64))))
#s(approx (log x) (log.f64 x))
#s(approx (+ (log x) x) x)
#s(approx (+ (log x) x) (fma.f64 (/.f64 (log.f64 x) x) x x))
#s(approx (neg (log (- (/ 1 x) 1))) (neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x))))))
#s(approx (log (- (exp (neg (log x))) 1)) (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
#s(approx (- (exp (neg (log x))) 1) (expm1.f64 (neg.f64 (log.f64 x))))
#s(approx (neg (log x)) (neg.f64 (log.f64 x)))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (/.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal -1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal 1 binary64)) x) #s(literal -1 binary64) (log.f64 #s(literal -1 binary64))))
#s(approx (log x) (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))))
#s(approx (+ (log x) x) (*.f64 (neg.f64 x) (-.f64 (/.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) x) #s(literal 1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (neg.f64 (log.f64 (fma.f64 #s(literal -1 binary64) (exp.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) #s(literal -1 binary64)))))
#s(approx (log (- (exp (neg (log x))) 1)) (log.f64 (fma.f64 #s(literal -1 binary64) (exp.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) #s(literal -1 binary64))))
#s(approx (- (exp (neg (log x))) 1) (fma.f64 #s(literal -1 binary64) (exp.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) #s(literal -1 binary64)))
#s(approx (neg (log x)) (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))))

eval28.0ms (1.6%)

Memory
-32.1MiB live, 25.9MiB allocated; 36ms collecting garbage
Compiler

Compiled 1 535 to 390 computations (74.6% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1021103
Fresh000
Picked033
Done011
Total1025107
Accuracy
100.0%
Counts
107 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
100.0%
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
99.7%
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
98.5%
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
2.3%
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
Compiler

Compiled 49 to 39 computations (20.4% saved)

series4.0ms (0.2%)

Memory
10.2MiB live, 10.2MiB allocated; 0ms collecting garbage
Counts
3 → 15
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (+ (log x) x) x)
x
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (log x)))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- x (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))))
#s(approx (+ (log x) x) #s(hole binary64 (log x)))
#s(approx (+ (log x) x) #s(hole binary64 (+ x (log x))))
#s(approx x #s(hole binary64 x))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (* -1 (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (/ 1 x) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))))
#s(approx (+ (log x) x) #s(hole binary64 x))
#s(approx (+ (log x) x) #s(hole binary64 (* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))))
#s(approx (+ (log x) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@0
((neg (log (- (/ 1 x) 1))) (+ (log x) x) x)
1.0ms
x
@-inf
((neg (log (- (/ 1 x) 1))) (+ (log x) x) x)
1.0ms
x
@inf
((neg (log (- (/ 1 x) 1))) (+ (log x) x) x)

rewrite116.0ms (6.6%)

Memory
-5.1MiB live, 132.6MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077257
077241
1448231
04298214
Stop Event
iter-limit
iter-limit
node-limit
saturated
Counts
18 → 18
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (+ (log x) x) x)
x
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (log x)))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- x (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))))
#s(approx (+ (log x) x) #s(hole binary64 (log x)))
#s(approx (+ (log x) x) #s(hole binary64 (+ x (log x))))
#s(approx x #s(hole binary64 x))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (* -1 (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (/ 1 x) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))))
#s(approx (+ (log x) x) #s(hole binary64 x))
#s(approx (+ (log x) x) #s(hole binary64 (* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))))
#s(approx (neg (log (- (/ 1 x) 1))) #s(hole binary64 (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))))
#s(approx (+ (log x) x) #s(hole binary64 (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))))
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (+ (log x) x) x)
x
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)))
#s(approx (+ (log x) x) (log.f64 x))
#s(approx (+ (log x) x) (+.f64 (log.f64 x) x))
#s(approx x x)
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 #s(literal -1 binary64)))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (pow.f64 x #s(literal -1 binary64)) (log.f64 #s(literal -1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal -1 binary64))) (log.f64 #s(literal -1 binary64))))
#s(approx (neg (log (- (/ 1 x) 1))) (-.f64 (/.f64 (+.f64 (fma.f64 #s(literal 1/2 binary64) x (*.f64 x x)) #s(literal 1/3 binary64)) (pow.f64 x #s(literal 3 binary64))) (log.f64 #s(literal -1 binary64))))
#s(approx (+ (log x) x) x)
#s(approx (+ (log x) x) (fma.f64 (/.f64 (log.f64 x) x) x x))
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (/.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal -1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal 1 binary64)) x) #s(literal -1 binary64) (log.f64 #s(literal -1 binary64))))
#s(approx (+ (log x) x) (*.f64 (neg.f64 x) (-.f64 (/.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) x) #s(literal 1 binary64))))

eval1.0ms (0.1%)

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

Compiled 220 to 67 computations (69.5% saved)

prune2.0ms (0.1%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New12012
Fresh000
Picked011
Done044
Total12517
Accuracy
100.0%
Counts
17 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
100.0%
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
99.7%
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
98.5%
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
2.3%
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
Compiler

Compiled 98 to 62 computations (36.7% saved)

regimes23.0ms (1.3%)

Memory
-18.5MiB live, 29.8MiB allocated; 11ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
Outputs
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
Calls

5 calls:

11.0ms
(/.f64 #s(literal 1 binary64) x)
2.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
2.0ms
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
2.0ms
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1(/.f64 #s(literal 1 binary64) x)
100.0%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
100.0%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
100.0%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
100.0%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes9.0ms (0.5%)

Memory
21.2MiB live, 21.2MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
Outputs
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
Calls

5 calls:

2.0ms
x
2.0ms
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
2.0ms
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
2.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
2.0ms
(/.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
100.0%1(/.f64 #s(literal 1 binary64) x)
100.0%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
100.0%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
100.0%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
100.0%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes8.0ms (0.5%)

Memory
19.8MiB live, 19.8MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
Calls

5 calls:

2.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
2.0ms
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
2.0ms
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
2.0ms
(/.f64 #s(literal 1 binary64) x)
1.0ms
x
Results
AccuracySegmentsBranch
99.7%1(/.f64 #s(literal 1 binary64) x)
99.7%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
99.7%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
99.7%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
99.7%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes8.0ms (0.5%)

Memory
-25.1MiB live, 21.6MiB allocated; 2ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (log x) x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
Calls

5 calls:

3.0ms
x
1.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
1.0ms
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
1.0ms
(/.f64 #s(literal 1 binary64) x)
1.0ms
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
98.5%1(/.f64 #s(literal 1 binary64) x)
98.5%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
98.5%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
98.5%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
98.5%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes6.0ms (0.3%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

5 calls:

1.0ms
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
1.0ms
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
1.0ms
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
1.0ms
(/.f64 #s(literal 1 binary64) x)
1.0ms
x
Results
AccuracySegmentsBranch
2.3%1(/.f64 #s(literal 1 binary64) x)
2.3%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
2.3%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
2.3%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
2.3%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

derivations86.0ms (4.9%)

Memory
-18.0MiB live, 73.9MiB allocated; 8ms collecting garbage
Stop Event
done
Compiler

Compiled 49 to 23 computations (53.1% saved)

preprocess35.0ms (2%)

Memory
7.1MiB live, 56.2MiB allocated; 11ms collecting garbage
Compiler

Compiled 112 to 58 computations (48.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...