A quarter-circle in the lower-left quadrant

Time bar (total: 4.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.4s (31.9%)

Memory
38.7MiB live, 1 076.0MiB allocated; 1.3s collecting garbage
Samples
624.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 402.0ms
ival-pow2: 202.0ms (50.3% of total)
ival-fmax: 91.0ms (22.7% of total)
ival-sub: 54.0ms (13.4% of total)
ival-add: 39.0ms (9.7% of total)
ival-true: 5.0ms (1.2% of total)
exact: 5.0ms (1.2% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain127.0ms (3%)

Memory
-18.7MiB live, 170.4MiB allocated; 28ms 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
42.0ms512×0valid
Compiler

Compiled 101 to 34 computations (66.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-pow2: 10.0ms (46.2% of total)
ival-fmax: 5.0ms (23.1% of total)
ival-sub: 2.0ms (9.2% of total)
ival-add: 2.0ms (9.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess275.0ms (6.4%)

Memory
17.1MiB live, 158.5MiB allocated; 29ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02475
13971
28471
315971
421871
535671
687971
7594971
01013
01613
12313
24513
310113
420113
533613
683313
7560313
0896411
Stop Event
iter limit
node limit
iter limit
node limit
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))
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))
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
Compiler

Compiled 13 to 10 computations (23.1% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
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 13 to 10 computations (23.1% saved)

simplify156.0ms (3.6%)

Memory
-0.1MiB live, 85.2MiB allocated; 17ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(pow.f64 y #s(literal 2 binary64))
cost-diff0
(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))
cost-diff1
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
cost-diff1
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01042
01642
12342
24542
310142
420142
533642
683342
7560342
0896437
Stop Event
iter limit
node limit
iter limit
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 (-.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))
(fmax.f64 (fma.f64 x x (fma.f64 y y #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))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(fma.f64 x x (*.f64 y y))
(pow.f64 y #s(literal 2 binary64))
(*.f64 y y)
y
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
(*.f64 x x)
x
#s(literal 1/2 binary64)
(fmax.f64 x y)

localize29.0ms (0.7%)

Memory
-8.5MiB live, 34.9MiB allocated; 7ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.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))
accuracy0.0
(fmax.f64 x y)
accuracy0.00390625
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))
accuracy0.0078125
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Samples
18.0ms256×0valid
Compiler

