bug366, discussion (missed optimization)

Time bar (total: 1.7s)

start0.0ms (0%)

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

analyze34.0ms (2%)

Memory
14.5MiB live, 60.4MiB allocated; 5ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
30.8%25%56.2%0.1%0%18.7%0%5
32%25%53.1%0.1%0%21.9%0%6
55.8%37.5%29.7%0.1%0%32.8%0%7
57.8%37.5%27.3%0.1%0%35.1%0%8
74.2%43.7%15.2%0.1%0%41%0%9
75.9%43.7%13.9%0.1%0%42.3%0%10
85.9%46.8%7.7%0.1%0%45.4%0%11
87%46.8%7%0.1%0%46.1%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample798.0ms (46%)

Memory
10.2MiB live, 950.5MiB allocated; 350ms collecting garbage
Samples
479.0ms8 256×0valid
43.0ms583×0invalid
Precisions
Click to see histograms. Total time spent on operations: 282.0ms
ival-mult: 168.0ms (59.6% of total)
ival-sqrt: 58.0ms (20.6% of total)
ival-sub: 51.0ms (18.1% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain106.0ms (6.1%)

Memory
-0.5MiB live, 89.4MiB allocated; 20ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1320-0-(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
120-0-(-.f64 (*.f64 a a) (*.f64 b b))
00-0-(*.f64 a a)
00-0-a
00-0-b
00-0-(*.f64 b b)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))oflow-rescue1200
(*.f64 b b)overflow12
(-.f64 (*.f64 a a) (*.f64 b b))overflow120
(*.f64 a a)overflow120
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue120
(*.f64 a a)overflow120
(*.f64 b b)overflow12
sqrt.f64(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))uflow-rescue120
(*.f64 b b)underflow97
(-.f64 (*.f64 a a) (*.f64 b b))underflow12
(*.f64 a a)underflow12
Confusion
Predicted +Predicted -
+1320
-0124
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13200
-00124
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0124
1120
212
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
33.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 7.0ms (52.8% of total)
ival-sqrt: 3.0ms (22.6% of total)
ival-sub: 2.0ms (15.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess119.0ms (6.9%)

Memory
18.0MiB live, 122.3MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
15550
221450
334450
487550
5183950
6301750
7335950
8343750
9343750
10363350
068
0108
1238
2838
32258
44058
58368
613878
720718
828968
932068
1032688
1132688
1233468
033468
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Outputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(sqrt.f64 (*.f64 (-.f64 a b) (+.f64 b a)))
Symmetry

(abs a)

(abs b)

Compiler

Compiled 8 to 6 computations (25% 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.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.5%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Compiler

Compiled 8 to 6 computations (25% saved)

series7.0ms (0.4%)

Memory
9.9MiB live, 9.9MiB allocated; 0ms collecting garbage
Counts
6 → 32
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
Outputs
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2))))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 a))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2)))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a)))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a)))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2))))
#s(approx (* b b) #s(hole binary64 (pow b 2)))
#s(approx b #s(hole binary64 b))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@0
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
b
@inf
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
a
@inf
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
a
@-inf
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)
1.0ms
b
@0
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)

rewrite50.0ms (2.9%)

Memory
-6.6MiB live, 39.4MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0159856
0164821
0818795
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
38 → 57
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(-.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a a)
a
(*.f64 b b)
b
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2))))
#s(approx (* a a) #s(hole binary64 (pow a 2)))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 a))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2)))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a)))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a)))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2))))
#s(approx (* b b) #s(hole binary64 (pow b 2)))
#s(approx b #s(hole binary64 b))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))))
Outputs
(pow.f64 (*.f64 (+.f64 a b) (-.f64 a b)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(*.f64 (+.f64 a b) (-.f64 a b))
(/.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64))) (fma.f64 a a (*.f64 b b)))
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (+.f64 (pow.f64 a #s(literal 4 binary64)) (+.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 a a) (*.f64 b b)))))
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 a a (*.f64 (neg.f64 b) b))
(-.f64 (*.f64 a a) (*.f64 b b))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b))
(*.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)))
(*.f64 (neg.f64 a) (neg.f64 a))
(*.f64 (fabs.f64 a) (fabs.f64 a))
(*.f64 a a)
(pow.f64 a #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))
a
(*.f64 (pow.f64 b #s(literal 1 binary64)) (pow.f64 b #s(literal 1 binary64)))
(*.f64 (neg.f64 b) (neg.f64 b))
(*.f64 (fabs.f64 b) (fabs.f64 b))
(*.f64 b b)
(pow.f64 b #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64)))
b
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (/.f64 (*.f64 a a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 a a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (- (* a a) (* b b)) (neg.f64 (*.f64 b b)))
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 a b) (-.f64 a b)))
#s(approx (* a a) (*.f64 a a))
#s(approx a a)
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64)))) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #s(literal -1/16 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64))))) #s(literal 1 binary64)) a))
#s(approx (- (* a a) (* b b)) (*.f64 a a))
#s(approx (- (* a a) (* b b)) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 a a)))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64))))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #s(literal -1/16 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64))))) #s(literal 1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (pow.f64 a #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 b b) (pow.f64 a #s(literal 5 binary64))) #s(literal -1/16 binary64) (*.f64 #s(literal -1/8 binary64) (pow.f64 a #s(literal -3 binary64)))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (- (* a a) (* b b)) (fma.f64 a a (neg.f64 (*.f64 b b))))
#s(approx (* b b) (*.f64 b b))
#s(approx b b)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 (/.f64 (*.f64 a a) (*.f64 b b)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b)))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b)))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (*.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b)))

