neg log

Time bar (total: 3.3s)

start0.0ms (0%)

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

analyze3.0ms (0.1%)

Memory
5.3MiB live, 5.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
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)

sample1.0s (31%)

Memory
61.6MiB live, 836.6MiB allocated; 1.0s collecting garbage
Samples
747.0ms8 256×0valid
1.0ms18×0invalid
Precisions
Click to see histograms. Total time spent on operations: 590.0ms
ival-log: 369.0ms (62.5% of total)
ival-div: 134.0ms (22.7% of total)
ival-sub: 40.0ms (6.8% of total)
ival-neg: 33.0ms (5.6% of total)
ival-true: 5.0ms (0.8% of total)
exact: 5.0ms (0.8% of total)
ival-assert: 3.0ms (0.5% of total)
adjust: 2.0ms (0.3% of total)
Bogosity

explain80.0ms (2.4%)

Memory
-11.9MiB live, 128.9MiB 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
27.0ms512×0valid
Compiler

Compiled 57 to 22 computations (61.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-log: 5.0ms (33.5% of total)
ival-div: 4.0ms (26.8% of total)
ival-sub: 2.0ms (13.4% of total)
ival-neg: 2.0ms (13.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess225.0ms (6.8%)

Memory
28.0MiB live, 167.3MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11213
21813
33213
48713
549713
6671413
067
0107
1127
2157
3267
4677
53267
655897
082407
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(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))))
(neg.f64 (log1p.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
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 7 to 6 computations (14.3% saved)

simplify169.0ms (5.1%)

Memory
-1.9MiB live, 139.2MiB allocated; 23ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 #s(literal 1 binary64) x)
cost-diff0
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
cost-diff0
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
cost-diff0
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
11223
21523
32623
46723
532623
6558923
0824023
Stop Event
iter limit
node limit
iter limit
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
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
(neg.f64 (log1p.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(log1p.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x

localize20.0ms (0.6%)

Memory
-12.3MiB live, 34.5MiB allocated; 3ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 #s(literal 1 binary64) x)
accuracy0.0
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
accuracy0.00390625
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
accuracy0.00390625
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
Samples
14.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-log: 3.0ms (34.7% of total)
ival-div: 2.0ms (23.1% of total)
ival-neg: 2.0ms (23.1% of total)
ival-sub: 1.0ms (11.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated; 0ms collecting garbage
Counts
4 → 22
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)
Outputs
(log x)
(- x (* -1 (log x)))
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(* -1 (log x))
(+ (* -1 x) (* -1 (log x)))
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))
(/ 1 x)
(/ (+ 1 (* -1 x)) x)
(* -1 (log -1))
(- (/ 1 x) (log -1))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))
(log -1)
(- (log -1) (/ 1 x))
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))
-1
(- (/ 1 x) 1)
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))
Calls

3 calls:

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

simplify152.0ms (4.6%)

Memory
-2.1MiB live, 135.5MiB allocated; 36ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
075193
1212168
2666168
32149168
47458168
08027160
Stop Event
iter limit
node limit
Counts
22 → 22
Calls
Call 1
Inputs
(log x)
(- x (* -1 (log x)))
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(* -1 (log x))
(+ (* -1 x) (* -1 (log x)))
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))
(/ 1 x)
(/ (+ 1 (* -1 x)) x)
(* -1 (log -1))
(- (/ 1 x) (log -1))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))
(log -1)
(- (log -1) (/ 1 x))
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))
-1
(- (/ 1 x) 1)
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))
Outputs
(log x)
(log.f64 x)
(- x (* -1 (log x)))
(+.f64 (log.f64 x) x)
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(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))
(* -1 (log x))
(neg.f64 (log.f64 x))
(+ (* -1 x) (* -1 (log x)))
(neg.f64 (+.f64 (log.f64 x) x))
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))
(neg.f64 (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)))
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))
(neg.f64 (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)))
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (+ 1 (* -1 x)) x)
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
(* -1 (log -1))
(log.f64 #s(literal -1 binary64))
(- (/ 1 x) (log -1))
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64)))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64)))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -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)))
(log -1)
(log.f64 #s(literal -1 binary64))
(- (log -1) (/ 1 x))
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x))
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x))
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))
(-.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))
-1
#s(literal -1 binary64)
(- (/ 1 x) 1)
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -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)))
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))
(-.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))

