A quarter-circle in the lower-left quadrant

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze79.0ms (5.2%)

Memory
9.7MiB live, 100.3MiB allocated; 29ms 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)

sample812.0ms (53.1%)

Memory
40.2MiB live, 740.1MiB allocated; 745ms collecting garbage
Samples
630.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 443.0ms
ival-pow2: 406.0ms (91.6% of total)
ival-sub!: 15.0ms (3.4% of total)
ival-add!: 15.0ms (3.4% of total)
ival-fmax: 6.0ms (1.4% of total)
adjust: 1.0ms (0.2% of total)
Bogosity

preprocess119.0ms (7.8%)

Memory
-42.9MiB live, 52.1MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02888
14484
28884
316384
422284
536084
688384
7595384
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.4%)

Memory
9.1MiB live, 9.1MiB allocated; 0ms collecting garbage
Counts
10 → 18
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)))
#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)))
#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 (pow y 2) #s(hole binary64 (pow y 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 (+ (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
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))
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))

rewrite82.0ms (5.4%)

Memory
-1.9MiB live, 89.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054312
061308
1240300
01950263
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
28 → 134
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)))
#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)))
#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 (pow y 2) #s(hole binary64 (pow y 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 (+ (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 y y (fma.f64 x x #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 y y (fma.f64 x x #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 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) (fma.f64 x x #s(literal -1/2 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 (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 (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 (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 y y (fma.f64 x x #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/4 binary64) (fma.f64 y y (fma.f64 x x #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 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (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 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y 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 y y) y) y) (*.f64 y y) (*.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 (fma.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)))))
(fma.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) (*.f64 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 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.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 (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 (*.f64 x x) x) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 y y) y) y) (*.f64 y y)) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(*.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y))
(*.f64 (*.f64 #s(literal 1 binary64) y) y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.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 (fma.f64 (log.f64 y) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 y) #s(literal 2 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 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.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 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 (+ (pow y 2) (pow x 2)) (*.f64 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 (pow y 2) (*.f64 y y))
#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 (+ (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
27.5MiB live, 27.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 020 to 512 computations (49.8% saved)

prune4.0ms (0.3%)

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1254129
Fresh000
Picked101
Done000
Total1264130
Accuracy
100.0%
Counts
130 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 x x (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 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
61.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
63.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
Compiler

Compiled 44 to 44 computations (0% saved)

series16.0ms (1%)

Memory
-30.1MiB live, 19.2MiB allocated; 6ms collecting garbage
Counts
15 → 25
Calls
Call 1
Inputs
(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)
x
(fmax.f64 x y)
y
(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)
(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))
#s(literal -1/2 binary64)
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(fma.f64 x x (fma.f64 y y #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) #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 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (+ (* y y) -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)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx y #s(hole binary64 y))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#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)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (+ (* y y) -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
11.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) x (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) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -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) x (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) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -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) x (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) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -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) x (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) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)))
1.0ms
y
@0
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) x (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) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)))

rewrite81.0ms (5.3%)

