A quarter-circle in the lower-left quadrant

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze65.0ms (3.2%)

Memory
15.3MiB live, 109.9MiB allocated; 4ms 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)

sample527.0ms (26.3%)

Memory
14.4MiB live, 820.5MiB allocated; 78ms collecting garbage
Samples
350.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-pow2: 130.0ms (75.8% of total)
ival-sub!: 17.0ms (9.9% of total)
ival-add!: 15.0ms (8.7% of total)
ival-fmax: 8.0ms (4.7% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

preprocess71.0ms (3.5%)

Memory
-21.2MiB live, 25.2MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

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

series139.0ms (6.9%)

Memory
14.7MiB live, 108.9MiB allocated; 5ms 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

rewrite194.0ms (9.7%)

Memory
-11.7MiB live, 184.8MiB allocated; 27ms 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
14.3MiB live, 14.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 956 to 227 computations (76.3% saved)

prune2.0ms (0.1%)

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

series133.0ms (6.6%)

Memory
16.6MiB live, 111.5MiB allocated; 19ms 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
y
-inf
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
y
inf
0.0ms
x
0

rewrite335.0ms (16.7%)

Memory
-34.8MiB live, 390.9MiB allocated; 17ms 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.0MiB live, 18.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 043 to 266 computations (74.5% saved)

prune3.0ms (0.1%)

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

series149.0ms (7.4%)

Memory
-5.0MiB live, 89.3MiB allocated; 83ms 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
1.0ms
x
inf
1.0ms
x
-inf
0.0ms
y
-inf
0.0ms
y
inf
0.0ms
x
0

rewrite336.0ms (16.8%)

Memory
-1.3MiB live, 329.8MiB allocated; 15ms 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))

eval4.0ms (0.2%)

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

Compiled 627 to 154 computations (75.4% saved)

prune2.0ms (0.1%)

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

regimes10.0ms (0.5%)

Memory
20.6MiB live, 20.6MiB 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
x
2.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))
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
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.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 25 to 13 computations (48% saved)

preprocess20.0ms (1%)

Memory
-10.6MiB live, 37.2MiB allocated; 3ms 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...