Numeric.SpecFunctions:choose from math-functions-0.1.5.2

Time bar (total: 858.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze49.0ms (5.7%)

Memory
-21.8MiB live, 78.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
50%49.9%49.9%0.1%0%0%0%4
50%49.9%49.9%0.1%0%0%0%5
50%49.9%49.9%0.1%0%0%0%6
75%74.9%25%0.1%0%0%0%7
75%74.9%25%0.1%0%0%0%8
75%74.9%25%0.1%0%0%0%9
87.5%87.4%12.5%0.1%0%0%0%10
87.5%87.4%12.5%0.1%0%0%0%11
87.5%87.4%12.5%0.1%0%0%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample638.0ms (74.3%)

Memory
12.8MiB live, 1 112.3MiB allocated
Samples
406.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 209.0ms
ival-mult: 69.0ms (33% of total)
ival-add: 66.0ms (31.6% of total)
ival-div: 64.0ms (30.6% of total)
ival-true: 7.0ms (3.4% of total)
ival-assert: 4.0ms (1.9% of total)
Bogosity

explain59.0ms (6.9%)

Memory
-17.7MiB live, 99.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
470-3(6.959029021390646e-154 -1.0110725681933464e-167 3.2342461075975433e-249)(/.f64 (*.f64 x (+.f64 y z)) z)
00-0-(+.f64 y z)
00-0-y
00-0-z
00-0-(*.f64 x (+.f64 y z))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 x (+.f64 y z)) z)o/n330
(*.f64 x (+.f64 y z))overflow43
/.f64(/.f64 (*.f64 x (+.f64 y z)) z)u/n110
(*.f64 x (+.f64 y z))underflow11
Confusion
Predicted +Predicted -
+443
-0209
Precision
1.0
Recall
0.9361702127659575
Confusion?
Predicted +Predicted MaybePredicted -
+4403
-00209
Precision?
1.0
Recall?
0.9361702127659575
Freqs
test
numberfreq
0212
144
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
24.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 3.0ms (28.3% of total)
ival-add: 3.0ms (28.3% of total)
ival-mult: 3.0ms (28.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.4%)

Memory
6.3MiB live, 6.3MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 x (+.f64 y z)) z)
Outputs
(/.f64 (*.f64 x (+.f64 y z)) z)
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.3%
(/.f64 (*.f64 x (+.f64 y z)) z)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y z)
cost-diff0
(*.f64 x (+.f64 y z))
cost-diff0
(/.f64 (*.f64 x (+.f64 y z)) z)
Calls
Call 1
Inputs
(/.f64 (*.f64 x (+.f64 y z)) z)
(*.f64 x (+.f64 y z))
x
(+.f64 y z)
y
z
Outputs
(/.f64 (*.f64 x (+.f64 y z)) z)
(*.f64 x (+.f64 y z))
x
(+.f64 y z)
y
z

localize31.0ms (3.6%)

Memory
-44.6MiB live, 27.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y z)
accuracy0.00390625
(*.f64 x (+.f64 y z))
accuracy10.653887594138943
(/.f64 (*.f64 x (+.f64 y z)) z)
Samples
12.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (38.6% of total)
ival-mult: 2.0ms (38.6% of total)
ival-add: 1.0ms (19.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.9%)

Memory
12.0MiB live, 12.0MiB allocated
Counts
3 → 22
Calls
Call 1
Inputs
(/.f64 (*.f64 x (+.f64 y z)) z)
(*.f64 x (+.f64 y z))
(+.f64 y z)
Outputs
(/ (* x (+ y z)) z)
(* x (+ y z))
x
(+ x (/ (* x y) z))
(* x z)
(+ (* x y) (* x z))
z
(+ y z)
(/ (* x y) z)
(* y (+ (/ x y) (/ x z)))
(* x y)
(* y (+ x (/ (* x z) y)))
y
(* y (+ 1 (/ z y)))
(* -1 (* y (+ (* -1 (/ x y)) (* -1 (/ x z)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y)))))
(* -1 (* y (- (* -1 (/ z y)) 1)))
(/ (+ (* x y) (* x z)) z)
(* z (+ x (/ (* x y) z)))
(* z (+ 1 (/ y z)))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z)))))
(* -1 (* z (- (* -1 (/ y z)) 1)))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((/ (* x (+ y z)) z) (* x (+ y z)) (+ y z))
1.0ms
y
@-inf
((/ (* x (+ y z)) z) (* x (+ y z)) (+ y z))
1.0ms
x
@inf
((/ (* x (+ y z)) z) (* x (+ y z)) (+ y z))
1.0ms
z
@-inf
((/ (* x (+ y z)) z) (* x (+ y z)) (+ y z))
1.0ms
x
@0
((/ (* x (+ y z)) z) (* x (+ y z)) (+ y z))

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
22 → 3
Calls
Call 1
Inputs
(/ (* x (+ y z)) z)
(* x (+ y z))
x
(+ x (/ (* x y) z))
(* x z)
(+ (* x y) (* x z))
z
(+ y z)
(/ (* x y) z)
(* y (+ (/ x y) (/ x z)))
(* x y)
(* y (+ x (/ (* x z) y)))
y
(* y (+ 1 (/ z y)))
(* -1 (* y (+ (* -1 (/ x y)) (* -1 (/ x z)))))
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y)))))
(* -1 (* y (- (* -1 (/ z y)) 1)))
(/ (+ (* x y) (* x z)) z)
(* z (+ x (/ (* x y) z)))
(* z (+ 1 (/ y z)))
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z)))))
(* -1 (* z (- (* -1 (/ y z)) 1)))
Outputs
(/ (* x (+ y z)) z)
(/.f64 (*.f64 x (+.f64 y z)) z)
(* x (+ y z))
(*.f64 x (+.f64 y z))
x
(+.f64 y z)