Memory
8.6MiB live, 100.5MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073507
087511
1295440
02488435
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
40 → 137
Calls
Call 1
Inputs
(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)
x
(fmax.f64 x y)
y
(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)
(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))
#s(literal -1/2 binary64)
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(fma.f64 x x (fma.f64 y y #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) #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 (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (+ (* y y) -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)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx y #s(hole binary64 y))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#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)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (+ (* y y) -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) (*.f64 x x)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.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))))
x
(fmax.f64 x y)
y
(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 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.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))))
(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 (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 (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 (-.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 (fma.f64 (*.f64 y y) (*.f64 y y) #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)) #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 (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)))))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.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 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.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 (neg.f64 y) (neg.f64 y) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 y) (fabs.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))
#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 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) (*.f64 (*.f64 (*.f64 x x) x) x)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)))
(/.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 (+.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 (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 (*.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (-.f64 (fma.f64 x x #s(literal 1/2 binary64)) (*.f64 y y)))) (neg.f64 (-.f64 (fma.f64 x x #s(literal 1/2 binary64)) (*.f64 y y))))
(/.f64 (neg.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)))) (neg.f64 (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))))))
(/.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 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (-.f64 (fma.f64 x x #s(literal 1/2 binary64)) (*.f64 y y))) (-.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 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64) #s(literal 1/4 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 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)))))
(/.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 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)))))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(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 y)) (neg.f64 (fabs.f64 y)) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(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 x)) (neg.f64 (neg.f64 x)) (fma.f64 y y #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 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(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 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(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 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 y) (neg.f64 y) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(fma.f64 (neg.f64 y) (neg.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 (fabs.f64 y) (fabs.f64 y) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (-.f64 (fma.f64 x x #s(literal 1/2 binary64)) (*.f64 y y))) (/.f64 (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) (-.f64 (fma.f64 x x #s(literal 1/2 binary64)) (*.f64 y y))))
(-.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 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 x) x))
(-.f64 (fma.f64 x x (*.f64 y y)) #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 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))))) (/.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 x x) x) x (*.f64 (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 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 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y)))
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))
(+.f64 (*.f64 y y) (+.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(+.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) (*.f64 x x))
#s(approx x x)
#s(approx (fmax x y) (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)) 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 (- (+ (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 (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx y y)
#s(approx (* y y) (*.f64 y y))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* y y) -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 #s(literal -1/2 binary64)))
#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 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))
#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))

eval16.0ms (1.1%)

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

Compiled 1 234 to 513 computations (58.4% saved)

prune5.0ms (0.4%)

Memory
-37.8MiB live, 8.0MiB allocated; 3ms collecting garbage
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1532155
Fresh000
Picked224
Done000
Total1554159
Accuracy
100.0%
Counts
159 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
92.9%
(fmax.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fmax.f64 x y))
61.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
63.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
27.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 50 to 50 computations (0% saved)

series4.0ms (0.3%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Counts
11 → 24
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
y
(fmax.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fmax.f64 x y))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
#s(approx (+ (* y y) -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 (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx x #s(hole binary64 x))
#s(approx (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (+ (* y y) -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)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#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)))
#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)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (+ (* y y) -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
y
@inf
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -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) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -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) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -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) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y))
0.0ms
y
@0
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (* y y))

rewrite92.0ms (6%)

Memory
2.6MiB live, 99.2MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067485
073475
1292459
02582395
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 67
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
y
(fmax.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fmax.f64 x y))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
#s(approx (+ (* y y) -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 (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx x #s(hole binary64 x))
#s(approx (fmax (+ (* x x) (+ (* y y) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (+ (* y y) -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)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#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)))
#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)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (+ (* y y) -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 (+ (* x x) (+ (* y y) -1/2)) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
y
(fmax.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fmax.f64 x y))
(/.f64 (-.f64 (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) (*.f64 (*.f64 (*.f64 x x) x) x)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))))) (neg.f64 (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)))) (neg.f64 (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(/.f64 (*.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(/.f64 (fma.f64 (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)))))
(/.f64 (fma.f64 (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x))) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (*.f64 (*.f64 (*.f64 x x) x) x)))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (/.f64 (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))))
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) (*.f64 x x)) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (*.f64 (*.f64 (*.f64 x x) x) x))) (/.f64 (*.f64 (*.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(approx (+ (* y y) -1/2) (*.f64 y y))) #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (*.f64 (*.f64 (*.f64 x x) x) x))))
(+.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x))
(+.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.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 (+ (* x x) (+ (* y y) -1/2)) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx x x)
#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 (+ (* x x) (+ (* y y) -1/2)) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (* x x) (+ (* y y) -1/2)) (*.f64 x x))
#s(approx (+ (* x x) (+ (* y y) -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) (+ (* y y) -1/2)) (*.f64 x x))
#s(approx (+ (* x x) (+ (* y y) -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) (+ (* y y) -1/2)) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx y y)
#s(approx (+ (* x x) (+ (* y y) -1/2)) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (* y y) (*.f64 y y))
#s(approx (+ (* x x) (+ (* y y) -1/2)) (*.f64 y y))
#s(approx (+ (* x x) (+ (* y y) -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 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))
#s(approx (+ (* x x) (+ (* y y) -1/2)) (*.f64 y y))
#s(approx (+ (* x x) (+ (* y y) -1/2)) (*.f64 (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) y) y))

eval6.0ms (0.4%)

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

Compiled 599 to 227 computations (62.1% saved)

prune4.0ms (0.3%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New55055
Fresh000
Picked022
Done022
Total55459
Accuracy
100.0%
Counts
59 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
92.9%
(fmax.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fmax.f64 x y))
61.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
63.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
27.6%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 100 to 87 computations (13% saved)

regimes9.0ms (0.6%)

Memory
-31.4MiB live, 15.0MiB allocated; 1ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -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 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))) (fmax.f64 x y))
(fmax.f64 (fma.f64 x x (fma.f64 y y #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 x x (fma.f64 y y #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))
3.0ms
x
2.0ms
y
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)

regimes7.0ms (0.4%)

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

3 calls:

2.0ms
x
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
y
Results
AccuracySegmentsBranch
100.0%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))
100.0%3x
92.9%1y
Compiler

