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

Time bar (total: 4.8s)

start0.0ms (0%)

Memory
0.2MiB live, 0.2MiB 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.2s (25.6%)

Memory
5.8MiB live, 1 798.3MiB allocated; 350ms collecting garbage
Samples
899.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 645.0ms
const: 259.0ms (40.2% of total)
ival-mult: 143.0ms (22.2% of total)
ival-add: 114.0ms (17.7% of total)
ival-sub: 108.0ms (16.7% of total)
exact: 8.0ms (1.2% of total)
ival-true: 5.0ms (0.8% of total)
adjust: 3.0ms (0.5% of total)
ival-assert: 3.0ms (0.5% of total)
Bogosity

explain122.0ms (2.6%)

Memory
-6.1MiB live, 290.0MiB allocated; 39ms 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
46.0ms512×0valid
Compiler

Compiled 87 to 34 computations (60.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
const: 10.0ms (39.6% of total)
ival-mult: 6.0ms (23.8% of total)
ival-sub: 5.0ms (19.8% of total)
ival-add: 2.0ms (7.9% of total)
exact: 1.0ms (4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess207.0ms (4.3%)

Memory
18.6MiB live, 211.7MiB allocated; 20ms 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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.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)

simplify175.0ms (3.7%)

Memory
-7.2MiB live, 130.0MiB allocated; 19ms 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)

localize42.0ms (0.9%)

Memory
11.4MiB live, 49.2MiB allocated; 16ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y #s(literal 1 binary64))
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 x (-.f64 y #s(literal 1 binary64)))
Samples
35.0ms256×0valid
Compiler

Compiled 38 to 12 computations (68.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
ival-sub: 18.0ms (67.6% of total)
const: 4.0ms (15% of total)
ival-mult: 3.0ms (11.3% of total)
ival-add: 1.0ms (3.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)

series6.0ms (0.1%)

Memory
16.1MiB live, 16.1MiB allocated; 0ms collecting garbage
Counts
5 → 29
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
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(* -1/2 y)
(- (* x (- y 1)) (* 1/2 y))
(* x (- y 1))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x (- (+ y (* -1/2 (/ y x))) 1))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ (* -1 (- y 1)) (* 1/2 (/ y x)))))
(+ 918938533204673/1000000000000000 (* -1 x))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(* -1 x)
(+ (* -1 x) (* y (- x 1/2)))
(+ (* -1 x) (* x y))
-1
(- y 1)
(* 1/2 y)
(* y (- x 1/2))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* y (- (+ x (* -1 (/ x y))) 1/2))
(* x y)
(* y (+ x (* -1 (/ x y))))
y
(* y (- 1 (/ 1 y)))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (/ x y)))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (- (/ 1 y) 1)))
Calls

6 calls:

TimeVariablePointExpression
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
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))

simplify204.0ms (4.3%)

Memory
-23.1MiB live, 119.8MiB allocated; 78ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076189
1250188
2857188
32769164
46289164
08301157
Stop Event
iter limit
node limit
Counts
29 → 28
Calls
Call 1
Inputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(* -1/2 y)
(- (* x (- y 1)) (* 1/2 y))
(* x (- y 1))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x (- (+ y (* -1/2 (/ y x))) 1))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ (* -1 (- y 1)) (* 1/2 (/ y x)))))
(+ 918938533204673/1000000000000000 (* -1 x))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(* -1 x)
(+ (* -1 x) (* y (- x 1/2)))
(+ (* -1 x) (* x y))
-1
(- y 1)
(* 1/2 y)
(* y (- x 1/2))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* y (- (+ x (* -1 (/ x y))) 1/2))
(* x y)
(* y (+ x (* -1 (/ x y))))
y
(* y (- 1 (/ 1 y)))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (/ x y)))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (- (/ 1 y) 1)))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(- (* x (- y 1)) (* 1/2 y))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (neg.f64 x))
(* x (- y 1))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x (- (+ y (* -1/2 (/ y x))) 1))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (neg.f64 x))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (+ (* -1 (- y 1)) (* 1/2 (/ y x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (neg.f64 x))
(+ 918938533204673/1000000000000000 (* -1 x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 x)
(neg.f64 x)
(+ (* -1 x) (* y (- x 1/2)))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (neg.f64 x))
(+ (* -1 x) (* x y))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
-1
#s(literal -1 binary64)
(- y 1)
(-.f64 y #s(literal 1 binary64))
(* 1/2 y)
(*.f64 #s(literal 1/2 binary64) y)
(* y (- x 1/2))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- (+ x (* -1 (/ x y))) 1/2))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (neg.f64 x))
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
y
(* y (- 1 (/ 1 y)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y)
(* -1 (* y (+ 1/2 (* -1 x))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (+ 1/2 (+ (* -1 x) (/ x y)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* -1 (* y (- (/ 1 y) 1)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y)

rewrite72.0ms (1.5%)

Memory
0.8MiB live, 49.4MiB allocated; 10ms 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))

eval7.0ms (0.1%)

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

Compiled 1 278 to 242 computations (81.1% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New61465
Fresh000
Picked101
Done000
Total62466
Accuracy
100.0%
Counts
66 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
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)))
46.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
51.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
48.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
Compiler

Compiled 68 to 57 computations (16.2% saved)

simplify203.0ms (4.3%)

Memory
-6.0MiB live, 136.6MiB allocated; 54ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
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)))
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 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))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020109
026109
142109
270105
3121105
4192105
5410105
62421105
76343105
08096101
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#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 #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) (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)
Outputs
#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 #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) (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)

