Numeric.Interval.Internal:bisect from intervals-0.7.1, A

Time bar (total: 975.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 9 to 8 computations (11.1% saved)

sample678.0ms (69.6%)

Memory
-129.9MiB live, 816.8MiB allocated
Samples
343.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 181.0ms
ival-sub: 66.0ms (36.4% of total)
ival-div: 62.0ms (34.2% of total)
ival-add: 40.0ms (22.1% of total)
ival-true: 6.0ms (3.3% of total)
exact: 5.0ms (2.8% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

explain70.0ms (7.2%)

Memory
10.1MiB live, 124.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
00-0-(-.f64 y x)
00-0-y
00-0-#s(literal 2 binary64)
00-0-(/.f64 (-.f64 y x) #s(literal 2 binary64))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
24.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 4.0ms (37.2% of total)
ival-sub: 3.0ms (27.9% of total)
ival-add: 3.0ms (27.9% of total)
ival-true: 1.0ms (9.3% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess9.0ms (0.9%)

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

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

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

localize16.0ms (1.6%)

Memory
27.3MiB live, 27.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 (-.f64 y x) #s(literal 2 binary64))
accuracy0.0
(-.f64 y x)
accuracy0.0078125
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Samples
11.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (41.5% of total)
ival-sub: 1.0ms (20.8% of total)
ival-add: 1.0ms (20.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval5.0ms (0.5%)

Memory
-36.0MiB live, 1.4MiB allocated
Compiler

Compiled 60 to 14 computations (76.7% saved)

prune1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New426
Fresh000
Picked011
Done000
Total437
Accuracy
100.0%
Counts
7 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
11.1%
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
51.3%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Compiler

Compiled 31 to 24 computations (22.6% saved)

simplify0.0ms (0%)

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

Found 6 expressions of interest:

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

localize18.0ms (1.8%)

Memory
28.8MiB live, 28.8MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y x)
accuracy0.0078125
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
accuracy52.0
#s(approx (/ (- y x) 2) (-.f64 y x))
accuracy0.0
(/.f64 (-.f64 y x) #s(literal 2 binary64))
accuracy0.0
(-.f64 y x)
accuracy31.195424096420584
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Samples
12.0ms256×0valid
Compiler

Compiled 86 to 20 computations (76.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (41.2% of total)
ival-sub: 1.0ms (20.6% of total)
ival-add: 1.0ms (20.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Compiler

Compiled 191 to 24 computations (87.4% saved)

prune6.0ms (0.6%)

Memory
-32.9MiB live, 4.8MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New9211
Fresh000
Picked022
Done011
Total9514
Accuracy
100.0%
Counts
14 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
11.1%
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
18.8%
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
51.3%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
10.2%
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
Compiler

Compiled 71 to 44 computations (38% saved)

simplify1.0ms (0.1%)

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

Found 7 expressions of interest:

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

localize19.0ms (2%)

Memory
30.8MiB live, 30.8MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0078125
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
accuracy52.0
#s(approx (/ (- y x) 2) (-.f64 y x))
accuracy52.0
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))
accuracy57.45954264864917
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
accuracy0.0
(-.f64 y x)
accuracy31.195424096420584
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
accuracy52.0
#s(approx (/ (- y x) 2) (-.f64 y x))
Samples
13.0ms256×0valid
Compiler

Compiled 166 to 21 computations (87.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub: 2.0ms (41.1% of total)
ival-div: 2.0ms (41.1% of total)
ival-add: 1.0ms (20.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
-33.1MiB live, 4.3MiB allocated
Counts
7 → 23
Calls
Call 1
Inputs
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
#s(approx (/ (- y x) 2) (-.f64 y x))
(-.f64 y x)
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
Outputs
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* -1/2 x) (* 1/2 y))
y
(+ y (* -1 x))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* -1/2 x)
(* x (- (* 1/2 (/ y x)) 1/2))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (+ 1/2 (* -1/2 (/ y x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1/2 x))
(+ x (+ (* -1/2 x) (* 1/2 y)))
(- y x)
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y))))
(* y (+ 1/2 (* -1/2 (/ x y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2)))
(* -1 (* y (- (* 1/2 (/ x y)) 1/2)))
(* -1 (* y (- (/ x y) 1)))
Calls

6 calls:

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

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Counts
23 → 7
Calls
Call 1
Inputs
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* -1/2 x) (* 1/2 y))
y
(+ y (* -1 x))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* -1/2 x)
(* x (- (* 1/2 (/ y x)) 1/2))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (+ 1/2 (* -1/2 (/ y x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1/2 x))
(+ x (+ (* -1/2 x) (* 1/2 y)))
(- y x)
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y))))
(* y (+ 1/2 (* -1/2 (/ x y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2)))
(* -1 (* y (- (* 1/2 (/ x y)) 1/2)))
(* -1 (* y (- (/ x y) 1)))
Outputs
(* 1/2 y)
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
(+ (* 1/2 x) (* 1/2 y))
#s(approx (/ (- y x) 2) (-.f64 y x))
(+ (* -1/2 x) (* 1/2 y))
(-.f64 y x)
y
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
(+ y (* -1 x))
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))
(* 1/2 x)
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))