Compiled 44 to 12 computations (72.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-pow2: 5.0ms (47.1% of total)
ival-fmax: 2.0ms (18.9% of total)
ival-sub: 1.0ms (9.4% of total)
ival-add: 1.0ms (9.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

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

simplify141.0ms (3.3%)

Memory
-16.3MiB live, 131.7MiB allocated; 39ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045221
188221
2262221
31549221
08821187
Stop Event
iter limit
node limit
Counts
15 → 15
Calls
Call 1
Inputs
#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 (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 (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 (- (+ (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
#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) (fma.f64 y y #s(literal -1/2 binary64)))
#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)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 y y))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.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 (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 (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx (fmax x y) (fmax.f64 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) (*.f64 x x))
#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) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 x x))
#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)) (fma.f64 x x (*.f64 y y)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (pow y 2) #s(hole binary64 (pow y 2)))
#s(approx (pow y 2) (*.f64 y 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) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.f64 y y)))

rewrite48.0ms (1.1%)

Memory
8.7MiB live, 51.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01035
01635
16135
044232
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 51
Calls
Call 1
Inputs
(-.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)))
(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))
(pow.f64 y #s(literal 2 binary64))
(fmax.f64 x y)
Outputs
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (-.f64 (*.f64 y y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (*.f64 (*.f64 y y) (-.f64 (*.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 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 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #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 x x (fma.f64 y y #s(literal 1/2 binary64))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))
(fma.f64 (neg.f64 y) (neg.f64 y) (-.f64 (*.f64 x x) #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 y) (fabs.f64 y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(fma.f64 x x (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(fma.f64 y y (-.f64 (*.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 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 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #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 x x (fma.f64 y y #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 (-.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y))
(+.f64 (*.f64 x x) (-.f64 (*.f64 y y) #s(literal 1/2 binary64)))
(+.f64 (*.f64 y y) (-.f64 (*.f64 x x) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.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 6 binary64)) (pow.f64 y #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 (-.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 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (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))))
(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 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(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 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 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(fmax.f64 (-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) (fmax.f64 x 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 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))
(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 x y)

eval8.0ms (0.2%)

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

Compiled 1 177 to 249 computations (78.8% saved)

prune4.0ms (0.1%)

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New56662
Fresh000
Picked101
Done000
Total57663
Accuracy
100.0%
Counts
63 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 (fma.f64 y y (-.f64 (*.f64 x x) #s(literal 1/2 binary64))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
100.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
63.3%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
57.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
Compiler

Compiled 206 to 144 computations (30.1% saved)

simplify166.0ms (3.9%)

Memory
-6.3MiB live, 96.6MiB allocated; 20ms collecting garbage
Localize:

Found 20 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fmax.f64 x y)
cost-diff0
(fma.f64 y y #s(literal -1/2 binary64))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
cost-diff0
(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))
cost-diff0
(fmax.f64 x y)
cost-diff0
(fma.f64 x x #s(literal -1/2 binary64))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
cost-diff0
(fmax.f64 x y)
cost-diff0
(*.f64 y y)
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
cost-diff0
(fmax.f64 x y)
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
cost-diff0
(fma.f64 y y #s(literal -1/2 binary64))
cost-diff0
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y))
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
025215
036215
156215
2119215
3237215
4327215
5406215
6903195
75760195
09124195
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (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 x x (fma.f64 y y #s(literal -1/2 binary64))))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
x
(fma.f64 y y #s(literal -1/2 binary64))
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))
#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)
y
(fmax.f64 x y)
x
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
x
#s(literal -1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
(fmax.f64 x y)
x
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (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 x x (fma.f64 y y #s(literal -1/2 binary64))))
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
x
(fma.f64 y y #s(literal -1/2 binary64))
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))
#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)
y
(fmax.f64 x y)
x
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
x
#s(literal -1/2 binary64)
(fmax.f64 x y)
y
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
(fmax.f64 x y)
x

localize47.0ms (1.1%)

Memory
19.7MiB live, 63.3MiB allocated; 6ms collecting garbage
Localize:

Found 20 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 y y #s(literal -1/2 binary64))
accuracy0.0
(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))
accuracy0.0
(fmax.f64 x y)
accuracy20.357735960346833
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
accuracy0.0
(fma.f64 x x #s(literal -1/2 binary64))
accuracy0.0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
accuracy0.0
(fmax.f64 x y)
accuracy23.70366688571978
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
accuracy0.0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
accuracy0.0
(fmax.f64 x y)
accuracy0.0
(*.f64 y y)
accuracy36.38190837893388
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
accuracy0.0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
accuracy0.0
(fmax.f64 x y)
accuracy0.0
(*.f64 x x)
accuracy39.44742594781057
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
accuracy0.0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y))
accuracy0.0
(fmax.f64 x y)
accuracy0.0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
accuracy0.00390625
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))
Samples
34.0ms256×0valid
Compiler

Compiled 170 to 17 computations (90% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-pow2: 5.0ms (29% of total)
ival-add: 4.0ms (23.2% of total)
ival-mult: 3.0ms (17.4% of total)
ival-fmax: 2.0ms (11.6% of total)
ival-sub: 1.0ms (5.8% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series10.0ms (0.2%)

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

simplify102.0ms (2.4%)

Memory
11.1MiB live, 111.0MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064390
1112390
2383374
31855374
08607314
Stop Event
iter limit
node limit
Counts
26 → 26
Calls
Call 1
Inputs
#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) (+ (* 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 (* x x) #s(hole binary64 (pow x 2)))
#s(approx (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (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 (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 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 (+ (* x x) (+ (* y y) -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 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 (+ (* 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)))))))
#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
#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 (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) #s(hole binary64 (- (pow y 2) 1/2)))
#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) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#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) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (fmax x y) #s(hole binary64 (fmax x y)))
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#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) (*.f64 x x))
#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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
#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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) (*.f64 x x))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#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) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (* y y) (*.f64 y 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) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#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)))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64)))

rewrite54.0ms (1.3%)

Memory
9.1MiB live, 52.3MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025186
036186
1124186
0950176
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
16 → 121
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (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 x 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 #s(literal -1/2 binary64))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
(*.f64 x x)
(fmax.f64 x 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 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
(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)))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (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 x x (fma.f64 y y #s(literal -1/2 binary64))))
(/.f64 (-.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))
(/.f64 (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))))))
(/.f64 (+.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 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)) (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 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (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 x x (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))) (/.f64 (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))))
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 (neg.f64 x) x))
(-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (fma.f64 y y #s(literal -1/2 binary64)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (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)) (-.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y 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 y y #s(literal -1/2 binary64)) (*.f64 x x))
(+.f64 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y)))
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))
(/.f64 (-.f64 #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 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.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)) (-.f64 (*.f64 y y) #s(literal -1/2 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 (*.f64 y y) #s(literal -1/2 binary64)))))
(/.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)) (-.f64 (*.f64 y y) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 y y) #s(literal -1/2 binary64))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 y) y))
(-.f64 #s(literal -1/2 binary64) (*.f64 y (neg.f64 y)))
(+.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 (*.f64 y y) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (*.f64 y y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
(*.f64 (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))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
(fmax.f64 x 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))
(neg.f64 (*.f64 y (neg.f64 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 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 x x) #s(literal -1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 x x) #s(literal -1/2 binary64)))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1/2 binary64))
(fma.f64 x x #s(literal -1/2 binary64))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 x x) #s(literal -1/2 binary64))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 x) x))
(-.f64 #s(literal -1/2 binary64) (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 x x) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (*.f64 x x))
(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)))

eval23.0ms (0.5%)

Memory
-11.0MiB live, 32.4MiB allocated; 7ms collecting garbage
Compiler

Compiled 3 939 to 561 computations (85.8% saved)

prune6.0ms (0.1%)

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

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1623165
Fresh101
Picked145
Done000
Total1647171
Accuracy
100.0%
Counts
171 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
92.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
63.3%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
57.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
29.2%
(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 138 to 97 computations (29.7% saved)

simplify164.0ms (3.8%)

Memory
0.2MiB live, 100.9MiB allocated; 17ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 x x #s(literal -1/2 binary64))
cost-diff0
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
cost-diff0
#s(approx (+ (* y y) -1/2) (*.f64 y y))
cost-diff0
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
cost-diff0
(fmax.f64 x y)
cost-diff0
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)))
cost-diff0
(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))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024183
033183
153183
2120183
3243183
4337183
5416183
6913171
75772171
09136164
Stop Event
iter limit
node limit
iter limit
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 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
x
#s(approx (+ (* y y) -1/2) (*.f64 y y))
(*.f64 y y)
y
(fmax.f64 x y)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))))
(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 #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 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
x
#s(approx (+ (* y y) -1/2) (*.f64 y y))
(*.f64 y y)
y
(fmax.f64 x y)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 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 (fma.f64 x x #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))))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x (fma.f64 y y #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)

localize44.0ms (1%)

Memory
15.0MiB live, 58.3MiB allocated; 7ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
accuracy0.0
(fmax.f64 x y)
accuracy0.0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))))
accuracy0.00390625
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
accuracy0.0
(*.f64 y y)
accuracy0.0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
accuracy0.00390625
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
accuracy31.080693107997032
#s(approx (+ (* y y) -1/2) (*.f64 y y))
accuracy0.0
(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))
accuracy0.0
(fmax.f64 x y)
accuracy20.357735960346833
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)))
accuracy32.666232870831045
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
Samples
33.0ms256×0valid
Compiler