eval6.0ms (0.4%)

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

Compiled 1 095 to 230 computations (79% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh000
Picked011
Done000
Total59362
Accuracy
99.5%
Counts
62 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.5%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
51.9%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
98.7%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 26 to 19 computations (26.9% saved)

series9.0ms (0.5%)

Memory
3.9MiB live, 3.9MiB allocated; 0ms collecting garbage
Counts
7 → 74
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
a
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(*.f64 (+.f64 a b) (-.f64 a b))
(+.f64 a b)
b
(-.f64 a b)
Outputs
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1)))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))))
#s(approx (+ a b) #s(hole binary64 b))
#s(approx (+ a b) #s(hole binary64 (+ a b)))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 a))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 a))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (pow a 2)))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))))
#s(approx (+ a b) #s(hole binary64 a))
#s(approx (+ a b) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a)))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))))
#s(approx (+ a b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3))))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))))
#s(approx (+ a b) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))))
#s(approx (+ a b) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
b
@inf
((sqrt (- (* a a) (* b b))) a (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))
2.0ms
a
@0
((sqrt (- (* a a) (* b b))) a (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))
2.0ms
a
@-inf
((sqrt (- (* a a) (* b b))) a (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))
1.0ms
a
@inf
((sqrt (- (* a a) (* b b))) a (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))
1.0ms
b
@-inf
((sqrt (- (* a a) (* b b))) a (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))

rewrite131.0ms (7.6%)