rewrite45.0ms (1.4%)

Memory
3.9MiB live, 49.2MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
13321
021421
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 29
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)
Outputs
(neg.f64 (log.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))))
(-.f64 #s(literal 0 binary64) (log.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))))
(log.f64 (pow.f64 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) #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 (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.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 (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 (*.f64 (log.f64 x) #s(literal -1 binary64)))
(-.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 #s(literal -1 binary64) (neg.f64 x))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x)))
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) x)
(neg.f64 (/.f64 #s(literal -1 binary64) x))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x)))
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))

eval5.0ms (0.1%)

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

Compiled 591 to 185 computations (68.7% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44448
Fresh000
Picked101
Done000
Total45449
Accuracy
100.0%
Counts
49 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
99.6%
#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)))
99.3%
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
98.4%
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
Compiler

Compiled 51 to 39 computations (23.5% saved)

simplify145.0ms (4.4%)

Memory
-15.5MiB live, 106.5MiB allocated; 24ms collecting garbage
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
cost-diff0
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
cost-diff0
(log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x)))
cost-diff0
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
cost-diff0
(log.f64 x)
cost-diff0
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
cost-diff0
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
cost-diff0
#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)))
cost-diff0
(log.f64 x)
cost-diff0
(+.f64 (log.f64 x) x)
cost-diff0
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
cost-diff0
(log.f64 x)
cost-diff0
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019111
029111
138111
262111
3153111
4606111
53164111
08221111
Stop Event
iter limit
node limit
iter limit
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)
(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)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
#s(literal 1/2 binary64)
x
#s(literal 1 binary64)
(log.f64 x)
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
(log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x)))
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
Outputs
#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)
(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)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
#s(literal 1/2 binary64)
x
#s(literal 1 binary64)
(log.f64 x)
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))))
(log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x)))
(log.f64 #s(approx (- (/ 1 x) 1) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
#s(approx (- (/ 1 x) 1) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x

localize44.0ms (1.3%)

Memory
-13.3MiB live, 74.5MiB allocated; 9ms collecting garbage
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
accuracy0.0
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
accuracy0.00390625
(log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x)))
accuracy0.0078125
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
accuracy0.0
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
accuracy0.0
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
accuracy0.0
(log.f64 x)
accuracy0.24648963948125838
#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)))
accuracy0.0
(log.f64 x)
accuracy0.00390625
(+.f64 (log.f64 x) x)
accuracy0.4434328026511862
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
accuracy0.0
(log.f64 x)
accuracy0.9995764526712287
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
Samples
34.0ms256×0valid
Compiler

Compiled 81 to 17 computations (79% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-log: 5.0ms (27.1% of total)
ival-div: 4.0ms (21.7% of total)
ival-add: 3.0ms (16.2% of total)
ival-mult: 3.0ms (16.2% of total)
ival-sub: 2.0ms (10.8% of total)
ival-neg: 1.0ms (5.4% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series86.0ms (2.6%)

Memory
21.4MiB live, 66.5MiB allocated; 10ms collecting garbage
Counts
11 → 37
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
(log.f64 x)
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(+.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)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
(log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x)))
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
Outputs
(log x)
(- x (* -1 (log x)))
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(+ x (log x))
(+ (log x) (* x (+ 1 (* 1/2 x))))
1
(+ 1 (* 1/2 x))
(* -1 (log x))
(+ (* -1 x) (* -1 (log x)))
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))
(/ 1 x)
(/ (+ 1 (* -1 x)) x)
(* -1 (log -1))
(- (/ 1 x) (log -1))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))
(* -1 (log (/ 1 x)))
x
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (/ 1 x)))
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x))))
(* 1/2 x)
(* x (+ 1/2 (/ 1 x)))
(log -1)
(- (log -1) (/ 1 x))
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))
-1
(- (/ 1 x) 1)
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))
(+ (log -1) (* -1 (log (/ -1 x))))
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x))))
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))
Calls

