Examples.Basics.BasicTests:f3 from sbv-4.4

Time bar (total: 579.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample446.0ms (77%)

Memory
0.7MiB live, 579.3MiB allocated
Samples
262.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 117.0ms
ival-mult: 59.0ms (50.4% of total)
ival-add: 48.0ms (41% of total)
ival-true: 6.0ms (5.1% of total)
ival-assert: 3.0ms (2.6% of total)
Bogosity

explain40.0ms (6.9%)

Memory
21.9MiB live, 60.5MiB 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
18.0ms512×0valid
Compiler

Compiled 47 to 20 computations (57.4% saved)

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

preprocess3.0ms (0.4%)

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

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

localize14.0ms (2.4%)

Memory
-20.3MiB live, 17.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.01953125
(*.f64 (+.f64 x y) (+.f64 x y))
Samples
10.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 (57.9% of total)
ival-add: 1.0ms (28.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.4%)

Memory
4.1MiB 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
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
y
@inf
((* (+ x y) (+ x y)) (+ x y))
0.0ms
x
@0
((* (+ x y) (+ x y)) (+ x y))

simplify0.0ms (0.1%)

Memory
0.7MiB live, 0.7MiB 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
2.9MiB live, 2.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))
3.9%
#s(approx (* (+ x y) (+ x y)) (+.f64 x y))
Compiler

Compiled 18 to 10 computations (44.4% saved)

simplify0.0ms (0%)

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

localize25.0ms (4.3%)

Memory
-56.4MiB live, 20.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy61.47326944216185
#s(approx (* (+ x y) (+ x y)) (+.f64 x y))
Samples
9.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 (59.8% of total)
ival-add: 1.0ms (29.9% 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
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
y
@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.5MiB live, 0.5MiB 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.8MiB live, 0.8MiB allocated
Compiler

Compiled 41 to 7 computations (82.9% saved)

prune1.0ms (0.3%)

Memory
2.9MiB live, 2.9MiB 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))
3.9%
#s(approx (* (+ x y) (+ x y)) (+.f64 x y))
Compiler

Compiled 36 to 17 computations (52.8% saved)

regimes6.0ms (1%)

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

1.0ms
(+.f64 x y)
1.0ms
x
1.0ms
y
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
11.5MiB live, 11.5MiB 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
(+.f64 x y)
1.0ms
y
1.0ms
x
1.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
Results
AccuracySegmentsBranch
3.9%1x
3.9%1y
3.9%1(*.f64 (+.f64 x y) (+.f64 x y))
3.9%1(+.f64 x y)
Compiler

Compiled 12 to 11 computations (8.3% saved)

simplify8.0ms (1.4%)

Memory
-28.6MiB live, 9.4MiB 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.8MiB live, 0.8MiB allocated
Stop Event
done
Compiler

Compiled 18 to 7 computations (61.1% saved)

preprocess24.0ms (4.2%)

Memory
9.3MiB live, 45.8MiB allocated
Compiler

Compiled 76 to 40 computations (47.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...