Memory
-33.4MiB live, 69.1MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04202236
04231985
025981911
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
81 → 97
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
a
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(*.f64 (+.f64 a b) (-.f64 a b))
(+.f64 a b)
b
(-.f64 a b)
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* 1/2 (/ (pow a 2) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* -1/8 (/ (pow a 2) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ (* b (sqrt -1)) (* (pow a 2) (+ (* (pow a 2) (- (* 1/16 (/ (pow a 2) (* (pow b 5) (pow (sqrt -1) 5)))) (* 1/8 (/ 1 (* (pow b 3) (pow (sqrt -1) 3)))))) (* 1/2 (/ 1 (* b (sqrt -1)))))))))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1)))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* -1 (pow b 2))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b)))))))
#s(approx (+ a b) #s(hole binary64 b))
#s(approx (+ a b) #s(hole binary64 (+ a b)))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 a))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 a))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (pow a 2)))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a)))))))
#s(approx (+ a b) #s(hole binary64 a))
#s(approx (+ a b) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 a)))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (* -1/2 (/ (pow b 2) (pow a 2))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (* -1/8 (/ (pow b 4) (pow a 4)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* a (+ 1 (+ (* -1/2 (/ (pow b 2) (pow a 2))) (+ (* -1/8 (/ (pow b 4) (pow a 4))) (* -1/16 (/ (pow b 6) (pow a 6))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a))))))
#s(approx (+ a b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* -1/8 (/ (pow b 2) (pow a 3))) (* 1/2 (/ 1 a)))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (+ a (* (pow b 2) (- (* (pow b 2) (- (* -1/16 (/ (pow b 2) (pow a 5))) (* 1/8 (/ 1 (pow a 3))))) (* 1/2 (/ 1 a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3))))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2))))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1))))
#s(approx (+ a b) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (- (* a a) (* b b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (+ (* -1/8 (/ (pow a 4) (* (pow b 4) (pow (sqrt -1) 3)))) (+ (* 1/16 (/ (pow a 6) (* (pow b 6) (pow (sqrt -1) 5)))) (* 1/2 (/ (pow a 2) (* (pow b 2) (sqrt -1)))))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (sqrt (* (+ a b) (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1))))
#s(approx (* (+ a b) (- a b)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1))))
#s(approx (+ a b) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) a)
a
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(pow.f64 (*.f64 (-.f64 a b) (+.f64 b a)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (-.f64 a b) (+.f64 b a)))
(*.f64 (-.f64 a b) (+.f64 b a))
(*.f64 (+.f64 b a) (-.f64 a b))
(/.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64))) (fma.f64 a a (*.f64 b b)))
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (+.f64 (pow.f64 a #s(literal 4 binary64)) (+.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 a a) (*.f64 b b)))))
(fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b))
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 a a (*.f64 (neg.f64 b) b))
(-.f64 (*.f64 a a) (*.f64 b b))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b))
(/.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 a b))))
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (-.f64 a b))
(+.f64 b a)
(+.f64 a b)
b
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (fma.f64 b b (*.f64 a b))))
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (+.f64 b a))
(-.f64 a b)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (/.f64 (*.f64 a a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 a a) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 a a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64)))) (*.f64 a a) (/.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) (*.f64 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx a a)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) b) (sqrt.f64 #s(literal -1 binary64))))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64)))) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64))) a (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (* (+ a b) (- a b)) (neg.f64 (*.f64 b b)))
#s(approx (* (+ a b) (- a b)) (fma.f64 (*.f64 #s(literal 0 binary64) b) a (neg.f64 (*.f64 b b))))
#s(approx (* (+ a b) (- a b)) (fma.f64 (fma.f64 #s(literal 0 binary64) b a) a (neg.f64 (*.f64 b b))))
#s(approx (+ a b) b)
#s(approx (+ a b) (+.f64 b a))
#s(approx (- a b) (neg.f64 b))
#s(approx (- a b) (-.f64 a b))
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64)))) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #s(literal -1/16 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64))))) #s(literal 1 binary64)) a))
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 #s(literal 0 binary64) (/.f64 b a)) #s(literal 1/2 binary64) #s(literal 1 binary64)) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 0 binary64) (/.f64 b a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 a a))) #s(literal 1 binary64)) a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 #s(literal 0 binary64) b)) (pow.f64 a #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal 0 binary64) (/.f64 b a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 a a))))) #s(literal 1 binary64)) a))
#s(approx (* (+ a b) (- a b)) (*.f64 a a))
#s(approx (* (+ a b) (- a b)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 b a) #s(literal 1 binary64)) (*.f64 a a)))
#s(approx (* (+ a b) (- a b)) (*.f64 (+.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1 binary64) (/.f64 b a))) (*.f64 a a)))
#s(approx (+ a b) a)
#s(approx (+ a b) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) a))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) #s(literal 1 binary64)) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64))))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (+.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1/2 binary64) (fma.f64 (/.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 a #s(literal 6 binary64))) #s(literal -1/16 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 b #s(literal 4 binary64))) (pow.f64 a #s(literal 4 binary64))))) #s(literal 1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (neg.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (*.f64 #s(literal 0 binary64) (/.f64 b a)) #s(literal -1/2 binary64) #s(literal -1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) a) #s(literal -1/2 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64))) a) #s(literal -1 binary64) #s(literal -1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) b)) (neg.f64 a)) #s(literal 1/4 binary64) (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) #s(literal 1/2 binary64))) a))) a) #s(literal -1 binary64) #s(literal -1 binary64))))
#s(approx (* (+ a b) (- a b)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal -1 binary64) (/.f64 (*.f64 b b) a)) a) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 a a)))
#s(approx (+ a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64))))
#s(approx (- a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 b a) #s(literal 1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 b b)) (pow.f64 a #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 b b) (pow.f64 a #s(literal 5 binary64))) #s(literal -1/16 binary64) (*.f64 #s(literal -1/8 binary64) (pow.f64 a #s(literal -3 binary64)))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) b) a) #s(literal 1/2 binary64) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (*.f64 b (/.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (fma.f64 (*.f64 b (/.f64 (*.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 0 binary64) a)) (pow.f64 a #s(literal 3 binary64)))) #s(literal 1/4 binary64) (*.f64 (/.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a) #s(literal -1/2 binary64))) b (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a))
#s(approx (* (+ a b) (- a b)) (fma.f64 (*.f64 #s(literal 0 binary64) a) b (*.f64 a a)))
#s(approx (* (+ a b) (- a b)) (fma.f64 (fma.f64 #s(literal 0 binary64) a (neg.f64 b)) b (*.f64 a a)))
#s(approx b b)
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 b b)) (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 b b)) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 a b) (/.f64 (*.f64 a a) (*.f64 b b))) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (+ a b) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64))))) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (+.f64 (fma.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (*.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (*.f64 (pow.f64 b #s(literal 6 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 a a)) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) (sqrt.f64 #s(literal -1 binary64))) #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal -1/2 binary64))) b) #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) b)) #s(literal 1/4 binary64))) b))) b) #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b))) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) a (neg.f64 (/.f64 (*.f64 a a) b))) b)) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (+ a b) (*.f64 (neg.f64 b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64))))
#s(approx (- a b) (*.f64 (neg.f64 b) (fma.f64 (/.f64 a b) #s(literal -1 binary64) #s(literal 1 binary64))))

eval14.0ms (0.8%)

Memory
-12.2MiB live, 32.0MiB allocated; 6ms collecting garbage
Compiler

Compiled 2 260 to 463 computations (79.5% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New98199
Fresh000
Picked022
Done011
Total984102
Accuracy
100.0%
Counts
102 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
51.5%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
51.9%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
98.7%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 35 to 26 computations (25.7% saved)

series11.0ms (0.7%)

Memory
24.6MiB live, 24.6MiB allocated; 0ms collecting garbage
Counts
7 → 83
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 (+.f64 b a))
(+.f64 b a)
b
a
(sqrt.f64 (-.f64 a b))
(-.f64 a b)
Outputs
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt b)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* 1/2 (* a (sqrt (/ 1 b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* -1/8 (* a (sqrt (/ 1 (pow b 3))))) (* 1/2 (sqrt (/ 1 b))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* 1/2 (sqrt (/ 1 b))) (* a (+ (* -1/8 (sqrt (/ 1 (pow b 3)))) (* 1/16 (* a (sqrt (/ 1 (pow b 5))))))))))))
#s(approx (+ b a) #s(hole binary64 b))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (- a b)) #s(hole binary64 (* (sqrt b) (sqrt -1))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 b)))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* -1/8 (* (/ a (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 3))))) (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))) (* a (+ (* -1/8 (* (sqrt (/ 1 (pow b 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (/ a (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 5))))))))) (* (sqrt b) (sqrt -1)))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))))
#s(approx (+ b a) #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* -1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* -1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3)))))))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (/ (pow b 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (* (pow b 3) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* 1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)) (* 1/2 (sqrt (/ 1 a))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* 1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* 1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx b #s(hole binary64 b))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* -1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* -1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (pow a 3) (sqrt (/ 1 (pow b 7))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt b) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (* (pow a 3) (sqrt -1)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
b
@-inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) b a (sqrt (- a b)) (- a b))
2.0ms
a
@-inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) b a (sqrt (- a b)) (- a b))
2.0ms
a
@0
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) b a (sqrt (- a b)) (- a b))
2.0ms
b
@inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) b a (sqrt (- a b)) (- a b))
1.0ms
a
@inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) b a (sqrt (- a b)) (- a b))