Compiled 121 to 18 computations (85.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-pow2: 9.0ms (41.1% of total)
ival-add: 5.0ms (22.8% of total)
ival-mult: 3.0ms (13.7% of total)
ival-fmax: 2.0ms (9.1% of total)
ival-sub: 1.0ms (4.6% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
13 → 32
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))
(fmax.f64 x y)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
(*.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 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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 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 (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* y y) (+ (* x x) -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)))))))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) (+ (* x x) -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) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -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) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -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) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -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) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* y y))
1.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) (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* x x) (+ (* y y) -1/2)) (+ (* y y) -1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* y y))

simplify106.0ms (2.5%)

Memory
-6.1MiB live, 94.8MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
071516
1123516
2397492
31865492
08565410
Stop Event
iter limit
node limit
Counts
32 → 32
Calls
Call 1
Inputs
#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 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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 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 (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* y y) (+ (* x x) -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)))))))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
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 (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) #s(hole binary64 (- (pow y 2) 1/2)))
#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) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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) #s(hole binary64 (fmax x y)))
#s(approx (fmax x y) (fmax.f64 x y))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#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) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#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) (*.f64 x x))
#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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
#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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
#s(approx (+ (* y y) (+ (* x x) -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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) (*.f64 x x))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#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(hole binary64 -1/2))
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#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) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (* y y) (*.f64 y 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) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (+ (* x x) (+ (* y y) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#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)))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#s(approx (+ (* y y) (+ (* x x) -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)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))

