Numeric.SpecFunctions:$slogFactorial from math-functions-0.1.5.2, A

Time bar (total: 1.8s)

start0.0ms (0%)

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

analyze1.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
75%75%25%0%0%0%0%3
87.5%87.5%12.5%0%0%0%0%4
93.8%93.7%6.2%0%0%0%0%5
96.9%96.8%3.1%0%0%0%0%6
98.4%98.4%1.6%0%0%0%0%7
99.2%99.2%0.8%0%0%0%0%8
99.6%99.6%0.4%0%0%0%0%9
99.8%99.8%0.2%0%0%0%0%10
99.9%99.9%0.1%0%0%0%0%11
100%99.9%0%0%0%0%0%12
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample638.0ms (36%)

Memory
34.9MiB live, 1 021.8MiB allocated; 196ms collecting garbage
Samples
424.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 175.0ms
ival-div: 85.0ms (48.6% of total)
ival-mult: 75.0ms (42.9% of total)
ival-true: 5.0ms (2.9% of total)
exact: 5.0ms (2.9% of total)
ival-assert: 3.0ms (1.7% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain127.0ms (7.2%)

Memory
-27.6MiB live, 75.8MiB allocated; 118ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
11(-3.0230247737894457e+161)0-(/.f64 #s(literal 1 binary64) (*.f64 x x))
00-0-#s(literal 1 binary64)
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 #s(literal 1 binary64) (*.f64 x x))n/o20
(*.f64 x x)overflow65
Confusion
Predicted +Predicted -
+10
-1254
Precision
0.5
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+100
-10254
Precision?
0.5
Recall?
1.0
Freqs
test
numberfreq
0254
12
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
92.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 4.0ms (48.9% of total)
ival-div: 3.0ms (36.7% 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)

preprocess261.0ms (14.7%)

Memory
54.7MiB live, 307.8MiB allocated; 111ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
13015
27215
311415
423615
5130715
6710515
045
065
1145
2345
3765
41825
510375
084225
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Outputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Symmetry

(abs x)

Compiler

Compiled 5 to 4 computations (20% 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
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify168.0ms (9.5%)

Memory
-29.4MiB live, 215.0MiB allocated; 76ms collecting garbage
Localize:

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11410
23410
37610
418210
5103710
0842210
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x
Outputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
#s(literal 1 binary64)
(*.f64 x x)
x

localize13.0ms (0.7%)

Memory
27.7MiB live, 27.7MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.2027387855755046
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Samples
9.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (52.4% of total)
ival-mult: 2.0ms (52.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)

series32.0ms (1.8%)

Memory
-28.4MiB live, 26.9MiB allocated; 20ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
#s(approx (/ 1 (* x x)) #s(hole binary64 (/ 1 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
Calls

3 calls:

TimeVariablePointExpression
31.0ms
x
@0
((/ 1 (* x x)) (* x x))
0.0ms
x
@-inf
((/ 1 (* x x)) (* x x))
0.0ms
x
@inf
((/ 1 (* x x)) (* x x))

simplify181.0ms (10.2%)

Memory
-12.2MiB live, 225.4MiB allocated; 79ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
12018
24318
38818
425918
5236218
0804818
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (/ 1 (* x x)) #s(hole binary64 (/ 1 (pow x 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
Outputs
#s(approx (/ 1 (* x x)) #s(hole binary64 (/ 1 (pow x 2))))
#s(approx (/ 1 (* x x)) (/.f64 #s(literal 1 binary64) (*.f64 x x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))

rewrite40.0ms (2.3%)

Memory
28.8MiB live, 75.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
068
1226
2826
03426
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 43
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 x x)
Outputs
(*.f64 (fabs.f64 (pow.f64 x #s(literal -1 binary64))) (fabs.f64 (pow.f64 x #s(literal -1 binary64))))
(*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1/2 binary64))
(pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal -2 binary64))
(pow.f64 (*.f64 x x) #s(literal -1 binary64))
(pow.f64 x #s(literal -2 binary64))
(/.f64 (*.f64 #s(literal -1 binary64) (pow.f64 x #s(literal -1 binary64))) (neg.f64 x))
(/.f64 (*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) x)
(/.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) (neg.f64 x))
(/.f64 (*.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) x)
(/.f64 (pow.f64 x #s(literal -1 binary64)) (neg.f64 x))
(/.f64 (pow.f64 x #s(literal -1 binary64)) x)
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)))
(/.f64 #s(literal -1 binary64) (*.f64 x x))
(/.f64 #s(literal 1 binary64) (*.f64 x x))
(neg.f64 (pow.f64 x #s(literal -2 binary64)))
(fma.f64 (fabs.f64 (pow.f64 x #s(literal -1 binary64))) (fabs.f64 (pow.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 0 binary64) (*.f64 x x)))
(fma.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)) (/.f64 #s(literal 0 binary64) (*.f64 x x)))
(exp.f64 (-.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (neg.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 x) #s(literal -2 binary64)))
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64)))
(+.f64 (cosh.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))) (sinh.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64))))
(+.f64 (pow.f64 x #s(literal -2 binary64)) (/.f64 #s(literal 0 binary64) (*.f64 x x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (neg.f64 x) x)
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x (neg.f64 x))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))
(neg.f64 (*.f64 x x))
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 x x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)) #s(literal 1 binary64)))
(exp.f64 (*.f64 (log.f64 (neg.f64 x)) #s(literal 2 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))

eval7.0ms (0.4%)

Memory
-26.6MiB live, 20.1MiB allocated; 3ms collecting garbage
Compiler

Compiled 330 to 97 computations (70.6% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New44145
Fresh000
Picked011
Done000
Total44246
Accuracy
100.0%
Counts
46 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 x #s(literal -2 binary64))
99.7%
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Compiler

Compiled 8 to 7 computations (12.5% saved)

simplify4.0ms (0.2%)

Memory
10.4MiB live, 10.4MiB allocated; 0ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(pow.f64 x #s(literal -2 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
045
045
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(pow.f64 x #s(literal -2 binary64))
x
#s(literal -2 binary64)
Outputs
(pow.f64 x #s(literal -2 binary64))
x
#s(literal -2 binary64)

localize16.0ms (0.9%)

Memory
-26.2MiB live, 23.9MiB allocated; 6ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(pow.f64 x #s(literal -2 binary64))
Samples
8.0ms256×0valid
Compiler

Compiled 7 to 5 computations (28.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-pow: 3.0ms (87.3% 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)

series1.0ms (0%)

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

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
((pow x -2))
0.0ms
x
@inf
((pow x -2))
0.0ms
x
@-inf
((pow x -2))

simplify175.0ms (9.8%)

Memory
15.3MiB live, 235.4MiB allocated; 74ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1129
2249
3569
42019
522369
088459
Stop Event
iter limit
node limit
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (pow x -2) #s(hole binary64 (/ 1 (pow x 2))))
Outputs
#s(approx (pow x -2) #s(hole binary64 (/ 1 (pow x 2))))
#s(approx (pow x -2) (/.f64 #s(literal 1 binary64) (*.f64 x x)))

rewrite18.0ms (1%)

Memory
36.5MiB live, 36.5MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
043
1123
0393
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
1 → 9
Calls
Call 1
Inputs
(pow.f64 x #s(literal -2 binary64))
Outputs
(*.f64 (neg.f64 (pow.f64 x #s(literal -1 binary64))) (neg.f64 (pow.f64 x #s(literal -1 binary64))))
(*.f64 (fabs.f64 (pow.f64 x #s(literal -1 binary64))) (fabs.f64 (pow.f64 x #s(literal -1 binary64))))
(*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal -2 binary64))
(pow.f64 (*.f64 x x) #s(literal -1 binary64))
(pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))
(pow.f64 x #s(literal -2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal -2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal -2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal -2 binary64))))

eval1.0ms (0.1%)

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

Compiled 68 to 27 computations (60.3% saved)

prune1.0ms (0.1%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New10010
Fresh000
Picked011
Done011
Total10212
Accuracy
100.0%
Counts
12 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 x #s(literal -2 binary64))
99.7%
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Compiler

Compiled 16 to 13 computations (18.8% saved)

regimes7.0ms (0.4%)

Memory
-35.9MiB live, 10.9MiB allocated; 3ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
(pow.f64 x #s(literal -2 binary64))
Outputs
(pow.f64 x #s(literal -2 binary64))
Calls

3 calls:

4.0ms
(*.f64 x x)
1.0ms
x
1.0ms
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Results
AccuracySegmentsBranch
100.0%1(*.f64 x x)
100.0%1(/.f64 #s(literal 1 binary64) (*.f64 x x))
100.0%1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0.2%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Outputs
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Calls

3 calls:

1.0ms
x
1.0ms
(/.f64 #s(literal 1 binary64) (*.f64 x x))
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
99.7%1(*.f64 x x)
99.7%1(/.f64 #s(literal 1 binary64) (*.f64 x x))
99.7%1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify48.0ms (2.7%)

Memory
4.6MiB live, 51.2MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
2118
3198
4428
52158
621618
753258
Stop Event
node limit
Calls
Call 1
Inputs
(pow.f64 x #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (*.f64 x x))
Outputs
(pow.f64 x #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (*.f64 x x))

derivations2.0ms (0.1%)

Memory
2.8MiB live, 2.8MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 8 to 6 computations (25% saved)

preprocess28.0ms (1.6%)

Memory
-10.2MiB live, 41.0MiB allocated; 15ms collecting garbage
Remove

(abs x)

Compiler

Compiled 48 to 40 computations (16.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...