rewrite145.0ms (8.4%)

Memory
5.9MiB live, 95.2MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05262709
05322268
031772164
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
90 → 101
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 (+.f64 b a))
(+.f64 b a)
b
a
(sqrt.f64 (-.f64 a b))
(-.f64 a b)
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt b)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* 1/2 (* a (sqrt (/ 1 b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* -1/8 (* a (sqrt (/ 1 (pow b 3))))) (* 1/2 (sqrt (/ 1 b))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* 1/2 (sqrt (/ 1 b))) (* a (+ (* -1/8 (sqrt (/ 1 (pow b 3)))) (* 1/16 (* a (sqrt (/ 1 (pow b 5))))))))))))
#s(approx (+ b a) #s(hole binary64 b))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (- a b)) #s(hole binary64 (* (sqrt b) (sqrt -1))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 b)))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* -1/8 (* (/ a (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 3))))) (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))) (* a (+ (* -1/8 (* (sqrt (/ 1 (pow b 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (/ a (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 5))))))))) (* (sqrt b) (sqrt -1)))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))))
#s(approx (+ b a) #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* -1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* -1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3)))))))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (/ (pow b 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (* (pow b 3) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* 1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)) (* 1/2 (sqrt (/ 1 a))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* 1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* 1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx b #s(hole binary64 b))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* -1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* -1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (pow a 3) (sqrt (/ 1 (pow b 7))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt b) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (* (pow a 3) (sqrt -1)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (+.f64 a b)))
(*.f64 (sqrt.f64 (+.f64 a b)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(pow.f64 (+.f64 a b) #s(literal 1/2 binary64))
(sqrt.f64 (+.f64 a b))
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 a b))
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 b a))
(/.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 a b))))
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 b b (-.f64 (*.f64 a a) (*.f64 b a))))
(+.f64 a b)
(+.f64 b a)
b
a
(pow.f64 (-.f64 a b) #s(literal 1/2 binary64))
(sqrt.f64 (-.f64 a b))
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (fma.f64 b b (*.f64 a b))))
(-.f64 a b)
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (/.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) b) (sqrt.f64 #s(literal -1 binary64))))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64)))) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64))) a (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (+ b a)) (sqrt.f64 b))
#s(approx (sqrt (+ b a)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) a) #s(literal 1/2 binary64) (sqrt.f64 b)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64))) a (sqrt.f64 b)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (*.f64 (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) #s(literal -1/8 binary64))) a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64))) a (sqrt.f64 b)))
#s(approx (+ b a) b)
#s(approx (+ b a) (+.f64 a b))
#s(approx a a)
#s(approx (sqrt (- a b)) (sqrt.f64 (neg.f64 b)))
#s(approx (sqrt (- a b)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 a (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) a (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 a (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (*.f64 (*.f64 (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) a (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) a (sqrt.f64 (neg.f64 b))))
#s(approx (- a b) (neg.f64 b))
#s(approx (- a b) (-.f64 a b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) a)
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) a) #s(literal 1/2 binary64) #s(literal 1 binary64)) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 a a))) #s(literal 1 binary64)) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 #s(literal 0 binary64) b)) (pow.f64 a #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 a a))))) #s(literal 1 binary64)) a))
#s(approx (sqrt (+ b a)) (sqrt.f64 a))
#s(approx (sqrt (+ b a)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) (*.f64 b b)) #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (*.f64 b b) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -7 binary64))) (pow.f64 b #s(literal 3 binary64))) #s(literal 1/16 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (+ b a) a)
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (sqrt (- a b)) (sqrt.f64 a))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) (*.f64 b b)) #s(literal -1/8 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) b (fma.f64 (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (pow.f64 a #s(literal -7 binary64)))) (pow.f64 b #s(literal 3 binary64)) (*.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (*.f64 b b)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (neg.f64 (neg.f64 a)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 a) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 #s(literal 0 binary64) b) a) #s(literal -1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) a) #s(literal -1/2 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64))) a) #s(literal -1 binary64) #s(literal -1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) b)) (neg.f64 a)) #s(literal 1/4 binary64) (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) #s(literal 1/2 binary64))) a))) a) #s(literal -1 binary64) #s(literal -1 binary64))))
#s(approx (sqrt (+ b a)) (neg.f64 (*.f64 (sqrt.f64 a) #s(literal -1 binary64))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (/.f64 (*.f64 b b) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64))))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (/.f64 (*.f64 b b) #s(literal -1 binary64)) (fma.f64 (*.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 a #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))))
#s(approx (+ b a) (*.f64 (neg.f64 a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64))))
#s(approx (sqrt (- a b)) (neg.f64 (*.f64 (sqrt.f64 a) #s(literal -1 binary64))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (neg.f64 b) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) (neg.f64 (*.f64 b b))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (neg.f64 b) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64))))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (neg.f64 (*.f64 b b)) (fma.f64 (*.f64 (*.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 a #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 (neg.f64 b) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))))
#s(approx (- a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 b a) #s(literal 1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) b) a) #s(literal 1/2 binary64) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (fma.f64 (*.f64 b (/.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (fma.f64 (fma.f64 (*.f64 b (/.f64 (*.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 0 binary64) a)) (pow.f64 a #s(literal 3 binary64)))) #s(literal 1/4 binary64) (*.f64 (/.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a) #s(literal -1/2 binary64))) b (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a))
#s(approx (sqrt (+ b a)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) b) #s(literal 1/2 binary64) (sqrt.f64 a)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal 1/2 binary64))) b (sqrt.f64 a)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) b) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) #s(literal -1/8 binary64))) b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal 1/2 binary64))) b (sqrt.f64 a)))
#s(approx b b)
#s(approx (sqrt (- a b)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) b) #s(literal -1/2 binary64) (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) #s(literal -1/8 binary64)) b (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))) b (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) b) #s(literal -1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) #s(literal -1/8 binary64))) b (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))) b (sqrt.f64 a)))
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 b b)) (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 b b)) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (+ b a)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 a a)) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 a a)) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (pow.f64 a #s(literal 3 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64)))) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 a a) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64))))) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 a a) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64)))))) b))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal -1/2 binary64))) b) #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) b)) #s(literal 1/4 binary64))) b))) b) #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (neg.f64 (*.f64 (sqrt.f64 b) #s(literal -1 binary64))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 a a) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal -1 binary64))))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 a a) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal 1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal -1 binary64)))))))
#s(approx (+ b a) (*.f64 (neg.f64 b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64))))
#s(approx (sqrt (- a b)) (neg.f64 (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) a)) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64))))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) a)) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64)))))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (*.f64 (pow.f64 a #s(literal 3 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) a)) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64))))))))
#s(approx (- a b) (*.f64 (neg.f64 b) (fma.f64 (/.f64 a b) #s(literal -1 binary64) #s(literal 1 binary64))))

eval21.0ms (1.2%)

Memory
-28.9MiB live, 26.4MiB allocated; 17ms collecting garbage
Compiler

Compiled 2 759 to 560 computations (79.7% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1041105
Fresh000
Picked011
Done033
Total1045109
Accuracy
100.0%
Counts
109 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
97.5%
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
51.5%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
51.9%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
98.7%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 46 to 34 computations (26.1% saved)

series5.0ms (0.3%)

Memory
10.9MiB live, 10.9MiB allocated; 0ms collecting garbage
Counts
7 → 83
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 #s(approx (+ b a) a))
#s(approx (+ b a) a)
a
(sqrt.f64 (-.f64 a b))
(-.f64 a b)
b
Outputs
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt b)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* 1/2 (* a (sqrt (/ 1 b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* -1/8 (* a (sqrt (/ 1 (pow b 3))))) (* 1/2 (sqrt (/ 1 b))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* 1/2 (sqrt (/ 1 b))) (* a (+ (* -1/8 (sqrt (/ 1 (pow b 3)))) (* 1/16 (* a (sqrt (/ 1 (pow b 5))))))))))))
#s(approx (+ b a) #s(hole binary64 b))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (- a b)) #s(hole binary64 (* (sqrt b) (sqrt -1))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 b)))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* -1/8 (* (/ a (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 3))))) (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))) (* a (+ (* -1/8 (* (sqrt (/ 1 (pow b 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (/ a (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 5))))))))) (* (sqrt b) (sqrt -1)))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))))
#s(approx (+ b a) #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* -1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* -1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3)))))))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (/ (pow b 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (* (pow b 3) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* 1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)) (* 1/2 (sqrt (/ 1 a))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* 1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* 1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* -1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* -1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx b #s(hole binary64 b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (pow a 3) (sqrt (/ 1 (pow b 7))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt b) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (* (pow a 3) (sqrt -1)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) a (sqrt (- a b)) (- a b) b)
1.0ms
b
@-inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) a (sqrt (- a b)) (- a b) b)
1.0ms
b
@inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) a (sqrt (- a b)) (- a b) b)
0.0ms
a
@inf
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) a (sqrt (- a b)) (- a b) b)
0.0ms
a
@0
((* (sqrt (+ b a)) (sqrt (- a b))) (sqrt (+ b a)) (+ b a) a (sqrt (- a b)) (- a b) b)

