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

Time bar (total: 860.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB 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)

sample590.0ms (68.6%)

Memory
11.0MiB live, 706.1MiB allocated
Samples
293.0ms7 621×0valid
27.0ms306×1valid
24.0ms204×2valid
19.0ms125×3valid
Precisions
Click to see histograms. Total time spent on operations: 197.0ms
ival-div: 62.0ms (31.5% of total)
ival-sub: 58.0ms (29.5% of total)
ival-add: 46.0ms (23.4% of total)
adjust: 16.0ms (8.1% of total)
ival-true: 6.0ms (3% of total)
exact: 5.0ms (2.5% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain76.0ms (8.8%)

Memory
40.9MiB live, 115.1MiB 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
21.0ms476×0valid
2.0ms18×1valid
2.0ms12×2valid
1.0ms3valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-div: 4.0ms (34.1% of total)
ival-sub: 3.0ms (25.6% of total)
ival-add: 3.0ms (25.6% of total)
adjust: 1.0ms (8.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess14.0ms (1.7%)

Memory
-41.2MiB live, 5.7MiB 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.2MiB live, 0.2MiB 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.8%
(+.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)

localize17.0ms (2%)

Memory
31.2MiB live, 31.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 (-.f64 x y) #s(literal 2 binary64))
accuracy0.0
(-.f64 x y)
accuracy0.109375
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Samples
10.0ms238×0valid
1.0ms2valid
1.0ms1valid
1.0ms3valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

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

series7.0ms (0.8%)

Memory
-33.0MiB live, 5.6MiB 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
4.0ms
y
@-inf
((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y))
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
x
@0
((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y))

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB 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.6MiB live, 0.6MiB 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
1.6MiB live, 1.6MiB allocated
Compiler

Compiled 60 to 14 computations (76.7% saved)

prune1.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New426
Fresh000
Picked011
Done000
Total437
Accuracy
99.8%
Counts
7 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
20.0%
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
59.3%
#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.9MiB live, 0.9MiB 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
-1.3MiB live, 37.7MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.109375
(+.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)
accuracy26.060014386089424
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Samples
13.0ms238×0valid
1.0ms1valid
1.0ms2valid
1.0ms3valid
Compiler

Compiled 86 to 20 computations (76.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (34.1% of total)
ival-sub: 2.0ms (34.1% of total)
ival-add: 1.0ms (17.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
3.5MiB live, 3.5MiB 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
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
@-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.8MiB live, 0.8MiB 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.9MiB live, 0.9MiB 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
4.7MiB live, 4.7MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New9211
Fresh000
Picked022
Done011
Total9514
Accuracy
99.8%
Counts
14 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
20.0%
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
19.1%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
59.3%
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.3%
#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.2MiB live, 1.2MiB 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

localize22.0ms (2.6%)

Memory
1.9MiB live, 40.9MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.109375
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
accuracy51.6201523859617
#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)
accuracy26.060014386089424
#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.0ms238×0valid
1.0ms1valid
1.0ms2valid
1.0ms3valid
Compiler

Compiled 166 to 21 computations (87.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sub: 3.0ms (42% of total)
ival-div: 2.0ms (28% of total)
ival-add: 1.0ms (14% 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.9MiB live, 3.9MiB 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
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
@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
@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
0.7MiB live, 0.7MiB 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.0MiB live, 1.0MiB 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)))

eval1.0ms (0.2%)

Memory
3.1MiB live, 3.1MiB allocated
Compiler

Compiled 428 to 30 computations (93% saved)

prune3.0ms (0.3%)

Memory
5.5MiB live, 5.5MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New15116
Fresh000
Picked022
Done033
Total15621
Accuracy
99.8%
Counts
21 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
20.0%
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
19.1%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
18.7%
(+.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)))))))))))
59.3%
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.3%
#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
1.5MiB live, 1.5MiB 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

localize23.0ms (2.7%)

Memory
-6.8MiB live, 37.4MiB 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.0ms238×0valid
1.0ms2valid
1.0ms1valid
1.0ms3valid
Compiler

Compiled 332 to 24 computations (92.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-add: 3.0ms (40.8% of total)
ival-div: 2.0ms (27.2% of total)
ival-sub: 2.0ms (27.2% 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.5MiB live, 3.5MiB 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
0.9MiB live, 0.9MiB 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)))))

rewrite1.0ms (0.1%)

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

eval3.0ms (0.4%)

Memory
-36.0MiB live, 2.5MiB allocated
Compiler

Compiled 524 to 24 computations (95.4% saved)

prune3.0ms (0.4%)

Memory
6.6MiB live, 6.6MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New12012
Fresh000
Picked011
Done055
Total12618
Accuracy
99.8%
Counts
18 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
20.0%
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))
19.1%
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))
18.7%
(+.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)))))))))))
59.3%
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64)))
19.3%
#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
15.1MiB live, 15.1MiB 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.8%1x
99.8%1y
99.8%1(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes7.0ms (0.8%)

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

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

Compiled 9 to 10 computations (-11.1% saved)

regimes7.0ms (0.8%)

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

3.0ms
x
2.0ms
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
2.0ms
y
Results
AccuracySegmentsBranch
20.0%1y
20.0%1x
20.0%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
8.8MiB live, 8.8MiB 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
y
1.0ms
x
Results
AccuracySegmentsBranch
19.3%1x
19.3%1y
19.3%1(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

simplify4.0ms (0.5%)

Memory
10.7MiB live, 10.7MiB 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.6MiB live, 1.6MiB allocated
Stop Event
done
Compiler

Compiled 48 to 14 computations (70.8% saved)

preprocess33.0ms (3.8%)

Memory
-26.8MiB live, 53.2MiB allocated
Compiler

Compiled 124 to 54 computations (56.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...