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

Time bar (total: 863.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB 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 9 to 8 computations (11.1% saved)

sample567.0ms (65.7%)

Memory
12.7MiB live, 873.1MiB allocated
Samples
346.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 166.0ms
ival-div: 62.0ms (37.2% of total)
ival-sub: 51.0ms (30.6% of total)
ival-add: 39.0ms (23.4% of total)
ival-true: 6.0ms (3.6% of total)
exact: 5.0ms (3% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

explain61.0ms (7%)

Memory
23.2MiB live, 99.5MiB 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: 9.0ms
ival-sub: 3.0ms (32.5% of total)
ival-div: 3.0ms (32.5% of total)
ival-add: 2.0ms (21.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess9.0ms (1%)

Memory
-31.4MiB live, 4.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.1%)

Memory
0.7MiB live, 0.7MiB 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.8%)

Memory
21.3MiB live, 21.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.015625
(+.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 (43.7% of total)
ival-sub: 1.0ms (21.8% of total)
ival-add: 1.0ms (21.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
3.9MiB live, 3.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
y
@-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
x
@0
((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB 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.5MiB live, 0.5MiB 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)

eval1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
Compiler

Compiled 60 to 14 computations (76.7% saved)

prune1.0ms (0.1%)

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

localize26.0ms (3%)

Memory
-16.6MiB live, 24.5MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y x)
accuracy0.015625
(+.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)
accuracy32.85359652793674
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Samples
20.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 (42.4% of total)
ival-sub: 1.0ms (21.2% of total)
ival-add: 1.0ms (21.2% 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
2.6MiB live, 2.6MiB 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
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
@0
((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB 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.1MiB live, 2.1MiB allocated
Compiler

Compiled 191 to 24 computations (87.4% saved)

prune2.0ms (0.3%)

Memory
3.7MiB live, 3.7MiB 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)))
10.5%
(+.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))))))
48.7%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
9.7%
#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
0.8MiB live, 0.8MiB 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

localize25.0ms (3%)

Memory
-9.8MiB live, 26.4MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.015625
(+.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.78296545866343
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
accuracy0.0
(-.f64 y x)
accuracy32.85359652793674
#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
19.0ms256×0valid
Compiler

Compiled 166 to 21 computations (87.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-add: 7.0ms (64.6% of total)
ival-sub: 2.0ms (18.4% of total)
ival-div: 2.0ms (18.4% 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.0MiB live, 3.0MiB 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
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
@-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.6MiB live, 0.6MiB 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.1%)

Memory
0.8MiB live, 0.8MiB 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
2.8MiB live, 2.8MiB allocated
Compiler

Compiled 428 to 30 computations (93% saved)

prune3.0ms (0.4%)

Memory
5.4MiB live, 5.4MiB 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)))
10.5%
(+.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)))))))))))
48.7%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
9.7%
#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.2MiB live, 1.2MiB 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

localize25.0ms (2.9%)

Memory
-9.4MiB live, 27.5MiB 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.78296545866343
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))
accuracy57.78296545866343
#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-sub: 2.0ms (41.3% of total)
ival-div: 2.0ms (41.3% of total)
ival-add: 1.0ms (20.7% 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.0MiB live, 3.0MiB 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
@0
((+ 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
@-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))

simplify0.0ms (0.1%)

Memory
0.7MiB live, 0.7MiB 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
0.8MiB live, 0.8MiB 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.3MiB live, 2.3MiB allocated
Compiler

Compiled 518 to 24 computations (95.4% saved)

prune3.0ms (0.4%)

Memory
5.7MiB live, 5.7MiB 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)))
10.5%
(+.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)))))))))))
48.7%
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))
9.7%
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x)))
Compiler

Compiled 232 to 83 computations (64.2% saved)

regimes12.0ms (1.4%)

Memory
-19.4MiB live, 18.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:

6.0ms
x
3.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
3.0ms
y
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.8%)

Memory
17.5MiB live, 17.5MiB allocated
Counts
5 → 3
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)))
(+.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
53.2%3x
48.7%1y
48.7%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes12.0ms (1.4%)

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

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

Compiled 9 to 10 computations (-11.1% saved)

regimes5.0ms (0.5%)

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

1.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
10.5%1x
10.5%1y
10.5%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
12.5MiB live, 12.5MiB 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
x
1.0ms
y
Results
AccuracySegmentsBranch
9.7%1y
9.7%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
9.7%1x
Compiler

Compiled 9 to 10 computations (-11.1% saved)

bsearch22.0ms (2.5%)

Memory
3.5MiB live, 42.4MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
1.0726089360282236e+99
1.3781136811390848e+101
11.0ms
-2.868829427510458e+208
-1.201783961103353e+205
Samples
11.0ms240×0valid
Compiler

Compiled 550 to 356 computations (35.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 3.0ms (51% of total)
ival-div: 2.0ms (34% of total)
ival-sub: 1.0ms (17% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify6.0ms (0.7%)

Memory
-23.7MiB live, 15.2MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
(if (<=.f64 x #s(literal -8499999999999999617714062680783298753429602799421651618848748213066270861598885303100052200313762976373872358175721914352158631095676050445481448498895672703148608625726473286913980874859356978193297917870080 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) (if (<=.f64 x #s(literal 135000000000000003118224745930453471782601869025020752083251341555665584050206349190433987411671252992 binary64)) #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) #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 -8499999999999999617714062680783298753429602799421651618848748213066270861598885303100052200313762976373872358175721914352158631095676050445481448498895672703148608625726473286913980874859356978193297917870080 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) (if (<=.f64 x #s(literal 135000000000000003118224745930453471782601869025020752083251341555665584050206349190433987411671252992 binary64)) #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) #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)))

soundness1.0ms (0.1%)

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

Compiled 125 to 23 computations (81.6% saved)

preprocess35.0ms (4.1%)

Memory
-4.9MiB live, 75.0MiB allocated
Compiler

Compiled 274 to 68 computations (75.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...