AI.Clustering.Hierarchical.Internal:average from clustering-0.2.1, A

Time bar (total: 626.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze18.0ms (2.9%)

Memory
-13.0MiB live, 25.3MiB 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
25%25%74.9%0.1%0%0%0%3
37.5%37.5%62.4%0.1%0%0%0%4
56.3%56.2%43.7%0.1%0%0%0%5
65.6%65.6%34.3%0.1%0%0%0%6
76.6%76.5%23.4%0.1%0%0%0%7
82%82%18%0.1%0%0%0%8
87.9%87.8%12.1%0.1%0%0%0%9
90.8%90.7%9.2%0.1%0%0%0%10
93.8%93.8%6.1%0.1%0%0%0%11
95.4%95.3%4.6%0.1%0%0%0%12
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample499.0ms (79.7%)

Memory
-26.5MiB live, 627.4MiB allocated
Samples
296.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 126.0ms
ival-div: 66.0ms (52.3% of total)
ival-add: 50.0ms (39.6% of total)
ival-true: 6.0ms (4.8% of total)
ival-assert: 4.0ms (3.2% of total)
Bogosity

explain40.0ms (6.4%)

Memory
6.8MiB live, 45.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(/.f64 x (+.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
19.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-div: 5.0ms (57.4% of total)
ival-add: 3.0ms (34.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.4%)

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

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 x (+.f64 x y))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

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

localize13.0ms (2.1%)

Memory
13.1MiB live, 13.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.0078125
(/.f64 x (+.f64 x y))
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-div: 2.0ms (56.4% of total)
ival-add: 1.0ms (28.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.5%)

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

6 calls:

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

simplify0.0ms (0.1%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0.1%)

Memory
0.6MiB live, 0.6MiB allocated
Compiler

Compiled 30 to 8 computations (73.3% saved)

prune1.0ms (0.1%)

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

Compiled 14 to 10 computations (28.6% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

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

localize15.0ms (2.5%)

Memory
-28.1MiB live, 13.2MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy62.00648813238183
#s(approx (/ x (+ x y)) (+.f64 x y))
Samples
12.0ms256×0valid
Compiler

Compiled 26 to 12 computations (53.8% saved)

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

series1.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0.1%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0.1%)

Memory
0.6MiB live, 0.6MiB allocated
Compiler

Compiled 33 to 7 computations (78.8% saved)

prune1.0ms (0.2%)

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

Compiled 28 to 17 computations (39.3% saved)

regimes4.0ms (0.7%)

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

3 calls:

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

Compiled 7 to 8 computations (-14.3% saved)

regimes4.0ms (0.6%)

Memory
6.5MiB live, 6.5MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(/.f64 x (+.f64 x y))
Results
AccuracySegmentsBranch
3.1%1x
3.1%1y
3.1%1(/.f64 x (+.f64 x y))
Compiler

Compiled 7 to 8 computations (-14.3% saved)

simplify4.0ms (0.7%)

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

soundness0.0ms (0.1%)

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

Compiled 14 to 7 computations (50% saved)

preprocess16.0ms (2.5%)

Memory
-18.5MiB live, 20.1MiB allocated
Compiler

Compiled 38 to 22 computations (42.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...