Data.Random.Dice:roll from dice-0.1

Time bar (total: 621.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample503.0ms (81%)

Memory
-5.9MiB live, 809.8MiB allocated
Samples
305.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 150.0ms
ival-mult: 81.0ms (53.9% of total)
ival-sub: 54.0ms (35.9% of total)
ival-true: 7.0ms (4.7% of total)
exact: 6.0ms (4% of total)
ival-assert: 4.0ms (2.7% of total)
Bogosity

explain49.0ms (7.9%)

Memory
0.7MiB live, 78.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 1 binary64)
00-0-(*.f64 x x)
00-0-(-.f64 (*.f64 x x) #s(literal 1 binary64))
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 39 to 20 computations (48.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 4.0ms (53.2% of total)
ival-sub: 2.0ms (26.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess2.0ms (0.3%)

Memory
3.7MiB live, 3.7MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Outputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 1 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 x) #s(literal 1 binary64))
Compiler

Compiled 5 to 4 computations (20% 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 x)
cost-diff0
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal 1 binary64)
Outputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
x
#s(literal 1 binary64)

localize17.0ms (2.8%)

Memory
-35.5MiB live, 18.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 (*.f64 x x) #s(literal 1 binary64))
accuracy0.0
(*.f64 x x)
Samples
9.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

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

series1.0ms (0.2%)

Memory
2.2MiB live, 2.2MiB allocated
Counts
2 → 4
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
Outputs
-1
(- (pow x 2) 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Calls

3 calls:

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

simplify0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Counts
4 → 2
Calls
Call 1
Inputs
-1
(- (pow x 2) 1)
(pow x 2)
(* (pow x 2) (- 1 (/ 1 (pow x 2))))
Outputs
-1
(-.f64 (*.f64 x x) #s(literal 1 binary64))
(- (pow x 2) 1)
(*.f64 x x)

rewrite0.0ms (0%)

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

eval0.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Compiler

Compiled 30 to 9 computations (70% saved)

prune1.0ms (0.1%)

Memory
1.6MiB live, 1.6MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New314
Fresh000
Picked011
Done000
Total325
Accuracy
100.0%
Counts
5 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x x) #s(literal 1 binary64))
50.7%
#s(approx (- (* x x) 1) (*.f64 x x))
Compiler

Compiled 14 to 10 computations (28.6% 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 x)
cost-diff0
#s(approx (- (* x x) 1) (*.f64 x x))
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (- (* x x) 1) (*.f64 x x))
(*.f64 x x)
x

localize14.0ms (2.2%)

Memory
-20.4MiB live, 17.9MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy31.52505724257038
#s(approx (- (* x x) 1) (*.f64 x x))
Samples
8.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

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

series1.0ms (0.2%)

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

3 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0.1%)

Memory
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 33 to 7 computations (78.8% saved)

prune1.0ms (0.2%)

Memory
2.5MiB live, 2.5MiB 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 x) #s(literal 1 binary64))
50.7%
#s(approx (- (* x x) 1) (*.f64 x x))
Compiler

Compiled 28 to 18 computations (35.7% saved)

regimes4.0ms (0.6%)

Memory
8.2MiB live, 8.2MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (* x x) 1) (*.f64 x x))
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Outputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Calls

3 calls:

1.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 x x) #s(literal 1 binary64))
100.0%1(*.f64 x x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0.5%)

Memory
7.2MiB live, 7.2MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

1.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(-.f64 (*.f64 x x) #s(literal 1 binary64))
Results
AccuracySegmentsBranch
50.7%1x
50.7%1(-.f64 (*.f64 x x) #s(literal 1 binary64))
50.7%1(*.f64 x x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify4.0ms (0.7%)

Memory
8.6MiB live, 8.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
#s(approx (- (* x x) 1) (*.f64 x x))
Outputs
(-.f64 (*.f64 x x) #s(literal 1 binary64))
#s(approx (- (* x x) 1) (*.f64 x x))

soundness0.0ms (0.1%)

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

Compiled 14 to 8 computations (42.9% saved)

preprocess16.0ms (2.7%)

Memory
-11.6MiB live, 26.8MiB allocated
Compiler

Compiled 38 to 24 computations (36.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...