Examples.Basics.BasicTests:f3 from sbv-4.4

Time bar (total: 571.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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 6 computations (33.3% saved)

sample439.0ms (77%)

Memory
27.4MiB live, 598.8MiB allocated
Samples
251.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 110.0ms
ival-add: 52.0ms (47.2% of total)
ival-mult: 50.0ms (45.4% of total)
ival-true: 5.0ms (4.5% of total)
ival-assert: 3.0ms (2.7% of total)
Bogosity

explain46.0ms (8%)

Memory
-8.0MiB live, 70.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(*.f64 (+.f64 x y) (+.f64 x y))
00-0-(+.f64 x y)
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
25.0ms512×0valid
Compiler

Compiled 47 to 20 computations (57.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-add: 6.0ms (59.6% of total)
ival-mult: 3.0ms (29.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess2.0ms (0.4%)

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

Compiled 7 to 4 computations (42.9% 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
100.0%
(*.f64 (+.f64 x y) (+.f64 x y))
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify0.0ms (0.1%)

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

Found 2 expressions of interest:

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

localize12.0ms (2.1%)

Memory
19.5MiB live, 19.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.015625
(*.f64 (+.f64 x y) (+.f64 x y))
Samples
8.0ms256×0valid
Compiler

Compiled 26 to 10 computations (61.5% saved)

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

series7.0ms (1.3%)

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

6 calls:

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

simplify0.0ms (0.1%)

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

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 x y))
(+.f64 x y)
Outputs
(*.f64 (+.f64 x y) (+.f64 x y))
(+.f64 x y)

eval1.0ms (0.1%)

Memory
1.1MiB live, 1.1MiB allocated
Compiler

Compiled 47 to 8 computations (83% saved)

prune1.0ms (0.2%)

Memory
1.9MiB live, 1.9MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New415
Fresh000
Picked011
Done000
Total426
Accuracy
100.0%
Counts
6 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 x y) (+.f64 x y))
4.1%
#s(approx (* (+ x y) (+ x y)) (+.f64 x y))
Compiler

Compiled 18 to 10 computations (44.4% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

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

localize12.0ms (2.1%)

Memory
19.6MiB live, 19.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy61.40411704291249
#s(approx (* (+ x y) (+ x y)) (+.f64 x y))
Samples
8.0ms256×0valid
Compiler

Compiled 30 to 12 computations (60% saved)

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

series1.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0.1%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0.1%)

Memory
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 41 to 7 computations (82.9% saved)

prune2.0ms (0.3%)

Memory
3.3MiB live, 3.3MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 36 to 17 computations (52.8% saved)

regimes10.0ms (1.7%)

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

4 calls:

5.0ms
y
1.0ms
(+.f64 x y)
1.0ms
x
1.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 (+.f64 x y) (+.f64 x y))
100.0%1(+.f64 x y)
Compiler

Compiled 12 to 11 computations (8.3% saved)

regimes5.0ms (0.8%)

Memory
12.0MiB live, 12.0MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

1.0ms
x
1.0ms
(+.f64 x y)
1.0ms
y
1.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
Results
AccuracySegmentsBranch
4.1%1x
4.1%1y
4.1%1(*.f64 (+.f64 x y) (+.f64 x y))
4.1%1(+.f64 x y)
Compiler

Compiled 12 to 11 computations (8.3% saved)

simplify4.0ms (0.7%)

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

soundness0.0ms (0.1%)

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

Compiled 18 to 7 computations (61.1% saved)

preprocess26.0ms (4.6%)

Memory
-25.2MiB live, 57.9MiB allocated
Compiler

Compiled 76 to 40 computations (47.4% saved)

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...