Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, A

Time bar (total: 6.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated; 0ms collecting garbage
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 13 to 12 computations (7.7% saved)

sample1.6s (24.4%)

Memory
16.0MiB live, 1 667.3MiB allocated; 334ms collecting garbage
Samples
1.0s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 592.0ms
const: 254.0ms (42.9% of total)
ival-sub: 141.0ms (23.8% of total)
ival-mult: 133.0ms (22.5% of total)
ival-add: 43.0ms (7.3% of total)
exact: 9.0ms (1.5% of total)
ival-true: 6.0ms (1% of total)
ival-assert: 3.0ms (0.5% of total)
adjust: 2.0ms (0.3% of total)
Bogosity

explain205.0ms (3.2%)

Memory
-21.4MiB live, 239.3MiB allocated; 27ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 y #s(literal 1 binary64))
00-0-#s(literal 1 binary64)
00-0-(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
00-0-(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
00-0-#s(literal 918938533204673/1000000000000000 binary64)
00-0-(*.f64 x (-.f64 y #s(literal 1 binary64)))
00-0-y
00-0-(*.f64 y #s(literal 1/2 binary64))
00-0-#s(literal 1/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
104.0ms512×0valid
Compiler

Compiled 87 to 34 computations (60.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 77.0ms
const: 61.0ms (78.8% of total)
ival-mult: 7.0ms (9% of total)
ival-sub: 5.0ms (6.5% of total)
ival-add: 2.0ms (2.6% of total)
exact: 1.0ms (1.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess268.0ms (4.2%)

Memory
-19.9MiB live, 214.6MiB allocated; 45ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02461
15761
211858
323257
435957
565257
6379855
01011
01511
12511
24311
37911
413311
535211
6232211
7616411
081939
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(fma.f64 #s(literal -1/2 binary64) y (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)))
Compiler

Compiled 11 to 10 computations (9.1% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Compiler

Compiled 11 to 10 computations (9.1% saved)

simplify179.0ms (2.8%)

Memory
5.8MiB live, 152.5MiB allocated; 11ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 y #s(literal 1 binary64))
cost-diff0
(*.f64 x (-.f64 y #s(literal 1 binary64)))
cost-diff1
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
cost-diff1
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01036
01536
12536
24336
37936
413336
535236
6232236
7616436
0819333
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
x
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
(*.f64 y #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
Outputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(fma.f64 #s(literal -1/2 binary64) y (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)))
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
(fma.f64 #s(literal -1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
x
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
(*.f64 y #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)

localize36.0ms (0.6%)

Memory
-0.4MiB live, 45.8MiB allocated; 5ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
accuracy0.0
(*.f64 y #s(literal 1/2 binary64))
accuracy0.00390625
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
accuracy0.00390625
(*.f64 x (-.f64 y #s(literal 1 binary64)))
Samples
30.0ms256×0valid
Compiler

Compiled 38 to 12 computations (68.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
const: 4.0ms (33.6% of total)
ival-sub: 3.0ms (25.2% of total)
ival-mult: 3.0ms (25.2% of total)
ival-add: 1.0ms (8.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
11.5MiB live, 11.5MiB allocated; 0ms collecting garbage
Counts
5 → 34
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(-.f64 y #s(literal 1 binary64))
(*.f64 y #s(literal 1/2 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1/2 y)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (- (* x (- y 1)) (* 1/2 y))))
#s(approx (* x (- y 1)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* x (- (+ y (* -1/2 (/ y x))) 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (+ (* -1 x) (* y (- x 1/2)))))
#s(approx (* x (- y 1)) #s(hole binary64 (* -1 x)))
#s(approx (* x (- y 1)) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (* y 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* y (- (+ x (* -1 (/ x y))) 1/2))))
#s(approx (* x (- y 1)) #s(hole binary64 (* x y)))
#s(approx (* x (- y 1)) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (/ x y)))))))
#s(approx (* x (- y 1)) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
y
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- (* x (- y 1)) (* y 1/2)) (* x (- y 1)) (- y 1) (* y 1/2))
1.0ms
x
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- (* x (- y 1)) (* y 1/2)) (* x (- y 1)) (- y 1) (* y 1/2))
1.0ms
y
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- (* x (- y 1)) (* y 1/2)) (* x (- y 1)) (- y 1) (* y 1/2))
1.0ms
x
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- (* x (- y 1)) (* y 1/2)) (* x (- y 1)) (- y 1) (* y 1/2))
1.0ms
x
@0
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- (* x (- y 1)) (* y 1/2)) (* x (- y 1)) (- y 1) (* y 1/2))

simplify238.0ms (3.7%)

Memory
-17.1MiB live, 180.4MiB allocated; 82ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0113513
1295512
2912512
32832444
46349444
08041426
Stop Event
iter limit
node limit
Counts
34 → 34
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1/2 y)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (- (* x (- y 1)) (* 1/2 y))))
#s(approx (* x (- y 1)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* x (- (+ y (* -1/2 (/ y x))) 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (+ (* -1 x) (* y (- x 1/2)))))
#s(approx (* x (- y 1)) #s(hole binary64 (* -1 x)))
#s(approx (* x (- y 1)) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (* y 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* y (- (+ x (* -1 (/ x y))) 1/2))))
#s(approx (* x (- y 1)) #s(hole binary64 (* x y)))
#s(approx (* x (- y 1)) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (/ x y)))))))
#s(approx (* x (- y 1)) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1/2 y)))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (- (* x (- y 1)) (* 1/2 y))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) y x)))
#s(approx (* x (- y 1)) #s(hole binary64 (* x (- y 1))))
#s(approx (* x (- y 1)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* x (- (+ y (* -1/2 (/ y x))) 1))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) y x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* 1/2 (/ y x)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) y x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 x))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (+ (* -1 x) (* y (- x 1/2)))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) y x)))
#s(approx (* x (- y 1)) #s(hole binary64 (* -1 x)))
#s(approx (* x (- y 1)) (neg.f64 x))
#s(approx (* x (- y 1)) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (* x (- y 1)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(literal -1 binary64))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx (* y 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* y 1/2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* y (- (+ x (* -1 (/ x y))) 1/2))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) y x)))
#s(approx (* x (- y 1)) #s(hole binary64 (* x y)))
#s(approx (* x (- y 1)) (*.f64 y x))
#s(approx (* x (- y 1)) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (* x (- y 1)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) y)
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (- y 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (- (* x (- y 1)) (* y 1/2)) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (/ x y)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (neg.f64 (fma.f64 (-.f64 #s(literal 1/2 binary64) x) y x)))
#s(approx (* x (- y 1)) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (* x (- y 1)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
#s(approx (- y 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y))

rewrite69.0ms (1.1%)

Memory
17.0MiB live, 64.2MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
01531
16531
052329
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 52
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(-.f64 y #s(literal 1 binary64))
(*.f64 y #s(literal 1/2 binary64))
Outputs
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)))) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64))))
(/.f64 (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64))) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (pow.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (fma.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))) (neg.f64 (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (fma.f64 #s(literal 1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))))
(/.f64 (neg.f64 (+.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64)) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (fma.f64 #s(literal 1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))))
(/.f64 (+.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 3 binary64))) (+.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (-.f64 (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))))))
(/.f64 (+.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 3 binary64))) (fma.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64))))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x (fma.f64 (neg.f64 y) #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))
(fma.f64 x (-.f64 y #s(literal 1 binary64)) (fma.f64 (neg.f64 y) #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))
(-.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (*.f64 #s(literal 1/2 binary64) y))
(-.f64 (/.f64 (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (fma.f64 #s(literal 1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))) (/.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (fma.f64 #s(literal 1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))))
(-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)))
(+.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 3 binary64)) (fma.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)))) (/.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (fma.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))) (pow.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 2 binary64)))))
(+.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)))
(+.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y)) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (fma.f64 (neg.f64 y) #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 y) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 y y)))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (*.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/4 binary64) (*.f64 y y))) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x)))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (*.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))))
(fma.f64 (neg.f64 y) #s(literal 1/2 binary64) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(fma.f64 #s(literal 1/2 binary64) (neg.f64 y) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(fma.f64 x (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 x (-.f64 y #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 y y)) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x))))
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))) (/.f64 (*.f64 #s(literal 1/8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 #s(literal 1/2 binary64) y (*.f64 (-.f64 y #s(literal 1 binary64)) x)) (pow.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))))
(-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (*.f64 (neg.f64 (neg.f64 y)) #s(literal 1/2 binary64)))
(-.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 (*.f64 (neg.f64 y) #s(literal 1/2 binary64)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(+.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (*.f64 #s(literal -1/2 binary64) y))
(+.f64 (*.f64 (-.f64 y #s(literal 1 binary64)) x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 y y #s(literal -1 binary64)) x) (-.f64 y #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(/.f64 (*.f64 x (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(/.f64 (neg.f64 (fma.f64 y y #s(literal -1 binary64))) (neg.f64 (-.f64 y #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 y y (-.f64 y #s(literal -1 binary64)))))
(/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 y #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 y #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))))
(-.f64 y #s(literal 1 binary64))
(+.f64 y #s(literal -1 binary64))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 y #s(literal 1/2 binary64))

eval8.0ms (0.1%)

Memory
16.8MiB live, 16.8MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 356 to 256 computations (81.1% saved)

prune10.0ms (0.2%)

Memory
-35.0MiB live, 12.7MiB allocated; 1ms collecting garbage
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New64670
Fresh000
Picked101
Done000
Total65671
Accuracy
100.0%
Counts
71 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
77.1%
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) #s(literal 918938533204673/1000000000000000 binary64))
100.0%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
45.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
49.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
56.0%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
52.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
Compiler

Compiled 204 to 170 computations (16.7% saved)

simplify172.0ms (2.7%)

Memory
15.1MiB live, 158.7MiB allocated; 10ms collecting garbage
Localize:

Found 14 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 y #s(literal 1 binary64))
cost-diff0
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
cost-diff0
(-.f64 x #s(literal 1/2 binary64))
cost-diff0
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
cost-diff0
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
cost-diff0
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
cost-diff0
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
cost-diff0
(-.f64 x #s(literal 1/2 binary64))
cost-diff0
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023137
031137
147137
275132
3126132
4197132
5415132
62430132
76346132
08098127
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(literal 918938533204673/1000000000000000 binary64)
x
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
#s(literal -1/2 binary64)
y
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
x
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(literal 918938533204673/1000000000000000 binary64)
x
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
#s(literal -1/2 binary64)
y
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
x

localize68.0ms (1.1%)

Memory
-2.3MiB live, 96.5MiB allocated; 6ms collecting garbage
Localize:

Found 14 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y #s(literal 1 binary64))
accuracy0.00390625
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
accuracy28.173848519182005
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
accuracy0.0
(-.f64 x #s(literal 1/2 binary64))
accuracy0.00390625
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
accuracy30.31469338840153
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
accuracy0.0
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
accuracy34.89481358755432
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
accuracy0.0
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
accuracy32.20175152909647
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
accuracy0.0
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
accuracy0.0
(-.f64 x #s(literal 1/2 binary64))
accuracy0.0
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
accuracy0.0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
Samples
39.0ms256×0valid
Compiler

Compiled 111 to 20 computations (82% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
ival-mult: 13.0ms (48.4% of total)
ival-sub: 5.0ms (18.6% of total)
const: 5.0ms (18.6% of total)
ival-add: 3.0ms (11.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series8.0ms (0.1%)

Memory
14.7MiB live, 14.7MiB allocated; 0ms collecting garbage
Counts
12 → 54
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 x #s(literal 1/2 binary64))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1/2 y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (+ (* -1/2 y) (* x y))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x (+ y (* -1/2 (/ y x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* y (- x 1/2))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- y 1) x) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* -1/2 y)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (* 918938533204673/1000000000000000 (/ 1 y)) 1/2))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x y)))
#s(approx (* (- y 1) x) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (- 1/2 (* 918938533204673/1000000000000000 (/ 1 y)))))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* -1/2 y) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
y
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* -1/2 y) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
y
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* -1/2 y) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
x
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* -1/2 y) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
x
@0
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* -1/2 y) 918938533204673/1000000000000000) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))

simplify136.0ms (2.1%)

Memory
-25.9MiB live, 165.9MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177722
1482717
21442649
34179648
08388604
Stop Event
iter limit
node limit
Counts
54 → 54
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1/2 y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (+ (* -1/2 y) (* x y))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x (+ y (* -1/2 (/ y x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* y (- x 1/2))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- y 1) x) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* -1/2 y)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (* 918938533204673/1000000000000000 (/ 1 y)) 1/2))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x y)))
#s(approx (* (- y 1) x) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (- 1/2 (* 918938533204673/1000000000000000 (/ 1 y)))))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1/2 y)))
#s(approx (* (- x 1/2) y) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* (- x 1/2) y) #s(hole binary64 (+ (* -1/2 y) (* x y))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (* (- y 1) x) #s(hole binary64 (* x (- y 1))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) x)
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x y)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x (+ y (* -1/2 (/ y x))))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* y (- x 1/2))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- y 1) x) (neg.f64 x))
#s(approx (* (- y 1) x) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(literal -1 binary64))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* -1/2 y)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (* 918938533204673/1000000000000000 (/ 1 y)) 1/2))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (* (- y 1) x) #s(hole binary64 (* x y)))
#s(approx (* (- y 1) x) (*.f64 y x))
#s(approx (* (- y 1) x) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) y)
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (- y 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (- 1/2 (* 918938533204673/1000000000000000 (/ 1 y)))))))
#s(approx (+ (* -1/2 y) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
#s(approx (- y 1) (*.f64 (+.f64 (/.f64 #s(literal -1 binary64) y) #s(literal 1 binary64)) y))

