Data.Random.Distribution.T:$ccdf from random-fu-0.2.6.2

Time bar (total: 2.5s)

analyze17.0ms (0.7%)

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
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 10 to 6 computations (40% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (40.8% of total)
ival-add: 2.0ms (40.8% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample726.0ms (29.3%)

Results
547.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 221.0ms
ival-add: 137.0ms (62.1% of total)
ival-div: 72.0ms (32.6% of total)
const: 9.0ms (4.1% of total)
backward-pass: 3.0ms (1.4% of total)
Bogosity

preprocess73.0ms (2.9%)

Algorithm
egg-herbie
Rules
1700×fnmsub-define
1686×fmsub-define
1656×sum3-define
1554×fmm-def
914×times-frac
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01748
14442
211242
334942
4151238
5378837
6643337
7769436
057
187
2117
3137
0137
Stop Event
iter limit
saturated
node limit
Calls
Call 1
Inputs
(/ (+ x y) (+ y y))
Outputs
(/ (+ x y) (+ y y))
(/.f64 (+.f64 x y) (*.f64 y #s(literal 2 binary64)))
Call 2
Inputs
(/ (+ x y) (+ y y))
(/ (+ (neg x) y) (+ y y))
(/ (+ x (neg y)) (+ (neg y) (neg y)))
(neg (/ (+ (neg x) y) (+ y y)))
(neg (/ (+ x (neg y)) (+ (neg y) (neg y))))
(/ (+ y x) (+ x x))
Outputs
(/ (+ x y) (+ y y))
(fnmsub x (/ -1/2 y) -1/2)
(/ (+ (neg x) y) (+ y y))
(fnmsub x (/ 1/2 y) -1/2)
(/ (+ x (neg y)) (+ (neg y) (neg y)))
(fnmsub x (/ 1/2 y) -1/2)
(neg (/ (+ (neg x) y) (+ y y)))
(fnmsub x (/ -1/2 y) 1/2)
(neg (/ (+ x (neg y)) (+ (neg y) (neg y))))
(fnmsub x (/ -1/2 y) 1/2)
(/ (+ y x) (+ x x))
(fnmsub y (/ -1/2 x) -1/2)

explain61.0ms (2.5%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(+.f64 x y)
00-0-(/.f64 (+.f64 x y) (+.f64 y y))
00-0-y
00-0-(+.f64 y y)
Results
45.0ms512×0valid
Compiler

Compiled 45 to 17 computations (62.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-add: 6.0ms (56.5% of total)
ival-div: 4.0ms (37.7% of total)
const: 1.0ms (9.4% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 9 to 5 computations (44.4% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(+.f64 x y)
cost-diff0
(/.f64 (+.f64 x y) (+.f64 y y))
Rules
10×/-lowering-/.f32
10×/-lowering-/.f64
+-lowering-+.f64
+-lowering-+.f32
*-lowering-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
1815
21115
31315
01315
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(/ (+ x y) (+ y y))
(+ x y)
x
y
(+ y y)
Outputs
(/ (+ x y) (+ y y))
(/.f64 (+.f64 x y) (*.f64 y #s(literal 2 binary64)))
(+ x y)
(+.f64 x y)
x
y
(+ y y)
(*.f64 y #s(literal 2 binary64))

localize34.0ms (1.4%)

Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(+.f64 y y)
accuracy100.0%
(+.f64 x y)
accuracy100.0%
(/.f64 (+.f64 x y) (+.f64 y y))
Results
27.0ms256×0valid
Compiler

Compiled 18 to 6 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-add: 3.0ms (57.7% of total)
ival-div: 2.0ms (38.5% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series5.0ms (0.2%)

Counts
3 → 60
Calls
Call 1
Inputs
#<alt (/ (+ x y) (+ y y))>
#<alt (+ x y)>
#<alt (+ y y)>
Outputs
#<alt 1/2>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (* 1/2 (/ x y))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* 1/2 (/ x y))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* 1/2 (/ x y))>
#<alt (/ (+ (* 1/2 x) (* 1/2 y)) y)>
#<alt (/ (+ (* 1/2 x) (* 1/2 y)) y)>
#<alt (/ (+ (* 1/2 x) (* 1/2 y)) y)>
#<alt 1/2>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt 1/2>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt y>
#<alt (+ x y)>
#<alt (+ x y)>
#<alt (+ x y)>
#<alt x>
#<alt (* x (+ 1 (/ y x)))>
#<alt (* x (+ 1 (/ y x)))>
#<alt (* x (+ 1 (/ y x)))>
#<alt x>
#<alt (* -1 (* x (- (* -1 (/ y x)) 1)))>
#<alt (* -1 (* x (- (* -1 (/ y x)) 1)))>
#<alt (* -1 (* x (- (* -1 (/ y x)) 1)))>
#<alt x>
#<alt (+ x y)>
#<alt (+ x y)>
#<alt (+ x y)>
#<alt y>
#<alt (* y (+ 1 (/ x y)))>
#<alt (* y (+ 1 (/ x y)))>
#<alt (* y (+ 1 (/ x y)))>
#<alt y>
#<alt (* -1 (* y (- (* -1 (/ x y)) 1)))>
#<alt (* -1 (* y (- (* -1 (/ x y)) 1)))>
#<alt (* -1 (* y (- (* -1 (/ x y)) 1)))>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
Calls

15 calls:

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

rewrite83.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
150×/-lowering-/.f32
150×/-lowering-/.f64
128×*-lowering-*.f32
128×*-lowering-*.f64
80×+-lowering-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
13513
032513
Stop Event
iter limit
iter limit
iter limit
unsound
Counts
3 → 61
Calls
Call 1
Inputs
(/ (+ x y) (+ y y))
(+ x y)
(+ y y)
Outputs
(neg.f64 (*.f64 (/.f64 (+.f64 x y) #s(literal 0 binary64)) #s(literal 0 binary64)))
(/.f64 (+.f64 x y) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (-.f64 #s(literal 0 binary64) (+.f64 x y)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (+.f64 x y)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (+.f64 x y)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (-.f64 x y)))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (+.f64 x y))))
(/.f64 (*.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) #s(literal 1 binary64)) (*.f64 (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x))) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 (-.f64 x y) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) (+.f64 x y))) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (*.f64 (+.f64 x y) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (*.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x))))
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (-.f64 x y))
(/.f64 (/.f64 (+.f64 x y) #s(literal 2 binary64)) y)
(pow.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (+.f64 x y)) #s(literal -1 binary64))
(*.f64 (+.f64 x y) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (+.f64 x y))
(*.f64 (-.f64 #s(literal 0 binary64) (+.f64 x y)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 1 binary64) (*.f64 (/.f64 (+.f64 x y) #s(literal 0 binary64)) #s(literal 0 binary64)))
(*.f64 (/.f64 (+.f64 x y) (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(*.f64 (/.f64 (+.f64 x y) #s(literal 0 binary64)) #s(literal 0 binary64))
(+.f64 x y)
(+.f64 y x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(/.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x))))
(/.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (+.f64 (*.f64 y y) (-.f64 (*.f64 x x) (*.f64 x y))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x))) (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y)))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 x y) (-.f64 (*.f64 x x) (*.f64 y y))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y))
(/.f64 (neg.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y)))) (neg.f64 (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x)))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (neg.f64 (-.f64 x y)))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(*.f64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (*.f64 y (-.f64 y x)))))
(*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (/.f64 #s(literal 1 binary64) (-.f64 x y)))
(+.f64 y y)
(+.f64 (neg.f64 y) (neg.f64 y))
(-.f64 #s(literal 0 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(neg.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y))) (neg.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y)))))
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y)))) (neg.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64))))
(/.f64 #s(literal 1/2 binary64) y)
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal -1 binary64))
(*.f64 y #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 y y) #s(literal 0 binary64))))
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) (neg.f64 y))
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal -2 binary64) y)
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 y (*.f64 y y)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)) #s(literal 0 binary64))

simplify187.0ms (7.5%)

Algorithm
egg-herbie
Rules
1732×*-lowering-*.f32
1732×*-lowering-*.f64
1516×times-frac
1452×fmsub-define
1444×fnmsub-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
034240
1103222
2224222
3607222
42820222
56905222
08033222
Stop Event
iter limit
node limit
Counts
60 → 60
Calls
Call 1
Inputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(* 1/2 (/ x y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* 1/2 (/ x y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* 1/2 (/ x y))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(/ (+ (* 1/2 x) (* 1/2 y)) y)
1/2
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
1/2
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
y
(+ x y)
(+ x y)
(+ x y)
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
x
(+ x y)
(+ x y)
(+ x y)
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
Outputs
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* 1/2 (/ x y))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* 1/2 (/ x y))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(* 1/2 (/ x y))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(/ (+ (* 1/2 x) (* 1/2 y)) y)
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(+ 1/2 (* 1/2 (/ x y)))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
y
(+ x y)
(+.f64 x y)
(+ x y)
(+.f64 x y)
(+ x y)
(+.f64 x y)
x
(* x (+ 1 (/ y x)))
(+.f64 x y)
(* x (+ 1 (/ y x)))
(+.f64 x y)
(* x (+ 1 (/ y x)))
(+.f64 x y)
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 x y)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 x y)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 x y)
x
(+ x y)
(+.f64 x y)
(+ x y)
(+.f64 x y)
(+ x y)
(+.f64 x y)
y
(* y (+ 1 (/ x y)))
(+.f64 x y)
(* y (+ 1 (/ x y)))
(+.f64 x y)
(* y (+ 1 (/ x y)))
(+.f64 x y)
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 x y)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 x y)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 x y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))