localize51.0ms (1.1%)

Memory
12.1MiB live, 60.3MiB allocated; 10ms collecting garbage
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
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)))
accuracy0.00390625
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
accuracy34.16543756108529
#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)
accuracy30.76955138438774
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
accuracy0.0
(-.f64 x #s(literal 1/2 binary64))
accuracy0.0078125
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
accuracy32.834362426780864
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
Samples
41.0ms256×0valid
Compiler

Compiled 89 to 19 computations (78.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 29.0ms
ival-sub: 15.0ms (51.2% of total)
ival-mult: 6.0ms (20.5% of total)
const: 4.0ms (13.7% of total)
ival-add: 3.0ms (10.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)

series6.0ms (0.1%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms collecting garbage
Counts
9 → 36
Calls
Call 1
Inputs
#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))
#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(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) (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))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(* -1/2 y)
(+ (* -1/2 y) (* x y))
-1/2
(- x 1/2)
918938533204673/1000000000000000
(+ 918938533204673/1000000000000000 (* -1 x))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
(* x (- y 1))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x y)
(* x (+ y (* -1/2 (/ y x))))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* -1 x)
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(* y (- x 1/2))
(- 918938533204673/1000000000000000 x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* y (- (* 918938533204673/1000000000000000 (/ 1 y)) 1/2))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (- 1/2 (* 918938533204673/1000000000000000 (/ 1 y)))))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* 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) (- 918938533204673/1000000000000000 x)))
1.0ms
y
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* 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) (- 918938533204673/1000000000000000 x)))
1.0ms
y
@-inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* 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) (- 918938533204673/1000000000000000 x)))
1.0ms
y
@0
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* 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) (- 918938533204673/1000000000000000 x)))
1.0ms
x
@inf
((+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (- 918938533204673/1000000000000000 x) (+ (- (* 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) (- 918938533204673/1000000000000000 x)))

simplify104.0ms (2.2%)

Memory
-1.4MiB live, 91.3MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105223
1357219
21223195
33916195
08188179
Stop Event
iter limit
node limit
Counts
36 → 35
Calls
Call 1
Inputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(* -1/2 y)
(+ (* -1/2 y) (* x y))
-1/2
(- x 1/2)
918938533204673/1000000000000000
(+ 918938533204673/1000000000000000 (* -1 x))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
(* x (- y 1))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x y)
(* x (+ y (* -1/2 (/ y x))))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* -1 x)
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(* y (- x 1/2))
(- 918938533204673/1000000000000000 x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* y (- (* 918938533204673/1000000000000000 (/ 1 y)) 1/2))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (- 1/2 (* 918938533204673/1000000000000000 (/ 1 y)))))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(+ (* -1/2 y) (* x y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
-1/2
#s(literal -1/2 binary64)
(- x 1/2)
(-.f64 x #s(literal 1/2 binary64))
918938533204673/1000000000000000
#s(literal 918938533204673/1000000000000000 binary64)
(+ 918938533204673/1000000000000000 (* -1 x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(+ 918938533204673/1000000000000000 (* -1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x (- y 1))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x y)
(*.f64 y x)
(* x (+ y (* -1/2 (/ y x))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* -1 x)
(neg.f64 x)
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* -1 (* x (+ 1 (* -1 y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- x 1/2))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(- 918938533204673/1000000000000000 x)
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- (* 918938533204673/1000000000000000 (/ 1 y)) 1/2))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (+ 1/2 (* -1 x))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (- 1/2 (* 918938533204673/1000000000000000 (/ 1 y)))))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))

rewrite71.0ms (1.5%)

Memory
-7.1MiB live, 45.6MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02091
02691
112691
0104987
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
9 → 56
Calls
Call 1
Inputs
#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))
#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(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) (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))
Outputs
#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))))
(/.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 (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(/.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) (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) (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 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y)))))
(/.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 #s(literal 918938533204673/1000000000000000 binary64) x) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
(+.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))

