Examples.Basics.BasicTests:f2 from sbv-4.4

Time bar (total: 684.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.8MiB live, 0.9MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample520.0ms (76%)

Memory
-35.9MiB live, 943.0MiB allocated
Samples
312.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 157.0ms
ival-mult: 114.0ms (72.7% of total)
ival-sub: 34.0ms (21.7% of total)
ival-true: 5.0ms (3.2% of total)
ival-assert: 3.0ms (1.9% of total)
Bogosity

explain66.0ms (9.7%)

Memory
-16.7MiB live, 107.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
150-0-(-.f64 (*.f64 x x) (*.f64 y y))
00-0-y
00-0-(*.f64 y y)
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 x x) (*.f64 y y))nan-rescue150
(*.f64 x x)overflow71
(*.f64 y y)overflow56
Confusion
Predicted +Predicted -
+150
-0241
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+1500
-00241
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0241
115
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
25.0ms512×0valid
Compiler

Compiled 56 to 24 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 11.0ms (81.5% of total)
ival-sub: 2.0ms (14.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.4%)

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

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0.1%)

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

Compiled 7 to 5 computations (28.6% 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 y)
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 (*.f64 x x) (*.f64 y y))
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y

localize14.0ms (2.1%)

Memory
22.1MiB live, 22.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y y)
accuracy0.0
(*.f64 x x)
accuracy3.2499896791510294
(-.f64 (*.f64 x x) (*.f64 y y))
Samples
10.0ms256×0valid
Compiler

Compiled 32 to 12 computations (62.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (65.4% of total)
ival-sub: 1.0ms (21.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.4%)

Memory
5.6MiB live, 5.6MiB allocated
Counts
3 → 7
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)
Outputs
(* -1 (pow y 2))
(- (pow x 2) (pow y 2))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))
(+ (* -1 (pow y 2)) (pow x 2))
(pow y 2)
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- (* x x) (* y y)) (* x x) (* y y))
1.0ms
x
@0
((- (* x x) (* y y)) (* x x) (* y y))
0.0ms
x
@-inf
((- (* x x) (* y y)) (* x x) (* y y))
0.0ms
y
@inf
((- (* x x) (* y y)) (* x x) (* y y))
0.0ms
y
@-inf
((- (* x x) (* y y)) (* x x) (* y y))

simplify0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Counts
7 → 3
Calls
Call 1
Inputs
(* -1 (pow y 2))
(- (pow x 2) (pow y 2))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ (pow y 2) (pow x 2)))))
(+ (* -1 (pow y 2)) (pow x 2))
(pow y 2)
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 1))
Outputs
(* -1 (pow y 2))
(-.f64 (*.f64 x x) (*.f64 y y))
(- (pow x 2) (pow y 2))
(*.f64 x x)
(pow x 2)
(*.f64 y y)

rewrite0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)
Outputs
(-.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)

eval1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
Compiler

Compiled 58 to 12 computations (79.3% saved)

prune4.0ms (0.6%)

Memory
-36.0MiB live, 1.7MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New516
Fresh000
Picked011
Done000
Total527
Accuracy
98.0%
Counts
7 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.1%
(-.f64 (*.f64 x x) (*.f64 y y))
55.9%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 18 to 12 computations (33.3% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

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

localize13.0ms (1.9%)

Memory
19.7MiB live, 19.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy28.204383240354375
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Samples
9.0ms256×0valid
Compiler

Compiled 28 to 14 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (66.3% of total)
ival-sub: 1.0ms (22.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.3%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

Memory
0.5MiB live, 0.6MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
Outputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)

eval0.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Compiler

Compiled 41 to 8 computations (80.5% saved)

prune1.0ms (0.2%)

Memory
2.6MiB live, 2.6MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done011
Total325
Accuracy
98.0%
Counts
5 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
94.1%
(-.f64 (*.f64 x x) (*.f64 y y))
55.9%
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Compiler

Compiled 36 to 21 computations (41.7% saved)

regimes10.0ms (1.5%)

Memory
-24.0MiB live, 14.0MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (* x x) (* y y)) (*.f64 x x))
(-.f64 (*.f64 x x) (*.f64 y y))
Outputs
(-.f64 (*.f64 x x) (*.f64 y y))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Calls

5 calls:

1.0ms
x
1.0ms
y
1.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 y y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
98.0%3x
94.1%1y
98.0%2(-.f64 (*.f64 x x) (*.f64 y y))
98.0%2(*.f64 x x)
94.1%1(*.f64 y y)
Compiler

Compiled 15 to 15 computations (0% saved)

regimes5.0ms (0.8%)

Memory
12.8MiB live, 12.8MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

5 calls:

1.0ms
y
1.0ms
x
1.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 y y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
55.9%1y
55.9%1(*.f64 y y)
55.9%1x
55.9%1(-.f64 (*.f64 x x) (*.f64 y y))
55.9%1(*.f64 x x)
Compiler

Compiled 15 to 15 computations (0% saved)

bsearch12.0ms (1.8%)

Memory
20.7MiB live, 20.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
11.0ms
3.589678832573193e+278
3.253083119606542e+300
Samples
5.0ms176×0valid
Compiler

Compiled 164 to 142 computations (13.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-sub: 1.0ms (45.2% of total)
ival-mult: 1.0ms (45.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify8.0ms (1.2%)

Memory
-32.6MiB live, 11.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(if (<=.f64 (*.f64 x x) #s(literal 3200000000000000168015232816654144795854299459546109295730733169637767865564506226516388400257433164939854220265228410166216074353153377842063334991317462345114839042965042571961056748143321888189980650351906559824259580924696450816238888776896455982653628124224181897081970142311028437969470081728512 binary64)) (-.f64 (*.f64 x x) (*.f64 y y)) #s(approx (- (* x x) (* y y)) (*.f64 x x)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))
Outputs
(if (<=.f64 (*.f64 x x) #s(literal 3200000000000000168015232816654144795854299459546109295730733169637767865564506226516388400257433164939854220265228410166216074353153377842063334991317462345114839042965042571961056748143321888189980650351906559824259580924696450816238888776896455982653628124224181897081970142311028437969470081728512 binary64)) (-.f64 (*.f64 x x) (*.f64 y y)) #s(approx (- (* x x) (* y y)) (*.f64 x x)))
#s(approx (- (* x x) (* y y)) (*.f64 x x))

soundness1.0ms (0.1%)

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

Compiled 35 to 12 computations (65.7% saved)

preprocess18.0ms (2.6%)

Memory
-2.9MiB live, 35.0MiB allocated
Compiler

Compiled 84 to 34 computations (59.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...