eval9.0ms (0.4%)

Compiler

Compiled 1196 to 166 computations (86.1% saved)

prune21.0ms (0.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1174121
Fresh000
Picked101
Done000
Total1184122
Accuracy
100.0%
Counts
122 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.6%
(/.f64 x (+.f64 y y))
50.4%
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
99.7%
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
51.1%
#s(literal 1/2 binary64)
Compiler

Compiled 26 to 19 computations (26.9% saved)

simplify116.0ms (4.7%)

Algorithm
egg-herbie
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(/.f64 x (+.f64 y y))
cost-diff0
(/.f64 y x)
cost-diff0
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
cost-diff0
(/.f64 x y)
cost-diff0
(*.f64 #s(literal -1/2 binary64) (/.f64 x y))
cost-diff0
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
Rules
1736×fnmadd-define
1456×fma-define
1424×fmsub-define
1336×fnmsub-define
1146×fmm-def
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01141
12341
24540
38040
412640
518540
627540
735740
846640
963540
1072940
11100240
12180040
13349240
14494740
15513140
16541040
17590840
18655240
19661040
0661040
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
1/2
(- 1/2 (* -1/2 (/ x y)))
1/2
(* -1/2 (/ x y))
-1/2
(/ x y)
x
y
(/ 1/2 (/ y x))
1/2
(/ y x)
y
x
(/ x (+ y y))
x
(+ y y)
y
Outputs
1/2
#s(literal 1/2 binary64)
(- 1/2 (* -1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (/.f64 y x)))
1/2
#s(literal 1/2 binary64)
(* -1/2 (/ x y))
(/.f64 #s(literal -1/2 binary64) (/.f64 y x))
-1/2
#s(literal -1/2 binary64)
(/ x y)
(/.f64 x y)
x
y
(/ 1/2 (/ y x))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
1/2
#s(literal 1/2 binary64)
(/ y x)
(/.f64 y x)
y
x
(/ x (+ y y))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
x
(+ y y)
(*.f64 y #s(literal 2 binary64))
y

localize78.0ms (3.1%)

Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(/.f64 x (+.f64 y y))
accuracy100.0%
(+.f64 y y)
accuracy100.0%
(/.f64 y x)
accuracy99.5%
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
accuracy100.0%
(/.f64 x y)
accuracy100.0%
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
accuracy99.7%
(*.f64 #s(literal -1/2 binary64) (/.f64 x y))
Results
62.0ms256×0valid
Compiler

Compiled 44 to 12 computations (72.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 23.0ms
ival-div: 18.0ms (76.8% of total)
ival-mult: 2.0ms (8.5% of total)
ival-sub: 1.0ms (4.3% of total)
ival-add: 1.0ms (4.3% of total)
const: 1.0ms (4.3% of total)
backward-pass: 0.0ms (0% of total)

series8.0ms (0.3%)

Counts
7 → 156
Calls
Call 1
Inputs
#<alt (- 1/2 (* -1/2 (/ x y)))>
#<alt (* -1/2 (/ x y))>
#<alt (/ x y)>
#<alt (/ 1/2 (/ y x))>
#<alt (/ y x)>
#<alt (/ x (+ y y))>
#<alt (+ y y)>
Outputs
#<alt 1/2>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (* 1/2 (/ x y))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))>
#<alt (* 1/2 (/ x y))>
#<alt (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))>
#<alt (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))>
#<alt (* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))>
#<alt (* 1/2 (/ x y))>
#<alt (/ (- (* 1/2 y) (* -1/2 x)) y)>
#<alt (/ (- (* 1/2 y) (* -1/2 x)) y)>
#<alt (/ (- (* 1/2 y) (* -1/2 x)) y)>
#<alt 1/2>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt 1/2>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (+ 1/2 (* 1/2 (/ x y)))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (* -1/2 (/ x y))>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (/ x y)>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 1/2 (/ x y))>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
#<alt (* 2 y)>
Calls

39 calls:

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

rewrite85.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
256×/-lowering-/.f32
256×/-lowering-/.f64
224×*-lowering-*.f32
224×*-lowering-*.f64
76×+-lowering-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
16831
049331
Stop Event
iter limit
iter limit
iter limit
unsound
Counts
7 → 151
Calls
Call 1
Inputs
(- 1/2 (* -1/2 (/ x y)))
(* -1/2 (/ x y))
(/ x y)
(/ 1/2 (/ y x))
(/ y x)
(/ x (+ y y))
(+ y y)
Outputs
(+.f64 #s(literal 1/2 binary64) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(+.f64 (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 1/2 binary64))
(-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) (+.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))) (/.f64 (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y)))) (+.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))))
(-.f64 (/.f64 #s(literal 1/4 binary64) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y))) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
(/.f64 (-.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y))))) (+.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x))))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x))))) (-.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y)))))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x))) (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y))))))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y)))) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x))))
(/.f64 (neg.f64 (-.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y)))))) (neg.f64 (+.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))))
(/.f64 (neg.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y))))) (neg.f64 (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))))))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))) (-.f64 #s(literal 1/2 binary64) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))))
(*.f64 (-.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y))))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))))
(*.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 (/.f64 x y) (/.f64 x y)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
(/.f64 #s(literal -1/2 binary64) (/.f64 y x))
(/.f64 #s(literal 1 binary64) (/.f64 y (*.f64 #s(literal -1/2 binary64) x)))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) y)
(/.f64 (neg.f64 (*.f64 #s(literal -1/2 binary64) x)) (-.f64 #s(literal 0 binary64) y))
(/.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 #s(literal 0 binary64) x)) (-.f64 #s(literal 0 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) x) #s(literal -1/2 binary64)) (-.f64 #s(literal 0 binary64) y))
(*.f64 #s(literal -1/2 binary64) (/.f64 x y))
(*.f64 x (*.f64 (/.f64 #s(literal 1 binary64) y) #s(literal -1/2 binary64)))
(*.f64 (/.f64 x y) #s(literal -1/2 binary64))
(*.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal 1 binary64) y))
(neg.f64 (/.f64 x (-.f64 #s(literal 0 binary64) y)))
(neg.f64 (/.f64 (-.f64 #s(literal 0 binary64) x) y))
(/.f64 x y)
(/.f64 (-.f64 #s(literal 0 binary64) x) (-.f64 #s(literal 0 binary64) y))
(/.f64 #s(literal 1 binary64) (/.f64 y x))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 y x) #s(literal 1 binary64)))
(/.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 #s(literal 1 binary64) x))
(/.f64 #s(literal -1 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x)))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) x)) (neg.f64 (-.f64 #s(literal 0 binary64) y)))
(/.f64 (*.f64 x #s(literal 1 binary64)) y)
(pow.f64 (/.f64 y x) #s(literal -1 binary64))
(*.f64 x (/.f64 #s(literal 1 binary64) y))
(*.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) y)))
(*.f64 #s(literal 1 binary64) (/.f64 x y))
(*.f64 (/.f64 #s(literal 1 binary64) y) x)
(*.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) y)) (-.f64 #s(literal 0 binary64) x))
(-.f64 #s(literal 0 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(neg.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(neg.f64 (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(/.f64 #s(literal -1/2 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x)))
(/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (/.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x) #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (-.f64 #s(literal 0 binary64) y))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x)))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) x)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 #s(literal -1/2 binary64) x)) y)
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/.f64 (*.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 0 binary64) x)) (-.f64 #s(literal 0 binary64) y))
(/.f64 (/.f64 x #s(literal 2 binary64)) y)
(pow.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x) #s(literal -1 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 #s(literal -1/2 binary64) (neg.f64 (/.f64 x y)))
(*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x))))
(*.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x)
(*.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(*.f64 (neg.f64 (/.f64 x y)) #s(literal -1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1 binary64) y))
(*.f64 (/.f64 x (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(*.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 0 binary64) y)) (-.f64 #s(literal 0 binary64) x))
(neg.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)))
(/.f64 y x)
(/.f64 (-.f64 #s(literal 0 binary64) y) (-.f64 #s(literal 0 binary64) x))
(/.f64 #s(literal 1 binary64) (/.f64 x y))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 x y)))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) y)) (neg.f64 (-.f64 #s(literal 0 binary64) x)))
(/.f64 (*.f64 y #s(literal 1 binary64)) x)
(pow.f64 (/.f64 x y) #s(literal -1 binary64))
(*.f64 y (/.f64 #s(literal 1 binary64) x))
(*.f64 (-.f64 #s(literal 0 binary64) y) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) x)))
(*.f64 #s(literal 1 binary64) (/.f64 y x))
(*.f64 (/.f64 #s(literal 1 binary64) x) y)
(*.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) x)) (-.f64 #s(literal 0 binary64) y))
(-.f64 #s(literal 0 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(neg.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(neg.f64 (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(/.f64 #s(literal -1/2 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x)))
(/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) (/.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x) #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (-.f64 #s(literal 0 binary64) y))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x)))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) x)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 #s(literal -1/2 binary64) x)) y)
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/.f64 (*.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 0 binary64) x)) (-.f64 #s(literal 0 binary64) y))
(/.f64 (/.f64 x #s(literal 2 binary64)) y)
(pow.f64 (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x) #s(literal -1 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 #s(literal -1/2 binary64) (neg.f64 (/.f64 x y)))
(*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x))))
(*.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) x)
(*.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 x (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))))
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal -1/2 binary64) (/.f64 y x)))
(*.f64 (neg.f64 (/.f64 x y)) #s(literal -1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 #s(literal 1 binary64) y))
(*.f64 (/.f64 x (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(*.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 0 binary64) y)) (-.f64 #s(literal 0 binary64) x))
(+.f64 y y)
(+.f64 (-.f64 #s(literal 0 binary64) y) (-.f64 #s(literal 0 binary64) y))
(-.f64 #s(literal 0 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(neg.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 #s(literal 1/2 binary64) y)
(/.f64 #s(literal -1/2 binary64) (-.f64 #s(literal 0 binary64) y))
(/.f64 (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(/.f64 (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (neg.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64))))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 y #s(literal 1/2 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))))
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (neg.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64))))
(pow.f64 (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) #s(literal -1 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) y))
(*.f64 y #s(literal 2 binary64))
(*.f64 (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 y y) #s(literal 0 binary64))))
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) (-.f64 #s(literal 0 binary64) y))
(*.f64 #s(literal -1 binary64) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(*.f64 #s(literal -2 binary64) y)
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) (+.f64 (*.f64 y y) #s(literal 0 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)) #s(literal 0 binary64))

simplify192.0ms (7.8%)

Algorithm
egg-herbie
Rules
2962×fma-define
2654×fnmadd-define
1624×sum3-define
1204×fmsub-define
1030×fnmsub-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
024684
165666
2130666
3318666
4513666
5794666
61514666
72814666
84070666
95505666
107295666
117380666
127380666
137384666
07384666
Stop Event
iter limit
saturated
Counts
156 → 156
Calls
Call 1
Inputs
1/2
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(* 1/2 (/ x y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(* 1/2 (/ x y))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(* 1/2 (/ x y))
(/ (- (* 1/2 y) (* -1/2 x)) y)
(/ (- (* 1/2 y) (* -1/2 x)) y)
(/ (- (* 1/2 y) (* -1/2 x)) y)
1/2
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
1/2
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(+ 1/2 (* 1/2 (/ x y)))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(* -1/2 (/ x y))
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
Outputs
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y))))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x))))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/ (- (* 1/2 y) (* -1/2 x)) y)
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(/ (- (* 1/2 y) (* -1/2 x)) y)
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(/ (- (* 1/2 y) (* -1/2 x)) y)
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(+ 1/2 (* 1/2 (/ x y)))
(+.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) y))
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(* -1/2 (/ x y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 1/2 (/ x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))

eval34.0ms (1.4%)

Compiler

Compiled 2381 to 287 computations (87.9% saved)

prune41.0ms (1.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3070307
Fresh000
Picked044
Done000
Total3074311
Accuracy
100.0%
Counts
311 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.6%
(/.f64 x (+.f64 y y))
50.4%
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
99.7%
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
51.1%
#s(literal 1/2 binary64)
Compiler

Compiled 53 to 32 computations (39.6% saved)

regimes7.0ms (0.3%)

Counts
5 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(/.f64 x (+.f64 y y))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(/.f64 (+.f64 x y) (+.f64 y y))
Outputs
(/.f64 (+.f64 x y) (+.f64 y y))
Calls

3 calls:

2.0ms
y
2.0ms
x
2.0ms
(/.f64 (+.f64 x y) (+.f64 y y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(/.f64 (+.f64 x y) (+.f64 y y))
Compiler

Compiled 15 to 9 computations (40% saved)

regimes8.0ms (0.3%)

Counts
4 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(/.f64 x (+.f64 y y))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
Outputs
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
Calls

2 calls:

5.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
99.7%1x
99.7%1y
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes4.0ms (0.2%)

Counts
3 → 3
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
(/.f64 x (+.f64 y y))
Outputs
(/.f64 x (+.f64 y y))
#s(literal 1/2 binary64)
(/.f64 x (+.f64 y y))
Calls

2 calls:

2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
80.3%3x
71.8%3y
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes2.0ms (0.1%)

Counts
2 → 3
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
Outputs
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
#s(literal 1/2 binary64)
(/.f64 #s(literal 1/2 binary64) (/.f64 y x))
Calls

1 calls:

1.0ms
x
Results
AccuracySegmentsBranch
80.1%3x
Compiler

Compiled 3 to 2 computations (33.3% saved)

regimes3.0ms (0.1%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
Outputs
#s(literal 1/2 binary64)
Calls

2 calls:

1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
51.1%1y
51.1%1x
Compiler

Compiled 6 to 4 computations (33.3% saved)

bsearch35.0ms (1.4%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
18.0ms
2.3791151657460136e-52
4.080806685734605e-50
16.0ms
-1.505473269482623e+60
-2.2502211166136827e+48
Results
17.0ms272×0valid
Compiler

Compiled 218 to 162 computations (25.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-add: 6.0ms (74.6% of total)
ival-div: 2.0ms (24.9% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

bsearch26.0ms (1%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
9.0ms
2.3791151657460136e-52
4.080806685734605e-50
15.0ms
-1.505473269482623e+60
-2.2502211166136827e+48
Results
14.0ms272×0valid
Compiler

Compiled 218 to 179 computations (17.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 3.0ms (54.1% of total)
ival-div: 2.0ms (36.1% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

simplify12.0ms (0.5%)

Algorithm
egg-herbie
Rules
14×+-commutative_binary64
12×*-commutative_binary64
12×sub-neg_binary64
10×neg-sub0_binary64
10×neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02545
13845
25045
36045
46845
57345
67545
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) (+.f64 y y))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(if (<=.f64 x #s(literal -29000000000000000135714510502716179543341309886464 binary64)) (/.f64 x (+.f64 y y)) (if (<=.f64 x #s(literal 3706992666733213/6739986666787659948666753771754907668409286105635143120275902562304 binary64)) #s(literal 1/2 binary64) (/.f64 x (+.f64 y y))))
(if (<=.f64 x #s(literal -859999999999999941000896028554365143604786848858112 binary64)) (/.f64 #s(literal 1/2 binary64) (/.f64 y x)) (if (<=.f64 x #s(literal 8214358750147461/421249166674228746791672110734681729275580381602196445017243910144 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (/.f64 y x))))
#s(literal 1/2 binary64)
Outputs
(/.f64 (+.f64 x y) (+.f64 y y))
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))
(if (<=.f64 x #s(literal -29000000000000000135714510502716179543341309886464 binary64)) (/.f64 x (+.f64 y y)) (if (<=.f64 x #s(literal 3706992666733213/6739986666787659948666753771754907668409286105635143120275902562304 binary64)) #s(literal 1/2 binary64) (/.f64 x (+.f64 y y))))
(if (<=.f64 x #s(literal -859999999999999941000896028554365143604786848858112 binary64)) (/.f64 #s(literal 1/2 binary64) (/.f64 y x)) (if (<=.f64 x #s(literal 8214358750147461/421249166674228746791672110734681729275580381602196445017243910144 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (/.f64 y x))))
#s(literal 1/2 binary64)

soundness564.0ms (22.7%)

Rules
1732×*-lowering-*.f32
1732×*-lowering-*.f64
1516×times-frac
1452×fmsub-define
1444×fnmsub-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
034240
1103222
2224222
3607222
42820222
56905222
08033222
Stop Event
done
iter limit
node limit
Compiler

Compiled 87 to 50 computations (42.5% saved)

preprocess43.0ms (1.7%)

Compiler

Compiled 146 to 72 computations (50.7% saved)

end0.0ms (0%)

Profiling

Loading profile data...