A quarter-circle in the lower-left quadrant

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze90.0ms (5.7%)

Memory
10.1MiB live, 209.5MiB allocated; 32ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
12.5%12.5%87.4%0.1%0%0%0%4
31.3%31.2%68.7%0.1%0%0%0%5
31.3%31.2%68.7%0.1%0%0%0%6
37.5%37.5%62.4%0.1%0%0%0%7
51.6%51.5%48.4%0.1%0%0%0%8
67.2%67.1%32.8%0.1%0%0%0%9
74.6%74.5%25.4%0.1%0%0%0%10
83.2%83.1%16.8%0.1%0%0%0%11
87%86.9%13%0.1%0%0%0%12
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample704.0ms (44.2%)

Memory
45.5MiB live, 1 158.0MiB allocated; 343ms collecting garbage
Samples
410.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 217.0ms
ival-pow2: 175.0ms (80.7% of total)
ival-add!: 19.0ms (8.8% of total)
ival-sub!: 15.0ms (6.9% of total)
ival-fmax: 6.0ms (2.8% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess216.0ms (13.6%)

Memory
-49.6MiB live, 59.7MiB allocated; 43ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02888
14484
28184
318284
428384
577884
6489584
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
Compiler

Compiled 22 to 20 computations (9.1% saved)

series5.0ms (0.3%)

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

6 calls:

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

rewrite76.0ms (4.7%)

Memory
-7.3MiB live, 83.7MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
050268
057264
1236256
01932224
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
24 → 130
Calls
Call 1
Inputs
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 1/2 binary64)
(fmax.f64 x y)
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (pow x 2) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
Outputs
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64)))) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64)))) (-.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) (*.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 y y) y) y (-.f64 (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64))) (*.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))))))
(/.f64 (neg.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) #s(literal -1/4 binary64))) (neg.f64 (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64) #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) #s(literal -1/4 binary64)) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64) #s(literal 1/4 binary64))))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) y) y (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 y) (neg.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y (*.f64 y #s(literal 1 binary64)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(-.f64 (/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y))) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/4 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))))
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64) #s(literal 1/4 binary64)))))
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)))) (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)))) (neg.f64 (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (+.f64 y x) (-.f64 y x)))
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y))) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y))) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x)))
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) y) y (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (*.f64 y y))
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (*.f64 y y))
(fma.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x))
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(fma.f64 y (*.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (+.f64 y x) (-.f64 y x))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(*.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y))
(*.f64 (*.f64 #s(literal 1 binary64) y) y)
(*.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 #s(literal 1 binary64) (*.f64 y y))
(*.f64 (*.f64 y y) #s(literal 1 binary64))
(*.f64 y (*.f64 y #s(literal 1 binary64)))
(*.f64 y y)
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (*.f64 y y) #s(literal 1 binary64))
(pow.f64 y #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 y y) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y y)) #s(literal 2 binary64))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 y) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 y) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))))
y
#s(literal 2 binary64)
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(*.f64 (*.f64 #s(literal 1 binary64) x) x)
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x (*.f64 x #s(literal 1 binary64)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
#s(literal 1/2 binary64)
(fmax.f64 x y)
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 y y))
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.f64 y y)))
#s(approx (pow x 2) (*.f64 x x))
#s(approx x x)
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) x) x))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx y y)
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) y) y))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) y) y))

eval14.0ms (0.9%)

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

Compiled 991 to 498 computations (49.7% saved)

prune4.0ms (0.2%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh000
Picked101
Done000
Total1213124
Accuracy
100.0%
Counts
124 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
68.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 33 to 33 computations (0% saved)

series33.0ms (2.1%)

Memory
-36.4MiB live, 16.6MiB allocated; 40ms collecting garbage
Counts
12 → 14
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
x
#s(literal -1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y #s(literal -1/2 binary64))
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
Outputs
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx x #s(hole binary64 x))
#s(approx (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
Calls

6 calls:

TimeVariablePointExpression
23.0ms
y
@inf
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) x -1/2 (fmax x y) y (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)))
1.0ms
y
@-inf
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) x -1/2 (fmax x y) y (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)))
1.0ms
x
@-inf
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) x -1/2 (fmax x y) y (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)))
1.0ms
x
@inf
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) x -1/2 (fmax x y) y (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)))
1.0ms
x
@0
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) -1/2) x -1/2 (fmax x y) y (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)))