eval16.0ms (0.3%)

Memory
-29.1MiB live, 17.9MiB allocated; 3ms collecting garbage
Compiler

Compiled 2 323 to 298 computations (87.2% saved)

prune6.0ms (0.1%)

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

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New82789
Fresh000
Picked134
Done000
Total831093
Accuracy
100.0%
Counts
93 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.1%
#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))))
69.1%
#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) #s(literal 918938533204673/1000000000000000 binary64))))
46.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
51.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
53.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
48.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
26.2%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
30.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
22.3%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
24.2%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x)))
Compiler

Compiled 322 to 253 computations (21.4% saved)

simplify140.0ms (2.9%)

Memory
28.0MiB live, 121.2MiB allocated; 7ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
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
(*.f64 y x)
cost-diff0
#s(approx (* (- x 1/2) y) (*.f64 y x))
cost-diff0
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x)))
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
028166
033166
147166
269166
3112166
4186166
5412166
62455166
76360166
08116156
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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
(*.f64 y x)
y
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
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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
(*.f64 y x)
y
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

localize94.0ms (2%)

Memory
-19.3MiB live, 78.3MiB allocated; 8ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
accuracy0.0078125
(*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y)
accuracy32.834362426780864
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
accuracy34.20703739771321
#s(approx (- x 1/2) #s(literal -1/2 binary64))
accuracy0.0
(*.f64 y x)
accuracy29.35149055713251
#s(approx (* (- x 1/2) y) (*.f64 y x))
accuracy32.834362426780864
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x)))
accuracy0.0
(neg.f64 x)
accuracy29.512764726116707
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
accuracy30.76955138438774
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
accuracy30.76955138438774
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
accuracy34.197414729690756
#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))))
accuracy29.512764726116707
#s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))
Samples
83.0ms256×0valid
Compiler

Compiled 107 to 19 computations (82.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 59.0ms
ival-mult: 33.0ms (55.7% of total)
ival-neg: 15.0ms (25.3% of total)
ival-sub: 5.0ms (8.4% of total)
const: 4.0ms (6.8% of total)
ival-add: 2.0ms (3.4% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series7.0ms (0.2%)

Memory
13.4MiB live, 13.4MiB allocated; 0ms collecting garbage
Counts
14 → 34
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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
(*.f64 y 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))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
-1/2
(- x 1/2)
918938533204673/1000000000000000
(+ 918938533204673/1000000000000000 (* -1 x))
(* -1 x)
(* -1/2 y)
(+ (* -1/2 y) (* x y))
(* x y)
(* x (- y 1))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(* x (+ y (* -1/2 (/ y x))))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(- 918938533204673/1000000000000000 x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(* y (- x 1/2))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
Calls

6 calls:

TimeVariablePointExpression
2.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) (* y x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2))
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) (* y x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2))
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) (* y x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2))
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) (* y x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2))
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) (* y x) (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (* (- x 1/2) y) (- x 1/2))

simplify108.0ms (2.3%)