Compiled 13 to 14 computations (-7.7% saved)

regimes6.0ms (0.4%)

Memory
11.7MiB live, 11.7MiB 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 (+ (* y y) -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 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:

2.0ms
x
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
y
Results
AccuracySegmentsBranch
87.9%3y
93.3%3x
74.0%4(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)

regimes3.0ms (0.2%)

Memory
7.3MiB live, 7.3MiB 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 (+ (* y y) -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 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))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
Calls

2 calls:

2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
87.9%3y
86.2%3x
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes4.0ms (0.3%)

Memory
9.1MiB live, 9.1MiB 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 (+ (* y y) -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 (+ (* y y) -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
y
1.0ms
x
Results
AccuracySegmentsBranch
67.7%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))
67.6%3x
63.2%1y
Compiler

Compiled 13 to 14 computations (-7.7% saved)

regimes4.0ms (0.3%)

Memory
-38.7MiB live, 8.0MiB allocated; 2ms 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 (+ (* y y) -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 (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Calls

3 calls:

2.0ms
x
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
y
Results
AccuracySegmentsBranch
27.6%1y
27.6%1x
27.6%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)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.587710971891406e-128
4.04793170059119e-128
Compiler

Compiled 14 to 15 computations (-7.1% saved)

bsearch27.0ms (1.7%)

Memory
39.4MiB live, 39.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
16.0ms
0.6455410181508536
7.475372237833474e+20
9.0ms
-1.2571560500125831e+66
-1.8312326004276865e+65
Samples
14.0ms272×0valid
Compiler

Compiled 441 to 473 computations (-7.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-pow2: 5.0ms (55.7% of total)
ival-fmax: 3.0ms (33.4% of total)
ival-sub!: 1.0ms (11.1% of total)
ival-add!: 1.0ms (11.1% of total)
adjust: 0.0ms (0% of total)

bsearch37.0ms (2.4%)

Memory
-39.3MiB live, 53.3MiB allocated; 10ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
13.0ms
7.407281796140698e+52
4.8249774441630874e+61
19.0ms
-90916968669632.53
-0.3158078044073821
Samples
21.0ms304×0valid
Compiler

Compiled 472 to 508 computations (-7.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-fmax: 6.0ms (46.4% of total)
ival-pow2: 6.0ms (46.4% of total)
ival-sub!: 1.0ms (7.7% of total)
ival-add!: 1.0ms (7.7% of total)
adjust: 0.0ms (0% of total)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.234184483430361e-289
4.1840191575653443e-305
Compiler

Compiled 14 to 15 computations (-7.1% saved)

derivations44.0ms (2.9%)

Memory
4.4MiB live, 48.5MiB allocated; 7ms collecting garbage
Stop Event
done
Compiler

Compiled 68 to 55 computations (19.1% saved)

preprocess45.0ms (2.9%)

Memory
45.7MiB live, 90.9MiB allocated; 7ms collecting garbage
Compiler

Compiled 79 to 65 computations (17.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...