3 calls:

TimeVariablePointExpression
60.0ms
x
@0
((neg (log (- (/ 1 x) 1))) (log x) (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (+ (* 1/2 x) 1) (neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ (- 1 x) x))
18.0ms
x
@-inf
((neg (log (- (/ 1 x) 1))) (log x) (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (+ (* 1/2 x) 1) (neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ (- 1 x) x))
7.0ms
x
@inf
((neg (log (- (/ 1 x) 1))) (log x) (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (+ (* 1/2 x) 1) (neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ (- 1 x) x))

simplify204.0ms (6.2%)

Memory
-2.7MiB live, 189.5MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105301
1323268
21001267
34661263
08269247
Stop Event
iter limit
node limit
Counts
37 → 36
Calls
Call 1
Inputs
(log x)
(- x (* -1 (log x)))
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(+ x (log x))
(+ (log x) (* x (+ 1 (* 1/2 x))))
1
(+ 1 (* 1/2 x))
(* -1 (log x))
(+ (* -1 x) (* -1 (log x)))
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))
(/ 1 x)
(/ (+ 1 (* -1 x)) x)
(* -1 (log -1))
(- (/ 1 x) (log -1))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))
(* -1 (log (/ 1 x)))
x
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (/ 1 x)))
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x))))
(* 1/2 x)
(* x (+ 1/2 (/ 1 x)))
(log -1)
(- (log -1) (/ 1 x))
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))
-1
(- (/ 1 x) 1)
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))
(+ (log -1) (* -1 (log (/ -1 x))))
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x))))
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))
Outputs
(log x)
(log.f64 x)
(- x (* -1 (log x)))
(+.f64 (log.f64 x) x)
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(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))
(+ x (log x))
(+.f64 (log.f64 x) x)
(+ (log x) (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
1
#s(literal 1 binary64)
(+ 1 (* 1/2 x))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
(* -1 (log x))
(neg.f64 (log.f64 x))
(+ (* -1 x) (* -1 (log x)))
(neg.f64 (+.f64 (log.f64 x) x))
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1)))
(neg.f64 (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)))
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1)))
(neg.f64 (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)))
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (+ 1 (* -1 x)) x)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(* -1 (log -1))
(neg.f64 (log.f64 #s(literal -1 binary64)))
(- (/ 1 x) (log -1))
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64)))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64)))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -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)))
(* -1 (log (/ 1 x)))
(log.f64 x)
x
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x))))
(+.f64 (log.f64 x) x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (/ 1 x)))
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* x (+ 1/2 (/ 1 x)))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
(log -1)
(log.f64 #s(literal -1 binary64))
(- (log -1) (/ 1 x))
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x))
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x)))
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x))
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x))
(-.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))
-1
#s(literal -1 binary64)
(- (/ 1 x) 1)
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -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)))
(+ (log -1) (* -1 (log (/ -1 x))))
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1)))
(*.f64 (-.f64 (/.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) x) #s(literal -1 binary64)) x)
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x))))
(*.f64 (fma.f64 #s(literal 1/2 binary64) x (-.f64 (/.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) x) #s(literal -1 binary64))) x)
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x)))
(-.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))

rewrite58.0ms (1.8%)

