Numeric.Interval.Internal:bisect from intervals-0.7.1, A

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample651.0ms (56.5%)

Memory
-14.7MiB live, 828.3MiB allocated; 181ms collecting garbage
Samples
373.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 153.0ms
ival-div!: 96.0ms (62.6% of total)
ival-sub!: 29.0ms (18.9% of total)
ival-add!: 26.0ms (17% of total)
adjust: 2.0ms (1.3% of total)
Bogosity

preprocess106.0ms (9.2%)

Memory
5.3MiB live, 51.5MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01946
18242
233142
3156530
4660530
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Symmetry

(sort x y)

Compiler

Compiled 14 to 12 computations (14.3% saved)

series14.0ms (1.2%)

Memory
33.3MiB live, 33.3MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084312
Stop Event
iter-limit
Counts
6 → 24
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
x
(/.f64 (-.f64 y x) #s(literal 2 binary64))
(-.f64 y x)
y
#s(literal 2 binary64)
Outputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (+ x (/ (- y x) 2)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
#s(approx x x)
#s(approx (/ (- y x) 2) (fma.f64 #s(literal -1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (- y x) y)
#s(approx (- y x) (+.f64 y (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (/ (- y x) 2)) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x)))))
#s(approx (/ (- y x) 2) (*.f64 #s(literal -1/2 binary64) x))
#s(approx (/ (- y x) 2) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) x))
#s(approx (- y x) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))))
#s(approx (/ (- y x) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x))))))
#s(approx (+ x (/ (- y x) 2)) (+.f64 x (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ x (/ (- y x) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))))
#s(approx (- y x) (-.f64 y x))
#s(approx (+ x (/ (- y x) 2)) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 x y) (/.f64 x y)))))
#s(approx (/ (- y x) 2) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))
#s(approx (- y x) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64)))))
#s(approx (/ (- y x) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
-inf
1.0ms
y
0
1.0ms
y
inf

rewrite63.0ms (5.5%)

Memory
-7.7MiB live, 88.3MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
16218
065017
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
6 → 88
Calls
Call 1
Inputs
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
x
(/.f64 (-.f64 y x) #s(literal 2 binary64))
(-.f64 y x)
y
#s(literal 2 binary64)
Outputs
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) x)) x)
(*.f64 (fma.f64 (-.f64 y x) (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x)
(*.f64 (fma.f64 #s(literal 2 binary64) x (-.f64 y x)) #s(literal 1/2 binary64))
(*.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))
(*.f64 (fma.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))))
(*.f64 x (fma.f64 (-.f64 y x) (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))
(/.f64 (fma.f64 x (/.f64 #s(literal -2 binary64) (-.f64 x y)) #s(literal 1 binary64)) (/.f64 #s(literal -2 binary64) (-.f64 x y)))
(/.f64 (fma.f64 x #s(literal -2 binary64) (-.f64 x y)) #s(literal -2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 x x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64) (*.f64 x (*.f64 (-.f64 x y) #s(literal 1/2 binary64))))))
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x (-.f64 y x))) #s(literal -2 binary64))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)))) (neg.f64 (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (fma.f64 #s(literal 2 binary64) x (-.f64 y x))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x))) (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x))))
(/.f64 (fma.f64 #s(literal 2 binary64) x (-.f64 y x)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64))) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))
(/.f64 (fma.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64) (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x))))
(/.f64 (fma.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x)))
(neg.f64 (-.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)) x))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))) (*.f64 y #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 1/2 binary64) (-.f64 y x) x)
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (*.f64 y #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)
(fma.f64 (-.f64 x y) #s(literal -1/2 binary64) x)
(fma.f64 (-.f64 y x) #s(literal 1/2 binary64) x)
(-.f64 (+.f64 x (*.f64 y #s(literal 1/2 binary64))) (*.f64 x #s(literal 1/2 binary64)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))) (/.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))
(-.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 x #s(literal 1/2 binary64)) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (neg.f64 x))
(-.f64 x (*.f64 (-.f64 x y) #s(literal 1/2 binary64)))
(+.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 (*.f64 (-.f64 y x) (-.f64 y x)) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)
(+.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
x
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) (-.f64 y x))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(*.f64 (-.f64 x y) #s(literal -1/2 binary64))
(*.f64 (-.f64 y x) #s(literal 1/2 binary64))
(pow.f64 (/.f64 #s(literal -2 binary64) (-.f64 x y)) #s(literal -1 binary64))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (+.f64 y x))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) #s(literal 1/2 binary64)) (fma.f64 y y (*.f64 x (+.f64 y x))))
(/.f64 (-.f64 (*.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal 2 binary64)) x) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64))) (*.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))) (fma.f64 y #s(literal 1/2 binary64) (*.f64 x #s(literal 1/2 binary64))))
(/.f64 (-.f64 (pow.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 x #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))))))
(/.f64 (-.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) x)) #s(literal 4 binary64))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (*.f64 (+.f64 y x) #s(literal 2 binary64)))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) (*.f64 (fma.f64 y y (*.f64 x (+.f64 y x))) #s(literal 2 binary64)))
(/.f64 (*.f64 (-.f64 y x) #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal -2 binary64) (-.f64 x y))))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal -2 binary64) (-.f64 x y)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal -2 binary64) (-.f64 x y)))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (+.f64 y x) #s(literal 2 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) (*.f64 (fma.f64 y y (*.f64 x (+.f64 y x))) #s(literal 2 binary64)))
(/.f64 (-.f64 x y) #s(literal -2 binary64))
(/.f64 (-.f64 y x) #s(literal 2 binary64))
(neg.f64 (*.f64 (-.f64 x y) #s(literal 1/2 binary64)))
(fma.f64 y #s(literal 1/2 binary64) (neg.f64 (*.f64 x #s(literal 1/2 binary64))))
(fma.f64 y #s(literal 1/2 binary64) (/.f64 (neg.f64 x) #s(literal 2 binary64)))
(-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 (*.f64 y #s(literal 1/2 binary64)) (neg.f64 (*.f64 x #s(literal 1/2 binary64))))
(+.f64 (*.f64 y #s(literal 1/2 binary64)) (/.f64 (neg.f64 x) #s(literal 2 binary64)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) y)) y)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) y)
(*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (/.f64 #s(literal 1 binary64) (+.f64 y x)))
(*.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 y y (*.f64 x (+.f64 y x)))))
(*.f64 y (-.f64 #s(literal 1 binary64) (/.f64 x y)))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y (neg.f64 x)))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (+.f64 y x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 y y (*.f64 x (+.f64 y x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 y x) (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 y y (*.f64 x (+.f64 y x))) (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (+.f64 y x))
(/.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) (fma.f64 y y (*.f64 x (+.f64 y x))))
(neg.f64 (-.f64 x y))
(-.f64 (/.f64 (*.f64 y y) (+.f64 y x)) (/.f64 (*.f64 x x) (+.f64 y x)))
(-.f64 (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y y (*.f64 x (+.f64 y x)))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 y y (*.f64 x (+.f64 y x)))))
(-.f64 y (neg.f64 (neg.f64 x)))
(-.f64 y x)
(+.f64 (neg.f64 x) y)
(+.f64 y (neg.f64 x))
y
#s(literal 2 binary64)

eval15.0ms (1.3%)

Memory
-18.7MiB live, 26.2MiB allocated; 7ms collecting garbage
Compiler

Compiled 1 686 to 369 computations (78.1% saved)

prune4.0ms (0.3%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1025107
Fresh000
Picked101
Done000
Total1035108
Accuracy
100.0%
Counts
108 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 y x) #s(literal 1/2 binary64) x)
56.1%
(+.f64 x (/.f64 #s(approx (- y x) y) #s(literal 2 binary64)))
100.0%
#s(approx (+ x (/ (- y x) 2)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
47.9%
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
53.0%
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 102 to 80 computations (21.6% saved)

series9.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
091342
Stop Event
iter-limit
Counts
15 → 26
Calls
Call 1
Inputs
#s(approx (+ x (/ (- y x) 2)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))
#s(literal 1/2 binary64)
x
(*.f64 #s(literal 1/2 binary64) y)
y
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 x (/.f64 #s(approx (- y x) y) #s(literal 2 binary64)))
(/.f64 #s(approx (- y x) y) #s(literal 2 binary64))
#s(approx (- y x) y)
#s(literal 2 binary64)
(fma.f64 (-.f64 y x) #s(literal 1/2 binary64) x)
(-.f64 y x)
Outputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (+ x (/ (- y x) 2)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
#s(approx x x)
#s(approx (* 1/2 x) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ (- y x) 2) (fma.f64 #s(literal -1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (- y x) y)
#s(approx (- y x) (+.f64 y (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ x (/ (- y x) 2)) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x)))))
#s(approx (/ (- y x) 2) (*.f64 #s(literal -1/2 binary64) x))
#s(approx (/ (- y x) 2) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) x))
#s(approx (- y x) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))))
#s(approx (/ (- y x) 2) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 y x))))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x))))))
#s(approx (+ x (/ (- y x) 2)) (+.f64 x (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ x (/ (- y x) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))))
#s(approx (- y x) (-.f64 y x))
#s(approx (+ x (/ (- y x) 2)) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 x y) (/.f64 x y)))))
#s(approx (+ (* 1/2 x) (* 1/2 y)) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))))
#s(approx (/ (- y x) 2) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y)))))
#s(approx (- y x) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64)))))
#s(approx (+ (* 1/2 x) (* 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
#s(approx (/ (- y x) 2) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
-inf
1.0ms
y
inf
1.0ms
x
0

rewrite85.0ms (7.3%)

Memory
-33.2MiB live, 70.0MiB allocated; 40ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01882
02677
114777
0148376
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
15 → 185
Calls
Call 1
Inputs
#s(approx (+ x (/ (- y x) 2)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))
#s(literal 1/2 binary64)
x
(*.f64 #s(literal 1/2 binary64) y)
y
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 x (/.f64 #s(approx (- y x) y) #s(literal 2 binary64)))
(/.f64 #s(approx (- y x) y) #s(literal 2 binary64))
#s(approx (- y x) y)
#s(literal 2 binary64)
(fma.f64 (-.f64 y x) #s(literal 1/2 binary64) x)
(-.f64 y x)
Outputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (*.f64 (fma.f64 (/.f64 y x) #s(literal 1 binary64) #s(literal 1 binary64)) #s(literal 1/2 binary64)) x)
(*.f64 (*.f64 (fma.f64 (/.f64 y x) #s(literal 1 binary64) #s(literal 1 binary64)) x) #s(literal 1/2 binary64))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 (/.f64 y x) #s(literal 1 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) (-.f64 y x))) (/.f64 #s(literal 1 binary64) (*.f64 #s(literal -1/2 binary64) (-.f64 y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(*.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) y))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))))
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (fma.f64 (/.f64 y x) #s(literal 1 binary64) #s(literal 1 binary64)))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 y x)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(/.f64 (-.f64 (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x)) (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (fma.f64 #s(literal 1/4 binary64) (*.f64 y y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y)))))
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) (-.f64 y x)))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(/.f64 (neg.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) y)))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))))
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) (-.f64 y x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))) (fma.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) y)))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) (-.f64 y x))) (*.f64 #s(literal -1/2 binary64) (-.f64 y x)))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) y))) (fma.f64 #s(literal 1/4 binary64) (*.f64 y y) (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64)))))
(/.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x) (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) y))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))
(neg.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 #s(literal 1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (neg.f64 (*.f64 #s(literal -1/2 binary64) y)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))
(fma.f64 y #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (neg.f64 (*.f64 #s(literal -1/2 binary64) y)))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) y))
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal -1/2 binary64) (-.f64 y x))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 y y)) (*.f64 #s(literal -1/2 binary64) (-.f64 y x))))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1/2 binary64) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (neg.f64 (*.f64 #s(literal 1/2 binary64) x)))
(+.f64 (/.f64 (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))) (/.f64 (*.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) y)) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (neg.f64 (*.f64 #s(literal -1/2 binary64) y)))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))
#s(literal 1/2 binary64)
x
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 y #s(literal 1/2 binary64))
(/.f64 (*.f64 y #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) y) #s(literal 2 binary64))
(/.f64 (neg.f64 y) #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) y))
(/.f64 y #s(literal 2 binary64))
y
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
(/.f64 (*.f64 x #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))
(/.f64 (neg.f64 x) #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) x))
(/.f64 x #s(literal 2 binary64))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(approx (- y x) y) #s(literal -1/2 binary64)) x)) x)
(*.f64 (fma.f64 #s(approx (- y x) y) (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)) x)
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(approx (- y x) y)) #s(literal 1/2 binary64))
(*.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))
(*.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (*.f64 x x))))
(*.f64 x (fma.f64 #s(approx (- y x) y) (/.f64 #s(literal 1/2 binary64) x) #s(literal 1 binary64)))
(/.f64 (fma.f64 x (/.f64 #s(literal 2 binary64) #s(approx (- y x) y)) #s(literal 1 binary64)) (/.f64 #s(literal 2 binary64) #s(approx (- y x) y)))
(/.f64 (fma.f64 x #s(literal -2 binary64) (neg.f64 #s(approx (- y x) y))) #s(literal -2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 x x)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 #s(approx (- y x) y) #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (*.f64 #s(approx (- y x) y) #s(literal -1/2 binary64))))))
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(approx (- y x) y))) #s(literal -2 binary64))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)))) (neg.f64 (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (*.f64 x x))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (fma.f64 #s(literal 2 binary64) x #s(approx (- y x) y))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x))))
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(approx (- y x) y)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64))) (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x))))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (*.f64 x x)))
(neg.f64 (-.f64 (*.f64 #s(approx (- y x) y) #s(literal -1/2 binary64)) x))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)
(fma.f64 (neg.f64 #s(approx (- y x) y)) #s(literal -1/2 binary64) x)
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) x)
(fma.f64 #s(literal 1/2 binary64) #s(approx (- y x) y) x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))) (/.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))
(-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (neg.f64 x))
(-.f64 x (*.f64 #s(approx (- y x) y) #s(literal -1/2 binary64)))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) (fma.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (*.f64 x x))))
(+.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
(+.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)
(+.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
(*.f64 #s(literal 1 binary64) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
(*.f64 (neg.f64 #s(approx (- y x) y)) #s(literal -1/2 binary64))
(*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) #s(approx (- y x) y))
(pow.f64 (/.f64 #s(literal 2 binary64) #s(approx (- y x) y)) #s(literal -1 binary64))
(/.f64 (*.f64 #s(approx (- y x) y) #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (neg.f64 (neg.f64 #s(approx (- y x) y))) #s(literal 2 binary64))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 2 binary64) #s(approx (- y x) y))))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 2 binary64) #s(approx (- y x) y)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(approx (- y x) y)))
(/.f64 (neg.f64 #s(approx (- y x) y)) #s(literal -2 binary64))
(/.f64 #s(approx (- y x) y) #s(literal 2 binary64))
(neg.f64 (*.f64 #s(approx (- y x) y) #s(literal -1/2 binary64)))
#s(approx (- y x) y)
#s(literal 2 binary64)
(*.f64 (*.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (-.f64 y x))
(*.f64 (*.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) (-.f64 y x)) #s(literal 1/2 binary64))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 y x)) x)) x)
(*.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(*.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 y x) x) #s(literal 1 binary64)) x)
(*.f64 (fma.f64 #s(literal 2 binary64) x (-.f64 y x)) #s(literal 1/2 binary64))
(*.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)))
(*.f64 (-.f64 (*.f64 x x) (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)))) (/.f64 #s(literal 1 binary64) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))
(*.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))))
(*.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))))
(*.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)))
(*.f64 x (fma.f64 #s(literal 1/2 binary64) (/.f64 (-.f64 y x) x) #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) #s(literal 1 binary64)) (/.f64 #s(literal -2 binary64) (-.f64 x y)))
(/.f64 (*.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) (-.f64 x y)) #s(literal -2 binary64))
(/.f64 (*.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) (-.f64 y x)) #s(literal 2 binary64))
(/.f64 (fma.f64 x #s(literal -2 binary64) (-.f64 x y)) #s(literal -2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (fma.f64 x x (*.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (neg.f64 x)))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 y x)) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (*.f64 #s(literal -1/2 binary64) (-.f64 y x))))))
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x (-.f64 y x))) #s(literal -2 binary64))
(/.f64 (neg.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))))
(/.f64 (fma.f64 (/.f64 x (-.f64 x y)) #s(literal -2 binary64) #s(literal 1 binary64)) (/.f64 #s(literal -2 binary64) (-.f64 x y)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (fma.f64 #s(literal 2 binary64) x (-.f64 y x))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 x x))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x))) (-.f64 (*.f64 x x) (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x)) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x))))
(/.f64 (fma.f64 #s(literal 2 binary64) x (-.f64 y x)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 x x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)))) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))
(/.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))))
(/.f64 (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x)))
(neg.f64 (-.f64 (neg.f64 x) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))))
(neg.f64 (-.f64 (*.f64 #s(literal -1/2 binary64) (-.f64 y x)) x))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1 binary64) (/.f64 x y))) y (neg.f64 (neg.f64 x)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1 binary64) (/.f64 x y))) y x)
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))) (*.f64 #s(literal 1/2 binary64) y) (neg.f64 (neg.f64 x)))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))) (*.f64 #s(literal 1/2 binary64) y) x)
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (*.f64 #s(literal 1/2 binary64) y) (neg.f64 (neg.f64 x)))
(fma.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) (*.f64 #s(literal 1/2 binary64) y) x)
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (neg.f64 (neg.f64 x)))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)
(fma.f64 (-.f64 x y) #s(literal -1/2 binary64) (neg.f64 (neg.f64 x)))
(fma.f64 (-.f64 x y) #s(literal -1/2 binary64) x)
(fma.f64 #s(literal 1/2 binary64) (-.f64 y x) (neg.f64 (neg.f64 x)))
(fma.f64 #s(literal 1/2 binary64) (-.f64 y x) x)
(fma.f64 (-.f64 y x) #s(literal 1/2 binary64) (neg.f64 (neg.f64 x)))
(fma.f64 (-.f64 y x) #s(literal 1/2 binary64) x)
(-.f64 (+.f64 x (*.f64 #s(literal 1/2 binary64) y)) (*.f64 #s(literal 1/2 binary64) x))
(-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))
(-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (neg.f64 x))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) x) x))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 #s(literal 1/2 binary64) x (neg.f64 x)))
(-.f64 x (*.f64 #s(literal -1/2 binary64) (-.f64 y x)))
(+.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(+.f64 (/.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))) (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x)) (*.f64 x (-.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))))))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 (-.f64 y x) (-.f64 y x))) (*.f64 #s(literal 1/2 binary64) (-.f64 y x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (-.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x) (*.f64 x x))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) (neg.f64 (neg.f64 x)))
(+.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 y x)) x)
(+.f64 x (*.f64 #s(literal 1/2 binary64) (-.f64 y x)))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) y)) y)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 x y)) y)
(*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (/.f64 #s(literal 1 binary64) (+.f64 y x)))
(*.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 y y (*.f64 x (+.f64 y x)))))
(*.f64 y (-.f64 #s(literal 1 binary64) (/.f64 x y)))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y (neg.f64 x)))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (+.f64 y x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 y y (*.f64 x (+.f64 y x)))))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 y x) (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 y y (*.f64 x (+.f64 y x))) (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (+.f64 y x))
(/.f64 (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x)) (fma.f64 y y (*.f64 x (+.f64 y x))))
(neg.f64 (-.f64 x y))
(-.f64 (/.f64 (*.f64 y y) (+.f64 y x)) (/.f64 (*.f64 x x) (+.f64 y x)))
(-.f64 (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y y (*.f64 x (+.f64 y x)))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 y y (*.f64 x (+.f64 y x)))))
(-.f64 y (neg.f64 (neg.f64 x)))
(-.f64 y x)
(+.f64 (neg.f64 x) y)
(+.f64 y (neg.f64 x))

eval24.0ms (2.1%)

Memory
0.2MiB live, 47.8MiB allocated; 8ms collecting garbage
Compiler

Compiled 3 775 to 584 computations (84.5% saved)

prune4.0ms (0.3%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2022204
Fresh000
Picked325
Done000
Total2054209
Accuracy
100.0%
Counts
209 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) x)
100.0%
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
47.9%
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
53.0%
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 43 to 34 computations (20.9% saved)

series7.0ms (0.6%)

Memory
18.5MiB live, 18.5MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093318
Stop Event
iter-limit
Counts
8 → 25
Calls
Call 1
Inputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
y
x
#s(literal 1/2 binary64)
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) x)
#s(approx (- y x) y)
Outputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (+ x (/ (- y x) 2)) (fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 x y))
#s(approx x x)
#s(approx (- y x) (+.f64 y (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (+ x (/ (- y x) 2)) (*.f64 x (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x)))))
#s(approx (+ y x) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) x))
#s(approx (- y x) (*.f64 x (-.f64 (/.f64 y x) #s(literal 1 binary64))))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64)))))
#s(approx (+ y x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x))))))
#s(approx (+ x (/ (- y x) 2)) (+.f64 x (*.f64 #s(literal -1/2 binary64) x)))
#s(approx (+ x (/ (- y x) 2)) (+.f64 x (fma.f64 #s(literal -1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))))
#s(approx (- y x) (-.f64 y x))
#s(approx (+ x (/ (- y x) 2)) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1/2 binary64) (/.f64 x y) (/.f64 x y)))))
#s(approx (* (+ y x) 1/2) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))))
#s(approx (+ y x) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (- y x) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 x (*.f64 #s(literal -1/2 binary64) x)) y)) #s(literal 1/2 binary64)))))
#s(approx (* (+ y x) 1/2) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))))
#s(approx (+ y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
#s(approx (- y x) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 x y) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePoint
1.0ms
y
-inf
1.0ms
x
-inf
0.0ms
y
inf
0.0ms
x
inf
0.0ms
x
0

rewrite44.0ms (3.8%)

Memory
1.6MiB live, 48.3MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01237
01637
19337
099336
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
8 → 86
Calls
Call 1
Inputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
y
x
#s(literal 1/2 binary64)
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) x)
#s(approx (- y x) y)
Outputs
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) (+.f64 y x)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 x y) #s(literal 1 binary64))) y)
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y))) (fma.f64 y y (*.f64 x (-.f64 x y))))
(/.f64 (*.f64 (+.f64 y x) #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 y x)) #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (-.f64 y x))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) #s(literal 1/2 binary64)) (fma.f64 y y (*.f64 x (-.f64 x y))))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 #s(literal 2 binary64) (-.f64 y x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y))) (*.f64 #s(literal 2 binary64) (fma.f64 y y (*.f64 x (-.f64 x y)))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1 binary64)) (*.f64 (-.f64 y x) #s(literal 2 binary64)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) #s(literal 1 binary64)) (*.f64 (fma.f64 y y (*.f64 x (-.f64 x y))) #s(literal 2 binary64)))
(/.f64 (+.f64 y x) #s(literal 2 binary64))
(fma.f64 #s(literal 1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))
(fma.f64 y #s(literal 1/2 binary64) (*.f64 x #s(literal 1/2 binary64)))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 y #s(literal 1/2 binary64)))
(+.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))
(+.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 x x) x))) (fma.f64 y y (*.f64 x (+.f64 y x))))
(*.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (+.f64 y x) (-.f64 y x))) (+.f64 y x))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) x)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) y)) y)
(*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)
(*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (/.f64 #s(literal 1 binary64) (-.f64 y x)))
(*.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) (/.f64 #s(literal 1 binary64) (fma.f64 y y (*.f64 x (-.f64 x y)))))
(*.f64 y (+.f64 (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 #s(literal 1 binary64) (/.f64 x y))) y)
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y))
(/.f64 (-.f64 (*.f64 (*.f64 y y) y) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 y y (fma.f64 x x (*.f64 y (neg.f64 x)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y))) (neg.f64 (fma.f64 y y (*.f64 x (-.f64 x y)))))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 x y))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 y x) (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 y y (*.f64 x (-.f64 x y))) (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 y x))))
(/.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) (fma.f64 y y (*.f64 x (-.f64 x y))))
(neg.f64 (/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 x y)))
(neg.f64 (-.f64 (neg.f64 x) y))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(-.f64 y (neg.f64 x))
(-.f64 x (neg.f64 y))
(+.f64 (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y y (*.f64 x (-.f64 x y)))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 y y (*.f64 x (-.f64 x y)))))
(+.f64 y (neg.f64 (neg.f64 x)))
(+.f64 y x)
(+.f64 x y)
y
x
#s(literal 1/2 binary64)
(*.f64 (*.f64 (+.f64 (/.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) #s(literal 1 binary64)) #s(approx (- y x) y)) #s(literal 1/2 binary64))
(*.f64 (*.f64 (+.f64 (/.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) #s(literal 1 binary64)) #s(literal 1/2 binary64)) #s(approx (- y x) y))
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)) x)
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
(*.f64 (+.f64 (/.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) #s(literal 1 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
(*.f64 (-.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)))
(*.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))))
(*.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (+.f64 (/.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64))) (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) (pow.f64 (neg.f64 x) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (fma.f64 x x (*.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (neg.f64 x)))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x) (-.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 x x))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))))) (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x))))
(/.f64 (-.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 x x)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (fma.f64 x x (-.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x))))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))))))
(neg.f64 (-.f64 (neg.f64 x) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))))
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) (neg.f64 (neg.f64 x)))
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) x)
(fma.f64 #s(literal 1/2 binary64) #s(approx (- y x) y) (neg.f64 (neg.f64 x)))
(fma.f64 #s(literal 1/2 binary64) #s(approx (- y x) y) x)
(-.f64 (/.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)))
(-.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (neg.f64 x))
(-.f64 x (*.f64 (neg.f64 #s(approx (- y x) y)) #s(literal 1/2 binary64)))
(-.f64 x (*.f64 #s(literal -1/2 binary64) #s(approx (- y x) y)))
(-.f64 x (neg.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64)) (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64))) (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(approx (- y x) y) #s(approx (- y x) y)) #s(literal 1/4 binary64) (*.f64 x (-.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))))))
(+.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) (neg.f64 (neg.f64 x)))
(+.f64 (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)) x)
(+.f64 x (*.f64 #s(approx (- y x) y) #s(literal 1/2 binary64)))
#s(approx (- y x) y)

eval11.0ms (1%)

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

Compiled 2 241 to 376 computations (83.2% saved)

prune3.0ms (0.3%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1030103
Fresh000
Picked022
Done022
Total1034107
Accuracy
100.0%
Counts
107 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
(fma.f64 #s(approx (- y x) y) #s(literal 1/2 binary64) x)
100.0%
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
47.9%
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))
53.0%
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 43 to 34 computations (20.9% saved)

regimes49.0ms (4.2%)

Memory
2.7MiB live, 52.4MiB allocated; 6ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

9 calls:

34.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
3.0ms
y
3.0ms
x
2.0ms
x
2.0ms
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
53.0%1y
53.0%1x
53.0%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
97.6%2(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
86.4%2x
82.9%2y
100.0%1(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64)))
100.0%1x
100.0%1y
Compiler

Compiled 106 to 55 computations (48.1% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.2402765403884643e-253
7.989073591835694e-257
Compiler

Compiled 10 to 11 computations (-10% saved)

derivations23.0ms (2%)

Memory
-26.8MiB live, 15.8MiB allocated; 10ms collecting garbage
Stop Event
done
Compiler

Compiled 56 to 21 computations (62.5% saved)

preprocess41.0ms (3.6%)

Memory
22.2MiB live, 66.2MiB allocated; 11ms collecting garbage
Compiler

Compiled 175 to 101 computations (42.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...