rewrite51.0ms (1.2%)

Memory
-6.6MiB live, 36.1MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024169
033169
1131169
01051156
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
13 → 102
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))
(fmax.f64 x y)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))))
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 x x #s(literal -1/2 binary64))
(*.f64 y 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))
#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))
(fmax.f64 x y)
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(/.f64 (-.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (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)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64))) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y))))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(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 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (/.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 2 binary64)) (-.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 (neg.f64 x)) (neg.f64 x)))
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 (neg.f64 x) x))
(-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (-.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 x x) #s(approx (+ (* y y) -1/2) (*.f64 y y)))
(+.f64 #s(approx (+ (* y y) -1/2) (*.f64 y y)) (*.f64 x x))
#s(approx (+ (* y y) -1/2) (*.f64 y y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (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 x x (fma.f64 y y #s(literal -1/2 binary64))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)) (pow.f64 y #s(literal 4 binary64))) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #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)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (neg.f64 (neg.f64 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)) (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 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64)))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64)))
(fma.f64 (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)))
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))) (/.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))))
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 (neg.f64 y) y))
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y (neg.f64 y)))
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 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 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x))
(+.f64 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y)))
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 x x) #s(literal -1/2 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 x x) #s(literal -1/2 binary64)))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64)))))
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal -1/2 binary64))
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1/2 binary64))
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1/2 binary64))
(fma.f64 x x #s(literal -1/2 binary64))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(literal -1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 x x) #s(literal -1/2 binary64))))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 x) x))
(-.f64 #s(literal -1/2 binary64) (*.f64 x (neg.f64 x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 x x) #s(literal -1/2 binary64))
(+.f64 #s(literal -1/2 binary64) (*.f64 x x))
(*.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))
(neg.f64 (*.f64 y (neg.f64 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))))

eval19.0ms (0.4%)

Memory
-17.6MiB live, 25.5MiB allocated; 7ms collecting garbage
Compiler

Compiled 3 448 to 498 computations (85.6% saved)

prune5.0ms (0.1%)

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

8 alts after pruning (1 fresh and 7 done)

PrunedKeptTotal
New1181119
Fresh000
Picked033
Done044
Total1188126
Accuracy
100.0%
Counts
126 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
92.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
92.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
63.3%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
57.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
29.2%
(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 164 to 114 computations (30.5% saved)

simplify167.0ms (3.9%)

Memory
6.0MiB live, 107.6MiB allocated; 18ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (+ (* x x) -1/2) (*.f64 x x))
cost-diff0
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))
cost-diff0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))))
cost-diff0
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01777
02277
14077
29677
319077
426877
534777
684477
7563577
0899969
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))))
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))
y
#s(approx (+ (* x x) -1/2) (*.f64 x x))
(*.f64 x x)
x
(fmax.f64 x y)
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))))
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))
y
#s(approx (+ (* x x) -1/2) (*.f64 x x))
(*.f64 x x)
x
(fmax.f64 x y)

localize36.0ms (0.8%)

Memory
1.5MiB live, 44.6MiB allocated; 8ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.0
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))))
accuracy0.00390625
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))
accuracy31.432423180275975
#s(approx (+ (* x x) -1/2) (*.f64 x x))
Samples
28.0ms256×0valid
Compiler

