Statistics.Distribution.Beta:$cvariance from math-functions-0.1.5.2

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze75.0ms (5.8%)

Memory
3.7MiB live, 179.6MiB 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
0%0%99.9%0.1%0%0%0%3
50%49.9%49.9%0.1%0%0%0%4
50%49.9%49.9%0.1%0%0%0%5
50%49.9%49.9%0.1%0%0%0%6
75%74.9%25%0.1%0%0%0%7
75%74.9%25%0.1%0%0%0%8
75%74.9%25%0.1%0%0%0%9
75%74.9%25%0.1%0%0%0%10
75%74.9%25%0.1%0%0%0%11
75%74.9%25%0.1%0%0%0%12
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample990.0ms (75.7%)

Memory
-70.8MiB live, 1 048.4MiB allocated
Samples
467.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 272.0ms
ival-mult: 167.0ms (61.5% of total)
ival-div: 49.0ms (18% of total)
ival-add: 42.0ms (15.5% of total)
ival-true: 6.0ms (2.2% of total)
exact: 5.0ms (1.8% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain76.0ms (5.8%)

Memory
39.2MiB live, 116.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
420-3(0.1537745280780092 -8.032957092332468e-259 -3.6580812804146748e-155)(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
00-0-#s(literal 1 binary64)
00-0-z
00-0-(*.f64 x y)
00-0-(+.f64 z #s(literal 1 binary64))
00-0-(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
00-0-(*.f64 z z)
00-0-y
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))o/o100
(*.f64 x y)overflow34
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))overflow79
(*.f64 z z)overflow61
/.f64(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))n/u100
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))underflow60
(*.f64 z z)underflow60
/.f64(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))n/o50
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))overflow79
(*.f64 z z)overflow61
/.f64(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))u/n50
(*.f64 x y)underflow21
/.f64(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))u/u50
(*.f64 x y)underflow21
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))underflow60
(*.f64 z z)underflow60
/.f64(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))o/n40
(*.f64 x y)overflow34
Confusion
Predicted +Predicted -
+393
-0214
Precision
1.0
Recall
0.9285714285714286
Confusion?
Predicted +Predicted MaybePredicted -
+3903
-00214
Precision?
1.0
Recall?
0.9285714285714286
Freqs
test
numberfreq
0217
139
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
31.0ms512×0valid
Compiler

Compiled 108 to 40 computations (63% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-mult: 9.0ms (57.6% of total)
ival-div: 3.0ms (19.2% of total)
ival-add: 3.0ms (19.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess7.0ms (0.5%)

Memory
-38.0MiB live, 5.7MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Outputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Compiler

Compiled 11 to 9 computations (18.2% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.7%
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Compiler

Compiled 11 to 9 computations (18.2% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 z z)
cost-diff0
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
cost-diff0
(*.f64 x y)
cost-diff0
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 x y)
x
y
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(*.f64 z z)
z
(+.f64 z #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 x y)
x
y
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(*.f64 z z)
z
(+.f64 z #s(literal 1 binary64))
#s(literal 1 binary64)

localize21.0ms (1.6%)

Memory
29.7MiB live, 29.7MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 z z)
accuracy0.0
(*.f64 x y)
accuracy0.046875
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
accuracy9.699145396973273
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Samples
15.0ms256×0valid
Compiler

Compiled 64 to 20 computations (68.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 5.0ms (65.7% of total)
ival-div: 1.0ms (13.1% of total)
ival-add: 1.0ms (13.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series12.0ms (0.9%)

Memory
-22.2MiB live, 16.0MiB allocated
Counts
4 → 17
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 x y)
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(*.f64 z z)
Outputs
(/ (* x y) (* (pow z 2) (+ 1 z)))
(* x y)
(/ (* x y) (pow z 2))
(/ (+ (* -1 (* x (* y z))) (* x y)) (pow z 2))
(/ (+ (* x y) (* z (- (* x (* y z)) (* x y)))) (pow z 2))
(/ (+ (* x y) (* z (- (* z (- (* -1 (* x (* y z))) (* -1 (* x y)))) (* x y)))) (pow z 2))
(pow z 2)
(* (pow z 2) (+ 1 z))
(/ (* x y) (pow z 3))
(/ (+ (* -1 (/ (* x y) z)) (* x y)) (pow z 3))
(/ (- (+ (* x y) (/ (* x y) (pow z 2))) (/ (* x y) z)) (pow z 3))
(/ (- (+ (* -1 (/ (* x y) (pow z 3))) (* x y)) (+ (* -1 (/ (* x y) (pow z 2))) (/ (* x y) z))) (pow z 3))
(pow z 3)
(* (pow z 3) (+ 1 (/ 1 z)))
(* -1 (/ (+ (* -1 (* x y)) (/ (* x y) z)) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (/ (* x y) z) (* x y)) z))) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (* -1 (/ (- (/ (* x y) z) (* x y)) z)) (* x y)) z))) (pow z 3)))
Calls

