A quarter-circle in the lower-left quadrant

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze387.0ms (24%)

Memory
5.6MiB live, 141.2MiB allocated; 710ms 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)

sample573.0ms (35.4%)

Memory
0.4MiB live, 756.5MiB allocated; 66ms collecting garbage
Samples
374.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 179.0ms
ival-pow2: 140.0ms (78.4% of total)
ival-sub!: 16.0ms (9% of total)
ival-add!: 15.0ms (8.4% of total)
ival-fmax: 6.0ms (3.4% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain113.0ms (7%)

Memory
-10.1MiB live, 182.5MiB allocated; 11ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))
00-0-(pow.f64 x #s(literal 2 binary64))
00-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))
00-0-y
00-0-#s(literal 2 binary64)
00-0-(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
00-0-(pow.f64 y #s(literal 2 binary64))
00-0-(fmax.f64 x y)
00-0-#s(literal 1/2 binary64)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
37.0ms512×0valid
Compiler

Compiled 101 to 34 computations (66.3% saved)

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

preprocess111.0ms (6.9%)

Memory
-5.0MiB live, 40.3MiB allocated; 4ms 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 26 to 20 computations (23.1% saved)

series6.0ms (0.3%)

Memory
9.4MiB live, 9.4MiB 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))

rewrite90.0ms (5.6%)

Memory
1.4MiB live, 99.9MiB allocated; 8ms 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 (pow.f64 x #s(literal 4 binary64)) (*.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 y #s(literal 4 binary64)) (*.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 x #s(literal 6 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.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 y #s(literal 6 binary64)) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.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 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #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 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #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 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 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 (*.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 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (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 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 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 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (+.f64 y x) (-.f64 y x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))
(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 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.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 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(+.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 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 x x))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (fma.f64 (/.f64 y x) (/.f64 y x) #s(literal 1 binary64)) (*.f64 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 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)) (*.f64 y y)))

eval15.0ms (0.9%)

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

Compiled 2 444 to 509 computations (79.2% saved)

prune5.0ms (0.3%)

Memory
-38.4MiB live, 7.1MiB allocated; 3ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1363139
Fresh000
Picked101
Done000
Total1373140
Accuracy
100.0%
Counts
140 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.3%
(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))
59.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
67.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
Compiler

Compiled 52 to 37 computations (28.8% saved)

series5.0ms (0.3%)

Memory
9.3MiB live, 9.3MiB allocated; 0ms collecting garbage
Counts
13 → 17
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)
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 (- (+ (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)) 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 (- (+ (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)))))))
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) (* 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)
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)
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)
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)
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)

rewrite75.0ms (4.6%)

Memory
1.9MiB live, 93.4MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061341
070334
1263308
02299289
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
30 → 81
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)
#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 (- (+ (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)) 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 (- (+ (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)))))))
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) (pow.f64 y #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 y y #s(literal 1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fma.f64 y y #s(literal 1/2 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64))))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 6 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 #s(literal -1/2 binary64) (*.f64 y y)))))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))
(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 (pow.f64 y #s(literal 4 binary64)) (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 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64)))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) #s(literal 1/2 binary64))
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))))
(+.f64 #s(literal -1/2 binary64) (*.f64 y y))
(+.f64 (*.f64 y y) #s(literal -1/2 binary64))
#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 (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 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) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
#s(approx (+ (* y y) -1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 y #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1 binary64)) y) y))

eval10.0ms (0.6%)

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

Compiled 2 120 to 306 computations (85.6% saved)

prune5.0ms (0.3%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1011102
Fresh000
Picked033
Done000
Total1014105
Accuracy
100.0%
Counts
105 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.3%
(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))
59.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
67.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
34.9%
(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 73 to 53 computations (27.4% saved)

series3.0ms (0.2%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Counts
7 → 15
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
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 (- (+ (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)) 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 (- (+ (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)))))))
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)
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)
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)
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)
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)

rewrite102.0ms (6.3%)

Memory
-14.2MiB live, 94.0MiB allocated; 86ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051274
054268
1242260
02115223
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
22 → 22
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
#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 (- (+ (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)) 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 (- (+ (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)))))))
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))
#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
#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 (fmax x y) (fmax.f64 x y))
#s(approx 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 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 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) -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 (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
#s(approx (+ (* y y) -1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 y #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1 binary64)) y) y))

eval2.0ms (0.1%)

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

Compiled 467 to 68 computations (85.4% saved)

prune5.0ms (0.3%)

Memory
-39.7MiB live, 6.2MiB allocated; 3ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New21021
Fresh000
Picked011
Done033
Total21425
Accuracy
100.0%
Counts
25 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
68.3%
(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))
59.2%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
67.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
34.9%
(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 159 to 85 computations (46.5% saved)

regimes7.0ms (0.4%)

Memory
13.3MiB live, 13.3MiB allocated; 0ms collecting garbage
Counts
5 → 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 (-.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 (-.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))
Calls

3 calls:

2.0ms
x
2.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))
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 15 to 14 computations (6.7% saved)

regimes6.0ms (0.4%)

Memory
12.4MiB live, 12.4MiB 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
75.4%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))
95.3%3x
85.9%3y
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes2.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB 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 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

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
86.1%3x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes4.0ms (0.3%)

Memory
9.5MiB live, 9.5MiB 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
x
1.0ms
y
Results
AccuracySegmentsBranch
74.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))
67.0%1y
73.9%3x
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes5.0ms (0.3%)

Memory
-37.8MiB live, 8.2MiB allocated; 1ms 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
(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
34.9%1y
34.9%1x
34.9%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 15 to 14 computations (6.7% saved)

bsearch27.0ms (1.7%)

Memory
41.7MiB live, 41.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
9.0ms
8.11373390483441e+48
4.73274041398883e+49
15.0ms
-133770474470189.66
-0.00018639043022853667
Samples
15.0ms256×0valid
Compiler

Compiled 576 to 446 computations (22.6% saved)

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

bsearch5.0ms (0.3%)

Memory
-47.8MiB live, 4.3MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
0.0ms
8.11373390483441e+48
4.73274041398883e+49
4.0ms
-133770474470189.66
-0.00018639043022853667
Compiler

Compiled 560 to 430 computations (23.2% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.318023291470684e-57
4.420325138093973e-50
Compiler

Compiled 16 to 15 computations (6.3% saved)

derivations24.0ms (1.5%)

Memory
30.1MiB live, 30.1MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 207 to 43 computations (79.2% saved)

preprocess29.0ms (1.8%)

Memory
3.8MiB live, 49.6MiB allocated; 2ms collecting garbage
Compiler

Compiled 440 to 106 computations (75.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...