Compiled 46 to 16 computations (65.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
ival-pow2: 10.0ms (48.9% of total)
ival-add: 3.0ms (14.7% of total)
ival-mult: 3.0ms (14.7% of total)
ival-fmax: 2.0ms (9.8% of total)
ival-sub: 1.0ms (4.9% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x))
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) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x))
0.0ms
x
@0
((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x))
0.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) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x))
0.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) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x))

simplify80.0ms (1.9%)

Memory
-3.4MiB live, 81.5MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055338
198338
2351322
31770322
08510268
Stop Event
iter limit
node limit
Counts
20 → 20
Calls
Call 1
Inputs
#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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (* x x) #s(hole binary64 (pow x 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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 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) (+ (* x x) -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) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
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 (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) #s(hole binary64 (- (pow y 2) 1/2)))
#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) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#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 (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))))
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2))
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x 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) (*.f64 x x))
#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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x))
#s(approx (+ (* y y) (+ (* x x) -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) (fma.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x) #s(literal -1/2 binary64)))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) -1/2) (*.f64 x x))
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2)))))))
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow x 2) 1/2)))
#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) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2)))))))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2)))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y))
#s(approx (+ (* y y) (+ (* x x) -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)) 1/2) (fma.f64 (fma.f64 (/.f64 (/.f64 x y) y) x #s(literal 1 binary64)) (*.f64 y y) #s(literal -1/2 binary64)))

rewrite53.0ms (1.2%)

Memory
-6.7MiB live, 52.9MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01772
02272
19872
079066
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
5 → 41
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))))
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))
#s(approx (+ (* x x) -1/2) (*.f64 x x))
(*.f64 x x)
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)) (pow.f64 y #s(literal 4 binary64))) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x))))))
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(fma.f64 (neg.f64 y) (neg.f64 y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(fma.f64 (fabs.f64 y) (fabs.f64 y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (/.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))))
(-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 (neg.f64 y) y))
(-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y (neg.f64 y)))
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))))
(+.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))
(+.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y))
#s(approx (+ (* x x) -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))
(neg.f64 (*.f64 x (neg.f64 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))))

eval7.0ms (0.2%)

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

Compiled 1 628 to 250 computations (84.6% saved)

prune5.0ms (0.1%)

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

8 alts after pruning (0 fresh and 8 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done077
Total52860
Accuracy
100.0%
Counts
60 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64)))) (fmax.f64 x y))
92.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
69.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
92.1%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y))
64.5%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
63.3%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))
57.8%
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y))
29.2%
(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 374 to 168 computations (55.1% saved)

regimes17.0ms (0.4%)

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

3 calls:

8.0ms
y
5.0ms
x
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))
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)

regimes8.0ms (0.2%)

Memory
13.7MiB live, 13.7MiB allocated; 0ms collecting garbage
Counts
7 → 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 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -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(approx (+ (* x x) -1/2) (*.f64 x x)))) (fmax.f64 x y))
Outputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y))
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (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
99.5%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))
99.5%3x
99.6%3y
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes7.0ms (0.2%)

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

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))
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
91.6%3x
92.0%3y
73.6%3(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)

regimes2.0ms (0.1%)

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

1 calls:

2.0ms
y
Results
AccuracySegmentsBranch
91.9%3y
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes7.0ms (0.2%)

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

2 calls:

5.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
85.8%3x
85.2%3y
Compiler

Compiled 2 to 4 computations (-100% saved)

regimes4.0ms (0.1%)

Memory
8.7MiB live, 8.7MiB 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
64.1%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))
57.8%1y
64.1%3x
Compiler

Compiled 15 to 14 computations (6.7% saved)

regimes3.0ms (0.1%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* 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:

1.0ms
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y))
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
29.2%1y
29.2%1x
29.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))
Compiler

