Data.Histogram.Bin.BinF:$cfromIndex from histogram-fill-0.8.4.1

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
1.1MiB live, 1.1MiB 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 11 to 10 computations (9.1% saved)

sample673.0ms (64.1%)

Memory
-3.8MiB live, 1 010.4MiB allocated
Samples
431.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 211.0ms
ival-add: 84.0ms (39.8% of total)
ival-div: 57.0ms (27% of total)
ival-mult: 57.0ms (27% of total)
ival-true: 6.0ms (2.8% of total)
exact: 4.0ms (1.9% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain85.0ms (8%)

Memory
-14.3MiB live, 142.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(/.f64 x #s(literal 2 binary64))
00-0-z
00-0-(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
00-0-(*.f64 y x)
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
32.0ms512×0valid
Compiler

Compiled 91 to 36 computations (60.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-add: 5.0ms (38.9% of total)
ival-mult: 4.0ms (31.1% of total)
ival-div: 3.0ms (23.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.3%)

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

Compiled 9 to 8 computations (11.1% 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
100.0%
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
Compiler

Compiled 9 to 8 computations (11.1% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize23.0ms (2.2%)

Memory
-9.7MiB live, 26.8MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 x #s(literal 2 binary64))
accuracy0.0
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
accuracy0.0
(*.f64 y x)
accuracy0.01171875
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
Samples
18.0ms256×0valid
Compiler

Compiled 54 to 18 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (33.6% of total)
ival-add: 2.0ms (33.6% of total)
ival-mult: 2.0ms (33.6% 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.6%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
1.6MiB live, 1.6MiB allocated
Compiler

Compiled 98 to 20 computations (79.6% saved)

prune1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
100.0%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
53.7%
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z)
64.5%
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
62.6%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
Compiler

Compiled 52 to 41 computations (21.2% saved)

simplify1.0ms (0.1%)

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

Found 11 expressions of interest:

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

localize27.0ms (2.6%)

Memory
-1.6MiB live, 35.0MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z)
accuracy0.0
(*.f64 y x)
accuracy0.01171875
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x))
accuracy61.18380106303092
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(/.f64 x #s(literal 2 binary64))
accuracy0.0
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
accuracy31.89410290471641
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))
accuracy0.0
(/.f64 x #s(literal 2 binary64))
accuracy0.0
(*.f64 y x)
accuracy0.01171875
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
accuracy23.938650462932003
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
Samples
16.0ms256×0valid
Compiler

Compiled 174 to 28 computations (83.9% saved)

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

series4.0ms (0.4%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite1.0ms (0%)

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

eval2.0ms (0.2%)

Memory
3.7MiB live, 3.7MiB allocated
Compiler

Compiled 399 to 33 computations (91.7% saved)

prune2.0ms (0.2%)

Memory
4.1MiB live, 4.1MiB allocated
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New17421
Fresh000
Picked123
Done101
Total19625
Accuracy
100.0%
Counts
25 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
64.5%
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
73.4%
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
62.6%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
17.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)))
36.5%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
27.8%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))))
Compiler

Compiled 106 to 70 computations (34% saved)

simplify1.0ms (0.1%)

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

Found 14 expressions of interest:

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

localize29.0ms (2.7%)

Memory
-0.7MiB live, 36.8MiB allocated
Localize:

Found 14 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
accuracy0.0
(*.f64 y x)
accuracy31.89410290471641
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x)))
accuracy61.18380106303092
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(*.f64 y x)
accuracy0.01171875
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x))
accuracy23.938650462932003
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)))
accuracy61.18380106303092
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(*.f64 y x)
accuracy46.20192188975124
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
accuracy61.18380106303092
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(/.f64 x #s(literal 2 binary64))
accuracy23.938650462932003
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))))
accuracy31.89410290471641
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))
Samples
17.0ms256×0valid
Compiler

Compiled 244 to 29 computations (88.1% saved)

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

series9.0ms (0.8%)

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

9 calls:

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

simplify0.0ms (0%)

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

rewrite1.0ms (0.1%)

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

eval2.0ms (0.2%)