Memory
-32.6MiB live, 25.1MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01997
02997
110397
073697
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
11 → 71
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
(log.f64 x)
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(+.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)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
(log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x)))
#s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
(log.f64 x)
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (log.f64 x) #s(literal 2 binary64))) (-.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 x #s(literal 3 binary64)) (pow.f64 (log.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 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (log.f64 x) x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (*.f64 (log.f64 x) x))))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (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 (/.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 (/.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 (log.f64 x) x)
(+.f64 x (log.f64 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)))
(/.f64 (-.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64))) (-.f64 (log.f64 x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) (pow.f64 (log.f64 x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (log.f64 x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (log.f64 x) (-.f64 (log.f64 x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) (pow.f64 (log.f64 x) #s(literal 2 binary64))) (-.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (log.f64 x)))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (fma.f64 (log.f64 x) (log.f64 x) (-.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (log.f64 x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(fma.f64 x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (log.f64 x))
(-.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (log.f64 x))) (/.f64 (pow.f64 (log.f64 x) #s(literal 2 binary64)) (-.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (log.f64 x))))
(-.f64 (log.f64 x) (*.f64 (neg.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))) x))
(-.f64 (log.f64 x) (*.f64 (neg.f64 x) (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 3 binary64)) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (fma.f64 (log.f64 x) (-.f64 (log.f64 x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) (log.f64 x))
(+.f64 (log.f64 x) (*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x))
(/.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 (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 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) #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 (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 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal 1/2 binary64) x))))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64)) #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))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x) #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/2 binary64) x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) x))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (*.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 3 binary64))) (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/2 binary64) x) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) x))
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))))
(-.f64 #s(literal 0 binary64) (log.f64 #s(approx (- (/ 1 x) 1) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))))
(log.f64 (pow.f64 #s(approx (- (/ 1 x) 1) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))) #s(literal -1 binary64)))
(log.f64 #s(approx (- (/ 1 x) 1) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))))
#s(approx (- (/ 1 x) 1) (-.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.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 (neg.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x))) (neg.f64 (neg.f64 x)))
(/.f64 (-.f64 (*.f64 #s(literal -1 binary64) x) (*.f64 (neg.f64 x) x)) (*.f64 (neg.f64 x) x))
(/.f64 (-.f64 x (*.f64 x x)) (*.f64 x x))
(/.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 #s(literal 1 binary64) (*.f64 x x)) (*.f64 (+.f64 x #s(literal 1 binary64)) x))
(/.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))))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 (+.f64 (fma.f64 x x x) #s(literal 1 binary64)) x))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) (neg.f64 x))
(/.f64 (-.f64 #s(literal 1 binary64) x) x)
(neg.f64 (/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) x))
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) (neg.f64 x)))
(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 (*.f64 (log.f64 x) #s(literal -1 binary64)))
(-.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))

eval11.0ms (0.3%)

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

Compiled 2 150 to 409 computations (81% saved)

prune4.0ms (0.1%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1031104
Fresh000
Picked044
Done000
Total1035108
Accuracy
100.0%
Counts
108 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
99.6%
#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)))
99.3%
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
98.4%
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
2.7%
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
Compiler

Compiled 75 to 56 computations (25.3% saved)

simplify164.0ms (5%)

Memory
6.8MiB live, 136.3MiB allocated; 21ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
cost-diff0
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
cost-diff0
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01650
01850
13150
27450
322150
463150
5231350
6575950
0802846
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/2 binary64)
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
x
#s(literal 1/2 binary64)

localize68.0ms (2.1%)

Memory
-21.9MiB live, 39.4MiB allocated; 5ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
accuracy0.0
(*.f64 x x)
accuracy0.24648963948125838
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
accuracy62.288428574002154
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
Samples
60.0ms256×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 53.0ms
ival-neg: 22.0ms (41.2% of total)
ival-mult: 21.0ms (39.3% of total)
ival-log: 5.0ms (9.4% of total)
ival-div: 2.0ms (3.7% of total)
ival-add: 2.0ms (3.7% of total)
ival-sub: 1.0ms (1.9% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

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

3 calls:

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

simplify266.0ms (8.1%)

Memory
28.5MiB live, 165.0MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064163
1198154
2593144
32443137
08430126
Stop Event
iter limit
node limit
Counts
16 → 16
Calls
Call 1
Inputs
(log x)
(- x (* -1 (log x)))
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(+ x (log x))
(+ (log x) (* x (+ 1 (* 1/2 x))))
(* 1/2 (pow x 2))
(pow x 2)
(* -1 (log -1))
(- (/ 1 x) (log -1))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))
(* (pow x 2) (+ 1/2 (/ 1 x)))
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x))))
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x))))
Outputs
(log x)
(log.f64 x)
(- x (* -1 (log x)))
(+.f64 (log.f64 x) x)
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x)))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x)))
(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))
(+ x (log x))
(+.f64 (log.f64 x) x)
(+ (log x) (* x (+ 1 (* 1/2 x))))
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(* -1 (log -1))
(neg.f64 (log.f64 #s(literal -1 binary64)))
(- (/ 1 x) (log -1))
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64)))
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1))
(-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x) (log.f64 #s(literal -1 binary64)))
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1))
(-.f64 (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) x)) x) (log.f64 #s(literal -1 binary64)))
(* (pow x 2) (+ 1/2 (/ 1 x)))
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x)
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x))))
(fma.f64 (neg.f64 x) (fma.f64 #s(literal -1/2 binary64) x (/.f64 (neg.f64 (log.f64 x)) x)) x)
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1))
(-.f64 (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) x)) x) (log.f64 #s(literal -1 binary64)))
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x))))
(*.f64 x (fma.f64 #s(literal 1/2 binary64) x (-.f64 (/.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) x) #s(literal -1 binary64))))

rewrite69.0ms (2.1%)

Memory
-34.6MiB live, 21.4MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01648
01848
17548
053744
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
4 → 24
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 x x)
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x)
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval4.0ms (0.1%)

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