Compiled 15 to 14 computations (6.7% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
402607017.1828739
341242121315.6959
Compiler

Compiled 16 to 15 computations (6.3% saved)

bsearch36.0ms (0.8%)

Memory
-0.1MiB live, 43.5MiB allocated; 6ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
20.0ms
3.1873857004361422e+84
8.441389920272005e+95
13.0ms
-1.8653165478808091
-0.003471423179904407
Samples
22.0ms288×0valid
Compiler

Compiled 654 to 508 computations (22.3% saved)

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

bsearch19.0ms (0.4%)

Memory
25.2MiB live, 25.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
3.1873857004361422e+84
8.441389920272005e+95
16.0ms
-3502255750941.8696
-53.33381463160272
Samples
10.0ms160×0valid
Compiler

Compiled 716 to 554 computations (22.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-pow2: 3.0ms (46.6% of total)
ival-fmax: 1.0ms (15.5% of total)
ival-sub: 1.0ms (15.5% of total)
ival-add: 1.0ms (15.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch28.0ms (0.6%)

Memory
-25.4MiB live, 30.4MiB allocated; 12ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
4.4169520610252734e+43
1.6566598718023701e+49
11.0ms
-9.079665689212211e+125
-6.2668835387463785e+125
Samples
17.0ms192×0valid
Compiler

Compiled 424 to 326 computations (23.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-pow2: 4.0ms (51.5% of total)
ival-fmax: 2.0ms (25.7% of total)
ival-sub: 1.0ms (12.9% of total)
ival-add: 1.0ms (12.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.621115205988772
2.979405823797979
Compiler

Compiled 16 to 15 computations (6.3% saved)

simplify44.0ms (1%)

Memory
-10.6MiB live, 32.5MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059304
179304
2122304
3199304
4298304
5647304
63738304
Stop Event
node limit
Calls
Call 1
Inputs
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y))
(if (<=.f64 (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)) #s(literal 500000000 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)))
(if (<=.f64 y #s(literal -3/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)) (if (<=.f64 y #s(literal 18500000000000000960842496446541529816421381503198663841765196779679888254898664374272 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))))
(if (<=.f64 y #s(literal -22500000 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (if (<=.f64 y #s(literal 18500000000000000960842496446541529816421381503198663841765196779679888254898664374272 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))))
(if (<=.f64 x #s(literal -750000000000000056380865187388656470603571798264306160112181826768324443931811403498405825823318526571199466279139394745008128 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) (if (<=.f64 x #s(literal 1399999999999999965042734645761241782738223104 binary64)) (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))))
(if (<=.f64 (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)) #s(literal 2 binary64)) (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) #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) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) (fmax.f64 x y))
(if (<=.f64 (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)) #s(literal 500000000 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(approx (+ (* y y) -1/2) (*.f64 y y)))) (fmax.f64 x y)))
(if (<=.f64 y #s(literal -3/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)) (if (<=.f64 y #s(literal 18500000000000000960842496446541529816421381503198663841765196779679888254898664374272 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))))
(if (<=.f64 y #s(literal -22500000 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (if (<=.f64 y #s(literal 18500000000000000960842496446541529816421381503198663841765196779679888254898664374272 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y))))
(if (or (<=.f64 y #s(literal -22500000 binary64)) (not (<=.f64 y #s(literal 18500000000000000960842496446541529816421381503198663841765196779679888254898664374272 binary64)))) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)))
(if (<=.f64 x #s(literal -750000000000000056380865187388656470603571798264306160112181826768324443931811403498405825823318526571199466279139394745008128 binary64)) (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) (if (<=.f64 x #s(literal 1399999999999999965042734645761241782738223104 binary64)) (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))))
(if (or (<=.f64 x #s(literal -750000000000000056380865187388656470603571798264306160112181826768324443931811403498405825823318526571199466279139394745008128 binary64)) (not (<=.f64 x #s(literal 1399999999999999965042734645761241782738223104 binary64)))) (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)))
(if (<=.f64 (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)) #s(literal 2 binary64)) (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) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y))

derivations759.0ms (17.7%)

Memory
37.4MiB live, 451.9MiB allocated; 84ms collecting garbage
Stop Event
done
Compiler

Compiled 304 to 65 computations (78.6% saved)

preprocess43.0ms (1%)

Memory
16.9MiB live, 59.6MiB allocated; 7ms collecting garbage
Compiler

Compiled 634 to 150 computations (76.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...