rewrite0.0ms (0%)

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

eval2.0ms (0.2%)

Memory
3.8MiB live, 3.8MiB allocated
Compiler

Compiled 428 to 30 computations (93% saved)

prune3.0ms (0.3%)

Memory
7.0MiB live, 7.0MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New15116
Fresh000
Picked022
Done033
Total15621
Accuracy
100.0%
Counts
21 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
11.1%
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
18.8%
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
18.0%
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))))
51.3%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
10.2%
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
Compiler

Compiled 116 to 60 computations (48.3% saved)

simplify1.0ms (0.1%)

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

Found 4 expressions of interest:

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

localize23.0ms (2.4%)

Memory
-6.2MiB live, 37.6MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy52.0
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))
accuracy52.0
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
accuracy57.45954264864917
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
accuracy57.45954264864917
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))
Samples
13.0ms256×0valid
Compiler

Compiled 332 to 24 computations (92.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (40.1% of total)
ival-sub: 1.0ms (20.1% of total)
ival-add: 1.0ms (20.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Counts
23 → 7
Calls
Call 1
Inputs
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* -1/2 x) (* 1/2 y))
y
(+ y (* -1 x))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* -1/2 x)
(* x (- (* 1/2 (/ y x)) 1/2))
(* -1 x)
(* x (- (/ y x) 1))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (+ 1/2 (* -1/2 (/ y x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(+ x (* -1/2 x))
(+ x (+ (* -1/2 x) (* 1/2 y)))
(- y x)
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y))))
(* y (+ 1/2 (* -1/2 (/ x y))))
(* y (+ 1 (* -1 (/ x y))))
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2)))
(* -1 (* y (- (* 1/2 (/ x y)) 1/2)))
(* -1 (* y (- (/ x y) 1)))
Outputs
(* 1/2 y)
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))))
(+ (* 1/2 x) (* 1/2 y))
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))
(+ (* -1/2 x) (* 1/2 y))
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))
y
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))
(+ y (* -1 x))
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
(* 1/2 x)
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
(* x (+ 1/2 (* 1/2 (/ y x))))
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))

rewrite1.0ms (0.1%)

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

eval1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Compiler

Compiled 518 to 24 computations (95.4% saved)

prune3.0ms (0.3%)

Memory
5.9MiB live, 5.9MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New12012
Fresh000
Picked011
Done055
Total12618
Accuracy
100.0%
Counts
18 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
11.1%
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
18.8%
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
18.0%
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))))
51.3%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
10.2%
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
Compiler

Compiled 232 to 83 computations (64.2% saved)

regimes11.0ms (1.1%)

Memory
-21.5MiB live, 17.1MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))))
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Outputs
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Calls

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes7.0ms (0.7%)

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

3 calls:

2.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
53.6%2x
51.3%1y
51.3%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes6.0ms (0.6%)

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

3 calls:

2.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
18.8%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
18.8%1y
18.8%1x
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes10.0ms (1%)

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

3 calls:

7.0ms
x
1.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
1.0ms
y
Results
AccuracySegmentsBranch
11.1%1x
11.1%1y
11.1%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes4.0ms (0.4%)

Memory
8.6MiB live, 8.6MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

bsearch12.0ms (1.3%)

Memory
17.0MiB live, 17.0MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
11.0ms
-2.1701245215673352e+187
-2.6815627201388485e+178
Samples
6.0ms144×0valid
Compiler

Compiled 334 to 218 computations (34.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-sub: 1.0ms (37.1% of total)
ival-div: 1.0ms (37.1% of total)
ival-add: 1.0ms (37.1% 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.4MiB live, 9.4MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
(if (<=.f64 x #s(literal -289999999999999983333149898197184545732636985224817739986387836310804831015624766210460856554390607227333561547245088421291348992356592311494313290891163924195161951349989671115423744 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))))
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
Outputs
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
(if (<=.f64 x #s(literal -289999999999999983333149898197184545732636985224817739986387836310804831015624766210460856554390607227333561547245088421291348992356592311494313290891163924195161951349989671115423744 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))))
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))

soundness9.0ms (0.9%)

Memory
-34.0MiB live, 2.2MiB allocated
Stop Event
done
Compiler

Compiled 98 to 20 computations (79.6% saved)

preprocess38.0ms (3.9%)

Memory
15.2MiB live, 75.4MiB allocated
Compiler

Compiled 220 to 62 computations (71.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...