Memory
6.1MiB live, 147.6MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0100209
1346209
21192185
33766185
08108171
Stop Event
iter limit
node limit
Counts
34 → 33
Calls
Call 1
Inputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
-1/2
(- x 1/2)
918938533204673/1000000000000000
(+ 918938533204673/1000000000000000 (* -1 x))
(* -1 x)
(* -1/2 y)
(+ (* -1/2 y) (* x y))
(* x y)
(* x (- y 1))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(* x (+ y (* -1/2 (/ y x))))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(- 918938533204673/1000000000000000 x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(* y (- x 1/2))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
-1/2
#s(literal -1/2 binary64)
(- x 1/2)
(-.f64 x #s(literal 1/2 binary64))
918938533204673/1000000000000000
#s(literal 918938533204673/1000000000000000 binary64)
(+ 918938533204673/1000000000000000 (* -1 x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* -1 x)
(neg.f64 x)
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(+ (* -1/2 y) (* x y))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* x y)
(*.f64 y x)
(* x (- y 1))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* x (+ y (* -1/2 (/ y x))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (+ 1 (* -1 y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* -1 (* x (+ (* -1 y) (* 1/2 (/ y x)))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(- 918938533204673/1000000000000000 x)
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- x 1/2))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (+ 1/2 (* -1 x))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))

rewrite81.0ms (1.7%)

Memory
-28.4MiB live, 63.2MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028149
033149
1121149
0866144
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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
(*.f64 y 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))
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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
#s(approx (* (- x 1/2) y) (*.f64 y x))
(*.f64 y x)
(*.f64 x y)
#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))

eval6.0ms (0.1%)

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

Compiled 1 511 to 170 computations (88.7% saved)

prune5.0ms (0.1%)

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

10 alts after pruning (2 fresh and 8 done)

PrunedKeptTotal
New54054
Fresh022
Picked055
Done033
Total541064
Accuracy
100.0%
Counts
64 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.1%
#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))))
69.1%
#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) #s(literal 918938533204673/1000000000000000 binary64))))
46.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
51.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
53.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
48.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
26.2%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
30.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
22.3%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
24.2%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x)))
Compiler

Compiled 185 to 147 computations (20.5% saved)

simplify212.0ms (4.4%)

Memory
-40.8MiB live, 165.9MiB allocated; 111ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
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) #s(literal 918938533204673/1000000000000000 binary64)))
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) #s(literal 918938533204673/1000000000000000 binary64))))
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))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01872
02372
13572
25872
310272
416872
538772
6239472
7625772
0803668
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#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
#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) #s(literal 918938533204673/1000000000000000 binary64))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(literal 918938533204673/1000000000000000 binary64)
Outputs
#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
#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) #s(literal 918938533204673/1000000000000000 binary64))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
y
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
#s(literal 918938533204673/1000000000000000 binary64)

localize38.0ms (0.8%)

Memory
27.3MiB live, 73.8MiB allocated; 5ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
accuracy0.0
(-.f64 x #s(literal 1/2 binary64))
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) #s(literal 918938533204673/1000000000000000 binary64))))
accuracy34.197414729690756
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
accuracy0.0
(-.f64 y #s(literal 1 binary64))
accuracy0.00390625
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
accuracy29.59986022266696
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
Samples
29.0ms256×0valid
Compiler

Compiled 54 to 17 computations (68.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-mult: 6.0ms (34.1% of total)
ival-sub: 5.0ms (28.4% of total)
const: 4.0ms (22.7% of total)
ival-add: 2.0ms (11.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)

series4.0ms (0.1%)

Memory
8.9MiB live, 8.9MiB allocated; 0ms collecting garbage
Counts
7 → 38
Calls
Call 1
Inputs
#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))
#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) #s(literal 918938533204673/1000000000000000 binary64))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
(-.f64 x #s(literal 1/2 binary64))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(* x (- y 1))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
-1/2
(- x 1/2)
918938533204673/1000000000000000
(+ 918938533204673/1000000000000000 (* -1 x))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* -1 x)
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(+ (* -1 x) (* x y))
-1
(- y 1)
(- 918938533204673/1000000000000000 x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(* y (- x 1/2))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* x y)
(* y (+ x (* -1 (/ x y))))
y
(* y (- 1 (/ 1 y)))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (- (/ 1 y) 1)))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
Calls

6 calls:

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

simplify124.0ms (2.6%)