Compiled 934 to 169 computations (81.9% saved)

prune6.0ms (0.2%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New39039
Fresh000
Picked011
Done044
Total39544
Accuracy
100.0%
Counts
44 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
99.6%
#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)))
99.3%
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x))
98.4%
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
2.7%
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
Compiler

Compiled 157 to 90 computations (42.7% saved)

regimes12.0ms (0.4%)

Memory
17.6MiB live, 17.6MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 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)))
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
Outputs
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) x) x))))
Calls

5 calls:

2.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
(-.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
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)

regimes42.0ms (1.3%)

Memory
-18.2MiB live, 25.7MiB allocated; 6ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 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)))
Outputs
#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)))
Calls

5 calls:

34.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
x
2.0ms
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
2.0ms
(/.f64 #s(literal 1 binary64) x)
Results
AccuracySegmentsBranch
99.6%1(/.f64 #s(literal 1 binary64) x)
99.6%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
99.6%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
99.6%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
99.6%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes8.0ms (0.2%)

Memory
17.6MiB live, 17.6MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
#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.3%1(/.f64 #s(literal 1 binary64) x)
99.3%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
99.3%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
99.3%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
99.3%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes10.0ms (0.3%)

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

5 calls:

5.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
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
1.0ms
(/.f64 #s(literal 1 binary64) x)
1.0ms
x
Results
AccuracySegmentsBranch
98.4%1(/.f64 #s(literal 1 binary64) x)
98.4%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
98.4%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
98.4%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
98.4%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes6.0ms (0.2%)

Memory
15.2MiB live, 15.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 (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
Outputs
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
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.7%1(/.f64 #s(literal 1 binary64) x)
2.7%1(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
2.7%1(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
2.7%1(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
2.7%1x
Compiler

Compiled 22 to 19 computations (13.6% saved)

simplify49.0ms (1.5%)

Memory
3.5MiB live, 48.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02875
14075
26575
315975
467075
5353375
Stop Event
node limit
Calls
Call 1
Inputs
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) 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))) (+.f64 (log.f64 x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))
Outputs
(neg.f64 (log.f64 #s(approx (- (/ 1 x) 1) (/.f64 (-.f64 #s(literal 1 binary64) 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))) (+.f64 (log.f64 x) x))
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x))
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))))

derivations271.0ms (8.2%)

Memory
-23.1MiB live, 170.5MiB allocated; 27ms collecting garbage
Stop Event
done
Compiler

Compiled 75 to 30 computations (60% saved)

preprocess46.0ms (1.4%)

Memory
-0.6MiB live, 50.0MiB allocated; 17ms collecting garbage
Compiler

Compiled 164 to 72 computations (56.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...