Memory
4.5MiB live, 4.5MiB allocated
Compiler

Compiled 561 to 36 computations (93.6% saved)

prune6.0ms (0.6%)

Memory
10.0MiB live, 10.0MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New25025
Fresh000
Picked044
Done022
Total25631
Accuracy
100.0%
Counts
31 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
64.5%
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
73.4%
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
62.6%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
17.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)))
36.5%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
27.8%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))))
Compiler

Compiled 234 to 94 computations (59.8% saved)

regimes18.0ms (1.7%)

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

5 calls:

5.0ms
x
3.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
3.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
3.0ms
z
3.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
100.0%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes14.0ms (1.4%)

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

5 calls:

3.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
3.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
3.0ms
y
3.0ms
z
3.0ms
x
Results
AccuracySegmentsBranch
88.3%3x
98.4%3y
87.5%3z
81.6%3(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
86.5%3(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes12.0ms (1.2%)

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

5 calls:

4.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
2.0ms
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
2.0ms
y
2.0ms
x
2.0ms
z
Results
AccuracySegmentsBranch
73.4%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
73.4%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
73.4%1z
73.4%1x
81.0%5y
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes8.0ms (0.7%)

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

5 calls:

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

Compiled 19 to 24 computations (-26.3% saved)

regimes7.0ms (0.7%)

Memory
-23.4MiB live, 15.6MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

5 calls:

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

Compiled 19 to 24 computations (-26.3% saved)

bsearch28.0ms (2.6%)

Memory
8.4MiB live, 49.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
1.6944436923104262e-7
0.8488050700733019
12.0ms
-7998.323072510827
-0.02978107697331326
Samples
13.0ms288×0valid
Compiler

Compiled 552 to 446 computations (19.2% saved)

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

bsearch48.0ms (4.6%)

Memory
8.1MiB live, 85.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
7.0ms
1.3057415618101103e-11
3.912574116237967e-11
13.0ms
2.0091345427552477e-302
1.8488749390441688e-296
13.0ms
-6.455092008468549e-121
-1.466474828457697e-126
12.0ms
-1.8545280709795258e-16
-2.3659089034217667e-21
Samples
25.0ms512×0valid
Compiler

Compiled 1 228 to 814 computations (33.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 5.0ms (36.4% of total)
ival-add: 4.0ms (29.1% of total)
ival-div: 3.0ms (21.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify5.0ms (0.5%)

Memory
9.9MiB live, 9.9MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(if (<=.f64 y #s(literal -1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)))
(if (<=.f64 y #s(literal -5841333965851681/162259276829213363391578010288128 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal -7430920011128155/381072821083495145432323880589986121307201921712032611188861933548019011086397170424842053596617672260721060927906081896416989218663120764928 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (if (<=.f64 y #s(literal 4806795585282539/94250893829069388263158195986839619953910191433570402840572110390025349132714488958921462158410402245441022265850013080700211570312172862173529993715108609721771173307935875544541938110298112193699817954782743504532616344943965179202194956899229230517898712545800381131625461678593653502029519299346025224452702208 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 1470053796651389/77371252455336267181195264 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)))))
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
Outputs
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
(if (<=.f64 y #s(literal -1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)))
(if (<=.f64 y #s(literal -5841333965851681/162259276829213363391578010288128 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal -7430920011128155/381072821083495145432323880589986121307201921712032611188861933548019011086397170424842053596617672260721060927906081896416989218663120764928 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (if (<=.f64 y #s(literal 4806795585282539/94250893829069388263158195986839619953910191433570402840572110390025349132714488958921462158410402245441022265850013080700211570312172862173529993715108609721771173307935875544541938110298112193699817954782743504532616344943965179202194956899229230517898712545800381131625461678593653502029519299346025224452702208 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 1470053796651389/77371252455336267181195264 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)))))
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))

soundness2.0ms (0.2%)

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

Compiled 207 to 38 computations (81.6% saved)

preprocess29.0ms (2.7%)

Memory
9.4MiB live, 47.4MiB allocated
Compiler

Compiled 432 to 92 computations (78.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...