A quarter-circle in the lower-left quadrant

Time bar (total: 2.4s)

start0.0ms (0%)

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

analyze72.0ms (3%)

Memory
16.2MiB live, 109.6MiB allocated; 11ms 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)

sample543.0ms (22.7%)

Memory
-23.1MiB live, 828.5MiB allocated; 85ms collecting garbage
Samples
363.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 202.0ms
ival-pow2: 166.0ms (82.2% of total)
ival-sub!: 15.0ms (7.4% of total)
ival-add!: 14.0ms (6.9% of total)
ival-fmax: 6.0ms (3% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess446.0ms (18.7%)

Memory
-6.8MiB live, 39.8MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02888
16584
216084
330684
441784
5100884
6712384
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)

series124.0ms (5.2%)

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

6 calls:

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

rewrite235.0ms (9.9%)

Memory
-3.3MiB live, 148.0MiB allocated; 92ms collecting garbage
Counts
10 → 54
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
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))
(+.f64 (*.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 (*.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) (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(-.f64 (*.f64 y y) (fma.f64 (neg.f64 x) x #s(literal 1/2 binary64)))
(-.f64 (*.f64 y y) (neg.f64 (fma.f64 x x #s(literal -1/2 binary64))))
(-.f64 (*.f64 y y) (-.f64 (neg.f64 (*.f64 x x)) #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 y) (neg.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(fma.f64 (neg.f64 x) (neg.f64 x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(neg.f64 (-.f64 #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y))))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (neg.f64 (neg.f64 (*.f64 x x))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) (neg.f64 (*.f64 x x)))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 y y)))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 y y (neg.f64 (neg.f64 (*.f64 x x))))
(fma.f64 (neg.f64 y) (neg.f64 y) (neg.f64 (neg.f64 (*.f64 x x))))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (neg.f64 (neg.f64 (*.f64 x x))))
(neg.f64 (-.f64 (neg.f64 (*.f64 x x)) (*.f64 y y)))
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(pow.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) #s(literal -1 binary64))
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(pow.f64 x #s(literal 2 binary64))
x
#s(literal 1/2 binary64)
(neg.f64 #s(literal -1/2 binary64))
(fmax.f64 x y)

eval7.0ms (0.3%)

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

Compiled 956 to 227 computations (76.3% saved)

prune2.0ms (0.1%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New60161
Fresh000
Picked101
Done000
Total61162
Accuracy
100.0%
Counts
62 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series126.0ms (5.3%)

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

6 calls:

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

rewrite332.0ms (13.9%)

Memory
1.7MiB live, 380.9MiB allocated; 19ms collecting garbage
Counts
7 → 64
Calls
Call 1
Inputs
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
y
(fma.f64 x x #s(literal -1/2 binary64))
x
#s(literal -1/2 binary64)
(fmax.f64 x y)
Outputs
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y)))
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (neg.f64 (*.f64 x x)))
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (neg.f64 (*.f64 y y)))
(-.f64 (*.f64 y y) (-.f64 #s(literal 1/2 binary64) (*.f64 x x)))
(-.f64 (*.f64 x x) (-.f64 #s(literal 1/2 binary64) (*.f64 y y)))
(-.f64 #s(literal -1/2 binary64) (neg.f64 (fma.f64 x x (*.f64 y y))))
(/.f64 (fma.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64) #s(literal -1 binary64)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1 binary64)) #s(literal 2 binary64))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 y) (neg.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 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 #s(literal -1 binary64) #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y)))
(fma.f64 (/.f64 #s(literal -1 binary64) #s(literal 8 binary64)) #s(literal 4 binary64) (fma.f64 x x (*.f64 y y)))
(fma.f64 #s(literal -1/4 binary64) #s(literal 2 binary64) (fma.f64 x x (*.f64 y y)))
(neg.f64 (-.f64 #s(literal 1/2 binary64) (fma.f64 x x (*.f64 y y))))
y
(neg.f64 (neg.f64 y))
(+.f64 (*.f64 x x) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (*.f64 x x))
(-.f64 (*.f64 x x) #s(literal 1/2 binary64))
(-.f64 #s(literal -1/2 binary64) (neg.f64 (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #s(literal 2 binary64))
(fma.f64 x x #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1/2 binary64))
(fma.f64 (/.f64 #s(literal -1 binary64) #s(literal 8 binary64)) #s(literal 4 binary64) (*.f64 x x))
(fma.f64 #s(literal -1 binary64) #s(literal 1/2 binary64) (*.f64 x x))
(fma.f64 #s(literal -1/4 binary64) #s(literal 2 binary64) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(neg.f64 (-.f64 #s(literal 1/2 binary64) (*.f64 x x)))
x
(neg.f64 (neg.f64 x))
#s(literal -1/2 binary64)
(*.f64 #s(literal -1 binary64) #s(literal 1/2 binary64))
(*.f64 #s(literal -1/4 binary64) #s(literal 2 binary64))
(*.f64 (/.f64 #s(literal -1 binary64) #s(literal 8 binary64)) #s(literal 4 binary64))
(+.f64 #s(literal -1/2 binary64) #s(literal 0 binary64))
(-.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))
(-.f64 #s(literal 0 binary64) #s(literal 1/2 binary64))
(-.f64 #s(literal -1/2 binary64) #s(literal 0 binary64))
(/.f64 #s(literal -1/2 binary64) #s(literal 1 binary64))
(/.f64 #s(literal 1/2 binary64) #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) #s(literal 2 binary64))
(/.f64 #s(literal 1 binary64) #s(literal -2 binary64))
(/.f64 #s(literal -2 binary64) #s(literal 4 binary64))
(/.f64 #s(literal 2 binary64) #s(literal -4 binary64))
(fma.f64 #s(literal -1 binary64) #s(literal 1/2 binary64) #s(literal 0 binary64))
(fma.f64 #s(literal -1/4 binary64) #s(literal 2 binary64) #s(literal 0 binary64))
(fma.f64 (/.f64 #s(literal -1 binary64) #s(literal 8 binary64)) #s(literal 4 binary64) #s(literal 0 binary64))
(neg.f64 #s(literal 1/2 binary64))
(fmax.f64 x y)

eval9.0ms (0.4%)

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

Compiled 1 043 to 266 computations (74.5% saved)

prune3.0ms (0.1%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh000
Picked011
Done000
Total69271
Accuracy
100.0%
Counts
71 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
70.2%
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 25 to 17 computations (32% saved)

series124.0ms (5.2%)

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

6 calls:

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

rewrite332.0ms (13.9%)

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

eval5.0ms (0.2%)

Memory
-38.1MiB live, 8.7MiB allocated; 1ms collecting garbage
Compiler

Compiled 627 to 154 computations (75.4% saved)

prune2.0ms (0.1%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New34034
Fresh000
Picked011
Done011
Total34236
Accuracy
100.0%
Counts
36 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
70.2%
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 25 to 17 computations (32% saved)

regimes9.0ms (0.4%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

6 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))
2.0ms
y
1.0ms
x
1.0ms
y
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))
Results
AccuracySegmentsBranch
70.2%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))
70.2%1x
70.2%1y
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 68 to 48 computations (29.4% saved)

derivations1.0ms (0%)

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

Compiled 25 to 13 computations (48% saved)

preprocess18.0ms (0.8%)

Memory
-9.9MiB live, 36.9MiB allocated; 2ms collecting garbage
Compiler

Compiled 38 to 23 computations (39.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...