Graphics.Rendering.Chart.Axis.Types:hBufferRect from Chart-1.5.3

Time bar (total: 849.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample607.0ms (71.4%)

Memory
-2.7MiB live, 981.2MiB allocated
Samples
293.0ms7 600×0valid
24.0ms150×3valid
24.0ms309×1valid
22.0ms197×2valid
Precisions
Click to see histograms. Total time spent on operations: 194.0ms
ival-div: 66.0ms (34.1% of total)
ival-sub: 57.0ms (29.5% of total)
ival-add: 40.0ms (20.7% of total)
adjust: 17.0ms (8.8% of total)
ival-true: 6.0ms (3.1% of total)
exact: 5.0ms (2.6% of total)
ival-assert: 3.0ms (1.6% of total)
Bogosity

explain64.0ms (7.6%)

Memory
-4.9MiB live, 122.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 (-.f64 x y) #s(literal 2 binary64))
00-0-y
00-0-#s(literal 2 binary64)
00-0-(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
00-0-(-.f64 x y)
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.0ms482×0valid
3.0ms10×2valid
1.0ms3valid
1.0ms12×1valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-sub: 7.0ms (44.2% of total)
ival-div: 4.0ms (25.2% of total)
adjust: 2.0ms (12.6% of total)
ival-add: 2.0ms (12.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess3.0ms (0.3%)

Memory
7.0MiB live, 7.0MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Outputs
(+.f64 x (/.f64 (-.f64 x y) #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
0.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 x (/.f64 (-.f64 x y) #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 x y)
cost-diff0
(/.f64 (-.f64 x y) #s(literal 2 binary64))
cost-diff0
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
x
(/.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
y
#s(literal 2 binary64)
Outputs
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
x
(/.f64 (-.f64 x y) #s(literal 2 binary64))
(-.f64 x y)
y
#s(literal 2 binary64)

localize18.0ms (2.1%)

Memory
-5.8MiB live, 33.0MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 (-.f64 x y) #s(literal 2 binary64))
accuracy0.0
(-.f64 x y)
accuracy0.07421875
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Samples
12.0ms241×0valid
1.0ms2valid
1.0ms3valid
1.0ms1valid
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 (37.6% of total)
ival-sub: 2.0ms (37.6% of total)
ival-add: 1.0ms (18.8% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.3%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Compiler

Compiled 60 to 14 computations (76.7% saved)

prune1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

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

Compiled 31 to 24 computations (22.6% saved)

simplify0.0ms (0%)

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

Found 6 expressions of interest:

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

localize21.0ms (2.4%)

Memory
-0.4MiB live, 38.7MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.07421875
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
accuracy52.0
#s(approx (/ (- x y) 2) (-.f64 x y))
accuracy0.0
(/.f64 (-.f64 x y) #s(literal 2 binary64))
accuracy0.0
(-.f64 x y)
accuracy27.406025767507547
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Samples
13.0ms241×0valid
1.0ms3valid
1.0ms2valid
1.0ms1valid
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 (36.6% of total)
ival-sub: 2.0ms (36.6% of total)
ival-add: 1.0ms (18.3% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series2.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Compiler

Compiled 191 to 24 computations (87.4% saved)

prune2.0ms (0.2%)

Memory
5.7MiB live, 5.7MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

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

Compiled 71 to 44 computations (38% saved)

simplify1.0ms (0.1%)

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

Found 7 expressions of interest:

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

localize23.0ms (2.7%)

Memory
-33.5MiB live, 47.5MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.07421875
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
accuracy51.60377233253945
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))
accuracy52.0
#s(approx (/ (- x y) 2) (-.f64 x y))
accuracy52.0
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))
accuracy0.0
(-.f64 x y)
accuracy27.406025767507547
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y)))
accuracy52.0
#s(approx (/ (- x y) 2) (-.f64 x y))
Samples
13.0ms241×0valid
1.0ms3valid
1.0ms2valid
1.0ms1valid
Compiler

Compiled 166 to 21 computations (87.3% saved)

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

series2.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0.1%)

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

eval2.0ms (0.2%)

Memory
4.7MiB live, 4.7MiB allocated
Compiler

Compiled 428 to 30 computations (93% saved)

prune3.0ms (0.3%)

Memory
7.9MiB live, 7.9MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New15116
Fresh000
Picked022
Done033
Total15621
Accuracy
99.9%
Counts
21 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.8%
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
18.8%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
18.4%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))))
57.2%
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.4%
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y)))
Compiler

Compiled 116 to 60 computations (48.3% saved)

simplify1.0ms (0.1%)

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

Found 4 expressions of interest:

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

localize22.0ms (2.6%)

Memory
6.9MiB live, 46.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy52.0
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))
accuracy52.0
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))
accuracy52.0
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))
accuracy52.0
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
Samples
13.0ms241×0valid
1.0ms2valid
1.0ms3valid
1.0ms1valid
Compiler

Compiled 332 to 24 computations (92.8% saved)

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

series2.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0.1%)

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

rewrite2.0ms (0.2%)

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

eval1.0ms (0.2%)

Memory
2.8MiB live, 2.8MiB allocated
Compiler

Compiled 524 to 24 computations (95.4% saved)

prune3.0ms (0.4%)

Memory
7.1MiB live, 7.1MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New12012
Fresh000
Picked011
Done055
Total12618
Accuracy
99.9%
Counts
18 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.8%
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
18.8%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
18.4%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))))
57.2%
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.4%
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y)))
Compiler

Compiled 232 to 83 computations (64.2% saved)

regimes8.0ms (0.9%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes8.0ms (0.9%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes6.0ms (0.7%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes3.0ms (0.4%)

Memory
9.1MiB live, 9.2MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

simplify5.0ms (0.5%)

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

soundness1.0ms (0.1%)

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

Compiled 48 to 14 computations (70.8% saved)

preprocess32.0ms (3.8%)

Memory
-10.8MiB live, 69.7MiB allocated
Compiler

Compiled 124 to 54 computations (56.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...