Data.Colour.RGB:hslsv from colour-2.3.3, C

Time bar (total: 11.6s)

start0.0ms (0%)

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

analyze20.0ms (0.2%)

Memory
22.4MiB live, 67.3MiB allocated; 4ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
25%25%74.9%0.1%0%0%0%3
37.5%37.5%62.4%0.1%0%0%0%4
56.3%56.2%43.7%0.1%0%0%0%5
65.6%65.6%34.3%0.1%0%0%0%6
79.7%79.6%20.3%0.1%0%0%0%7
83.6%83.5%16.4%0.1%0%0%0%8
90.2%90.1%9.8%0.1%0%0%0%9
92%91.9%8%0.1%0%0%0%10
95.2%95.1%4.8%0.1%0%0%0%11
96%96%4%0.1%0%0%0%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.6s (13.7%)

Memory
35.2MiB live, 1 312.9MiB allocated; 378ms collecting garbage
Samples
1.2s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 642.0ms
ival-add: 340.0ms (53% of total)
ival-div: 157.0ms (24.5% of total)
ival-sub: 128.0ms (19.9% of total)
exact: 6.0ms (0.9% of total)
ival-true: 5.0ms (0.8% of total)
ival-assert: 3.0ms (0.5% of total)
adjust: 2.0ms (0.3% of total)
Bogosity

explain538.0ms (4.7%)