9 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((/ (* x y) (* (* z z) (+ z 1))) (* x y) (* (* z z) (+ z 1)) (* z z))
2.0ms
y
@-inf
((/ (* x y) (* (* z z) (+ z 1))) (* x y) (* (* z z) (+ z 1)) (* z z))
1.0ms
x
@0
((/ (* x y) (* (* z z) (+ z 1))) (* x y) (* (* z z) (+ z 1)) (* z z))
1.0ms
x
@-inf
((/ (* x y) (* (* z z) (+ z 1))) (* x y) (* (* z z) (+ z 1)) (* z z))
1.0ms
y
@0
((/ (* x y) (* (* z z) (+ z 1))) (* x y) (* (* z z) (+ z 1)) (* z z))

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 x y)
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(*.f64 z z)
Outputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 x y)
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(*.f64 z z)

eval1.0ms (0.1%)

Memory
1.4MiB live, 1.4MiB allocated
Compiler

Compiled 116 to 20 computations (82.8% saved)

prune1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639
Accuracy
84.9%
Counts
9 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.7%
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.2%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.3%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
Compiler

Compiled 45 to 34 computations (24.4% saved)

simplify0.0ms (0%)

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

Found 6 expressions of interest:

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

localize23.0ms (1.7%)

Memory
-0.3MiB live, 37.5MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 z #s(literal 1 binary64))
accuracy0.0
(*.f64 z z)
accuracy0.046875
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
accuracy62.58572160895051
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
accuracy0.0
(*.f64 z z)
accuracy62.543052515254544
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
Samples
17.0ms256×0valid
Compiler

Compiled 96 to 26 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 5.0ms (64.9% of total)
ival-div: 2.0ms (26% of total)
ival-add: 1.0ms (13% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.5%)