rewrite89.0ms (5.6%)

Memory
15.7MiB live, 105.9MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060310
071301
1295264
02654262
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
26 → 106
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
x
#s(literal -1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y #s(literal -1/2 binary64))
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx x #s(hole binary64 x))
#s(approx (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 (*.f64 x x) x) x)) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) #s(literal -1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal -1/4 binary64))) (neg.f64 (fma.f64 x x #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1/4 binary64)))))
(/.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal -1/4 binary64)) (fma.f64 x x #s(literal 1/2 binary64)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) #s(literal -1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) #s(literal -1/8 binary64)) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 (*.f64 x x) x) x (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1/4 binary64))))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1/2 binary64))
(fma.f64 x x #s(literal -1/2 binary64))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (fma.f64 x x #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 x x #s(literal 1/2 binary64))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 (*.f64 (*.f64 x x) x) x (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1/4 binary64)))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 x x) #s(literal 1/2 binary64))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))) (/.f64 #s(literal -1/8 binary64) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 x x))))))
(+.f64 #s(literal -1/2 binary64) (*.f64 x x))
(+.f64 (*.f64 x x) #s(literal -1/2 binary64))
x
#s(literal -1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (*.f64 (*.f64 (*.f64 y y) y) y)) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (fma.f64 #s(literal 1/2 binary64) (*.f64 y y) #s(literal 1/4 binary64)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) (*.f64 y y) #s(literal -1/4 binary64))) (neg.f64 (fma.f64 y y #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) #s(literal -1/8 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 y y))))))
(/.f64 (fma.f64 (*.f64 y y) (*.f64 y y) #s(literal -1/4 binary64)) (fma.f64 y y #s(literal 1/2 binary64)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) #s(literal -1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 #s(literal -1/2 binary64) (*.f64 y y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) #s(literal -1/8 binary64)) (fma.f64 (*.f64 (*.f64 y y) y) y (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 y y)))))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 (*.f64 y y) y) y (fma.f64 #s(literal 1/2 binary64) (*.f64 y y) #s(literal 1/4 binary64))))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) #s(literal -1/2 binary64))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 y) (fabs.f64 y) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 y) (neg.f64 y) #s(literal -1/2 binary64))
(fma.f64 y y #s(literal -1/2 binary64))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (fma.f64 y y #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 y y #s(literal 1/2 binary64))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 y y) y) y (fma.f64 #s(literal 1/2 binary64) (*.f64 y y) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 (*.f64 (*.f64 y y) y) y (fma.f64 #s(literal 1/2 binary64) (*.f64 y y) #s(literal 1/4 binary64)))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) #s(literal 1/2 binary64))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 y y) y) y (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 y y))))) (/.f64 #s(literal -1/8 binary64) (fma.f64 (*.f64 (*.f64 y y) y) y (-.f64 #s(literal 1/4 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 y y))))))
(+.f64 #s(literal -1/2 binary64) (*.f64 y y))
(+.f64 (*.f64 y y) #s(literal -1/2 binary64))
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64)))) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))
(/.f64 (-.f64 (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64))) (*.f64 (*.f64 (*.f64 y y) y) y)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 x x) x) x (-.f64 (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) (*.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (-.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) #s(literal -1/4 binary64))) (neg.f64 (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x)))) (neg.f64 (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))))))
(/.f64 (*.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x))) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x)))
(/.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) #s(literal -1/4 binary64)) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64))))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 y) (neg.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(-.f64 (/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y))) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/4 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))))
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 (fma.f64 x x (*.f64 y y)) (fma.f64 x x (*.f64 y y)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)))))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x))) (/.f64 (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64))) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x))))
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 (neg.f64 y) y))
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))))) (/.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 y y) y) y (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))))))
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))
(+.f64 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y)))
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx x x)
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) x) x))
#s(approx (+ (* x x) -1/2) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) x))
#s(approx y y)
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) y) y))
#s(approx (+ (* y y) -1/2) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 y y))) y) y))