rewrite117.0ms (6.8%)

Memory
8.6MiB live, 142.0MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05252715
05302274
031792170
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
90 → 96
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 #s(approx (+ b a) a))
#s(approx (+ b a) a)
a
(sqrt.f64 (-.f64 a b))
(-.f64 a b)
b
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (sqrt -1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* 1/2 (/ (* a (+ b (* -1 b))) (* b (sqrt -1)))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (* a (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2)))))) (* b (sqrt -1)))) (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))))) (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ (* a (+ (* 1/2 (/ (+ b (* -1 b)) (* b (sqrt -1)))) (* a (+ (* -1/4 (/ (* a (* (+ b (* -1 b)) (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))))) (* (pow b 3) (pow (sqrt -1) 3)))) (* 1/2 (/ (- 1 (* 1/4 (/ (pow (+ b (* -1 b)) 2) (* (pow b 2) (pow (sqrt -1) 2))))) (* b (sqrt -1)))))))) (* b (sqrt -1)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt b)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* 1/2 (* a (sqrt (/ 1 b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* -1/8 (* a (sqrt (/ 1 (pow b 3))))) (* 1/2 (sqrt (/ 1 b))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt b) (* a (+ (* 1/2 (sqrt (/ 1 b))) (* a (+ (* -1/8 (sqrt (/ 1 (pow b 3)))) (* 1/16 (* a (sqrt (/ 1 (pow b 5))))))))))))
#s(approx (+ b a) #s(hole binary64 b))
#s(approx (+ b a) #s(hole binary64 (+ a b)))
#s(approx a #s(hole binary64 a))
#s(approx (sqrt (- a b)) #s(hole binary64 (* (sqrt b) (sqrt -1))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 b)))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* -1/8 (* (/ a (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 3))))) (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))))) (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (* a (+ (* 1/2 (* (sqrt (/ 1 b)) (/ 1 (sqrt -1)))) (* a (+ (* -1/8 (* (sqrt (/ 1 (pow b 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (/ a (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 5))))))))) (* (sqrt b) (sqrt -1)))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (* 1/2 (/ (+ b (* -1 b)) a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* a (+ 1 (+ (* -1/4 (/ (* (+ b (* -1 b)) (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2)))) (pow a 3))) (+ (* 1/2 (/ (+ b (* -1 b)) a)) (* 1/2 (/ (- (* -1 (pow b 2)) (* 1/4 (pow (+ b (* -1 b)) 2))) (pow a 2)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3))) (* 1/2 (* (sqrt (/ 1 (pow a 3))) b))))))))
#s(approx (+ b a) #s(hole binary64 a))
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (sqrt a)))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (* -1/2 (* (sqrt (/ 1 (pow a 3))) b))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* a (+ (sqrt (/ 1 a)) (+ (* -1/2 (* (sqrt (/ 1 (pow a 3))) b)) (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (pow b 2))) (* -1/16 (* (sqrt (/ 1 (pow a 7))) (pow b 3)))))))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (pow (sqrt -1) 2)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1/2 (/ (+ b (* -1 b)) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1/2 (/ (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* a (+ (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ b (* -1 b)) (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2))))) (* a (pow (sqrt -1) 2)))) (* 1/2 (- (pow b 2) (* 1/4 (/ (pow (+ b (* -1 b)) 2) (pow (sqrt -1) 2)))))) a)) (* 1/2 (+ b (* -1 b)))) a)) (pow (sqrt -1) 2))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (/ (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (/ (pow b 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) b)) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt a) (pow (sqrt -1) 2)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* a (+ (* -1/8 (* (sqrt (/ 1 (pow a 5))) (* (pow b 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow a 7))) (* (pow b 3) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow a 3))) (* b (pow (sqrt -1) 2)))) (* (sqrt (/ 1 a)) (pow (sqrt -1) 2)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* 1/2 (/ (* b (+ a (* -1 a))) a)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* -1/2 (/ (* b (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2))))) a)) (* 1/2 (/ (+ a (* -1 a)) a)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (+ a (* b (+ (* 1/2 (/ (+ a (* -1 a)) a)) (* b (+ (* -1/2 (/ (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) a)) (* 1/4 (/ (* b (* (+ 1 (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow a 2)))) (+ a (* -1 a)))) (pow a 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* 1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)) (* 1/2 (sqrt (/ 1 a))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (+ (sqrt a) (* b (+ (* 1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* 1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* -1/2 (* (sqrt (/ 1 a)) b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* -1/8 (* (sqrt (/ 1 (pow a 3))) b)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (+ (sqrt a) (* b (+ (* -1/2 (sqrt (/ 1 a))) (* b (+ (* -1/8 (sqrt (/ 1 (pow a 3)))) (* -1/16 (* (sqrt (/ 1 (pow a 5))) b)))))))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx b #s(hole binary64 b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* b (+ (sqrt -1) (+ (* -1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* (pow b 3) (pow (sqrt -1) 3)))) (+ (* 1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* (pow b 2) (sqrt -1))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3))))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* b (+ (sqrt (/ 1 b)) (+ (* -1/8 (* (pow a 2) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (pow a 3) (sqrt (/ 1 (pow b 7))))) (* 1/2 (* a (sqrt (/ 1 (pow b 3)))))))))))
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 3)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 5)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (/ a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (sqrt -1)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1/2 (/ (+ a (* -1 a)) (* b (sqrt -1)))))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (* b (sqrt -1)))) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) #s(hole binary64 (* -1 (* b (+ (sqrt -1) (* -1 (/ (+ (* -1 (/ (+ (* 1/4 (/ (* (+ a (* -1 a)) (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2))))) (* b (pow (sqrt -1) 3)))) (* 1/2 (/ (- (pow a 2) (* 1/4 (/ (pow (+ a (* -1 a)) 2) (pow (sqrt -1) 2)))) (sqrt -1)))) b)) (* 1/2 (/ (+ a (* -1 a)) (sqrt -1)))) b)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* (sqrt b) (pow (sqrt -1) 2)))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2))))))))
#s(approx (sqrt (+ b a)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (/ (pow a 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (/ (pow a 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* a (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (pow (sqrt -1) 2)))))))))
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* (sqrt b) (sqrt -1)))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1))))))))
#s(approx (sqrt (- a b)) #s(hole binary64 (* -1 (* b (+ (* -1/8 (* (* (pow a 2) (sqrt -1)) (sqrt (/ 1 (pow b 5))))) (+ (* 1/16 (* (* (pow a 3) (sqrt -1)) (sqrt (/ 1 (pow b 7))))) (+ (* 1/2 (* (* a (sqrt -1)) (sqrt (/ 1 (pow b 3))))) (* (sqrt (/ 1 b)) (sqrt -1)))))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 #s(approx (+ b a) a)))
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
(sqrt.f64 (*.f64 #s(approx (+ b a) a) (-.f64 a b)))
(pow.f64 #s(approx (+ b a) a) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ b a) a))
#s(approx (+ b a) a)
a
(pow.f64 (-.f64 a b) #s(literal 1/2 binary64))
(sqrt.f64 (-.f64 a b))
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (fma.f64 b b (*.f64 a b))))
(-.f64 a b)
b
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (/.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (fma.f64 a (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) b) (sqrt.f64 #s(literal -1 binary64))))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) a) (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64)))) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) (neg.f64 (*.f64 b b))) #s(literal 1/4 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal 1/2 binary64))) a (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))) a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (+ b a)) (sqrt.f64 b))
#s(approx (sqrt (+ b a)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) a) #s(literal 1/2 binary64) (sqrt.f64 b)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64))) a (sqrt.f64 b)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (*.f64 (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) #s(literal -1/8 binary64))) a (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64))) a (sqrt.f64 b)))
#s(approx (+ b a) b)
#s(approx (+ b a) (+.f64 a b))
#s(approx a a)
#s(approx (sqrt (- a b)) (sqrt.f64 (neg.f64 b)))
#s(approx (sqrt (- a b)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 a (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) a (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 a (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (*.f64 (*.f64 (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) #s(literal -1/8 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -3 binary64)))) a (*.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal 1/2 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal -1 binary64)))) a (sqrt.f64 (neg.f64 b))))
#s(approx (- a b) (neg.f64 b))
#s(approx (- a b) (-.f64 a b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) a)
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) a) #s(literal 1/2 binary64) #s(literal 1 binary64)) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 a a))) #s(literal 1 binary64)) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 #s(literal 0 binary64) b)) (pow.f64 a #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (*.f64 #s(literal 0 binary64) b) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 #s(literal -1/4 binary64) (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)))) (*.f64 a a))))) #s(literal 1 binary64)) a))
#s(approx (sqrt (+ b a)) (sqrt.f64 a))
#s(approx (sqrt (+ b a)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) (*.f64 b b)) #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (*.f64 b b) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -7 binary64))) (pow.f64 b #s(literal 3 binary64))) #s(literal 1/16 binary64) (*.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (+ b a) a)
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (sqrt (- a b)) (sqrt.f64 a))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) (*.f64 b b)) #s(literal -1/8 binary64) (*.f64 #s(literal -1/2 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (sqrt (- a b)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) b (fma.f64 (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (pow.f64 a #s(literal -7 binary64)))) (pow.f64 b #s(literal 3 binary64)) (*.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (*.f64 b b)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 a))) a))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (neg.f64 (neg.f64 a)))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 a) (fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 #s(literal 0 binary64) b) a) #s(literal -1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) a) #s(literal -1/2 binary64) (*.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64))) a) #s(literal -1 binary64) #s(literal -1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 a) (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) b)) (neg.f64 a)) #s(literal 1/4 binary64) (*.f64 (fma.f64 b b (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) b) #s(literal 2 binary64)) #s(literal -1 binary64)))) #s(literal 1/2 binary64))) a))) a) #s(literal -1 binary64) #s(literal -1 binary64))))
#s(approx (sqrt (+ b a)) (neg.f64 (*.f64 (sqrt.f64 a) #s(literal -1 binary64))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (/.f64 (*.f64 b b) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64))))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (/.f64 (*.f64 b b) #s(literal -1 binary64)) (fma.f64 (*.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 a #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))))
#s(approx (+ b a) (*.f64 (neg.f64 a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64))))
#s(approx (sqrt (- a b)) (neg.f64 (*.f64 (sqrt.f64 a) #s(literal -1 binary64))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (neg.f64 b) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) (neg.f64 (*.f64 b b))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (neg.f64 b) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64))))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 a) (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 a #s(literal -5 binary64)))) (neg.f64 (*.f64 b b)) (fma.f64 (*.f64 (*.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 a #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 (neg.f64 b) (sqrt.f64 (pow.f64 a #s(literal -3 binary64)))) #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal -1 binary64)))))))
#s(approx (- a b) (*.f64 (neg.f64 a) (-.f64 (/.f64 b a) #s(literal 1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (/.f64 (*.f64 (*.f64 #s(literal 0 binary64) a) b) a) #s(literal 1/2 binary64) a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (fma.f64 (*.f64 b (/.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (fma.f64 (fma.f64 (fma.f64 (*.f64 b (/.f64 (*.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) (*.f64 #s(literal 0 binary64) a)) (pow.f64 a #s(literal 3 binary64)))) #s(literal 1/4 binary64) (*.f64 (/.f64 (fma.f64 (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) (*.f64 a a)) #s(literal 1/4 binary64) #s(literal 1 binary64)) a) #s(literal -1/2 binary64))) b (*.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) a) #s(literal 1/2 binary64))) b a))
#s(approx (sqrt (+ b a)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) b) #s(literal 1/2 binary64) (sqrt.f64 a)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) b) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal 1/2 binary64))) b (sqrt.f64 a)))
#s(approx (sqrt (+ b a)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) b) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) #s(literal -1/8 binary64))) b (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) #s(literal 1/2 binary64))) b (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 a)) b) #s(literal -1/2 binary64) (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) #s(literal -1/8 binary64)) b (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))) b (sqrt.f64 a)))
#s(approx (sqrt (- a b)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 a #s(literal -5 binary64))) b) #s(literal -1/16 binary64) (*.f64 (sqrt.f64 (pow.f64 a #s(literal -3 binary64))) #s(literal -1/8 binary64))) b (*.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 a)))) b (sqrt.f64 a)))
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a))
#s(approx b b)
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (fma.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 b b)) (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 3 binary64))) #s(literal -1/4 binary64) (*.f64 #s(literal 1/2 binary64) (+.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) (/.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 b b)) (sqrt.f64 #s(literal -1 binary64)))))) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (+ b a)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 a a)) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (sqrt (+ b a)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 a a)) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (pow.f64 a #s(literal 3 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 b))) b))
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64)))) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 a a) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64))))) b))
#s(approx (sqrt (- a b)) (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 a a) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 a (sqrt.f64 #s(literal -1 binary64)))) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64)))))) b))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (sqrt.f64 #s(literal -1 binary64))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) b) (sqrt.f64 #s(literal -1 binary64))) #s(literal -1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #s(literal -1/2 binary64))) b) #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (sqrt (+ b a)) (sqrt (- a b))) (*.f64 (neg.f64 b) (fma.f64 (/.f64 (fma.f64 (/.f64 (*.f64 #s(literal 0 binary64) a) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (neg.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (sqrt.f64 #s(literal -1 binary64))) #s(literal 1/2 binary64) (*.f64 (/.f64 (*.f64 (fma.f64 a a (*.f64 #s(literal -1/4 binary64) (/.f64 (pow.f64 (*.f64 #s(literal 0 binary64) a) #s(literal 2 binary64)) #s(literal -1 binary64)))) (*.f64 #s(literal 0 binary64) a)) (*.f64 (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) b)) #s(literal 1/4 binary64))) b))) b) #s(literal -1 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (neg.f64 (*.f64 (sqrt.f64 b) #s(literal -1 binary64))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal -1 binary64)))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 a a) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal -1 binary64))))))
#s(approx (sqrt (+ b a)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 a a) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal 1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 b)) #s(literal -1 binary64)))))))
#s(approx (+ b a) (*.f64 (neg.f64 b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64))))
#s(approx (sqrt (- a b)) (neg.f64 (sqrt.f64 (neg.f64 b))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) a)) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64))))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) a)) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64)))))))
#s(approx (sqrt (- a b)) (*.f64 (neg.f64 b) (fma.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (*.f64 (pow.f64 a #s(literal 3 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 b #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (sqrt.f64 #s(literal -1 binary64)) a)) (sqrt.f64 (pow.f64 b #s(literal -3 binary64))) (sqrt.f64 (*.f64 (pow.f64 b #s(literal -1 binary64)) #s(literal -1 binary64))))))))
#s(approx (- a b) (*.f64 (neg.f64 b) (fma.f64 (/.f64 a b) #s(literal -1 binary64) #s(literal 1 binary64))))

