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

Time bar (total: 1.1s)

start0.0ms (0%)

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

sample685.0ms (65.2%)

Memory
8.8MiB live, 984.7MiB allocated
Samples
426.0ms8 254×0valid
0.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 211.0ms
ival-add: 75.0ms (35.5% of total)
ival-div: 62.0ms (29.4% of total)
ival-mult: 60.0ms (28.4% of total)
ival-true: 6.0ms (2.8% of total)
exact: 5.0ms (2.4% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain88.0ms (8.3%)

Memory
-7.6MiB live, 209.3MiB 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
33.0ms512×0valid
Compiler

Compiled 91 to 36 computations (60.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-add: 10.0ms (56.8% of total)
ival-mult: 4.0ms (22.7% of total)
ival-div: 3.0ms (17% 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.7MiB live, 5.7MiB 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.7MiB live, 0.7MiB 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

localize21.0ms (2%)

Memory
-11.1MiB live, 26.6MiB allocated
Localize:

Found 4 expressions of interest:

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

Compiled 54 to 18 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 4.0ms (47% of total)
ival-div: 2.0ms (23.5% of total)
ival-add: 2.0ms (23.5% 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.0MiB live, 9.0MiB 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.6MiB live, 0.6MiB 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.7MiB live, 2.7MiB 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)
55.2%
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z)
62.2%
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
63.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.1MiB live, 1.1MiB 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

localize28.0ms (2.7%)

Memory
-1.0MiB live, 35.5MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y x)
accuracy0.00390625
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x))
accuracy0.0078125
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z)
accuracy61.48470306611507
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(/.f64 x #s(literal 2 binary64))
accuracy0.0078125
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
accuracy33.38878342571
#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.00390625
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
accuracy23.267768139468053
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
Samples
17.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 (33.4% of total)
ival-add: 2.0ms (33.4% of total)
ival-mult: 2.0ms (33.4% 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
7.2MiB live, 7.2MiB 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))

rewrite0.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))

eval6.0ms (0.5%)

Memory
-33.0MiB live, 4.1MiB allocated
Compiler

Compiled 399 to 33 computations (91.7% saved)

prune2.0ms (0.2%)

Memory
3.9MiB live, 3.9MiB allocated
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New18321
Fresh000
Picked123
Done101
Total20525
Accuracy
100.0%
Counts
25 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
62.2%
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
74.5%
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
63.6%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
38.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
26.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))))
Compiler

Compiled 85 to 58 computations (31.8% saved)

simplify1.0ms (0.1%)

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

Found 10 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
#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
(+.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
(+.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

localize23.0ms (2.2%)

Memory
33.2MiB live, 33.2MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y x)
accuracy0.0078125
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
accuracy33.38878342571
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x)))
accuracy61.48470306611507
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(*.f64 y x)
accuracy47.264343856902464
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
accuracy61.48470306611507
#s(approx (/ x 2) (*.f64 y x))
accuracy0.0
(/.f64 x #s(literal 2 binary64))
accuracy23.267768139468053
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))))
accuracy33.38878342571
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))
Samples
16.0ms256×0valid
Compiler

Compiled 176 to 27 computations (84.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)

series9.0ms (0.8%)

Memory
-34.8MiB live, 7.1MiB allocated
Counts
8 → 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)
(+.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
5.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)))
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)))
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)))
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)))
0.0ms
y
@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)))

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
17 → 8
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)))
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2)))
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x)))

rewrite0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
8 → 8
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)
(+.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)
(+.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
3.2MiB live, 3.2MiB allocated
Compiler

Compiled 367 to 29 computations (92.1% saved)

prune6.0ms (0.5%)

Memory
9.0MiB live, 9.0MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New17017
Fresh000
Picked033
Done022
Total17522
Accuracy
100.0%
Counts
22 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
62.2%
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z)
74.5%
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z)
63.6%
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)))
38.9%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x)))
26.1%
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))))
Compiler

Compiled 192 to 81 computations (57.8% saved)

regimes16.0ms (1.5%)

Memory
-14.3MiB live, 23.6MiB allocated
Counts
7 → 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))))
(+.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
z
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
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)

regimes12.0ms (1.2%)

Memory
21.7MiB live, 21.7MiB allocated
Counts
6 → 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))))
(+.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:

2.0ms
y
2.0ms
z
2.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
x
Results
AccuracySegmentsBranch
92.6%3x
98.2%3y
87.3%3z
78.1%3(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
88.1%3(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
Compiler

Compiled 19 to 24 computations (-26.3% saved)

regimes7.0ms (0.7%)

Memory
13.6MiB live, 13.6MiB allocated
Counts
3 → 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))))
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

4 calls:

2.0ms
y
2.0ms
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
2.0ms
x
2.0ms
z
Results
AccuracySegmentsBranch
74.5%1z
74.5%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
78.1%3x
84.7%5y
Compiler

Compiled 10 to 16 computations (-60% saved)

regimes7.0ms (0.6%)

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

3 calls:

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

Compiled 11 to 14 computations (-27.3% saved)

regimes6.0ms (0.6%)

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

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
y
1.0ms
x
Results
AccuracySegmentsBranch
38.9%1z
38.9%1x
38.9%1(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z)
38.9%1(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))
38.9%1y
Compiler

Compiled 19 to 24 computations (-26.3% saved)

bsearch31.0ms (2.9%)

Memory
3.3MiB live, 41.0MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
1.133166823587589e-7
1.7943739123577869
14.0ms
-362584473560.5153
-0.07725172174139372
Samples
16.0ms304×0valid
Compiler

Compiled 582 to 470 computations (19.2% saved)

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

bsearch45.0ms (4.3%)

Memory
-1.4MiB live, 79.6MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
4.070852362312188e-210
8.835146335000197e-210
10.0ms
-1.0232786396454767e-193
-1.4016192862019597e-195
10.0ms
-7.817920193857472e-139
-2.5162536373561086e-140
14.0ms
-0.07725172174139372
-5.763079715122553e-10
Samples
24.0ms448×0valid
Compiler

Compiled 1 076 to 714 computations (33.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 6.0ms (48.5% of total)
ival-div: 3.0ms (24.3% of total)
ival-mult: 3.0ms (24.3% 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
14.3MiB live, 14.3MiB 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 -5996272065288561/9671406556917033397649408 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal -4826810854779335/6703903964971298549787012499102923063739682910296196688861780721860882015036773488400937149083451713845015929093243025426876941405973284973216824503042048 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 -8153210647399979/1315033975387093376810247470720032166387584950705793464874570225767183038574270205528416634069397112806745742214044554428254858062545950965781953692662970212488805917782111149547915939471080679317823312933945344 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 8143281467107677/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656 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 -5996272065288561/9671406556917033397649408 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal -4826810854779335/6703903964971298549787012499102923063739682910296196688861780721860882015036773488400937149083451713845015929093243025426876941405973284973216824503042048 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 -8153210647399979/1315033975387093376810247470720032166387584950705793464874570225767183038574270205528416634069397112806745742214044554428254858062545950965781953692662970212488805917782111149547915939471080679317823312933945344 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 8143281467107677/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656 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)))

soundness3.0ms (0.3%)

Memory
-34.5MiB live, 4.4MiB allocated
Stop Event
done
Compiler

Compiled 207 to 38 computations (81.6% saved)

preprocess29.0ms (2.8%)

Memory
20.7MiB live, 59.3MiB allocated
Compiler

Compiled 432 to 92 computations (78.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...