Numeric.SpecFunctions:choose from math-functions-0.1.5.2

Time bar (total: 845.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze38.0ms (4.4%)

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

sample647.0ms (76.5%)

Memory
40.7MiB live, 1 059.1MiB allocated
Samples
393.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 205.0ms
ival-div: 69.0ms (33.7% of total)
ival-mult: 68.0ms (33.2% of total)
ival-add: 57.0ms (27.8% of total)
ival-true: 7.0ms (3.4% of total)
ival-assert: 4.0ms (2% of total)
Bogosity

explain61.0ms (7.2%)

Memory
-21.3MiB live, 99.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
430-2(6.118817630286914e-274 1.0388772488015679e-50 -3.602248628015786e-164)(/.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/n270
(*.f64 x (+.f64 y z))overflow44
/.f64(/.f64 (*.f64 x (+.f64 y z)) z)u/n140
(*.f64 x (+.f64 y z))underflow14
Confusion
Predicted +Predicted -
+412
-0213
Precision
1.0
Recall
0.9534883720930233
Confusion?
Predicted +Predicted MaybePredicted -
+4102
-00213
Precision?
1.0
Recall?
0.9534883720930233
Freqs
test
numberfreq
0215
141
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
25.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: 4.0ms (36.9% of total)
ival-mult: 4.0ms (36.9% of total)
ival-add: 3.0ms (27.7% 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.2MiB live, 0.2MiB 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
84.2%
(/.f64 (*.f64 x (+.f64 y z)) z)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

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

localize18.0ms (2.2%)

Memory
-10.2MiB live, 28.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y z)
accuracy0.015625
(*.f64 x (+.f64 y z))
accuracy10.119925167385706
(/.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.5% of total)
ival-mult: 2.0ms (38.5% 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.6MiB live, 0.6MiB 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.3MiB live, 1.3MiB 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
84.3%
Counts
7 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.2%
(/.f64 (*.f64 x (+.f64 y z)) z)
3.2%
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify0.0ms (0%)

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

localize18.0ms (2.2%)

Memory
-6.7MiB live, 35.2MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y z)
accuracy61.94123586778624
#s(approx (/ (* x (+ y z)) z) (+.f64 y z))
Samples
14.0ms256×0valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-add: 4.0ms (52.2% of total)
ival-div: 2.0ms (26.1% of total)
ival-mult: 2.0ms (26.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

Memory
8.0MiB live, 8.0MiB 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
x
@inf
((/ (* x (+ y z)) z) (+ y z))
0.0ms
z
@-inf
((/ (* x (+ y z)) z) (+ y z))
0.0ms
y
@inf
((/ (* x (+ y z)) z) (+ y z))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB 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
0.7MiB live, 0.7MiB 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.1%)

Memory
1.3MiB live, 1.3MiB allocated
Compiler

Compiled 41 to 9 computations (78% saved)

prune2.0ms (0.2%)

Memory
4.0MiB live, 4.0MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 36 to 24 computations (33.3% saved)

regimes9.0ms (1.1%)

Memory
-19.9MiB live, 17.6MiB 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:

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

Compiled 10 to 15 computations (-50% saved)

regimes5.0ms (0.6%)

Memory
14.8MiB live, 14.8MiB 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
x
1.0ms
z
1.0ms
y
1.0ms
(/.f64 (*.f64 x (+.f64 y z)) z)
Results
AccuracySegmentsBranch
3.2%1y
3.2%1x
3.2%1z
3.2%1(/.f64 (*.f64 x (+.f64 y z)) z)
Compiler

Compiled 10 to 15 computations (-50% saved)

simplify4.0ms (0.5%)

Memory
12.0MiB live, 12.0MiB 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
1.1MiB live, 1.1MiB allocated
Stop Event
done
Compiler

Compiled 18 to 10 computations (44.4% saved)

preprocess25.0ms (2.9%)

Memory
-21.1MiB live, 56.8MiB allocated
Compiler

Compiled 64 to 44 computations (31.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...