eval24.0ms (1.4%)

Memory
-29.4MiB live, 31.1MiB allocated; 7ms collecting garbage
Compiler

Compiled 2 731 to 530 computations (80.6% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New97097
Fresh000
Picked011
Done044
Total975102
Accuracy
100.0%
Counts
102 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.3%
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
97.5%
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
51.5%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
51.9%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
98.7%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 92 to 57 computations (38% saved)

regimes11.0ms (0.7%)

Memory
25.0MiB live, 25.0MiB allocated; 0ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
Outputs
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
Calls

6 calls:

2.0ms
b
2.0ms
a
2.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
2.0ms
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
2.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
99.3%1(*.f64 b b)
99.3%1(*.f64 a a)
99.3%1(-.f64 (*.f64 a a) (*.f64 b b))
99.3%1(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
99.3%1a
99.3%1b
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes26.0ms (1.5%)

Memory
-18.8MiB live, 27.8MiB allocated; 2ms collecting garbage
Accuracy

Total -31.2b remaining (-3777.3%)

Threshold costs -31.2b (-3777.3%)

Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (sqrt.f64 #s(approx (+ b a) a)) (sqrt.f64 (-.f64 a b)))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) a)
Calls

6 calls:

18.0ms
b
2.0ms
a
2.0ms
(*.f64 a a)
2.0ms
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
2.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
Results
AccuracySegmentsBranch
98.7%1(*.f64 b b)
98.7%1(*.f64 a a)
98.7%1(-.f64 (*.f64 a a) (*.f64 b b))
98.7%1(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
98.7%1a
98.7%1b
Compiler

Compiled 23 to 21 computations (8.7% saved)

simplify57.0ms (3.3%)

Memory
-13.5MiB live, 30.7MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01219
12719
29219
323519
441319
585019
6140319
7208719
8291619
9322619
10328819
11328819
12336619
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
#s(approx (sqrt (- (* a a) (* b b))) a)
Outputs
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
#s(approx (sqrt (- (* a a) (* b b))) a)

derivations9.0ms (0.5%)

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

Compiled 19 to 12 computations (36.8% saved)

preprocess20.0ms (1.2%)

Memory
26.8MiB live, 26.8MiB allocated; 0ms collecting garbage
Remove

(abs b)

Compiler

Compiled 134 to 96 computations (28.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...