Memory
10.9MiB live, 10.9MiB allocated
Counts
5 → 20
Calls
Call 1
Inputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
(*.f64 z z)
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(+.f64 z #s(literal 1 binary64))
Outputs
(/ (* x y) (* (pow z 2) (+ 1 z)))
(/ (* x y) (pow z 2))
(/ (+ (* -1 (* x (* y z))) (* x y)) (pow z 2))
(/ (+ (* x y) (* z (- (* x (* y z)) (* x y)))) (pow z 2))
(/ (+ (* x y) (* z (- (* z (- (* -1 (* x (* y z))) (* -1 (* x y)))) (* x y)))) (pow z 2))
(pow z 2)
(* (pow z 2) (+ 1 z))
1
(+ 1 z)
(/ (* x y) (pow z 3))
(/ (+ (* -1 (/ (* x y) z)) (* x y)) (pow z 3))
(/ (- (+ (* x y) (/ (* x y) (pow z 2))) (/ (* x y) z)) (pow z 3))
(/ (- (+ (* -1 (/ (* x y) (pow z 3))) (* x y)) (+ (* -1 (/ (* x y) (pow z 2))) (/ (* x y) z))) (pow z 3))
(pow z 3)
(* (pow z 3) (+ 1 (/ 1 z)))
z
(* z (+ 1 (/ 1 z)))
(* -1 (/ (+ (* -1 (* x y)) (/ (* x y) z)) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (/ (* x y) z) (* x y)) z))) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (* -1 (/ (- (/ (* x y) z) (* x y)) z)) (* x y)) z))) (pow z 3)))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((/ (* x y) (* (* z z) (+ z 1))) (* z z) (/ (* x y) (* (* z z) (+ z 1))) (* (* z z) (+ z 1)) (+ z 1))
1.0ms
y
@-inf
((/ (* x y) (* (* z z) (+ z 1))) (* z z) (/ (* x y) (* (* z z) (+ z 1))) (* (* z z) (+ z 1)) (+ z 1))
1.0ms
x
@inf
((/ (* x y) (* (* z z) (+ z 1))) (* z z) (/ (* x y) (* (* z z) (+ z 1))) (* (* z z) (+ z 1)) (+ z 1))
1.0ms
y
@inf
((/ (* x y) (* (* z z) (+ z 1))) (* z z) (/ (* x y) (* (* z z) (+ z 1))) (* (* z z) (+ z 1)) (+ z 1))
1.0ms
x
@0
((/ (* x y) (* (* z z) (+ z 1))) (* z z) (/ (* x y) (* (* z z) (+ z 1))) (* (* z z) (+ z 1)) (+ z 1))

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
20 → 5
Calls
Call 1
Inputs
(/ (* x y) (* (pow z 2) (+ 1 z)))
(/ (* x y) (pow z 2))
(/ (+ (* -1 (* x (* y z))) (* x y)) (pow z 2))
(/ (+ (* x y) (* z (- (* x (* y z)) (* x y)))) (pow z 2))
(/ (+ (* x y) (* z (- (* z (- (* -1 (* x (* y z))) (* -1 (* x y)))) (* x y)))) (pow z 2))
(pow z 2)
(* (pow z 2) (+ 1 z))
1
(+ 1 z)
(/ (* x y) (pow z 3))
(/ (+ (* -1 (/ (* x y) z)) (* x y)) (pow z 3))
(/ (- (+ (* x y) (/ (* x y) (pow z 2))) (/ (* x y) z)) (pow z 3))
(/ (- (+ (* -1 (/ (* x y) (pow z 3))) (* x y)) (+ (* -1 (/ (* x y) (pow z 2))) (/ (* x y) z))) (pow z 3))
(pow z 3)
(* (pow z 3) (+ 1 (/ 1 z)))
z
(* z (+ 1 (/ 1 z)))
(* -1 (/ (+ (* -1 (* x y)) (/ (* x y) z)) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (/ (* x y) z) (* x y)) z))) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (* -1 (/ (- (/ (* x y) z) (* x y)) z)) (* x y)) z))) (pow z 3)))
Outputs
(/ (* x y) (* (pow z 2) (+ 1 z)))
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
(/ (* x y) (pow z 2))
(*.f64 z z)
(/ (+ (* -1 (* x (* y z))) (* x y)) (pow z 2))
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(/ (+ (* x y) (* z (- (* x (* y z)) (* x y)))) (pow z 2))
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(/ (+ (* x y) (* z (- (* z (- (* -1 (* x (* y z))) (* -1 (* x y)))) (* x y)))) (pow z 2))
(+.f64 z #s(literal 1 binary64))

rewrite0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
5 → 5
Calls
Call 1
Inputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
(*.f64 z z)
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(+.f64 z #s(literal 1 binary64))
Outputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
(*.f64 z z)
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
(+.f64 z #s(literal 1 binary64))

eval1.0ms (0.1%)

Memory
1.9MiB live, 1.9MiB allocated
Compiler

Compiled 179 to 18 computations (89.9% saved)

prune2.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New819
Fresh000
Picked022
Done011
Total8412
Accuracy
85.0%
Counts
12 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.7%
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.6%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
2.2%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.3%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
Compiler

Compiled 60 to 46 computations (23.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 z #s(literal 1 binary64))
cost-diff0
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
Calls
Call 1
Inputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
(+.f64 z #s(literal 1 binary64))
z
#s(literal 1 binary64)
Outputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
(+.f64 z #s(literal 1 binary64))
z
#s(literal 1 binary64)

localize23.0ms (1.8%)

Memory
-8.3MiB live, 28.9MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 z #s(literal 1 binary64))
accuracy62.32945789725383
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
Samples
18.0ms256×0valid
Compiler

Compiled 38 to 23 computations (39.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 9.0ms (74% of total)
ival-div: 1.0ms (8.2% of total)
ival-add: 1.0ms (8.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.4%)

Memory
8.9MiB live, 8.9MiB allocated
Counts
2 → 16
Calls
Call 1
Inputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
(+.f64 z #s(literal 1 binary64))
Outputs
(/ (* x y) (* (pow z 2) (+ 1 z)))
(/ (* x y) (pow z 2))
(/ (+ (* -1 (* x (* y z))) (* x y)) (pow z 2))
(/ (+ (* x y) (* z (- (* x (* y z)) (* x y)))) (pow z 2))
(/ (+ (* x y) (* z (- (* z (- (* -1 (* x (* y z))) (* -1 (* x y)))) (* x y)))) (pow z 2))
1
(+ 1 z)
(/ (* x y) (pow z 3))
(/ (+ (* -1 (/ (* x y) z)) (* x y)) (pow z 3))
(/ (- (+ (* x y) (/ (* x y) (pow z 2))) (/ (* x y) z)) (pow z 3))
(/ (- (+ (* -1 (/ (* x y) (pow z 3))) (* x y)) (+ (* -1 (/ (* x y) (pow z 2))) (/ (* x y) z))) (pow z 3))
z
(* z (+ 1 (/ 1 z)))
(* -1 (/ (+ (* -1 (* x y)) (/ (* x y) z)) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (/ (* x y) z) (* x y)) z))) (pow z 3)))
(* -1 (/ (+ (* -1 (* x y)) (* -1 (/ (- (* -1 (/ (- (/ (* x y) z) (* x y)) z)) (* x y)) z))) (pow z 3)))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((/ (* x y) (* (* z z) (+ z 1))) (+ z 1))
1.0ms
y
@-inf
((/ (* x y) (* (* z z) (+ z 1))) (+ z 1))
1.0ms
x
@inf
((/ (* x y) (* (* z z) (+ z 1))) (+ z 1))
1.0ms
y
@inf
((/ (* x y) (* (* z z) (+ z 1))) (+ z 1))
1.0ms
x
@0
((/ (* x y) (* (* z z) (+ z 1))) (+ z 1))

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Compiler

Compiled 57 to 13 computations (77.2% saved)

prune2.0ms (0.2%)

Memory
4.6MiB live, 4.6MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done033
Total347
Accuracy
85.0%
Counts
7 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
84.7%
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.6%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
2.2%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.3%
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
Compiler

Compiled 120 to 64 computations (46.7% saved)

regimes17.0ms (1.3%)

Memory
-17.9MiB live, 24.6MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Outputs
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Calls

6 calls:

7.0ms
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
2.0ms
z
2.0ms
x
2.0ms
y
2.0ms
(*.f64 x y)
Results
AccuracySegmentsBranch
84.7%1x
84.7%1y
84.7%1z
84.7%1(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
84.7%1(*.f64 x y)
84.7%1(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
Compiler

Compiled 24 to 29 computations (-20.8% saved)

regimes11.0ms (0.8%)

Memory
-17.3MiB live, 22.2MiB allocated
Accuracy

Total -0.5b remaining (-0.8%)

Threshold costs -0.5b (-0.8%)

Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 z z))
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
Outputs
#s(approx (/ (* x y) (* (* z z) (+ z 1))) (+.f64 z #s(literal 1 binary64)))
Calls

6 calls:

2.0ms
x
2.0ms
z
2.0ms
(*.f64 x y)
2.0ms
y
2.0ms
(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
2.6%1(*.f64 x y)
2.6%1x
2.6%1(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64))))
2.6%1y
2.6%1(*.f64 (*.f64 z z) (+.f64 z #s(literal 1 binary64)))
2.6%1z
Compiler

Compiled 24 to 29 computations (-20.8% saved)

simplify4.0ms (0.3%)

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

soundness1.0ms (0%)

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

Compiled 26 to 16 computations (38.5% saved)

preprocess26.0ms (2%)

Memory
9.5MiB live, 47.7MiB allocated
Compiler

Compiled 126 to 84 computations (33.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...