rewrite86.0ms (1.3%)

Memory
32.9MiB live, 108.6MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023116
031116
1131116
01054111
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
12 → 71
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 x #s(literal 1/2 binary64))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(/.f64 (-.f64 (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 x x)) (+.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) x))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64))) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)))
(/.f64 (-.f64 (pow.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) (fma.f64 x x (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64))) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (*.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))))
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(fma.f64 y (-.f64 x #s(literal 1/2 binary64)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))) (/.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))))
(-.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(literal 918938533204673/1000000000000000 binary64)) x)
(-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (neg.f64 (-.f64 x #s(literal 1/2 binary64))) y))
(-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (neg.f64 y) (-.f64 x #s(literal 1/2 binary64))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 x (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)))))
(+.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(+.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1/4 binary64))) (neg.f64 (+.f64 #s(literal 1/2 binary64) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 x x #s(literal -1/4 binary64)) (+.f64 #s(literal 1/2 binary64) x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1/2 binary64) x)) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))))
(-.f64 x #s(literal 1/2 binary64))
(/.f64 (neg.f64 (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(/.f64 (neg.f64 (-.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))))
(/.f64 (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 x x)) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(/.f64 (-.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64)))
(-.f64 (/.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(-.f64 (/.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
(/.f64 (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 2 binary64))) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1/2 binary64) y)))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) #s(literal -844448027808355901771309036929/1000000000000000000000000000000 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64))))
(/.f64 (neg.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64))) (neg.f64 (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 y #s(literal -918938533204673/2000000000000000 binary64))))))
(/.f64 (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) #s(literal -844448027808355901771309036929/1000000000000000000000000000000 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)))
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64)) (+.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (-.f64 (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 2 binary64)) (*.f64 y #s(literal -918938533204673/2000000000000000 binary64)))))
(/.f64 (fma.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64)) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 y #s(literal -918938533204673/2000000000000000 binary64)))))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(fma.f64 y #s(literal -1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64))) (/.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (-.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 (neg.f64 y) #s(literal -1/2 binary64)))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64)) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 y #s(literal -918938533204673/2000000000000000 binary64))))) (/.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 y #s(literal -918938533204673/2000000000000000 binary64))))))
(+.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1/4 binary64)) y) (+.f64 #s(literal 1/2 binary64) x))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) y) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64))))
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1/4 binary64))) (+.f64 #s(literal 1/2 binary64) x))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 y y #s(literal -1 binary64)) x) (-.f64 y #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(/.f64 (*.f64 x (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal -1 binary64)))
(/.f64 (*.f64 x (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(/.f64 (neg.f64 (fma.f64 y y #s(literal -1 binary64))) (neg.f64 (-.f64 y #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 y y (-.f64 y #s(literal -1 binary64)))))
(/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 y #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64))))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 y #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 y y (-.f64 y #s(literal -1 binary64)))))
(-.f64 y #s(literal 1 binary64))
(+.f64 y #s(literal -1 binary64))

eval26.0ms (0.4%)

Memory
7.1MiB live, 45.4MiB allocated; 17ms collecting garbage
Compiler

Compiled 2 868 to 380 computations (86.8% saved)

prune31.0ms (0.5%)

Memory
-16.9MiB live, 43.5MiB allocated; 29ms collecting garbage
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New1106116
Fresh101
Picked145
Done000
Total11210122
Accuracy
100.0%
Counts
122 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
77.1%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
45.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
49.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
56.0%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
52.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
29.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
25.3%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
28.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
22.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
Compiler

Compiled 301 to 233 computations (22.6% saved)

simplify151.0ms (2.3%)

Memory
36.4MiB live, 173.6MiB allocated; 20ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- y 1) y)
cost-diff0
(*.f64 #s(approx (- y 1) y) x)
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
cost-diff0
#s(approx (- x 1/2) #s(literal -1/2 binary64))
cost-diff0
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
cost-diff0
(neg.f64 x)
cost-diff0
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
cost-diff0
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
cost-diff0
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
cost-diff0
(-.f64 x #s(literal 1/2 binary64))
cost-diff0
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027164
033164
147164
269164
3112164
4182164
5405164
62438164
76358164
08114154
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
(neg.f64 x)
x
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
y
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
(*.f64 #s(approx (- y 1) y) x)
#s(approx (- y 1) y)
y
x
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
(neg.f64 x)
x
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
y
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
(*.f64 #s(approx (- y 1) y) x)
#s(approx (- y 1) y)
y
x

localize69.0ms (1.1%)

Memory
-35.3MiB live, 112.5MiB allocated; 24ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(*.f64 #s(approx (- y 1) y) x)
accuracy28.173848519182005
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
accuracy30.20626662690426
#s(approx (- y 1) y)
accuracy0.00390625
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
accuracy30.31469338840153
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
accuracy34.9752397326822
#s(approx (- x 1/2) #s(literal -1/2 binary64))
accuracy0.0
(neg.f64 x)
accuracy28.086895743090444
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
accuracy32.20175152909647
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
accuracy32.20175152909647
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
accuracy34.933252810020456
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
accuracy0.0
(-.f64 x #s(literal 1/2 binary64))
accuracy0.0
(neg.f64 x)
accuracy0.0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
accuracy28.086895743090444
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
Samples
58.0ms256×0valid
Compiler

Compiled 107 to 19 computations (82.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-add: 13.0ms (41.8% of total)
ival-mult: 6.0ms (19.3% of total)
ival-sub: 5.0ms (16.1% of total)
const: 4.0ms (12.8% of total)
ival-neg: 1.0ms (3.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)

series6.0ms (0.1%)

Memory
12.3MiB live, 12.3MiB allocated; 0ms collecting garbage
Counts
14 → 50
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(-.f64 x #s(literal 1/2 binary64))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
(*.f64 #s(approx (- y 1) y) x)
#s(approx (- y 1) y)
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1/2 y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (+ (* -1/2 y) (* x y))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x (+ y (* -1/2 (/ y x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* y (- x 1/2))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- y 1) x) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x y)))
#s(approx (* (- y 1) x) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (neg x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
x
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (neg x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
y
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (neg x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
y
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (neg x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))
1.0ms
x
@0
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (neg x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- y 1) x) (- y 1))

simplify120.0ms (1.9%)

Memory
23.0MiB live, 165.8MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168678
1463673
21404605
34065604
08425568
Stop Event
iter limit
node limit
Counts
50 → 50
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1/2 y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (+ (* -1/2 y) (* x y))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x y)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x (+ y (* -1/2 (/ y x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* y (- x 1/2))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- y 1) x) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (* (- y 1) x) #s(hole binary64 (* x y)))
#s(approx (* (- y 1) x) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (neg x) (neg.f64 x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1/2 y)))
#s(approx (* (- x 1/2) y) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (* (- x 1/2) y) #s(hole binary64 (+ (* -1/2 y) (* x y))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (* (- y 1) x) #s(hole binary64 (* x (- y 1))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) x)
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x y)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* x (+ y (* -1/2 (/ y x))))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (* (- x 1/2) y) #s(hole binary64 (* y (- x 1/2))))
#s(approx (* (- x 1/2) y) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 x)))
#s(approx (* (- y 1) x) (neg.f64 x))
#s(approx (* (- y 1) x) #s(hole binary64 (+ (* -1 x) (* x y))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 -1))
#s(approx (- y 1) #s(literal -1 binary64))
#s(approx (- y 1) #s(hole binary64 (- y 1)))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (* (- y 1) x) #s(hole binary64 (* x y)))
#s(approx (* (- y 1) x) (*.f64 y x))
#s(approx (* (- y 1) x) #s(hole binary64 (* y (+ x (* -1 (/ x y))))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 y))
#s(approx (- y 1) y)
#s(approx (- y 1) #s(hole binary64 (* y (- 1 (/ 1 y)))))
#s(approx (- y 1) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (* (- y 1) x) #s(hole binary64 (* -1 (* y (+ (* -1 x) (/ x y))))))
#s(approx (* (- y 1) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- y 1) #s(hole binary64 (* -1 (* y (- (/ 1 y) 1)))))
#s(approx (- y 1) (*.f64 (+.f64 (/.f64 #s(literal -1 binary64) y) #s(literal 1 binary64)) y))

rewrite76.0ms (1.2%)

Memory
-22.5MiB live, 107.3MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027147
033147
1121147
0866142
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
14 → 35
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(-.f64 x #s(literal 1/2 binary64))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
(*.f64 #s(approx (- y 1) y) x)
#s(approx (- y 1) y)
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(/.f64 (-.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64))) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64))) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64))) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (*.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64))) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(fma.f64 y (-.f64 x #s(literal 1/2 binary64)) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(-.f64 (/.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))) (/.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))))
(-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (neg.f64 (-.f64 x #s(literal 1/2 binary64))) y))
(-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (neg.f64 y) (-.f64 x #s(literal 1/2 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 3 binary64)) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (pow.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(literal 2 binary64)))))
(+.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(+.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1/4 binary64))) (neg.f64 (+.f64 #s(literal 1/2 binary64) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 x x #s(literal -1/4 binary64)) (+.f64 #s(literal 1/2 binary64) x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1/2 binary64) x)) (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 x x (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/4 binary64)))))
(-.f64 x #s(literal 1/2 binary64))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
(*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
(*.f64 #s(approx (- y 1) y) x)
(*.f64 x #s(approx (- y 1) y))
#s(approx (- y 1) y)

eval6.0ms (0.1%)

Memory
18.9MiB live, 18.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 575 to 190 computations (87.9% saved)

prune6.0ms (0.1%)

Memory
15.6MiB live, 15.6MiB allocated; 0ms collecting garbage
Pruning

10 alts after pruning (2 fresh and 8 done)

PrunedKeptTotal
New58159
Fresh011
Picked055
Done134
Total591069
Accuracy
100.0%
Counts
69 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
77.1%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
56.0%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
45.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
49.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
52.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
29.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
25.3%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
28.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
22.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
Compiler

Compiled 191 to 147 computations (23% saved)

simplify378.0ms (5.9%)

Memory
50.6MiB live, 321.0MiB allocated; 187ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
cost-diff0
#s(approx (- x 1/2) x)
cost-diff0
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
cost-diff0
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
cost-diff0
#s(approx (- x 1/2) x)
cost-diff0
(fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02096
02596
14096
26896
311996
419796
541896
6242996
7634996
0810192
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (- x 1/2) x)
x
y
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (- x 1/2) x)
x
y
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(literal 918938533204673/1000000000000000 binary64)
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (- x 1/2) x)
x
y
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (- x 1/2) x)
x
y
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
#s(literal 918938533204673/1000000000000000 binary64)

localize89.0ms (1.4%)

Memory
23.1MiB live, 124.3MiB allocated; 56ms collecting garbage
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
accuracy0.0
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
accuracy0.0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
accuracy28.018253267604177
#s(approx (- x 1/2) x)
accuracy0.0
(neg.f64 x)
accuracy0.0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
accuracy28.018253267604177
#s(approx (- x 1/2) x)
accuracy28.086895743090444
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
Samples
80.0ms256×0valid
Compiler

Compiled 61 to 17 computations (72.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 71.0ms
ival-sub: 57.0ms (79.9% of total)
const: 6.0ms (8.4% of total)
ival-mult: 5.0ms (7% of total)
ival-add: 2.0ms (2.8% of total)
ival-neg: 1.0ms (1.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)

series6.0ms (0.1%)

Memory
-29.6MiB live, 17.5MiB allocated; 3ms collecting garbage
Counts
8 → 33
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (- x 1/2) x)
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(neg.f64 x)
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
Calls

6 calls:

TimeVariablePointExpression
3.0ms
x
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- 918938533204673/1000000000000000 x) (neg x))
1.0ms
x
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- 918938533204673/1000000000000000 x) (neg x))
1.0ms
y
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- 918938533204673/1000000000000000 x) (neg x))
1.0ms
y
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- 918938533204673/1000000000000000 x) (neg x))
1.0ms
x
@0
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- x 1/2) (- 918938533204673/1000000000000000 x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (- 918938533204673/1000000000000000 x) (neg x))

simplify105.0ms (1.6%)

Memory
36.3MiB live, 180.0MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0132515
1367510
21175442
33498442
08172406
Stop Event
iter limit
node limit
Counts
33 → 33
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- 918938533204673/1000000000000000 (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1/2 y))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 -1/2))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (- x 1/2) #s(hole binary64 (- x 1/2)))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 918938533204673/1000000000000000))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (neg x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- y 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 x))
#s(approx (- x 1/2) x)
#s(approx (- x 1/2) #s(hole binary64 (* x (- 1 (* 1/2 (/ 1 x))))))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 x)))
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (- x 1/2) #s(hole binary64 (* -1 (* x (- (* 1/2 (/ 1 x)) 1)))))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (- 918938533204673/1000000000000000 x) #s(hole binary64 (* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))))
#s(approx (- 918938533204673/1000000000000000 x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (* -1 x))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- 918938533204673/1000000000000000 x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- x 1/2))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (* -1 x))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(hole binary64 (* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) #s(hole binary64 (* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))))
#s(approx (+ (* (- x 1/2) y) (- 918938533204673/1000000000000000 x)) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))

rewrite70.0ms (1.1%)

Memory
-35.8MiB live, 108.8MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02086
02586
112486
0100684
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 44
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (- x 1/2) x)
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(neg.f64 x)
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(/.f64 (-.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64))) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 #s(approx (- x 1/2) x) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64))) (-.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64))) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (*.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64))) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64))))
(fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(fma.f64 y #s(approx (- x 1/2) x) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (-.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))) (/.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))))
(-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (neg.f64 #s(approx (- x 1/2) x)) y))
(-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 (neg.f64 y) #s(approx (- x 1/2) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64)) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) #s(literal 3 binary64)) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)))))
(+.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
(+.f64 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)) (*.f64 #s(approx (- x 1/2) x) y))
#s(approx (- x 1/2) x)
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(/.f64 (-.f64 (*.f64 (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 x x)) (+.f64 (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) x))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64))) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 #s(approx (- x 1/2) x) y)))
(/.f64 (-.f64 (pow.f64 (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) (fma.f64 x x (*.f64 (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(approx (- x 1/2) x) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(approx (- x 1/2) x) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64))) (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)) (-.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (*.f64 (*.f64 #s(approx (- x 1/2) x) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))))
(/.f64 (+.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64))))
(fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(fma.f64 y #s(approx (- x 1/2) x) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)) (-.f64 (*.f64 #s(approx (- x 1/2) x) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))) (/.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(approx (- x 1/2) x) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))))
(-.f64 (fma.f64 #s(approx (- x 1/2) x) y #s(literal 918938533204673/1000000000000000 binary64)) x)
(-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (neg.f64 #s(approx (- x 1/2) x)) y))
(-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (neg.f64 y) #s(approx (- x 1/2) x)))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 x (*.f64 #s(approx (- x 1/2) x) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 3 binary64)) (fma.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (-.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 #s(approx (- x 1/2) x) y)) (pow.f64 (*.f64 #s(approx (- x 1/2) x) y) #s(literal 2 binary64)))))
(+.f64 (*.f64 #s(approx (- x 1/2) x) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(+.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 #s(approx (- x 1/2) x) y))
(/.f64 (neg.f64 (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(/.f64 (neg.f64 (-.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))))
(/.f64 (-.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (*.f64 x x)) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(/.f64 (-.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64)))
(-.f64 (/.f64 #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(-.f64 (/.f64 #s(literal 775995832041789488711238455368417219672369217/1000000000000000000000000000000000000000000000 binary64) (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 #s(literal 918938533204673/1000000000000000 binary64) x) #s(literal 844448027808355901771309036929/1000000000000000000000000000000 binary64))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(neg.f64 x)

eval6.0ms (0.1%)

Memory
17.5MiB live, 17.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 938 to 209 computations (89.2% saved)

prune7.0ms (0.1%)

Memory
-27.1MiB live, 20.0MiB allocated; 3ms collecting garbage
Pruning

10 alts after pruning (0 fresh and 10 done)

PrunedKeptTotal
New57057
Fresh000
Picked022
Done088
Total571067
Accuracy
100.0%
Counts
67 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
77.1%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
56.0%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
45.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
49.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
52.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
29.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
25.3%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
28.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
22.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
Compiler

Compiled 447 to 199 computations (55.5% saved)

regimes18.0ms (0.3%)

Memory
2.6MiB live, 49.7MiB allocated; 2ms collecting garbage
Counts
14 → 1
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
Calls

4 calls:

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

Compiled 22 to 22 computations (0% saved)

regimes17.0ms (0.3%)

Memory
1.0MiB live, 47.9MiB allocated; 2ms collecting garbage
Counts
12 → 3
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 (-.f64 y #s(literal 1 binary64)) x)) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
Calls

4 calls:

5.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
4.0ms
y
4.0ms
x
4.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Results
AccuracySegmentsBranch
99.9%3(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
99.9%3(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
99.2%3x
99.9%3y
Compiler

Compiled 22 to 22 computations (0% saved)

regimes10.0ms (0.2%)

Memory
31.2MiB live, 31.2MiB allocated; 0ms collecting garbage
Counts
10 → 3
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
Calls

3 calls:

3.0ms
y
3.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
3.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Results
AccuracySegmentsBranch
81.2%2(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
81.2%2(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
99.8%3y
Compiler

Compiled 21 to 20 computations (4.8% saved)

regimes108.0ms (1.7%)

Memory
-1.5MiB live, 44.8MiB allocated; 109ms collecting garbage
Counts
9 → 3
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
Calls

2 calls:

104.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
97.9%3x
99.1%3y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes13.0ms (0.2%)

Memory
-23.4MiB live, 26.6MiB allocated; 6ms collecting garbage
Counts
6 → 4
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
Calls

4 calls:

6.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
2.0ms
y
2.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
2.0ms
x
Results
AccuracySegmentsBranch
69.3%4(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
69.3%4(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
79.4%6x
79.0%4y
Compiler

Compiled 22 to 22 computations (0% saved)

regimes3.0ms (0%)

Memory
8.4MiB live, 8.4MiB allocated; 0ms collecting garbage
Counts
5 → 4
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
Calls

1 calls:

2.0ms
y
Results
AccuracySegmentsBranch
79.0%4y
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes4.0ms (0.1%)

Memory
12.8MiB live, 12.8MiB allocated; 0ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
Calls

2 calls:

2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
55.3%3x
71.9%3y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes8.0ms (0.1%)

Memory
-26.1MiB live, 20.9MiB allocated; 1ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
Calls

4 calls:

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

Compiled 22 to 22 computations (0% saved)

regimes6.0ms (0.1%)

Memory
17.6MiB live, 17.6MiB allocated; 0ms collecting garbage
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
Calls

4 calls:

2.0ms
y
1.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
1.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
1.0ms
x
Results
AccuracySegmentsBranch
48.3%3(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
48.3%3(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
48.3%3x
32.3%3y
Compiler

Compiled 22 to 22 computations (0% saved)

regimes5.0ms (0.1%)

Memory
14.7MiB live, 14.7MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
Calls

4 calls:

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

Compiled 22 to 22 computations (0% saved)

bsearch40.0ms (0.6%)

Memory
-7.9MiB live, 86.3MiB allocated; 9ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
19.0ms
2.250464523596032e-16
4.7715613163816656e-8
17.0ms
-1.0638793878491225e+24
-6215606860188525000.0
Samples
22.0ms288×0valid
Compiler

Compiled 770 to 618 computations (19.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
const: 6.0ms (39.8% of total)
ival-mult: 4.0ms (26.5% of total)
ival-sub: 3.0ms (19.9% of total)
ival-add: 1.0ms (6.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch22.0ms (0.3%)

Memory
3.4MiB live, 50.2MiB allocated; 3ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
19.0ms
2.0689565018752865e-7
253201654024.8168
1.0ms
-1.0638793878491225e+24
-6215606860188525000.0
Samples
13.0ms160×0valid
Compiler

Compiled 755 to 623 computations (17.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 4.0ms (44.4% of total)
const: 3.0ms (33.3% of total)
ival-sub: 2.0ms (22.2% of total)
ival-add: 1.0ms (11.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch40.0ms (0.6%)

Memory
-6.0MiB live, 87.4MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
17.0ms
2.0689565018752865e-7
253201654024.8168
19.0ms
-951840438056952.0
-0.21739857285739272
Samples
23.0ms304×0valid
Compiler

Compiled 654 to 595 computations (9% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
const: 7.0ms (43.7% of total)
ival-mult: 4.0ms (25% of total)
ival-sub: 3.0ms (18.7% of total)
ival-add: 2.0ms (12.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch31.0ms (0.5%)

Memory
15.9MiB live, 65.2MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
16.0ms
7.278049274935062e+145
4.413605157984803e+148
1.0ms
2.0689565018752865e-7
253201654024.8168
10.0ms
-951840438056952.0
-0.21739857285739272
Samples
15.0ms224×0valid
Compiler

Compiled 974 to 807 computations (17.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
const: 4.0ms (39.1% of total)
ival-mult: 3.0ms (29.3% of total)
ival-sub: 2.0ms (19.6% of total)
ival-add: 1.0ms (9.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch3.0ms (0%)

Memory
7.2MiB live, 7.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
7.278049274935062e+145
4.413605157984803e+148
1.0ms
2.0689565018752865e-7
253201654024.8168
1.0ms
-951840438056952.0
-0.21739857285739272
Compiler

Compiled 998 to 815 computations (18.3% saved)

bsearch17.0ms (0.3%)

Memory
-18.1MiB live, 28.3MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
15.0ms
2.0689565018752865e-7
253201654024.8168
1.0ms
-1.0638793878491225e+24
-6215606860188525000.0
Samples
10.0ms112×0valid
Compiler

Compiled 660 to 585 computations (11.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-add: 3.0ms (41.5% of total)
const: 2.0ms (27.7% of total)
ival-sub: 1.0ms (13.8% of total)
ival-mult: 1.0ms (13.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch39.0ms (0.6%)

Memory
21.4MiB live, 66.2MiB allocated; 8ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
15.0ms
0.8267010268873837
12907761.82601914
20.0ms
-19439.977302435585
-0.14505011391745196
Samples
20.0ms288×0valid
Compiler

Compiled 644 to 555 computations (13.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
const: 5.0ms (37.2% of total)
ival-mult: 4.0ms (29.8% of total)
ival-sub: 3.0ms (22.3% of total)
ival-add: 1.0ms (7.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify66.0ms (1%)

Memory
-23.3MiB live, 71.4MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073463
1102463
2122463
3161463
4221463
5435463
62624463
76303463
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(if (<=.f64 y #s(literal -6300000000000000000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (if (<=.f64 y #s(literal 3551219595117973/75557863725914323419136 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))))
(if (<=.f64 y #s(literal -6300000000000000000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (if (<=.f64 y #s(literal 3500000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))))
(if (<=.f64 y #s(literal -2476979795053773/2251799813685248 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))))
(if (<=.f64 y #s(literal -5404319552844595/1125899906842624 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 25499999999999999261456890920538183433284501396271570539760484922663969639431547897550850560733103231670728853931262477222342522291815636027431714816 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))))))
(if (<=.f64 y #s(literal -5404319552844595/1125899906842624 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 25499999999999999261456890920538183433284501396271570539760484922663969639431547897550850560733103231670728853931262477222342522291815636027431714816 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)))))
(if (<=.f64 y #s(literal -6300000000000000000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)) (if (<=.f64 y #s(literal 4165829655317709/2251799813685248 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(if (<=.f64 x #s(literal -8286623314361713/9007199254740992 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))) (if (<=.f64 x #s(literal 8106479329266893/9007199254740992 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(if (<=.f64 y #s(literal -6300000000000000000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (if (<=.f64 y #s(literal 3551219595117973/75557863725914323419136 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))))))
(if (<=.f64 y #s(literal -6300000000000000000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (if (<=.f64 y #s(literal 3500000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))))
(if (or (<=.f64 y #s(literal -6300000000000000000 binary64)) (not (<=.f64 y #s(literal 3500000 binary64)))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(approx (- x 1/2) x) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))))
(if (<=.f64 y #s(literal -2476979795053773/2251799813685248 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))))
(if (or (<=.f64 y #s(literal -2476979795053773/2251799813685248 binary64)) (not (<=.f64 y #s(literal 1 binary64)))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
(if (<=.f64 y #s(literal -5404319552844595/1125899906842624 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 25499999999999999261456890920538183433284501396271570539760484922663969639431547897550850560733103231670728853931262477222342522291815636027431714816 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))))))
(if (<=.f64 y #s(literal -5404319552844595/1125899906842624 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 25499999999999999261456890920538183433284501396271570539760484922663969639431547897550850560733103231670728853931262477222342522291815636027431714816 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- y 1) y) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)))))
(if (<=.f64 y #s(literal -6300000000000000000 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)) (if (<=.f64 y #s(literal 4165829655317709/2251799813685248 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))))
(if (or (<=.f64 y #s(literal -6300000000000000000 binary64)) (not (<=.f64 y #s(literal 4165829655317709/2251799813685248 binary64)))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(if (<=.f64 x #s(literal -8286623314361713/9007199254740992 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))) (if (<=.f64 x #s(literal 8106479329266893/9007199254740992 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))))
(if (or (<=.f64 x #s(literal -8286623314361713/9007199254740992 binary64)) (not (<=.f64 x #s(literal 8106479329266893/9007199254740992 binary64)))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))

derivations1.7s (26.7%)

Memory
-144.2MiB live, 615.4MiB allocated; 1.6s collecting garbage
Stop Event
done
Compiler

Compiled 463 to 80 computations (82.7% saved)

preprocess47.0ms (0.7%)

Memory
21.2MiB live, 114.0MiB allocated; 7ms collecting garbage
Compiler

Compiled 948 to 180 computations (81% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...