rewrite0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
(/.f64 (*.f64 x (+.f64 y z)) z)
(*.f64 x (+.f64 y z))
(+.f64 y z)
Outputs
(/.f64 (*.f64 x (+.f64 y z)) z)
(*.f64 x (+.f64 y z))
(+.f64 y z)

eval1.0ms (0.1%)

Memory
1.4MiB live, 1.4MiB allocated
Compiler

Compiled 60 to 13 computations (78.3% saved)

prune1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New516
Fresh000
Picked011
Done000
Total527
Accuracy
83.4%
Counts
7 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.3%
(/.f64 (*.f64 x (+.f64 y z)) z)
3.0%
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y z)
cost-diff0
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Calls
Call 1
Inputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
(+.f64 y z)
y
z
Outputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
(+.f64 y z)
y
z

localize17.0ms (2%)

Memory
-9.1MiB live, 29.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y z)
accuracy62.06457827774286
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Samples
13.0ms256×0valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-add: 3.0ms (44.1% of total)
ival-div: 2.0ms (29.4% of total)
ival-mult: 2.0ms (29.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

Memory
10.2MiB live, 10.2MiB allocated
Counts
2 → 14
Calls
Call 1
Inputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
(+.f64 y z)
Outputs
(/ (* x (+ y z)) z)
x
(+ x (/ (* x y) z))
z
(+ y z)
(/ (* x y) z)
(* y (+ (/ x y) (/ x z)))
y
(* y (+ 1 (/ z y)))
(* -1 (* y (+ (* -1 (/ x y)) (* -1 (/ x z)))))
(* -1 (* y (- (* -1 (/ z y)) 1)))
(/ (+ (* x y) (* x z)) z)
(* z (+ 1 (/ y z)))
(* -1 (* z (- (* -1 (/ y z)) 1)))
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((/ (* x (+ y z)) z) (+ y z))
0.0ms
x
@0
((/ (* x (+ y z)) z) (+ y z))
0.0ms
z
@-inf
((/ (* x (+ y z)) z) (+ y z))
0.0ms
x
@inf
((/ (* x (+ y z)) z) (+ y z))
0.0ms
y
@-inf
((/ (* x (+ y z)) z) (+ y z))

simplify0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
egg-herbie
Counts
14 → 2
Calls
Call 1
Inputs
(/ (* x (+ y z)) z)
x
(+ x (/ (* x y) z))
z
(+ y z)
(/ (* x y) z)
(* y (+ (/ x y) (/ x z)))
y
(* y (+ 1 (/ z y)))
(* -1 (* y (+ (* -1 (/ x y)) (* -1 (/ x z)))))
(* -1 (* y (- (* -1 (/ z y)) 1)))
(/ (+ (* x y) (* x z)) z)
(* z (+ 1 (/ y z)))
(* -1 (* z (- (* -1 (/ y z)) 1)))
Outputs
(/ (* x (+ y z)) z)
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
x
(+.f64 y z)

rewrite0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
(+.f64 y z)
Outputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
(+.f64 y z)

eval0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Compiler

Compiled 41 to 9 computations (78% saved)

prune2.0ms (0.2%)

Memory
4.3MiB live, 4.3MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done011
Total325
Accuracy
83.4%
Counts
5 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.3%
(/.f64 (*.f64 x (+.f64 y z)) z)
3.0%
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Compiler

Compiled 36 to 24 computations (33.3% saved)

regimes8.0ms (1%)

Memory
-19.7MiB live, 19.3MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
(/.f64 (*.f64 x (+.f64 y z)) z)
Outputs
(/.f64 (*.f64 x (+.f64 y z)) z)
Calls

4 calls:

4.0ms
x
1.0ms
z
1.0ms
y
1.0ms
(/.f64 (*.f64 x (+.f64 y z)) z)
Results
AccuracySegmentsBranch
83.3%1x
83.3%1y
83.3%1z
83.3%1(/.f64 (*.f64 x (+.f64 y z)) z)
Compiler

Compiled 10 to 15 computations (-50% saved)

regimes5.0ms (0.6%)

Memory
17.1MiB live, 17.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Outputs
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Calls

4 calls:

1.0ms
z
1.0ms
(/.f64 (*.f64 x (+.f64 y z)) z)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
3.0%1x
3.0%1z
3.0%1(/.f64 (*.f64 x (+.f64 y z)) z)
3.0%1y
Compiler

Compiled 10 to 15 computations (-50% saved)

simplify5.0ms (0.5%)

Memory
10.5MiB live, 10.5MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 x (+.f64 y z)) z)
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Outputs
(/.f64 (*.f64 x (+.f64 y z)) z)
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))

soundness0.0ms (0.1%)

Memory
0.9MiB live, 0.9MiB allocated
Stop Event
done
Compiler

Compiled 18 to 10 computations (44.4% saved)

preprocess27.0ms (3.1%)

Memory
-32.9MiB live, 47.7MiB allocated
Compiler

Compiled 64 to 44 computations (31.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...