eval18.0ms (1.1%)

Memory
-16.0MiB live, 28.5MiB allocated; 7ms collecting garbage
Compiler

Compiled 1 185 to 460 computations (61.2% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1213124
Fresh000
Picked123
Done000
Total1225127
Accuracy
100.0%
Counts
127 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
61.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
60.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
29.7%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 60 to 60 computations (0% saved)

series5.0ms (0.3%)

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

6 calls:

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

rewrite131.0ms (8.2%)

Memory
-19.7MiB live, 92.7MiB allocated; 56ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056304
064298
1259290
02288253
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
26 → 56
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
(*.f64 x x)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
(*.f64 y y)
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx x #s(hole binary64 x))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx y #s(hole binary64 y))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 y y)
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (*.f64 y y) #s(literal 1 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))))
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx x x)
#s(approx (* x x) (*.f64 x x))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) x) x))
#s(approx (+ (* x x) -1/2) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) x))
#s(approx y y)
#s(approx (* y y) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) y) y))

eval5.0ms (0.3%)

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

Compiled 299 to 190 computations (36.5% saved)

prune4.0ms (0.3%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New47047
Fresh000
Picked033
Done022
Total47552
Accuracy
100.0%
Counts
52 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
61.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
60.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
29.7%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 111 to 97 computations (12.6% saved)

regimes8.0ms (0.5%)

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

3 calls:

3.0ms
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
100.0%1x
100.0%1y
Compiler

Compiled 13 to 14 computations (-7.7% saved)

regimes9.0ms (0.6%)

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

3 calls:

4.0ms
y
2.0ms
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
2.0ms
x
Results
AccuracySegmentsBranch
72.9%2(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
93.8%3x
91.8%3y
Compiler

Compiled 13 to 14 computations (-7.7% saved)

regimes4.0ms (0.3%)

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

2 calls:

2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
91.8%3y
86.4%3x
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes3.0ms (0.2%)

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

2 calls:

2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
86.4%3x
84.4%3y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes4.0ms (0.3%)

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

3 calls:

1.0ms
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
68.2%2(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
60.8%1y
68.1%3x
Compiler

Compiled 13 to 14 computations (-7.7% saved)

regimes3.0ms (0.2%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

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

Compiled 13 to 14 computations (-7.7% saved)

bsearch25.0ms (1.6%)

Memory
-8.6MiB live, 36.7MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
13.0ms
1460.9066586389488
233991207964.53717
10.0ms
-1.2409181932387532e+51
-1.8208816987370885e+50
Samples
14.0ms240×0valid
Compiler

Compiled 391 to 419 computations (-7.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-pow2: 5.0ms (51.5% of total)
ival-fmax: 2.0ms (20.6% of total)
ival-sub!: 2.0ms (20.6% of total)
ival-add!: 1.0ms (10.3% of total)
adjust: 0.0ms (0% of total)

bsearch35.0ms (2.2%)

Memory
-5.9MiB live, 45.0MiB allocated; 9ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
3.8643129819635985e+27
5.862435767129232e+31
21.0ms
-11602046.361095816
-5.984095026674036e-7
Samples
22.0ms288×0valid
Compiler

Compiled 466 to 500 computations (-7.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-pow2: 8.0ms (68.5% of total)
ival-fmax: 3.0ms (25.7% of total)
ival-sub!: 1.0ms (8.6% of total)
ival-add!: 1.0ms (8.6% of total)
adjust: 0.0ms (0% of total)

bsearch1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
1460.9066586389488
233991207964.53717
1.0ms
-1.2409181932387532e+51
-1.8208816987370885e+50
Compiler

Compiled 376 to 404 computations (-7.4% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
134607479765016.16
952516053661047.5
Compiler

Compiled 14 to 15 computations (-7.1% saved)

derivations49.0ms (3.1%)

Memory
-8.0MiB live, 37.7MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 72 to 54 computations (25% saved)

preprocess55.0ms (3.4%)

Memory
15.9MiB live, 105.2MiB allocated; 9ms collecting garbage
Compiler

Compiled 83 to 64 computations (22.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...