Memory
-39.6MiB live, 202.5MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105226
1354226
21192202
33740201
08457187
Stop Event
iter limit
node limit
Counts
38 → 36
Calls
Call 1
Inputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(* x (- y 1))
(+ 918938533204673/1000000000000000 (* -1/2 y))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
-1/2
(- x 1/2)
918938533204673/1000000000000000
(+ 918938533204673/1000000000000000 (* -1 x))
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* -1 x)
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(+ (* -1 x) (* x y))
-1
(- y 1)
(- 918938533204673/1000000000000000 x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(* y (- x 1/2))
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(* x y)
(* y (+ x (* -1 (/ x y))))
y
(* y (- 1 (/ 1 y)))
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(* -1 (* y (+ 1/2 (* -1 x))))
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (- (/ 1 y) 1)))
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
Outputs
(- 918938533204673/1000000000000000 (* 1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(- (+ 918938533204673/1000000000000000 (* x (- y 1))) (* 1/2 y))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x (- y 1))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(+ 918938533204673/1000000000000000 (* -1/2 y))
(fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64))
(+ 918938533204673/1000000000000000 (+ (* -1/2 y) (* x (- y 1))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
-1/2
#s(literal -1/2 binary64)
(- x 1/2)
(-.f64 x #s(literal 1/2 binary64))
918938533204673/1000000000000000
#s(literal 918938533204673/1000000000000000 binary64)
(+ 918938533204673/1000000000000000 (* -1 x))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* x (- (+ y (* 918938533204673/1000000000000000 (/ 1 x))) (+ 1 (* 1/2 (/ y x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x (- (+ y (+ (* -1/2 (/ y x)) (* 918938533204673/1000000000000000 (/ 1 x)))) 1))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* -1 x)
(neg.f64 x)
(* x (- (* 918938533204673/1000000000000000 (/ 1 x)) 1))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(* -1 (* x (+ (* -1 (- y 1)) (* -1 (/ (- 918938533204673/1000000000000000 (* 1/2 y)) x)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (+ 1 (* -1 y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1/2 y)) x))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- 1 (* 918938533204673/1000000000000000 (/ 1 x)))))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(+ 918938533204673/1000000000000000 (+ (* -1 x) (* y (- x 1/2))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(+ (* -1 x) (* x y))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
-1
#s(literal -1 binary64)
(- y 1)
(-.f64 y #s(literal 1 binary64))
(- 918938533204673/1000000000000000 x)
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)
(- (+ 918938533204673/1000000000000000 (* y (- x 1/2))) x)
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* y (- x 1/2))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* y (- (+ x (+ (* -1 (/ x y)) (* 918938533204673/1000000000000000 (/ 1 y)))) 1/2))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
y
(* y (- 1 (/ 1 y)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y)
(* y (- (+ x (* 918938533204673/1000000000000000 (/ 1 y))) (+ 1/2 (/ x y))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (+ 1/2 (* -1 x))))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(* -1 (* y (+ 1/2 (+ (* -1 x) (* -1 (/ (+ 918938533204673/1000000000000000 (* -1 x)) y))))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(* -1 (* y (- (/ 1 y) 1)))
(*.f64 (+.f64 (/.f64 #s(literal -1 binary64) y) #s(literal 1 binary64)) y)
(* -1 (* y (+ (* -1 (- x 1/2)) (* -1 (/ (- 918938533204673/1000000000000000 x) y)))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))

rewrite65.0ms (1.4%)

Memory
32.2MiB live, 79.2MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01865
02365
110965
085663
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
7 → 38
Calls
Call 1
Inputs
#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))
#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) #s(literal 918938533204673/1000000000000000 binary64))))
(fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
(-.f64 x #s(literal 1/2 binary64))
#s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
#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))
#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) #s(literal 918938533204673/1000000000000000 binary64))))
(/.f64 (-.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) #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) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) #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) #s(literal 918938533204673/1000000000000000 binary64)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) #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) #s(literal 918938533204673/1000000000000000 binary64)) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 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) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))))
(/.f64 (+.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) #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) #s(literal 918938533204673/1000000000000000 binary64)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64)))
(fma.f64 y (-.f64 x #s(literal 1/2 binary64)) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
(-.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) #s(literal 918938533204673/1000000000000000 binary64)))) (/.f64 (pow.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) y) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))))
(-.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal 1/2 binary64))) y))
(-.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 3 binary64)) (fma.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (-.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64)))
(+.f64 #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)) (*.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) #s(literal 918938533204673/1000000000000000 binary64))

eval8.0ms (0.2%)

Memory
-30.3MiB live, 16.6MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 542 to 216 computations (86% saved)

prune5.0ms (0.1%)

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

10 alts after pruning (0 fresh and 10 done)

PrunedKeptTotal
New55055
Fresh000
Picked022
Done088
Total551065
Accuracy
100.0%
Counts
65 → 10
Alt Table
Click to see full alt table
StatusAccuracyProgram
78.1%
#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))))
69.1%
#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) #s(literal 918938533204673/1000000000000000 binary64))))
46.6%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
51.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
53.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
48.7%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 (-.f64 x #s(literal 1/2 binary64)) y))
26.2%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(approx (- x 1/2) #s(literal -1/2 binary64)) y))
30.8%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x)))
22.3%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64)))
24.2%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x)))
Compiler

Compiled 401 to 195 computations (51.4% saved)

regimes17.0ms (0.4%)

Memory
-9.2MiB live, 37.7MiB allocated; 3ms collecting garbage
Counts
12 → 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) #s(approx (* (- x 1/2) y) (*.f64 y 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) (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 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 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 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 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)))
(+.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 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
4.0ms
x
4.0ms
y
4.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 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)

regimes14.0ms (0.3%)

Memory
33.7MiB live, 33.7MiB 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) #s(approx (* (- x 1/2) y) (*.f64 y 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) (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 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 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 #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 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))))
#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 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))
Calls

4 calls:

3.0ms
y
3.0ms
x
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
98.6%3(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
98.6%3(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
98.3%3x
99.6%3y
Compiler

Compiled 22 to 22 computations (0% saved)

regimes18.0ms (0.4%)

Memory
-13.9MiB live, 36.4MiB allocated; 4ms 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) #s(approx (* (- x 1/2) y) (*.f64 y 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) (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 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 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) (-.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) #s(literal 918938533204673/1000000000000000 binary64))))
Calls

4 calls:

8.0ms
y
3.0ms
x
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
98.0%3x
80.1%4(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
80.1%4(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
98.2%3y
Compiler

Compiled 22 to 22 computations (0% saved)

regimes7.0ms (0.2%)

Memory
-31.4MiB live, 15.7MiB allocated; 2ms collecting garbage
Counts
8 → 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) #s(approx (* (- x 1/2) y) (*.f64 y 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) (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))
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:

4.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
96.9%3x
97.2%3y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes5.0ms (0.1%)

Memory
13.4MiB live, 13.4MiB allocated; 0ms collecting garbage
Counts
6 → 7
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) #s(approx (* (- x 1/2) y) (*.f64 y 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) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y 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) #s(approx (* (- x 1/2) y) (*.f64 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) (fma.f64 #s(literal -1/2 binary64) y #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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

2 calls:

2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
78.1%4x
85.1%7y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes7.0ms (0.1%)

Memory
17.9MiB live, 17.9MiB allocated; 0ms collecting garbage
Counts
5 → 7
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) #s(approx (* (- x 1/2) y) (*.f64 y 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) #s(approx (* (- x 1/2) y) (*.f64 y 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) #s(approx (* (- x 1/2) y) (*.f64 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 (- x 1/2) #s(literal -1/2 binary64)) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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

3 calls:

2.0ms
y
2.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
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
68.8%4(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
68.8%4(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
84.2%7y
Compiler

Compiled 21 to 20 computations (4.8% saved)

regimes4.0ms (0.1%)

Memory
11.0MiB live, 11.0MiB 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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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) #s(approx (* (- x 1/2) y) (*.f64 y x)))
Calls

2 calls:

2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
54.5%2x
72.9%3y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes8.0ms (0.2%)

Memory
-28.3MiB live, 18.9MiB allocated; 2ms 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:

3.0ms
y
2.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
2.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
x
Results
AccuracySegmentsBranch
51.9%1x
51.9%1(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
51.9%1(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
51.9%1y
Compiler

Compiled 22 to 22 computations (0% saved)

regimes6.0ms (0.1%)

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

1.0ms
x
1.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
1.0ms
y
1.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
30.8%1y
50.0%3(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
50.0%3(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
50.2%3x
Compiler

Compiled 22 to 22 computations (0% saved)

regimes5.0ms (0.1%)

Memory
14.3MiB live, 14.3MiB 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 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
1.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
22.3%1y
22.3%1(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
22.3%1(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
22.3%1x
Compiler

Compiled 22 to 22 computations (0% saved)

bsearch41.0ms (0.9%)

Memory
-24.9MiB live, 71.1MiB allocated; 12ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
22.0ms
4.746730949397544e-7
9.267634425697583
15.0ms
-6.106496738573593e-13
-4.962934443228165e-17
Samples
26.0ms272×0valid
Compiler

Compiled 651 to 559 computations (14.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-sub: 8.0ms (41.3% of total)
const: 6.0ms (31% of total)
ival-mult: 3.0ms (15.5% of total)
ival-add: 1.0ms (5.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)

bsearch21.0ms (0.4%)

Memory
-6.4MiB live, 40.2MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
4.746730949397544e-7
9.267634425697583
18.0ms
-3688.892437435854
-0.003240904344774491
Samples
12.0ms144×0valid
Compiler

Compiled 635 to 564 computations (11.2% saved)

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

bsearch17.0ms (0.3%)

Memory
35.6MiB live, 35.6MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
4.746730949397544e-7
9.267634425697583
1.0ms
-3688.892437435854
-0.003240904344774491
Samples
9.0ms128×0valid
Compiler

Compiled 590 to 537 computations (9% saved)

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

bsearch128.0ms (2.7%)

Memory
2.3MiB live, 249.1MiB allocated; 67ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
19.0ms
8.46808036941256e+277
5.144295511753535e+278
31.0ms
7.666284069678252e+118
2.599967243465365e+124
1.0ms
4.746730949397544e-7
9.267634425697583
26.0ms
-3688.892437435854
-0.003240904344774491
19.0ms
-2.492804881495121e+32
-1.4829802886341518e+24
14.0ms
-1.0011212853695e+250
-1.5931119145996779e+245
Samples
57.0ms640×0valid
Compiler

Compiled 1 870 to 1 561 computations (16.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 38.0ms
const: 19.0ms (50.1% of total)
ival-mult: 8.0ms (21.1% of total)
ival-sub: 7.0ms (18.5% of total)
ival-add: 3.0ms (7.9% of total)
exact: 1.0ms (2.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch11.0ms (0.2%)

Memory
21.8MiB live, 21.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
8.46808036941256e+277
5.144295511753535e+278
1.0ms
7.666284069678252e+118
2.599967243465365e+124
6.0ms
4.746730949397544e-7
9.267634425697583
1.0ms
-3688.892437435854
-0.003240904344774491
1.0ms
-2.492804881495121e+32
-1.4829802886341518e+24
1.0ms
-1.0011212853695e+250
-1.5931119145996779e+245
Samples
3.0ms48×0valid
Compiler

Compiled 1 924 to 1 579 computations (17.9% saved)

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

bsearch6.0ms (0.1%)

Memory
14.1MiB live, 14.1MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
4.0ms
4.746730949397544e-7
9.267634425697583
1.0ms
-3688.892437435854
-0.003240904344774491
Samples
2.0ms32×0valid
Compiler

Compiled 662 to 555 computations (16.2% saved)

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

bsearch110.0ms (2.3%)

Memory
-5.3MiB live, 85.3MiB allocated; 87ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
39.0ms
4.831151694127872e-11
14.39116373032801
67.0ms
-17361414.580962174
-81.96421789045195
Samples
43.0ms304×0valid
Compiler

Compiled 679 to 585 computations (13.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
const: 5.0ms (36.6% of total)
ival-mult: 4.0ms (29.3% of total)
ival-sub: 3.0ms (22% of total)
ival-add: 1.0ms (7.3% 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)

simplify344.0ms (7.2%)

Memory
73.7MiB live, 174.6MiB allocated; 188ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084609
1114609
2134609
3173609
4237609
5455609
62654609
76337609
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 -5942112188569825/9903520314283042199192993792 binary64)) #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 7437727210519691/1180591620717411303424 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) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))))
(if (<=.f64 y #s(literal -5854679515581645/4503599627370496 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 7437727210519691/1180591620717411303424 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) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))))
(if (<=.f64 y #s(literal -5854679515581645/4503599627370496 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 3039929748475085/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 (-.f64 x #s(literal 1/2 binary64)) y))))
(if (<=.f64 y #s(literal -13999999999999999019557110549062552017674957848253315742564006144741506554419233445976740013297646708224782419857117489653585155770843697891720164383045359588642486787196646140040166746178509269617997519796689068965734855273891861086184321912406016 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal -51999999999999999908100584767488 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 -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 7437727210519691/1180591620717411303424 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 170000000000000006634646064013577064181038299739121814077042040622461226838614055646801786825219750064643102637582974976 binary64)) #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 509999999999999995558466565897101874427127574500628281007115205598106502992342106467610024770226826585967176679631345001029550340193284424308706340343693395938053412314674354529610085798887128821270045592667122153408464136075065021567278939068806845010549053580049306040232050688 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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 -13999999999999999019557110549062552017674957848253315742564006144741506554419233445976740013297646708224782419857117489653585155770843697891720164383045359588642486787196646140040166746178509269617997519796689068965734855273891861086184321912406016 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal -51999999999999999908100584767488 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 -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 8106479329266893/4503599627370496 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 170000000000000006634646064013577064181038299739121814077042040622461226838614055646801786825219750064643102637582974976 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 509999999999999995558466565897101874427127574500628281007115205598106502992342106467610024770226826585967176679631345001029550340193284424308706340343693395938053412314674354529610085798887128821270045592667122153408464136075065021567278939068806845010549053580049306040232050688 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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 -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 2589569785738035/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) #s(approx (* (- x 1/2) y) (*.f64 y x)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x))
(if (<=.f64 x #s(literal -82 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))) (if (<=.f64 x #s(literal 8286623314361713/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 -5942112188569825/9903520314283042199192993792 binary64)) #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 7437727210519691/1180591620717411303424 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) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))))
(if (<=.f64 y #s(literal -5854679515581645/4503599627370496 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 7437727210519691/1180591620717411303424 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) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y #s(approx (- 918938533204673/1000000000000000 x) #s(literal 918938533204673/1000000000000000 binary64))))))
(if (<=.f64 y #s(literal -5854679515581645/4503599627370496 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 3039929748475085/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 (-.f64 x #s(literal 1/2 binary64)) y))))
(if (or (<=.f64 y #s(literal -5854679515581645/4503599627370496 binary64)) (not (<=.f64 y #s(literal 3039929748475085/2251799813685248 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 -13999999999999999019557110549062552017674957848253315742564006144741506554419233445976740013297646708224782419857117489653585155770843697891720164383045359588642486787196646140040166746178509269617997519796689068965734855273891861086184321912406016 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal -51999999999999999908100584767488 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 -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 7437727210519691/1180591620717411303424 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 170000000000000006634646064013577064181038299739121814077042040622461226838614055646801786825219750064643102637582974976 binary64)) #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 509999999999999995558466565897101874427127574500628281007115205598106502992342106467610024770226826585967176679631345001029550340193284424308706340343693395938053412314674354529610085798887128821270045592667122153408464136075065021567278939068806845010549053580049306040232050688 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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 -13999999999999999019557110549062552017674957848253315742564006144741506554419233445976740013297646708224782419857117489653585155770843697891720164383045359588642486787196646140040166746178509269617997519796689068965734855273891861086184321912406016 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal -51999999999999999908100584767488 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 -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 8106479329266893/4503599627370496 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (<=.f64 y #s(literal 170000000000000006634646064013577064181038299739121814077042040622461226838614055646801786825219750064643102637582974976 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 509999999999999995558466565897101874427127574500628281007115205598106502992342106467610024770226826585967176679631345001029550340193284424308706340343693395938053412314674354529610085798887128821270045592667122153408464136075065021567278939068806845010549053580049306040232050688 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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 -13999999999999999019557110549062552017674957848253315742564006144741506554419233445976740013297646708224782419857117489653585155770843697891720164383045359588642486787196646140040166746178509269617997519796689068965734855273891861086184321912406016 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal -51999999999999999908100584767488 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 -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 8106479329266893/4503599627370496 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) x)) (if (or (<=.f64 y #s(literal 170000000000000006634646064013577064181038299739121814077042040622461226838614055646801786825219750064643102637582974976 binary64)) (not (<=.f64 y #s(literal 509999999999999995558466565897101874427127574500628281007115205598106502992342106467610024770226826585967176679631345001029550340193284424308706340343693395938053412314674354529610085798887128821270045592667122153408464136075065021567278939068806845010549053580049306040232050688 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) #s(approx (* (- x 1/2) y) (*.f64 y x))))))))
(if (<=.f64 y #s(literal -86 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 y x))) (if (<=.f64 y #s(literal 2589569785738035/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) #s(approx (* (- x 1/2) y) (*.f64 y x)))))
(if (or (<=.f64 y #s(literal -86 binary64)) (not (<=.f64 y #s(literal 2589569785738035/2251799813685248 binary64)))) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* (- x 1/2) y) (*.f64 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(literal 918938533204673/1000000000000000 binary64) x))
(if (<=.f64 x #s(literal -82 binary64)) #s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 x) (neg.f64 x))) (if (<=.f64 x #s(literal 8286623314361713/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 -82 binary64)) (not (<=.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))) #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)))

derivations546.0ms (11.4%)

Memory
-28.9MiB live, 396.5MiB allocated; 195ms collecting garbage
Stop Event
done
Compiler

Compiled 609 to 91 computations (85.1% saved)

preprocess49.0ms (1%)

Memory
6.5MiB live, 97.5MiB allocated; 10ms collecting garbage
Compiler

Compiled 1 240 to 202 computations (83.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...