Memory
-26.1MiB live, 152.4MiB allocated; 35ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 2 binary64)
00-0-y
00-0-(-.f64 x y)
00-0-(+.f64 x y)
00-0-(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
00-0-(-.f64 #s(literal 2 binary64) (+.f64 x y))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
87.0ms512×0valid
Compiler

Compiled 59 to 25 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 73.0ms
ival-sub: 65.0ms (89.1% of total)
ival-div: 3.0ms (4.1% of total)
ival-add: 3.0ms (4.1% of total)
ival-assert: 1.0ms (1.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess1.3s (11.2%)

Memory
-12.4MiB live, 790.1MiB allocated; 174ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01955
14755
27655
310955
420851
563646
6236245
7670045
079
0119
1199
2289
3399
4849
52629
614089
753979
082049
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
Outputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(/.f64 (-.f64 x y) (-.f64 (-.f64 #s(literal 2 binary64) y) x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify1.1s (9.4%)

Memory
48.5MiB live, 554.6MiB allocated; 74ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x y)
cost-diff0
(-.f64 #s(literal 2 binary64) (+.f64 x y))
cost-diff0
(-.f64 x y)
cost-diff0
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0723
01123
11923
22823
33923
48423
526223
6140823
7539723
0820423
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(-.f64 x y)
x
y
(-.f64 #s(literal 2 binary64) (+.f64 x y))
#s(literal 2 binary64)
(+.f64 x y)
Outputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(/.f64 (-.f64 x y) (-.f64 (-.f64 #s(literal 2 binary64) y) x))
(-.f64 x y)
x
y
(-.f64 #s(literal 2 binary64) (+.f64 x y))
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
#s(literal 2 binary64)
(+.f64 x y)
(+.f64 y x)

localize36.0ms (0.3%)

Memory
-14.1MiB live, 65.8MiB allocated; 27ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(-.f64 #s(literal 2 binary64) (+.f64 x y))
accuracy0.0
(+.f64 x y)
accuracy0.015625
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
Samples
20.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

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

series5.0ms (0%)

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

6 calls:

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

simplify347.0ms (3%)

Memory
-28.6MiB live, 319.1MiB allocated; 116ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186703
1572669
22042589
08423556
Stop Event
iter limit
node limit
Counts
44 → 42
Calls
Call 1
Inputs
(* -1 (/ y (- 2 y)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(* -1 y)
(- x y)
(- 2 y)
(- (+ 2 (* -1 x)) y)
y
(+ x y)
-1
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(* x (+ 1 (/ y x)))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ x (- 2 x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ x (* -1 y))
(- 2 x)
(- (+ 2 (* -1 y)) x)
1
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(* y (- (/ x y) 1))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(* y (+ 1 (/ x y)))
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
(* -1 (/ y (- 2 y)))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (fma.f64 (*.f64 (+.f64 (/.f64 x (-.f64 #s(literal 2 binary64) y)) #s(literal 1 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64))) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 3 binary64))))) x (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64))))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- 2 y)
(-.f64 #s(literal 2 binary64) y)
(- (+ 2 (* -1 x)) y)
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
y
(+ x y)
(+.f64 y x)
-1
#s(literal -1 binary64)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (-.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 2 binary64) y) x))) #s(literal -1 binary64) #s(literal -1 binary64))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
(fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) (fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (-.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 2 binary64) y) x))) #s(literal -1 binary64) #s(literal -1 binary64)))
x
(* x (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 x)
(neg.f64 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) #s(literal 1 binary64)) x)
(* x (+ 1 (/ y x)))
(fma.f64 (/.f64 y x) x x)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(fma.f64 (*.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (-.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 2 binary64) y) x))) #s(literal -1 binary64) #s(literal -1 binary64))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) (-.f64 y #s(literal 1 binary64)) (/.f64 (*.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (+.f64 (/.f64 (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) x) (-.f64 #s(literal 2 binary64) y))) x)) x) #s(literal 1 binary64))
(* -1 (* x (- (/ y x) 1)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) #s(literal 1 binary64)) x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(fma.f64 (/.f64 y x) x x)
(/ x (- 2 x))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (/.f64 (fma.f64 (/.f64 x (-.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64) #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) x)) (neg.f64 y) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (*.f64 (/.f64 (fma.f64 (/.f64 x (-.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64) #s(literal 1 binary64)) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (neg.f64 y)) (/.f64 (fma.f64 (/.f64 x (-.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64) #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (fma.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))) y (-.f64 (/.f64 y (pow.f64 (-.f64 x #s(literal 2 binary64)) #s(literal 3 binary64))) (/.f64 (fma.f64 (/.f64 x (-.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64) #s(literal 1 binary64)) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))))) y (-.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) x)))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ x (* -1 y))
(-.f64 x y)
(- 2 x)
(-.f64 #s(literal 2 binary64) x)
(- (+ 2 (* -1 y)) x)
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
1
#s(literal 1 binary64)
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(fma.f64 (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (-.f64 #s(literal 1 binary64) (/.f64 x y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(+.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (fma.f64 (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y) y) (-.f64 (/.f64 (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) y) (-.f64 x #s(literal 2 binary64))) (/.f64 (-.f64 #s(literal 2 binary64) x) y)))
(* y (- (/ x y) 1))
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) #s(literal 1 binary64)) y)
(* y (+ 1 (/ x y)))
(fma.f64 (/.f64 x y) y y)
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(-.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x (fma.f64 (-.f64 x #s(literal 2 binary64)) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y) #s(literal 2 binary64))) y) #s(literal -1 binary64))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) (-.f64 x #s(literal 1 binary64)) (/.f64 (fma.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (-.f64 x #s(literal 2 binary64)) (*.f64 (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y)) y))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) #s(literal 1 binary64)) y)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(fma.f64 (/.f64 x y) y y)

rewrite50.0ms (0.4%)

Memory
16.8MiB live, 59.0MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
01120
15220
043120
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
4 → 47
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(-.f64 x y)
(-.f64 #s(literal 2 binary64) (+.f64 x y))
(+.f64 x y)
Outputs
(*.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64)))) (+.f64 (+.f64 y x) #s(literal 2 binary64)))
(*.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64)))) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x)))) (*.f64 (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x))))) (+.f64 (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
(/.f64 (-.f64 (pow.f64 (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) #s(literal 3 binary64)) (pow.f64 (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x))) #s(literal 3 binary64))) (fma.f64 (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (fma.f64 (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x))) (*.f64 (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x)))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 x y))) (neg.f64 (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
(/.f64 (-.f64 (*.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (*.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)) y)) (*.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)) (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 y x)))
(neg.f64 (/.f64 (neg.f64 (-.f64 x y)) (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(neg.f64 (/.f64 (-.f64 x y) (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
(-.f64 (/.f64 x (-.f64 #s(literal 2 binary64) (+.f64 y x))) (/.f64 y (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 x y)
(/.f64 (-.f64 (*.f64 (-.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 2 binary64) x)) (*.f64 y y)) (+.f64 (-.f64 #s(literal 2 binary64) x) y))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 2 binary64) x) (fma.f64 y y (*.f64 (-.f64 #s(literal 2 binary64) x) y))))
(/.f64 (neg.f64 (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64)))) (neg.f64 (+.f64 (+.f64 y x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64))) (+.f64 (+.f64 y x) #s(literal 2 binary64)))
(/.f64 (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64))) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64)))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (+.f64 y x)))
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
(-.f64 (/.f64 #s(literal 4 binary64) (+.f64 (+.f64 y x) #s(literal 2 binary64))) (/.f64 (pow.f64 (+.f64 y x) #s(literal 2 binary64)) (+.f64 (+.f64 y x) #s(literal 2 binary64))))
(-.f64 (/.f64 #s(literal 8 binary64) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64))) (/.f64 (pow.f64 (+.f64 y x) #s(literal 3 binary64)) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64))))
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
(-.f64 #s(literal 2 binary64) (+.f64 y x))
(+.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (+.f64 y x)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (+.f64 y x))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)

eval10.0ms (0.1%)

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

Compiled 1 768 to 331 computations (81.3% saved)

prune19.0ms (0.2%)

Memory
-33.6MiB live, 18.3MiB allocated; 16ms collecting garbage
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New691079
Fresh000
Picked011
Done000
Total691180
Accuracy
100.0%
Counts
80 → 11
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
65.3%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
35.0%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
87.8%
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
52.7%
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
35.4%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
39.6%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
52.5%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
48.0%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
39.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
34.7%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
Compiler

Compiled 293 to 221 computations (24.6% saved)

simplify1.2s (10.6%)

Memory
33.8MiB live, 800.1MiB allocated; 245ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 16 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
027150
041150
153150
263150
389150
4192150
5920150
64230150
08568150
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
x
y
#s(literal 1 binary64)
(-.f64 #s(literal 2 binary64) (+.f64 x y))
#s(literal 2 binary64)
(+.f64 x y)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
x
(-.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
(-.f64 x y)
x
y
#s(approx (- 2 (+ x y)) (neg.f64 x))
(neg.f64 x)
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
(-.f64 #s(literal 2 binary64) (+.f64 x y))
#s(literal 2 binary64)
(+.f64 x y)
x
Outputs
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 (-.f64 #s(literal 2 binary64) y) x))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(/.f64 x y)
x
y
#s(literal 1 binary64)
(-.f64 #s(literal 2 binary64) (+.f64 x y))
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
#s(literal 2 binary64)
(+.f64 x y)
(+.f64 y x)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
x
(-.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
(-.f64 x y)
x
y
#s(approx (- 2 (+ x y)) (neg.f64 x))
(neg.f64 x)
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 (-.f64 #s(literal 2 binary64) y) x))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
(-.f64 #s(literal 2 binary64) (+.f64 x y))
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
#s(literal 2 binary64)
(+.f64 x y)
(+.f64 y x)
x

localize88.0ms (0.8%)

Memory
-9.6MiB live, 81.5MiB allocated; 15ms collecting garbage
Localize:

Found 16 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x y)
accuracy0.0
(neg.f64 y)
accuracy0.015625
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
accuracy30.450304191521987
#s(approx (- x y) (neg.f64 y))
accuracy0.0
(-.f64 x y)
accuracy0.0
(neg.f64 x)
accuracy0.015625
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
accuracy41.55040569286199
#s(approx (- 2 (+ x y)) (neg.f64 x))
accuracy0.0
(-.f64 #s(literal 2 binary64) x)
accuracy0.0078125
(/.f64 x (-.f64 #s(literal 2 binary64) x))
accuracy33.27043974739563
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
accuracy41.80974547135544
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
accuracy0.0
(+.f64 x y)
accuracy0.0
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
accuracy0.015625
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
accuracy7.5479765065062825
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
Samples
75.0ms255×0valid
0.0ms2valid
Compiler

Compiled 116 to 18 computations (84.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 61.0ms
ival-neg: 44.0ms (71.9% of total)
ival-div: 8.0ms (13.1% of total)
ival-sub: 5.0ms (8.2% of total)
ival-mult: 2.0ms (3.3% of total)
ival-add: 1.0ms (1.6% 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)

series8.0ms (0.1%)

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

6 calls:

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

simplify492.0ms (4.3%)

Memory
-31.7MiB live, 268.7MiB allocated; 50ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0235839
1748802
22843752
08752700
Stop Event
iter limit
node limit
Counts
61 → 59
Calls
Call 1
Inputs
(* -1 (/ y (- 2 y)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(* -1 y)
(- x y)
(+ x (* -1 y))
-1
(- (/ x y) 1)
(* 1/2 x)
(* x (+ 1/2 (* 1/4 x)))
(* x (+ 1/2 (* x (+ 1/4 (* 1/8 x)))))
(* x (+ 1/2 (* x (+ 1/4 (* x (+ 1/8 (* 1/16 x)))))))
2
(+ 2 (* -1 x))
(- 2 y)
(- (+ 2 (* -1 x)) y)
(* -1 x)
y
(+ x y)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
x
(* x (+ 1 (* -1 (/ y x))))
(/ x y)
(* x (- (/ 1 y) (/ 1 x)))
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 4 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 4 (* 8 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(* x (- (* 2 (/ 1 x)) 1))
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(* x (+ 1 (/ y x)))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(- (* -1 (/ (+ 2 (+ (* 4 (/ 1 x)) (/ 8 (pow x 2)))) x)) 1)
(* -1 (* x (- 1 (* 2 (/ 1 x)))))
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(/ x (- 2 x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(/ (+ x (* -1 y)) y)
(- 2 x)
(- (+ 2 (* -1 y)) x)
1
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(* y (- (/ x y) 1))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(* y (+ 1 (/ x y)))
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(* -1 (* y (- (* -1 (/ x y)) 1)))
Outputs
(* -1 (/ y (- 2 y)))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (fma.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) (-.f64 #s(literal 2 binary64) y)) x (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64))))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
-1
#s(literal -1 binary64)
(- (/ x y) 1)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* x (+ 1/2 (* 1/4 x)))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (+ 1/4 (* 1/8 x)))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/4 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (+ 1/4 (* x (+ 1/8 (* 1/16 x)))))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal 1/8 binary64)) x #s(literal 1/4 binary64)) x #s(literal 1/2 binary64)) x)
2
#s(literal 2 binary64)
(+ 2 (* -1 x))
(-.f64 #s(literal 2 binary64) x)
(- 2 y)
(-.f64 #s(literal 2 binary64) y)
(- (+ 2 (* -1 x)) y)
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
(* -1 x)
(neg.f64 x)
y
(+ x y)
(+.f64 y x)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 1 binary64))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) x) (-.f64 #s(literal 2 binary64) y) (-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 1 binary64)))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
(fma.f64 (/.f64 y x) #s(literal 2 binary64) (-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) #s(literal -1 binary64)) (/.f64 (fma.f64 (-.f64 y #s(literal 2 binary64)) (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 2 binary64)) x)))
x
(* x (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(/ x y)
(/.f64 x y)
(* x (- (/ 1 y) (/ 1 x)))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 #s(literal 1 binary64) x)) x)
(* -1 (+ 1 (* 2 (/ 1 x))))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
(- (* -1 (/ (+ 2 (* 4 (/ 1 x))) x)) 1)
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal -4 binary64) x) #s(literal 2 binary64)) x) #s(literal 1 binary64))
(- (* -1 (/ (+ 4 (* 8 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(-.f64 (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal -8 binary64) x) #s(literal 4 binary64)) x) #s(literal -2 binary64)) x) #s(literal 1 binary64))
(* x (- (* 2 (/ 1 x)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) #s(literal 1 binary64)) x)
(* x (+ 1 (/ y x)))
(fma.f64 (/.f64 y x) x x)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (-.f64 #s(literal 2 binary64) y) (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64))) x) #s(literal 1 binary64))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) (-.f64 y #s(literal 1 binary64)) (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (-.f64 #s(literal 2 binary64) y))) x)) x) #s(literal 1 binary64))
(* -1 (* x (- (/ y x) 1)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 (* x (- (/ 1 x) (/ 1 y))))
(*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)))
(- (* -1 (/ (+ 2 (+ (* 4 (/ 1 x)) (/ 8 (pow x 2)))) x)) 1)
(-.f64 (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal -8 binary64) x) #s(literal 4 binary64)) x) #s(literal -2 binary64)) x) #s(literal 1 binary64))
(* -1 (* x (- 1 (* 2 (/ 1 x)))))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) x)
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) #s(literal 1 binary64)) x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(fma.f64 (/.f64 y x) x x)
(/ x (- 2 x))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) y (/.f64 y (-.f64 x #s(literal 2 binary64)))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (fma.f64 (+.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (/.f64 #s(literal -1 binary64) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (fma.f64 (-.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))) y (/.f64 y (pow.f64 (-.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)))) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (-.f64 #s(literal 2 binary64) x))) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(/ (+ x (* -1 y)) y)
(/.f64 (-.f64 x y) y)
(- 2 x)
(-.f64 #s(literal 2 binary64) x)
(- (+ 2 (* -1 y)) x)
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
1
#s(literal 1 binary64)
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y)) #s(literal -1 binary64))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y))) #s(literal -1 binary64))
(* y (- (/ x y) 1))
(fma.f64 (/.f64 x y) y (neg.f64 y))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) y (neg.f64 y))
(* y (+ 1 (/ x y)))
(fma.f64 (/.f64 x y) y y)
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y) (-.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64))) y))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) (-.f64 x #s(literal 1 binary64)) (/.f64 (fma.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (-.f64 x #s(literal 2 binary64)) (*.f64 (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y)) y))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(fma.f64 (/.f64 x y) y (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) y (neg.f64 y))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(fma.f64 (/.f64 x y) y y)

rewrite81.0ms (0.7%)

Memory
-1.8MiB live, 41.4MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027127
041127
1116127
0758127
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
17 → 102
Calls
Call 1
Inputs
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(-.f64 (/.f64 x y) #s(literal 1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
(-.f64 #s(literal 2 binary64) x)
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
(-.f64 x y)
#s(approx (- 2 (+ x y)) (neg.f64 x))
(neg.f64 x)
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
(-.f64 #s(literal 2 binary64) (+.f64 x y))
(+.f64 x y)
Outputs
(*.f64 (/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64)))) (+.f64 (+.f64 y x) #s(literal 2 binary64)))
(*.f64 (/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64)))) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64)))
(/.f64 (neg.f64 (neg.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)))) (neg.f64 (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
(/.f64 (neg.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))) (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 y x)))
(neg.f64 (/.f64 (neg.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))) (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(neg.f64 (/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y))
(*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) y) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64)) y) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y)))
(/.f64 (*.f64 y (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(/.f64 (*.f64 y (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64))) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y))))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y)))
(fma.f64 #s(literal 1 binary64) (/.f64 x y) #s(literal -1 binary64))
(fma.f64 (/.f64 x y) #s(literal 1 binary64) #s(literal -1 binary64))
(-.f64 (/.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) (-.f64 (/.f64 x y) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (/.f64 x y) #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y))) (/.f64 #s(literal 1 binary64) (+.f64 (+.f64 (pow.f64 (/.f64 x y) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 x y))))
(-.f64 (/.f64 x y) #s(literal 1 binary64))
(+.f64 (/.f64 x y) #s(literal -1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(*.f64 (/.f64 x (-.f64 #s(literal 4 binary64) (*.f64 x x))) (+.f64 #s(literal 2 binary64) x))
(*.f64 (/.f64 x (-.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (+.f64 #s(literal 2 binary64) x) #s(literal 4 binary64)))
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 (-.f64 #s(literal 2 binary64) x))))
(/.f64 (neg.f64 x) (neg.f64 (-.f64 #s(literal 2 binary64) x)))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
(neg.f64 (/.f64 (neg.f64 x) (-.f64 #s(literal 2 binary64) x)))
(neg.f64 (/.f64 x (neg.f64 (-.f64 #s(literal 2 binary64) x))))
(/.f64 (neg.f64 (-.f64 #s(literal 4 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 2 binary64) x)))
(/.f64 (neg.f64 (-.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (+.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 x x)) (+.f64 #s(literal 2 binary64) x))
(/.f64 (-.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (+.f64 #s(literal 2 binary64) x) #s(literal 4 binary64)))
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (-.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (-.f64 #s(literal 1 binary64) x))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x))
(-.f64 (/.f64 #s(literal 4 binary64) (+.f64 #s(literal 2 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 2 binary64) x)))
(-.f64 (/.f64 #s(literal 8 binary64) (fma.f64 x (+.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))))
(-.f64 #s(literal 2 binary64) x)
(+.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 (*.f64 (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x)))) (*.f64 (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x))))) (+.f64 (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x)))))
(/.f64 (-.f64 (pow.f64 (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) #s(literal 3 binary64)) (pow.f64 (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x))) #s(literal 3 binary64))) (fma.f64 (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (fma.f64 (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x))) (*.f64 (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x)))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 x y))) (neg.f64 (neg.f64 #s(approx (- 2 (+ x y)) (neg.f64 x)))))
(/.f64 (-.f64 (*.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (*.f64 #s(approx (- 2 (+ x y)) (neg.f64 x)) y)) (*.f64 #s(approx (- 2 (+ x y)) (neg.f64 x)) #s(approx (- 2 (+ x y)) (neg.f64 x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) #s(approx (- 2 (+ x y)) (neg.f64 x))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) #s(approx (- 2 (+ x y)) (neg.f64 x))))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 #s(approx (- 2 (+ x y)) (neg.f64 x))))
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
(neg.f64 (/.f64 (neg.f64 (-.f64 x y)) #s(approx (- 2 (+ x y)) (neg.f64 x))))
(neg.f64 (/.f64 (-.f64 x y) (neg.f64 #s(approx (- 2 (+ x y)) (neg.f64 x)))))
(-.f64 (/.f64 x #s(approx (- 2 (+ x y)) (neg.f64 x))) (/.f64 y #s(approx (- 2 (+ x y)) (neg.f64 x))))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 x y)
#s(approx (- 2 (+ x y)) (neg.f64 x))
(neg.f64 x)
(*.f64 (/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64)))) (+.f64 (+.f64 y x) #s(literal 2 binary64)))
(*.f64 (/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64)))) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64)))
(/.f64 (neg.f64 (neg.f64 #s(approx (- x y) (neg.f64 y)))) (neg.f64 (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
(/.f64 (neg.f64 #s(approx (- x y) (neg.f64 y))) (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 y x)))
(neg.f64 (/.f64 (neg.f64 #s(approx (- x y) (neg.f64 y))) (-.f64 #s(literal 2 binary64) (+.f64 y x))))
(neg.f64 (/.f64 #s(approx (- x y) (neg.f64 y)) (neg.f64 (-.f64 #s(literal 2 binary64) (+.f64 y x)))))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
(/.f64 (-.f64 (*.f64 (-.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 2 binary64) x)) (*.f64 y y)) (+.f64 (-.f64 #s(literal 2 binary64) x) y))
(/.f64 (-.f64 (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 2 binary64) x) (-.f64 #s(literal 2 binary64) x) (fma.f64 y y (*.f64 (-.f64 #s(literal 2 binary64) x) y))))
(/.f64 (neg.f64 (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64)))) (neg.f64 (+.f64 (+.f64 y x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (pow.f64 (+.f64 y x) #s(literal 2 binary64))) (+.f64 (+.f64 y x) #s(literal 2 binary64)))
(/.f64 (-.f64 #s(literal 8 binary64) (pow.f64 (+.f64 y x) #s(literal 3 binary64))) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64)))
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (-.f64 #s(literal 1 binary64) (+.f64 y x)))
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (-.f64 #s(literal 1 binary64) (+.f64 y x)))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (+.f64 y x)))
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
(-.f64 (/.f64 #s(literal 4 binary64) (+.f64 (+.f64 y x) #s(literal 2 binary64))) (/.f64 (pow.f64 (+.f64 y x) #s(literal 2 binary64)) (+.f64 (+.f64 y x) #s(literal 2 binary64))))
(-.f64 (/.f64 #s(literal 8 binary64) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64))) (/.f64 (pow.f64 (+.f64 y x) #s(literal 3 binary64)) (fma.f64 (+.f64 y x) (+.f64 (+.f64 y x) #s(literal 2 binary64)) #s(literal 4 binary64))))
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
(-.f64 #s(literal 2 binary64) (+.f64 y x))
(+.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (+.f64 y x)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (+.f64 y x))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)

eval20.0ms (0.2%)

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

Compiled 4 292 to 616 computations (85.6% saved)

prune23.0ms (0.2%)

Memory
-27.6MiB live, 17.4MiB allocated; 5ms collecting garbage
Pruning

13 alts after pruning (7 fresh and 6 done)

PrunedKeptTotal
New1772179
Fresh055
Picked055
Done011
Total17713190
Accuracy
100.0%
Counts
190 → 13
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
65.3%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
35.0%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
87.8%
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
52.7%
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
35.4%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
39.6%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
52.5%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
48.0%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
15.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
15.3%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
39.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
34.7%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
Compiler

Compiled 308 to 227 computations (26.3% saved)

simplify784.0ms (6.8%)

Memory
64.9MiB live, 459.4MiB allocated; 93ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 15 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
027148
036148
151148
277148
3134148
4304148
51174148
65173148
08017148
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
(-.f64 x y)
x
y
#s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))
(-.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
#s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
#s(literal 1/4 binary64)
x
#s(literal 1/2 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
y
(-.f64 y #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
(-.f64 x y)
x
y
#s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))
(-.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
#s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
#s(literal 1/4 binary64)
x
#s(literal 1/2 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
y
(-.f64 y #s(literal 2 binary64))
#s(literal 2 binary64)

localize55.0ms (0.5%)

Memory
-7.1MiB live, 94.5MiB allocated; 17ms collecting garbage
Localize:

Found 15 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y #s(literal 2 binary64))
accuracy0.00390625
(/.f64 y (-.f64 y #s(literal 2 binary64)))
accuracy30.42544124581934
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
accuracy0.0
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
accuracy0.01171875
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
accuracy31.299311087187412
#s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x))
accuracy33.27043974739563
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
accuracy0.0
(*.f64 #s(literal 1/2 binary64) x)
accuracy30.895893056303308
#s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))
accuracy33.27043974739563
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
accuracy39.05983348246872
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
accuracy0.0
(-.f64 x y)
accuracy0.0
(-.f64 #s(literal 2 binary64) y)
accuracy0.015625
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
accuracy22.27127883076082
#s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))
Samples
43.0ms255×0valid
0.0ms2valid
Compiler

Compiled 102 to 21 computations (79.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.0ms
ival-sub: 12.0ms (38.9% of total)
ival-add: 9.0ms (29.2% of total)
ival-div: 5.0ms (16.2% of total)
ival-mult: 4.0ms (13% 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)

series9.0ms (0.1%)

Memory
-26.5MiB live, 20.0MiB allocated; 2ms collecting garbage
Counts
15 → 69
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
(-.f64 x y)
#s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))
(-.f64 #s(literal 2 binary64) y)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
#s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(-.f64 y #s(literal 2 binary64))
Outputs
(* -1 (/ y (- 2 y)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(* -1 y)
(- x y)
(- 2 y)
(- (+ 2 (* -1 x)) y)
(* 1/2 x)
(* x (+ 1/2 (* 1/4 x)))
(* x (+ 1/2 (* x (+ 1/4 (* 1/8 x)))))
(* x (+ 1/2 (* x (+ 1/4 (* x (+ 1/8 (* 1/16 x)))))))
1/2
(+ 1/2 (* 1/4 x))
-1
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 4 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 4 (* 8 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(* 1/4 (pow x 2))
(* (pow x 2) (+ 1/4 (* 1/2 (/ 1 x))))
(* 1/4 x)
(* x (+ 1/4 (* 1/2 (/ 1 x))))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(- (* -1 (/ (+ 2 (+ (* 4 (/ 1 x)) (/ 8 (pow x 2)))) x)) 1)
(/ x (- 2 x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ x (* -1 y))
(- 2 x)
(- (+ 2 (* -1 y)) x)
2
(+ 2 (* -1 y))
(* -1/2 y)
(* y (- (* -1/4 y) 1/2))
(* y (- (* y (- (* -1/8 y) 1/4)) 1/2))
(* y (- (* y (- (* y (- (* -1/16 y) 1/8)) 1/4)) 1/2))
-2
(- y 2)
1
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(* y (- (/ x y) 1))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(* y (- (* 2 (/ 1 y)) 1))
(+ 1 (* 2 (/ 1 y)))
(+ 1 (+ (* 2 (/ 1 y)) (/ 4 (pow y 2))))
(+ 1 (+ (* 2 (/ 1 y)) (+ (* 8 (/ 1 (pow y 3))) (/ 4 (pow y 2)))))
y
(* y (- 1 (* 2 (/ 1 y))))
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(* -1 (* y (- 1 (* 2 (/ 1 y)))))
(+ 1 (* -1 (/ (- (* -1 (/ (+ 4 (* 8 (/ 1 y))) y)) 2) y)))
(* -1 (* y (- (* 2 (/ 1 y)) 1)))
Calls

6 calls:

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

simplify508.0ms (4.4%)

Memory
-10.7MiB live, 315.7MiB allocated; 80ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0265907
1819873
23076813
08495759
Stop Event
iter limit
node limit
Counts
69 → 67
Calls
Call 1
Inputs
(* -1 (/ y (- 2 y)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(* -1 y)
(- x y)
(- 2 y)
(- (+ 2 (* -1 x)) y)
(* 1/2 x)
(* x (+ 1/2 (* 1/4 x)))
(* x (+ 1/2 (* x (+ 1/4 (* 1/8 x)))))
(* x (+ 1/2 (* x (+ 1/4 (* x (+ 1/8 (* 1/16 x)))))))
1/2
(+ 1/2 (* 1/4 x))
-1
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
x
(* x (+ 1 (* -1 (/ y x))))
(* -1 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(* -1 (+ 1 (* 2 (/ 1 x))))
(- (* -1 (/ (+ 2 (* 4 (/ 1 x))) x)) 1)
(- (* -1 (/ (+ 4 (* 8 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(* 1/4 (pow x 2))
(* (pow x 2) (+ 1/4 (* 1/2 (/ 1 x))))
(* 1/4 x)
(* x (+ 1/4 (* 1/2 (/ 1 x))))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(- (* -1 (/ (+ 2 (+ (* 4 (/ 1 x)) (/ 8 (pow x 2)))) x)) 1)
(/ x (- 2 x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ x (* -1 y))
(- 2 x)
(- (+ 2 (* -1 y)) x)
2
(+ 2 (* -1 y))
(* -1/2 y)
(* y (- (* -1/4 y) 1/2))
(* y (- (* y (- (* -1/8 y) 1/4)) 1/2))
(* y (- (* y (- (* y (- (* -1/16 y) 1/8)) 1/4)) 1/2))
-2
(- y 2)
1
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(* y (- (/ x y) 1))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(* y (- (* 2 (/ 1 y)) 1))
(+ 1 (* 2 (/ 1 y)))
(+ 1 (+ (* 2 (/ 1 y)) (/ 4 (pow y 2))))
(+ 1 (+ (* 2 (/ 1 y)) (+ (* 8 (/ 1 (pow y 3))) (/ 4 (pow y 2)))))
y
(* y (- 1 (* 2 (/ 1 y))))
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(* -1 (* y (- 1 (* 2 (/ 1 y)))))
(+ 1 (* -1 (/ (- (* -1 (/ (+ 4 (* 8 (/ 1 y))) y)) 2) y)))
(* -1 (* y (- (* 2 (/ 1 y)) 1)))
Outputs
(* -1 (/ y (- 2 y)))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (fma.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) (-.f64 #s(literal 2 binary64) y)) x (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64))))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- 2 y)
(-.f64 #s(literal 2 binary64) y)
(- (+ 2 (* -1 x)) y)
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* x (+ 1/2 (* 1/4 x)))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (+ 1/4 (* 1/8 x)))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal 1/4 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (+ 1/4 (* x (+ 1/8 (* 1/16 x)))))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal 1/8 binary64)) x #s(literal 1/4 binary64)) x #s(literal 1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/4 x))
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
-1
#s(literal -1 binary64)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 1 binary64))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (/.f64 (-.f64 #s(literal 2 binary64) y) x) (-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 1 binary64)))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
(fma.f64 (/.f64 y x) #s(literal 2 binary64) (-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) #s(literal -1 binary64)) (/.f64 (fma.f64 (-.f64 y #s(literal 2 binary64)) (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 2 binary64)) x)))
x
(* x (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 x)
(neg.f64 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) #s(literal 1 binary64)) x)
(* -1 (+ 1 (* 2 (/ 1 x))))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
(- (* -1 (/ (+ 2 (* 4 (/ 1 x))) x)) 1)
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal -4 binary64) x) #s(literal 2 binary64)) x) #s(literal 1 binary64))
(- (* -1 (/ (+ 4 (* 8 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(-.f64 (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal -8 binary64) x) #s(literal 4 binary64)) x) #s(literal -2 binary64)) x) #s(literal 1 binary64))
(* 1/4 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/4 binary64))
(* (pow x 2) (+ 1/4 (* 1/2 (/ 1 x))))
(*.f64 (*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/4 binary64)) x) x)
(* 1/4 x)
(*.f64 #s(literal 1/4 binary64) x)
(* x (+ 1/4 (* 1/2 (/ 1 x))))
(*.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/4 binary64)) x)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (-.f64 #s(literal 2 binary64) y) (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64))) x) #s(literal 1 binary64))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 #s(literal 2 binary64) (-.f64 y #s(literal 1 binary64)) (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (-.f64 #s(literal 2 binary64) y))) x)) x) #s(literal 1 binary64))
(* -1 (* x (- (/ y x) 1)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) #s(literal 1 binary64)) x)
(- (* -1 (/ (+ 2 (+ (* 4 (/ 1 x)) (/ 8 (pow x 2)))) x)) 1)
(-.f64 (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal -8 binary64) x) #s(literal 4 binary64)) x) #s(literal -2 binary64)) x) #s(literal 1 binary64))
(/ x (- 2 x))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) y (/.f64 y (-.f64 x #s(literal 2 binary64)))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (fma.f64 (+.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (/.f64 #s(literal -1 binary64) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (fma.f64 (-.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))) y (/.f64 y (pow.f64 (-.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)))) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (-.f64 #s(literal 2 binary64) x))) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ x (* -1 y))
(-.f64 x y)
(- 2 x)
(-.f64 #s(literal 2 binary64) x)
(- (+ 2 (* -1 y)) x)
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
2
#s(literal 2 binary64)
(+ 2 (* -1 y))
(-.f64 #s(literal 2 binary64) y)
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(* y (- (* -1/4 y) 1/2))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(* y (- (* y (- (* -1/8 y) 1/4)) 1/2))
(*.f64 (fma.f64 (-.f64 (*.f64 #s(literal -1/8 binary64) y) #s(literal 1/4 binary64)) y #s(literal -1/2 binary64)) y)
(* y (- (* y (- (* y (- (* -1/16 y) 1/8)) 1/4)) 1/2))
(*.f64 (fma.f64 (-.f64 (*.f64 (-.f64 (*.f64 #s(literal -1/16 binary64) y) #s(literal 1/8 binary64)) y) #s(literal 1/4 binary64)) y #s(literal -1/2 binary64)) y)
-2
#s(literal -2 binary64)
(- y 2)
(-.f64 y #s(literal 2 binary64))
1
#s(literal 1 binary64)
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y)) #s(literal -1 binary64))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y))) #s(literal -1 binary64))
(* y (- (/ x y) 1))
(fma.f64 (/.f64 x y) y (neg.f64 y))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) y (neg.f64 y))
(* y (- (* 2 (/ 1 y)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) y) #s(literal 1 binary64)) y)
(+ 1 (* 2 (/ 1 y)))
(-.f64 (/.f64 #s(literal 2 binary64) y) #s(literal -1 binary64))
(+ 1 (+ (* 2 (/ 1 y)) (/ 4 (pow y 2))))
(-.f64 (/.f64 (+.f64 (/.f64 #s(literal 4 binary64) y) #s(literal 2 binary64)) y) #s(literal -1 binary64))
(+ 1 (+ (* 2 (/ 1 y)) (+ (* 8 (/ 1 (pow y 3))) (/ 4 (pow y 2)))))
(-.f64 (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal 8 binary64) y) #s(literal -4 binary64)) y) #s(literal 2 binary64)) y) #s(literal -1 binary64))
y
(* y (- 1 (* 2 (/ 1 y))))
(fma.f64 y (/.f64 #s(literal -2 binary64) y) y)
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y) (-.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64))) y))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) (-.f64 x #s(literal 1 binary64)) (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) y) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (-.f64 x #s(literal 2 binary64)))) y)) y))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(fma.f64 (/.f64 x y) y (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) y (neg.f64 y))
(* -1 (* y (- 1 (* 2 (/ 1 y)))))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) y) #s(literal 1 binary64)) y)
(+ 1 (* -1 (/ (- (* -1 (/ (+ 4 (* 8 (/ 1 y))) y)) 2) y)))
(-.f64 (/.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal 8 binary64) y) #s(literal -4 binary64)) y) #s(literal 2 binary64)) y) #s(literal -1 binary64))
(* -1 (* y (- (* 2 (/ 1 y)) 1)))
(fma.f64 y (/.f64 #s(literal -2 binary64) y) y)

rewrite57.0ms (0.5%)

Memory
-25.8MiB live, 62.7MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027137
036137
1129137
0911137
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
15 → 85
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
(-.f64 x y)
#s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))
(-.f64 #s(literal 2 binary64) y)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
#s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(-.f64 y #s(literal 2 binary64))
Outputs
(/.f64 (-.f64 (*.f64 (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))) (*.f64 (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))) (+.f64 (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))))
(/.f64 (-.f64 (pow.f64 (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) #s(literal 3 binary64)) (pow.f64 (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) #s(literal 3 binary64))) (fma.f64 (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (fma.f64 (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (*.f64 (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 x y))) (neg.f64 (neg.f64 #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))))
(/.f64 (-.f64 (*.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (*.f64 #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)) y)) (*.f64 #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
(neg.f64 (/.f64 (neg.f64 (-.f64 x y)) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(neg.f64 (/.f64 (-.f64 x y) (neg.f64 #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))))
(-.f64 (/.f64 x #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))) (/.f64 y #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 x y)
#s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))
(/.f64 (neg.f64 (-.f64 #s(literal 4 binary64) (*.f64 y y))) (neg.f64 (+.f64 #s(literal 2 binary64) y)))
(/.f64 (neg.f64 (-.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 #s(literal 2 binary64) y) #s(literal 4 binary64))))
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 y y)) (+.f64 #s(literal 2 binary64) y))
(/.f64 (-.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 #s(literal 2 binary64) y) #s(literal 4 binary64)))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) y))
(-.f64 (/.f64 #s(literal 8 binary64) (fma.f64 y (+.f64 #s(literal 2 binary64) y) #s(literal 4 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 #s(literal 2 binary64) y) #s(literal 4 binary64))))
(-.f64 (/.f64 #s(literal 4 binary64) (+.f64 #s(literal 2 binary64) y)) (/.f64 (*.f64 y y) (+.f64 #s(literal 2 binary64) y)))
(-.f64 #s(literal 2 binary64) y)
(+.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) y))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
#s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)
(*.f64 x (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)))
(/.f64 (*.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/4 binary64)) x) (-.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 3 binary64))) x) (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/8 binary64)))))
(/.f64 (*.f64 x (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/4 binary64))) (-.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64)))
(/.f64 (*.f64 x (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/8 binary64)))))
(fma.f64 (*.f64 #s(literal 1/4 binary64) x) x (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 (*.f64 #s(literal 1/4 binary64) x) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 x (*.f64 #s(literal 1/4 binary64) x)))
(fma.f64 x (*.f64 #s(literal 1/4 binary64) x) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 (*.f64 #s(literal 1/4 binary64) x) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 x (*.f64 #s(literal 1/4 binary64) x)))
(+.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) x) x) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 x (*.f64 #s(literal 1/4 binary64) x)) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (*.f64 #s(literal 1/4 binary64) x) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 x (*.f64 #s(literal 1/4 binary64) x)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) x)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/8 binary64))))))
(/.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/4 binary64)) (-.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64)))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 2 binary64)) (*.f64 x #s(literal 1/8 binary64)))))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/8 binary64)))))
(fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64) #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x) #s(literal 1/2 binary64))
(fma.f64 x #s(literal 1/4 binary64) #s(literal 1/2 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/4 binary64) x))
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) #s(literal 1/4 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/8 binary64))))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) (-.f64 #s(literal 1/4 binary64) (*.f64 x #s(literal 1/8 binary64))))))
(+.f64 (*.f64 #s(literal 1/4 binary64) x) #s(literal 1/2 binary64))
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/4 binary64) x))
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
(*.f64 (/.f64 y (fma.f64 y y #s(literal -4 binary64))) (+.f64 #s(literal 2 binary64) y))
(*.f64 (/.f64 y (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64))) (fma.f64 y y (fma.f64 #s(literal 2 binary64) y #s(literal 4 binary64))))
(/.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 (-.f64 y #s(literal 2 binary64)))))
(/.f64 (neg.f64 y) (neg.f64 (-.f64 y #s(literal 2 binary64))))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(neg.f64 (/.f64 (neg.f64 y) (-.f64 y #s(literal 2 binary64))))
(neg.f64 (/.f64 y (neg.f64 (-.f64 y #s(literal 2 binary64)))))
(/.f64 (neg.f64 (fma.f64 y y #s(literal -4 binary64))) (neg.f64 (+.f64 #s(literal 2 binary64) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64))) (neg.f64 (fma.f64 y y (fma.f64 #s(literal 2 binary64) y #s(literal 4 binary64)))))
(/.f64 (fma.f64 y y #s(literal -4 binary64)) (+.f64 #s(literal 2 binary64) y))
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64)) (fma.f64 y y (fma.f64 #s(literal 2 binary64) y #s(literal 4 binary64))))
(-.f64 (-.f64 y #s(literal 1 binary64)) #s(literal 1 binary64))
(-.f64 (/.f64 (*.f64 y y) (+.f64 #s(literal 2 binary64) y)) (/.f64 #s(literal 4 binary64) (+.f64 #s(literal 2 binary64) y)))
(-.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y (fma.f64 #s(literal 2 binary64) y #s(literal 4 binary64)))) (/.f64 #s(literal 8 binary64) (fma.f64 y y (fma.f64 #s(literal 2 binary64) y #s(literal 4 binary64)))))
(-.f64 y #s(literal 2 binary64))

eval21.0ms (0.2%)

Memory
2.6MiB live, 44.7MiB allocated; 10ms collecting garbage
Compiler

Compiled 3 517 to 592 computations (83.2% saved)

prune8.0ms (0.1%)

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

16 alts after pruning (5 fresh and 11 done)

PrunedKeptTotal
New1343137
Fresh022
Picked055
Done066
Total13416150
Accuracy
100.0%
Counts
150 → 16
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
65.3%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
35.0%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
27.9%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
87.8%
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
52.7%
(/.f64 #s(approx (- x y) (neg.f64 y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
35.4%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
39.6%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
52.5%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
48.0%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
14.9%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
15.5%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
15.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
15.3%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
39.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
34.7%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
Compiler

Compiled 340 to 247 computations (27.4% saved)

simplify1.3s (11.6%)

Memory
41.6MiB live, 825.5MiB allocated; 198ms collecting garbage
Algorithm
egg-herbie
Localize:

Found 19 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
034194
048194
179194
2134194
3300194
4977194
55715194
08244194
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
#s(literal -2 binary64)
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
y
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
#s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
#s(literal -1/4 binary64)
y
#s(literal -1/2 binary64)
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
(-.f64 x y)
x
y
#s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))
#s(approx (- 2 y) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
#s(literal 2 binary64)
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
x
#s(literal -1 binary64)
Outputs
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
(fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal 1 binary64))
#s(literal -2 binary64)
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(literal -1/2 binary64)
y
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
#s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
#s(literal -1/4 binary64)
y
#s(literal -1/2 binary64)
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
(-.f64 x y)
x
y
#s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))
#s(approx (- 2 y) #s(literal 2 binary64))
#s(literal 2 binary64)
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64)))
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
(fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64))
#s(literal 2 binary64)
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
x
#s(literal -1 binary64)

localize65.0ms (0.6%)

Memory
19.6MiB live, 105.6MiB allocated; 11ms collecting garbage
Localize:

Found 19 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
accuracy0.0
(-.f64 y #s(literal 1 binary64))
accuracy0.0078125
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
accuracy41.35237436743899
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
accuracy0.0
(-.f64 x y)
accuracy0.015625
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
accuracy22.27127883076082
#s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))
accuracy30.22076983638095
#s(approx (- 2 y) #s(literal 2 binary64))
accuracy0.0
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
accuracy0.0
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
accuracy30.42544124581934
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
accuracy30.75105676950365
#s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y))
accuracy0.0
(*.f64 #s(literal -1/2 binary64) y)
accuracy30.223998555647167
#s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))
accuracy30.42544124581934
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
accuracy0.0
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy0.01171875
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
accuracy38.636628436195274
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
Samples
48.0ms256×0valid
Compiler

Compiled 134 to 29 computations (78.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-div: 10.0ms (33.4% of total)
ival-sub: 7.0ms (23.4% of total)
ival-mult: 7.0ms (23.4% of total)
ival-add: 5.0ms (16.7% of total)
exact: 1.0ms (3.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series59.0ms (0.5%)

Memory
-24.0MiB live, 19.5MiB allocated; 7ms collecting garbage
Counts
19 → 89
Calls
Call 1
Inputs
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
(-.f64 x #s(literal 1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
#s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
(-.f64 x y)
#s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))
#s(approx (- 2 y) #s(literal 2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
Outputs
(* -1 (/ y (- 2 y)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ 1 (* 2 (/ 1 y)))
(+ 1 (+ (* -2 (/ x y)) (* 2 (/ 1 y))))
(/ -1 y)
(- (/ x y) (/ 1 y))
-1
(- x 1)
(* -1 y)
(- x y)
(- 2 y)
(- (+ 2 (* -1 x)) y)
(* 2 (/ (- y 1) x))
(/ (+ (* -1 x) (* 2 (- y 1))) x)
(/ (- y 1) x)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
(* -2 (/ x y))
(* x (- (+ (/ 1 x) (/ 2 (* x y))) (* 2 (/ 1 y))))
(/ x y)
(* x (- (/ 1 y) (/ 1 (* x y))))
x
(* x (- 1 (/ 1 x)))
(* x (+ 1 (* -1 (/ y x))))
(* -1 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(- (* 2 (/ (- y 1) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(* -1 (* x (+ (* -1 (/ (+ 1 (* 2 (/ 1 y))) x)) (* 2 (/ 1 y)))))
(* -1 (* x (- (/ 1 (* x y)) (/ 1 y))))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(/ x (- 2 x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(* -2 (/ (- x 1) y))
(/ (+ y (* -2 (- x 1))) y)
(/ (- x 1) y)
(* -1/2 y)
(* y (- (* -1/4 y) 1/2))
(* y (- (* y (- (* -1/8 y) 1/4)) 1/2))
(* y (- (* y (- (* y (- (* -1/16 y) 1/8)) 1/4)) 1/2))
-1/2
(- (* -1/4 y) 1/2)
(+ x (* -1 y))
(- 2 x)
(- (+ 2 (* -1 y)) x)
2
(+ 2 (* -1 y))
(* -1 (+ 1 (* 2 (/ 1 x))))
(/ -1 x)
(- (/ y x) (/ 1 x))
(- y 1)
1
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(+ 1 (* -2 (/ (- x 1) y)))
(+ 1 (+ (* 2 (/ 1 y)) (/ 4 (pow y 2))))
(+ 1 (+ (* 2 (/ 1 y)) (+ (* 8 (/ 1 (pow y 3))) (/ 4 (pow y 2)))))
(* -1/4 (pow y 2))
(* -1 (* (pow y 2) (+ 1/4 (* 1/2 (/ 1 y)))))
(* -1/4 y)
(* -1 (* y (+ 1/4 (* 1/2 (/ 1 y)))))
(* y (- (/ x y) 1))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(* y (- (* 2 (/ 1 y)) 1))
(* 2 (/ y x))
(* y (+ (* -1 (/ (+ 1 (* 2 (/ 1 x))) y)) (* 2 (/ 1 x))))
(/ y x)
(* y (- (/ 1 x) (/ 1 (* x y))))
y
(* y (- 1 (/ 1 y)))
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(+ 1 (* -1 (/ (- (* -1 (/ (+ 4 (* 8 (/ 1 y))) y)) 2) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(* -1 (* y (- 1 (* 2 (/ 1 y)))))
(* -1 (* y (- (+ (/ 1 y) (/ 2 (* x y))) (* 2 (/ 1 x)))))
(* -1 (* y (- (/ 1 (* x y)) (/ 1 x))))
(* -1 (* y (- (/ 1 y) 1)))
Calls

6 calls:

TimeVariablePointExpression
47.0ms
x
@-inf
((/ (- x y) (- 2 (+ x y))) (+ (* -2 (/ (- x 1) y)) 1) (/ (- x 1) y) (- x 1) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* -1/2 y) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* (+ (* -1/4 y) -1/2) y) (+ (* -1/4 y) -1/2) (/ (- x y) (- 2 (+ x y))) (- x y) (- 2 (+ x y)) (- 2 y) (/ (- x y) (- 2 (+ x y))) (+ (* 2 (/ (- y 1) x)) -1) (/ (- y 1) x) (- y 1))
4.0ms
y
@inf
((/ (- x y) (- 2 (+ x y))) (+ (* -2 (/ (- x 1) y)) 1) (/ (- x 1) y) (- x 1) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* -1/2 y) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* (+ (* -1/4 y) -1/2) y) (+ (* -1/4 y) -1/2) (/ (- x y) (- 2 (+ x y))) (- x y) (- 2 (+ x y)) (- 2 y) (/ (- x y) (- 2 (+ x y))) (+ (* 2 (/ (- y 1) x)) -1) (/ (- y 1) x) (- y 1))
2.0ms
y
@0
((/ (- x y) (- 2 (+ x y))) (+ (* -2 (/ (- x 1) y)) 1) (/ (- x 1) y) (- x 1) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* -1/2 y) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* (+ (* -1/4 y) -1/2) y) (+ (* -1/4 y) -1/2) (/ (- x y) (- 2 (+ x y))) (- x y) (- 2 (+ x y)) (- 2 y) (/ (- x y) (- 2 (+ x y))) (+ (* 2 (/ (- y 1) x)) -1) (/ (- y 1) x) (- y 1))
2.0ms
y
@-inf
((/ (- x y) (- 2 (+ x y))) (+ (* -2 (/ (- x 1) y)) 1) (/ (- x 1) y) (- x 1) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* -1/2 y) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* (+ (* -1/4 y) -1/2) y) (+ (* -1/4 y) -1/2) (/ (- x y) (- 2 (+ x y))) (- x y) (- 2 (+ x y)) (- 2 y) (/ (- x y) (- 2 (+ x y))) (+ (* 2 (/ (- y 1) x)) -1) (/ (- y 1) x) (- y 1))
1.0ms
x
@0
((/ (- x y) (- 2 (+ x y))) (+ (* -2 (/ (- x 1) y)) 1) (/ (- x 1) y) (- x 1) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* -1/2 y) (/ (- x y) (- 2 (+ x y))) (/ y (- y 2)) (* (+ (* -1/4 y) -1/2) y) (+ (* -1/4 y) -1/2) (/ (- x y) (- 2 (+ x y))) (- x y) (- 2 (+ x y)) (- 2 y) (/ (- x y) (- 2 (+ x y))) (+ (* 2 (/ (- y 1) x)) -1) (/ (- y 1) x) (- y 1))

simplify169.0ms (1.5%)

Memory
29.9MiB live, 219.5MiB allocated; 23ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02921059
18511006
23302959
08481905
Stop Event
iter limit
node limit
Counts
89 → 87
Calls
Call 1
Inputs
(* -1 (/ y (- 2 y)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(+ 1 (* 2 (/ 1 y)))
(+ 1 (+ (* -2 (/ x y)) (* 2 (/ 1 y))))
(/ -1 y)
(- (/ x y) (/ 1 y))
-1
(- x 1)
(* -1 y)
(- x y)
(- 2 y)
(- (+ 2 (* -1 x)) y)
(* 2 (/ (- y 1) x))
(/ (+ (* -1 x) (* 2 (- y 1))) x)
(/ (- y 1) x)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
(* -2 (/ x y))
(* x (- (+ (/ 1 x) (/ 2 (* x y))) (* 2 (/ 1 y))))
(/ x y)
(* x (- (/ 1 y) (/ 1 (* x y))))
x
(* x (- 1 (/ 1 x)))
(* x (+ 1 (* -1 (/ y x))))
(* -1 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(- (* 2 (/ (- y 1) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(* -1 (* x (+ (* -1 (/ (+ 1 (* 2 (/ 1 y))) x)) (* 2 (/ 1 y)))))
(* -1 (* x (- (/ 1 (* x y)) (/ 1 y))))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(/ x (- 2 x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(* -2 (/ (- x 1) y))
(/ (+ y (* -2 (- x 1))) y)
(/ (- x 1) y)
(* -1/2 y)
(* y (- (* -1/4 y) 1/2))
(* y (- (* y (- (* -1/8 y) 1/4)) 1/2))
(* y (- (* y (- (* y (- (* -1/16 y) 1/8)) 1/4)) 1/2))
-1/2
(- (* -1/4 y) 1/2)
(+ x (* -1 y))
(- 2 x)
(- (+ 2 (* -1 y)) x)
2
(+ 2 (* -1 y))
(* -1 (+ 1 (* 2 (/ 1 x))))
(/ -1 x)
(- (/ y x) (/ 1 x))
(- y 1)
1
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(+ 1 (* -2 (/ (- x 1) y)))
(+ 1 (+ (* 2 (/ 1 y)) (/ 4 (pow y 2))))
(+ 1 (+ (* 2 (/ 1 y)) (+ (* 8 (/ 1 (pow y 3))) (/ 4 (pow y 2)))))
(* -1/4 (pow y 2))
(* -1 (* (pow y 2) (+ 1/4 (* 1/2 (/ 1 y)))))
(* -1/4 y)
(* -1 (* y (+ 1/4 (* 1/2 (/ 1 y)))))
(* y (- (/ x y) 1))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(* y (- (* 2 (/ 1 y)) 1))
(* 2 (/ y x))
(* y (+ (* -1 (/ (+ 1 (* 2 (/ 1 x))) y)) (* 2 (/ 1 x))))
(/ y x)
(* y (- (/ 1 x) (/ 1 (* x y))))
y
(* y (- 1 (/ 1 y)))
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(+ 1 (* -1 (/ (- (* -1 (/ (+ 4 (* 8 (/ 1 y))) y)) 2) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(* -1 (* y (- 1 (* 2 (/ 1 y)))))
(* -1 (* y (- (+ (/ 1 y) (/ 2 (* x y))) (* 2 (/ 1 x)))))
(* -1 (* y (- (/ 1 (* x y)) (/ 1 x))))
(* -1 (* y (- (/ 1 y) 1)))
Outputs
(* -1 (/ y (- 2 y)))
(/.f64 y (-.f64 y #s(literal 2 binary64)))
(+ (* -1 (/ y (- 2 y))) (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (/ 1 (- 2 y)) (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ (* -1 (/ y (- 2 y))) (* x (- (+ (* x (- (/ (* x (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2)))) (pow (- 2 y) 2)) (* -1 (/ (- (/ 1 (- 2 y)) (/ y (pow (- 2 y) 2))) (- 2 y))))) (/ 1 (- 2 y))) (/ y (pow (- 2 y) 2)))))
(fma.f64 (fma.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) x #s(literal 1 binary64)) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)))) (-.f64 #s(literal 2 binary64) y)) x (-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) y)) (/.f64 y (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64))))) x (/.f64 y (-.f64 y #s(literal 2 binary64))))
(+ 1 (* 2 (/ 1 y)))
(+.f64 (/.f64 #s(literal 2 binary64) y) #s(literal 1 binary64))
(+ 1 (+ (* -2 (/ x y)) (* 2 (/ 1 y))))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) #s(literal -2 binary64) y) y)
(/ -1 y)
(/.f64 #s(literal -1 binary64) y)
(- (/ x y) (/ 1 y))
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
-1
#s(literal -1 binary64)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- 2 y)
(-.f64 #s(literal 2 binary64) y)
(- (+ 2 (* -1 x)) y)
(-.f64 (-.f64 #s(literal 2 binary64) x) y)
(* 2 (/ (- y 1) x))
(/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x)
(/ (+ (* -1 x) (* 2 (- y 1))) x)
(/.f64 (-.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) x)
(/ (- y 1) x)
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(- (* 2 (/ y x)) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64))
(- (+ (* 2 (/ y x)) (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (+ 1 (* 2 (/ 1 x))))
(fma.f64 (-.f64 y #s(literal 2 binary64)) (/.f64 (/.f64 (fma.f64 #s(literal -2 binary64) y #s(literal 2 binary64)) x) x) (fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64)))
(- (+ (* 2 (/ y x)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) (pow x 3))) (+ 1 (+ (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) (pow x 2))) (* 2 (/ 1 x)))))
(fma.f64 (/.f64 #s(literal 2 binary64) x) y (-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) #s(literal -1 binary64)) (/.f64 (fma.f64 (-.f64 y #s(literal 2 binary64)) (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) #s(literal 2 binary64)) x)))
(* -2 (/ x y))
(*.f64 (/.f64 x y) #s(literal -2 binary64))
(* x (- (+ (/ 1 x) (/ 2 (* x y))) (* 2 (/ 1 y))))
(fma.f64 x (/.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) y) (/.f64 x x))
(/ x y)
(/.f64 x y)
(* x (- (/ 1 y) (/ 1 (* x y))))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 (/.f64 #s(literal 1 binary64) x) y)) x)
x
(* x (- 1 (/ 1 x)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) x)
(* x (+ 1 (* -1 (/ y x))))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 x)
(neg.f64 x)
(* x (- (* 2 (/ 1 x)) (+ 1 (/ y x))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) x (neg.f64 x))
(- (* 2 (/ (- y 1) x)) 1)
(fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (* (- 2 y) (- (* 2 y) 2)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 (-.f64 y #s(literal 2 binary64)) (/.f64 (fma.f64 #s(literal -2 binary64) y #s(literal 2 binary64)) x) (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64))) x) #s(literal 1 binary64))
(- (* -1 (/ (+ (* -1 (- (* 2 y) 2)) (* -1 (/ (+ (* (- 2 y) (- (* 2 y) 2)) (/ (* (pow (- 2 y) 2) (- (* 2 y) 2)) x)) x))) x)) 1)
(-.f64 (/.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) #s(literal 2 binary64) (/.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) x) (pow.f64 (-.f64 #s(literal 2 binary64) y) #s(literal 2 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) y #s(literal -2 binary64)) (-.f64 #s(literal 2 binary64) y))) x)) x) #s(literal 1 binary64))
(* -1 (* x (+ (* -1 (/ (+ 1 (* 2 (/ 1 y))) x)) (* 2 (/ 1 y)))))
(fma.f64 x (/.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) y) (/.f64 x x))
(* -1 (* x (- (/ 1 (* x y)) (/ 1 y))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) y) (/.f64 #s(literal 1 binary64) y)) (neg.f64 x))
(* -1 (* x (- (/ 1 x) 1)))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (neg.f64 x))
(* -1 (* x (- (/ y x) 1)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(* -1 (* x (+ 1 (* -1 (/ (- 2 y) x)))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) y) x) x (neg.f64 x))
(/ x (- 2 x))
(/.f64 x (-.f64 #s(literal 2 binary64) x))
(+ (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(+.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) y (/.f64 y (-.f64 x #s(literal 2 binary64)))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (fma.f64 (+.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 3 binary64))) (/.f64 #s(literal -1 binary64) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(+ (* y (- (* y (- (* -1 (* y (+ (* -1 (/ x (pow (- 2 x) 4))) (/ 1 (pow (- 2 x) 3))))) (+ (* -1 (/ x (pow (- 2 x) 3))) (/ 1 (pow (- 2 x) 2))))) (+ (* -1 (/ x (pow (- 2 x) 2))) (/ 1 (- 2 x))))) (/ x (- 2 x)))
(fma.f64 (-.f64 (*.f64 (-.f64 (fma.f64 (/.f64 x (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 4 binary64))) y (/.f64 y (pow.f64 (-.f64 x #s(literal 2 binary64)) #s(literal 3 binary64)))) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (-.f64 #s(literal 2 binary64) x))) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) y) (/.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (-.f64 #s(literal 2 binary64) x))) (-.f64 #s(literal 2 binary64) x))) y (/.f64 x (-.f64 #s(literal 2 binary64) x)))
(* -2 (/ (- x 1) y))
(/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y)
(/ (+ y (* -2 (- x 1))) y)
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) #s(literal -2 binary64) y) y)
(/ (- x 1) y)
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
(* -1/2 y)
(*.f64 #s(literal -1/2 binary64) y)
(* y (- (* -1/4 y) 1/2))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(* y (- (* y (- (* -1/8 y) 1/4)) 1/2))
(*.f64 (fma.f64 (-.f64 (*.f64 #s(literal -1/8 binary64) y) #s(literal 1/4 binary64)) y #s(literal -1/2 binary64)) y)
(* y (- (* y (- (* y (- (* -1/16 y) 1/8)) 1/4)) 1/2))
(*.f64 (fma.f64 (-.f64 (*.f64 (-.f64 (*.f64 #s(literal -1/16 binary64) y) #s(literal 1/8 binary64)) y) #s(literal 1/4 binary64)) y #s(literal -1/2 binary64)) y)
-1/2
#s(literal -1/2 binary64)
(- (* -1/4 y) 1/2)
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
(+ x (* -1 y))
(-.f64 x y)
(- 2 x)
(-.f64 #s(literal 2 binary64) x)
(- (+ 2 (* -1 y)) x)
(-.f64 (-.f64 #s(literal 2 binary64) y) x)
2
#s(literal 2 binary64)
(+ 2 (* -1 y))
(-.f64 #s(literal 2 binary64) y)
(* -1 (+ 1 (* 2 (/ 1 x))))
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))
(/ -1 x)
(/.f64 #s(literal -1 binary64) x)
(- (/ y x) (/ 1 x))
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(- y 1)
(-.f64 y #s(literal 1 binary64))
1
#s(literal 1 binary64)
(- (+ 1 (* -1 (/ x y))) (* -1 (/ (- 2 x) y)))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) #s(literal -2 binary64) y) y)
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2)))) (* -1 (/ (- 2 x) y)))
(+.f64 (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) y)) #s(literal 1 binary64))
(- (+ 1 (+ (* -1 (/ x y)) (/ (* (pow (- 2 x) 2) (- (* -1 x) (* -1 (- 2 x)))) (pow y 3)))) (+ (* -1 (/ (* (- 2 x) (- (* -1 x) (* -1 (- 2 x)))) (pow y 2))) (* -1 (/ (- 2 x) y))))
(-.f64 (fma.f64 (/.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 #s(literal 1 binary64) (/.f64 x y))) (/.f64 (fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (-.f64 x #s(literal 2 binary64))) y))
(+ 1 (* -2 (/ (- x 1) y)))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) #s(literal -2 binary64) y) y)
(+ 1 (+ (* 2 (/ 1 y)) (/ 4 (pow y 2))))
(+.f64 (/.f64 (+.f64 (/.f64 #s(literal 4 binary64) y) #s(literal 2 binary64)) y) #s(literal 1 binary64))
(+ 1 (+ (* 2 (/ 1 y)) (+ (* 8 (/ 1 (pow y 3))) (/ 4 (pow y 2)))))
(/.f64 (+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 8 binary64) y) #s(literal 4 binary64)) y) #s(literal 2 binary64)) y) y)
(* -1/4 (pow y 2))
(*.f64 (*.f64 #s(literal -1/4 binary64) y) y)
(* -1 (* (pow y 2) (+ 1/4 (* 1/2 (/ 1 y)))))
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal -1/4 binary64)) (*.f64 y y))
(* -1/4 y)
(*.f64 #s(literal -1/4 binary64) y)
(* -1 (* y (+ 1/4 (* 1/2 (/ 1 y)))))
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) y) #s(literal -1/4 binary64)) y)
(* y (- (/ x y) 1))
(fma.f64 (/.f64 x y) y (neg.f64 y))
(* y (- (* 2 (/ 1 y)) (+ 1 (/ x y))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) y (neg.f64 y))
(* y (- (* 2 (/ 1 y)) 1))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) y) #s(literal 1 binary64)) y)
(* 2 (/ y x))
(*.f64 (/.f64 y x) #s(literal 2 binary64))
(* y (+ (* -1 (/ (+ 1 (* 2 (/ 1 x))) y)) (* 2 (/ 1 x))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) y) (/.f64 #s(literal -2 binary64) x)) y)
(/ y x)
(/.f64 y x)
(* y (- (/ 1 x) (/ 1 (* x y))))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 (/.f64 #s(literal 1 binary64) x) y)) y)
y
(* y (- 1 (/ 1 y)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) y)
(+ 1 (* -1 (/ (- (* 2 x) 2) y)))
(/.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) #s(literal -2 binary64) y) y)
(+ 1 (* -1 (/ (- (+ (* 2 x) (/ (* (- 2 x) (- (* 2 x) 2)) y)) 2) y)))
(-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64)) (/.f64 (-.f64 #s(literal 2 binary64) x) y) (fma.f64 #s(literal 2 binary64) x #s(literal -2 binary64))) y))
(+ 1 (* -1 (/ (- (+ (* -1 (/ (- (* -1 (/ (* (pow (- 2 x) 2) (- (* 2 x) 2)) y)) (* (- 2 x) (- (* 2 x) 2))) y)) (* 2 x)) 2) y)))
(/.f64 (+.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) #s(literal -2 binary64) (/.f64 (fma.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (/.f64 (pow.f64 (-.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) y) (*.f64 (fma.f64 #s(literal -2 binary64) x #s(literal 2 binary64)) (-.f64 #s(literal 2 binary64) x))) y)) y) y)
(+ 1 (* -1 (/ (- (* -1 (/ (+ 4 (* 8 (/ 1 y))) y)) 2) y)))
(/.f64 (+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 8 binary64) y) #s(literal 4 binary64)) y) #s(literal 2 binary64)) y) y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(fma.f64 (/.f64 x y) y (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (- 2 x) y)))))
(fma.f64 (/.f64 (-.f64 #s(literal 2 binary64) x) y) y (neg.f64 y))
(* -1 (* y (- 1 (* 2 (/ 1 y)))))
(*.f64 (-.f64 (/.f64 #s(literal 2 binary64) y) #s(literal 1 binary64)) y)
(* -1 (* y (- (+ (/ 1 y) (/ 2 (* x y))) (* 2 (/ 1 x)))))
(*.f64 (-.f64 (/.f64 (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) y) (/.f64 #s(literal -2 binary64) x)) y)
(* -1 (* y (- (/ 1 (* x y)) (/ 1 x))))
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) y) (/.f64 #s(literal 1 binary64) x)) (neg.f64 y))
(* -1 (* y (- (/ 1 y) 1)))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) (neg.f64 y))

rewrite442.0ms (3.8%)

Memory
-71.3MiB live, 147.6MiB allocated; 96ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034177
048177
1192177
01484177
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
19 → 145
Calls
Call 1
Inputs
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
(-.f64 x #s(literal 1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
#s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
(-.f64 x y)
#s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))
#s(approx (- 2 y) #s(literal 2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(-.f64 y #s(literal 1 binary64))
Outputs
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal -1 binary64))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal -1 binary64)))
(fma.f64 (*.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal 1 binary64))
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))
(fma.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))
(fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))
(fma.f64 #s(literal -2 binary64) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64)) #s(literal 1 binary64))
(fma.f64 #s(literal -2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal 1 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) (fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64) #s(literal -1 binary64))))
(-.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y)) #s(literal -2 binary64)))
(-.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (/.f64 (-.f64 x #s(literal 1 binary64)) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))))
(+.f64 (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) (*.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) y) #s(literal -2 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 x y) (/.f64 x y)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (pow.f64 y #s(literal -1 binary64)))) (+.f64 (/.f64 x y) (pow.f64 y #s(literal -1 binary64))))
(/.f64 (-.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) (pow.f64 (pow.f64 y #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (/.f64 x y) (/.f64 x y) (fma.f64 (pow.f64 y #s(literal -1 binary64)) (pow.f64 y #s(literal -1 binary64)) (*.f64 (/.f64 x y) (pow.f64 y #s(literal -1 binary64))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal 1 binary64)))) (neg.f64 (neg.f64 y)))
(/.f64 (-.f64 (*.f64 y x) y) (*.f64 y y))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))) y))
(/.f64 (neg.f64 (-.f64 x #s(literal 1 binary64))) (neg.f64 y))
(/.f64 (-.f64 x #s(literal 1 binary64)) y)
(neg.f64 (/.f64 (neg.f64 (-.f64 x #s(literal 1 binary64))) y))
(neg.f64 (/.f64 (-.f64 x #s(literal 1 binary64)) (neg.f64 y)))
(-.f64 (/.f64 x y) (pow.f64 y #s(literal -1 binary64)))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64)))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64))))
(fma.f64 (*.f64 x #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) x #s(literal -1 binary64))
(fma.f64 x #s(literal 1 binary64) #s(literal -1 binary64))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64))))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))))
(-.f64 x #s(literal 1 binary64))
(+.f64 x #s(literal -1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 #s(literal -1/2 binary64) y)
(*.f64 y #s(literal -1/2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
#s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y))
(*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)
(*.f64 y (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)))
(/.f64 (*.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) #s(literal -1/4 binary64)) y) (-.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal 3 binary64))) y) (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) (-.f64 #s(literal 1/4 binary64) (*.f64 y #s(literal 1/8 binary64)))))
(/.f64 (*.f64 y (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) #s(literal -1/4 binary64))) (-.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64)))
(/.f64 (*.f64 y (+.f64 #s(literal -1/8 binary64) (pow.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) (-.f64 #s(literal 1/4 binary64) (*.f64 y #s(literal 1/8 binary64)))))
(fma.f64 (*.f64 #s(literal -1/4 binary64) y) y (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 #s(literal -1/2 binary64) y (*.f64 (*.f64 #s(literal -1/4 binary64) y) y))
(fma.f64 #s(literal -1/2 binary64) y (*.f64 y (*.f64 #s(literal -1/4 binary64) y)))
(fma.f64 y (*.f64 #s(literal -1/4 binary64) y) (*.f64 #s(literal -1/2 binary64) y))
(fma.f64 y #s(literal -1/2 binary64) (*.f64 (*.f64 #s(literal -1/4 binary64) y) y))
(fma.f64 y #s(literal -1/2 binary64) (*.f64 y (*.f64 #s(literal -1/4 binary64) y)))
(+.f64 (*.f64 (*.f64 #s(literal -1/4 binary64) y) y) (*.f64 #s(literal -1/2 binary64) y))
(+.f64 (*.f64 y (*.f64 #s(literal -1/4 binary64) y)) (*.f64 #s(literal -1/2 binary64) y))
(+.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 (*.f64 #s(literal -1/4 binary64) y) y))
(+.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 y (*.f64 #s(literal -1/4 binary64) y)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/16 binary64) (*.f64 y y))) (-.f64 #s(literal -1/2 binary64) (*.f64 #s(literal -1/4 binary64) y)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) #s(literal -1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) (-.f64 #s(literal 1/4 binary64) (*.f64 y #s(literal 1/8 binary64))))))
(/.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) #s(literal -1/4 binary64)) (-.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64)))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 y y)) (*.f64 y #s(literal 1/8 binary64)))))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal 3 binary64))) (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) (-.f64 #s(literal 1/4 binary64) (*.f64 y #s(literal 1/8 binary64)))))
(fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64))
(fma.f64 y #s(literal -1/4 binary64) #s(literal -1/2 binary64))
(-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 y y)) (-.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64))))
(-.f64 #s(literal -1/2 binary64) (*.f64 #s(literal 1/4 binary64) y))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 y) #s(literal -1/4 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal 3 binary64)) (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) (-.f64 #s(literal 1/4 binary64) (*.f64 y #s(literal 1/8 binary64))))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal 1/16 binary64) (*.f64 y y) (-.f64 #s(literal 1/4 binary64) (*.f64 y #s(literal 1/8 binary64))))))
(+.f64 (*.f64 #s(literal -1/4 binary64) y) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (*.f64 #s(literal -1/4 binary64) y))
(/.f64 (-.f64 (*.f64 (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))) (*.f64 (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))) (+.f64 (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))))
(/.f64 (-.f64 (pow.f64 (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (fma.f64 (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (*.f64 (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 x y))) (neg.f64 (neg.f64 #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))))
(/.f64 (-.f64 (*.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (*.f64 #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))) y)) (*.f64 #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (*.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))
(/.f64 (neg.f64 (-.f64 x y)) (neg.f64 #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
(neg.f64 (/.f64 (neg.f64 (-.f64 x y)) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))
(neg.f64 (/.f64 (-.f64 x y) (neg.f64 #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))))
(-.f64 (/.f64 x #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) (/.f64 y #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (+.f64 y x)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (+.f64 y x))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (+.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 y x)) (/.f64 (*.f64 y y) (+.f64 y x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (+.f64 y x) (*.f64 x x))))
(-.f64 x y)
#s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))
#s(approx (- 2 y) #s(literal 2 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64))))
(/.f64 (fma.f64 (pow.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -2 binary64)))))
(/.f64 (fma.f64 (pow.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal -1 binary64))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal -1 binary64)))
(fma.f64 (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))
(fma.f64 #s(literal -1 binary64) #s(literal 1 binary64) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))
(fma.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))
(fma.f64 #s(literal 2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64))
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal -1 binary64))))
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x)) #s(literal 2 binary64)))
(-.f64 #s(literal -1 binary64) (*.f64 #s(literal -2 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x)))
(+.f64 (+.f64 #s(literal -1 binary64) (/.f64 (-.f64 y #s(literal 1 binary64)) x)) (/.f64 (-.f64 y #s(literal 1 binary64)) x))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -2 binary64)))) (/.f64 #s(literal -1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -2 binary64)))))
(+.f64 (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)) #s(literal -1 binary64))
(+.f64 #s(literal -1 binary64) (*.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal 2 binary64)))
(+.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) (+.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) x) #s(literal -1 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 y x) (/.f64 y x)) (*.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)))) (+.f64 (/.f64 y x) (pow.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 (pow.f64 (/.f64 y x) #s(literal 3 binary64)) (pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (/.f64 y x) (/.f64 y x) (fma.f64 (pow.f64 x #s(literal -1 binary64)) (pow.f64 x #s(literal -1 binary64)) (*.f64 (/.f64 y x) (pow.f64 x #s(literal -1 binary64))))))
(/.f64 (neg.f64 (neg.f64 (-.f64 y #s(literal 1 binary64)))) (neg.f64 (neg.f64 x)))
(/.f64 (-.f64 (*.f64 y x) x) (*.f64 x x))
(/.f64 (fma.f64 y y #s(literal -1 binary64)) (*.f64 (-.f64 y #s(literal -1 binary64)) x))
(/.f64 (-.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 y y (-.f64 y #s(literal -1 binary64))) x))
(/.f64 (neg.f64 (-.f64 y #s(literal 1 binary64))) (neg.f64 x))
(/.f64 (-.f64 y #s(literal 1 binary64)) x)
(neg.f64 (/.f64 (neg.f64 (-.f64 y #s(literal 1 binary64))) x))
(neg.f64 (/.f64 (-.f64 y #s(literal 1 binary64)) (neg.f64 x)))
(-.f64 (/.f64 y x) (pow.f64 x #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))))
(fma.f64 (*.f64 y #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))
(fma.f64 #s(literal 1 binary64) y #s(literal -1 binary64))
(fma.f64 y #s(literal 1 binary64) #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))

eval30.0ms (0.3%)

Memory
0.4MiB live, 47.2MiB allocated; 2ms collecting garbage
Compiler

Compiled 5 765 to 917 computations (84.1% saved)

prune39.0ms (0.3%)

Memory
-30.4MiB live, 24.1MiB allocated; 5ms collecting garbage
Pruning

15 alts after pruning (2 fresh and 13 done)

PrunedKeptTotal
New2122214
Fresh000
Picked235
Done11011
Total21515230
Accuracy
100.0%
Counts
230 → 15
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
65.3%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y)))
35.0%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (neg.f64 x)))
27.9%
(/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64))))
87.8%
(/.f64 #s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
35.4%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal 2 binary64) #s(approx (/ (- y 1) x) (/.f64 y x)) #s(literal -1 binary64)))
39.8%
#s(approx (/ (- x y) (- 2 (+ x y))) (fma.f64 #s(literal -2 binary64) #s(approx (/ (- x 1) y) (/.f64 x y)) #s(literal 1 binary64)))
52.5%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))
48.0%
#s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x)))
14.9%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 (fma.f64 #s(literal -1/4 binary64) y #s(literal -1/2 binary64)) y)))
15.5%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y)))
15.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 (fma.f64 #s(literal 1/4 binary64) x #s(literal 1/2 binary64)) x)))
15.3%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x)))
39.0%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
34.7%
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
Compiler

Compiled 536 to 260 computations (51.5% saved)

regimes16.0ms (0.1%)

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

3 calls:

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

Compiled 11 to 11 computations (0% saved)

regimes97.0ms (0.8%)

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

3 calls:

88.0ms
x
5.0ms
y
4.0ms
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
Results
AccuracySegmentsBranch
98.1%2(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
86.6%3x
79.0%3y
Compiler

Compiled 11 to 11 computations (0% saved)

regimes4.0ms (0%)

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

1 calls:

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

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0%)

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

1 calls:

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

Compiled 9 to 7 computations (22.2% saved)

regimes5.0ms (0%)

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

2 calls:

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

Compiled 10 to 9 computations (10% saved)

regimes2.0ms (0%)

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

1 calls:

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

Compiled 9 to 7 computations (22.2% saved)

regimes2.0ms (0%)

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

1 calls:

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

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0%)

Memory
5.1MiB live, 5.1MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
Outputs
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))
Calls

2 calls:

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

Compiled 10 to 9 computations (10% saved)

regimes50.0ms (0.4%)

Memory
-39.1MiB live, 7.1MiB allocated; 4ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

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

Compiled 11 to 11 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-2.8843952630341387e-10
-1.467143565354242e-16
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
2.1846904867642373e-12
0.9999999940299371
0.0ms
-2.8843952630341387e-10
-1.467143565354242e-16
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-9.325044241442067e-32
-2.399471745092261e-39
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
2.1846904867642373e-12
0.9999999940299371
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.1652505210716295e-21
2.970289445854799e-21
0.0ms
-2.8843952630341387e-10
-1.467143565354242e-16
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch1.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
2.1846904867642373e-12
0.9999999940299371
0.0ms
-0.9994256627239216
-2.8843952630341387e-10
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch13.0ms (0.1%)

Memory
11.1MiB live, 11.1MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
11.0ms
-8.706641343625786e-293
5.425979037053242e-247
Samples
4.0ms208×0valid
Compiler

Compiled 298 to 272 computations (8.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify40.0ms (0.3%)

Memory
10.6MiB live, 10.6MiB allocated; 0ms collecting garbage
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061373
178373
2104373
3156373
4427373
53129373
Stop Event
node limit
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -7737125245533627/38685626227668133590597632 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) (/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -7737125245533627/38685626227668133590597632 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) (if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 4951760157141521/1237940039285380274899124224 binary64)) (/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -35681192317649/713623846352979940529142984724747568191373312 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64)))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 4951760157141521/1237940039285380274899124224 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -7737125245533627/38685626227668133590597632 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64)) (if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 5316911983139663/2658455991569831745807614120560689152 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -1/2 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64)) (if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 4951760157141521/1237940039285380274899124224 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -101201126653655/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64)))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))
Outputs
(/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y)))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -7737125245533627/38685626227668133590597632 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) (/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) (-.f64 #s(literal 2 binary64) y))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -7737125245533627/38685626227668133590597632 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) (if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 4951760157141521/1237940039285380274899124224 binary64)) (/.f64 (-.f64 x y) #s(approx (- 2 (+ x y)) #s(approx (- 2 y) #s(literal 2 binary64)))) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64))))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -35681192317649/713623846352979940529142984724747568191373312 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 y (-.f64 y #s(literal 2 binary64)))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 4951760157141521/1237940039285380274899124224 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) (/.f64 x (-.f64 #s(literal 2 binary64) x))) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -7737125245533627/38685626227668133590597632 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64)) (if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 5316911983139663/2658455991569831745807614120560689152 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ y (- y 2)) (*.f64 #s(literal -1/2 binary64) y))) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -1/2 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64)) (if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal 4951760157141521/1237940039285380274899124224 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(approx (/ x (- 2 x)) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 (-.f64 x y) (-.f64 #s(literal 2 binary64) (+.f64 x y))) #s(literal -101201126653655/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64)) #s(approx (/ (- x y) (- 2 (+ x y))) #s(literal 1 binary64)))
#s(approx (/ (- x y) (- 2 (+ x y))) #s(literal -1 binary64))

derivations766.0ms (6.6%)

Memory
-16.8MiB live, 507.1MiB allocated; 98ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0235839
1748802
22843752
08752700
0186703
1572669
22042589
08423556
0265907
1819873
23076813
08495759
Stop Event
fuel
iter limit
node limit
iter limit
node limit
iter limit
node limit
Compiler

Compiled 373 to 62 computations (83.4% saved)

preprocess51.0ms (0.4%)

Memory
15.5MiB live, 100.9MiB allocated; 12ms collecting garbage
Compiler

Compiled 794 to 154 computations (80.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...