bug366, discussion (missed optimization)

Time bar (total: 2.7s)

start0.0ms (0%)

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

analyze29.0ms (1.1%)

Memory
-8.7MiB live, 37.0MiB allocated; 6ms 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)

sample1.1s (42.3%)

Memory
55.0MiB live, 757.1MiB allocated; 788ms collecting garbage
Samples
800.0ms8 256×0valid
29.0ms661×0invalid
Precisions
Click to see histograms. Total time spent on operations: 185.0ms
ival-mult!: 93.0ms (50.2% of total)
ival-sqrt: 73.0ms (39.4% of total)
ival-sub!: 19.0ms (10.2% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess61.0ms (2.3%)

Memory
-39.6MiB live, 52.1MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
16550
223450
339450
4110050
5370150
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.6%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Symmetry

(abs a)

(abs b)

Compiler

Compiled 12 to 12 computations (0% saved)

series7.0ms (0.3%)

Memory
17.1MiB live, 17.1MiB 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
@inf
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)
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
b
@-inf
((sqrt (- (* a a) (* b b))) (- (* a a) (* b b)) (* a a) a (* b b) b)

rewrite121.0ms (4.6%)

Memory
-15.8MiB live, 84.7MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0159856
0162821
0463795
Stop Event
iter-limit
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
38 → 50
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))
(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 (fabs.f64 a) (fabs.f64 a))
(*.f64 (neg.f64 a) (neg.f64 a))
(*.f64 a a)
(pow.f64 a #s(literal 2 binary64))
a
(*.f64 (fabs.f64 b) (fabs.f64 b))
(*.f64 (neg.f64 b) (neg.f64 b))
(*.f64 b b)
(pow.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 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #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) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b))) #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) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) (*.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) #s(literal 1 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))))) a))
#s(approx (- (* a a) (* b b)) (*.f64 a a))
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (/.f64 (neg.f64 (*.f64 b b)) (*.f64 a a)) #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) #s(literal 1 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(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)) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 b b)) (pow.f64 a #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) a))) (*.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 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 a #s(literal 4 binary64))) (*.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (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)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 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 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 a #s(literal 4 binary64))) (*.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (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)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 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)))

eval4.0ms (0.2%)

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

Compiled 508 to 190 computations (62.6% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42345
Fresh000
Picked101
Done000
Total43346
Accuracy
99.9%
Counts
46 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
57.0%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
99.4%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 21 to 21 computations (0% saved)

series9.0ms (0.3%)

Memory
8.0MiB live, 8.0MiB allocated; 0ms collecting garbage
Counts
9 → 75
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
a
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
(neg.f64 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 (neg a) #s(hole binary64 (* -1 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
a
@0
((sqrt (- (* a a) (* b b))) a (sqrt (- (* a a) (* b b))) (neg 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 a) (* b b))) (neg a) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))
2.0ms
b
@inf
((sqrt (- (* a a) (* b b))) a (sqrt (- (* a a) (* b b))) (neg 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 a) (* b b))) (neg 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 a) (* b b))) (neg a) (sqrt (* (+ a b) (- a b))) (* (+ a b) (- a b)) (+ a b) b (- a b))

rewrite243.0ms (9.2%)

Memory
15.6MiB live, 240.1MiB allocated; 76ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04242255
04292003
015151482
0149151338
Stop Event
iter-limit
iter-limit
iter-limit
node-limit
iter-limit
Counts
84 → 211
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
a
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
(neg.f64 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 (neg a) #s(hole binary64 (* -1 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
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
(*.f64 #s(literal 1 binary64) (neg.f64 a))
(*.f64 #s(literal -1 binary64) a)
(*.f64 (neg.f64 a) #s(literal 1 binary64))
(*.f64 a #s(literal -1 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 a a)) (-.f64 #s(literal 0 binary64) (neg.f64 a)))
(/.f64 (+.f64 #s(literal 0 binary64) (*.f64 (*.f64 (neg.f64 a) a) a)) (*.f64 a a))
(neg.f64 a)
(fma.f64 #s(literal 1 binary64) (neg.f64 a) #s(literal 0 binary64))
(fma.f64 #s(literal -1 binary64) a #s(literal 0 binary64))
(fma.f64 (neg.f64 a) #s(literal 1 binary64) #s(literal 0 binary64))
(fma.f64 a #s(literal -1 binary64) #s(literal 0 binary64))
(-.f64 #s(literal 0 binary64) a)
(+.f64 #s(literal 0 binary64) (neg.f64 a))
(+.f64 (neg.f64 a) #s(literal 0 binary64))
(*.f64 (pow.f64 (*.f64 (-.f64 a b) (+.f64 b a)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (-.f64 a b) (+.f64 b a)) #s(literal 1/4 binary64)))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (+.f64 b a)))
(*.f64 (sqrt.f64 (+.f64 b a)) (sqrt.f64 (-.f64 a b)))
(*.f64 (pow.f64 (-.f64 a b) #s(literal 1/2 binary64)) (pow.f64 (+.f64 b a) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (+.f64 b a) #s(literal 1/2 binary64)) (pow.f64 (-.f64 a b) #s(literal 1/2 binary64)))
(pow.f64 (*.f64 (-.f64 a b) (+.f64 b a)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (-.f64 a b) (+.f64 b a)))
(hypot.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)))
(hypot.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (fabs.f64 (fabs.f64 a)))
(hypot.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (neg.f64 (fabs.f64 a)))
(hypot.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (fabs.f64 a))
(hypot.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (neg.f64 a))
(hypot.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) a)
(hypot.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)))
(hypot.f64 (pow.f64 a #s(literal 1 binary64)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
(hypot.f64 (fabs.f64 (fabs.f64 a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
(hypot.f64 (neg.f64 (fabs.f64 a)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 a)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
(hypot.f64 (fabs.f64 a) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
(hypot.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (pow.f64 a #s(literal 1 binary64)))
(hypot.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (fabs.f64 (fabs.f64 a)))
(hypot.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (neg.f64 (fabs.f64 a)))
(hypot.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (fabs.f64 a))
(hypot.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (neg.f64 a))
(hypot.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) a)
(hypot.f64 (neg.f64 a) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
(hypot.f64 a (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)))
(hypot.f64 a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b))
(exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 a b) (+.f64 b a))) #s(literal 1/2 binary64)))
(*.f64 (+.f64 (fabs.f64 a) (fabs.f64 b)) (-.f64 (fabs.f64 a) (fabs.f64 b)))
(*.f64 (+.f64 (fabs.f64 a) (neg.f64 b)) (-.f64 (fabs.f64 a) (neg.f64 b)))
(*.f64 (+.f64 (fabs.f64 a) b) (-.f64 (fabs.f64 a) b))
(*.f64 (+.f64 (neg.f64 a) (fabs.f64 b)) (-.f64 (neg.f64 a) (fabs.f64 b)))
(*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b)))
(*.f64 (-.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) (neg.f64 b)))
(*.f64 (-.f64 a b) (-.f64 a (neg.f64 b)))
(*.f64 (-.f64 a b) (+.f64 b a))
(*.f64 (+.f64 b a) (-.f64 a b))
(/.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b))) (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)))
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b)) (*.f64 (*.f64 a a) (*.f64 a a))) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)))
(/.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b b) (*.f64 b b))) (fma.f64 a a (*.f64 b b)))
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b)) (*.f64 (*.f64 (neg.f64 a) a) (*.f64 (neg.f64 a) a))) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))
(/.f64 (+.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 b) b) #s(literal 3 binary64))) (fma.f64 (*.f64 a a) (*.f64 a a) (-.f64 (*.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b)) (*.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)))))
(/.f64 (+.f64 (pow.f64 (*.f64 (neg.f64 b) b) #s(literal 3 binary64)) (pow.f64 (*.f64 a a) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b) (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)))))
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (fma.f64 (*.f64 a a) (*.f64 a a) (fma.f64 (*.f64 b b) (*.f64 b b) (*.f64 (*.f64 a a) (*.f64 b b)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (neg.f64 b) b) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 a) a) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 b) b) (fma.f64 (*.f64 (neg.f64 a) a) (*.f64 (neg.f64 a) a) (*.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 a) a)))))
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 b)) (fabs.f64 b) (*.f64 a a))
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 (+.f64 (fabs.f64 a) (fabs.f64 b)) (-.f64 (fabs.f64 a) (fabs.f64 b)) #s(literal 0 binary64))
(fma.f64 (+.f64 (fabs.f64 a) (neg.f64 b)) (-.f64 (fabs.f64 a) (neg.f64 b)) #s(literal 0 binary64))
(fma.f64 (+.f64 (fabs.f64 a) b) (-.f64 (fabs.f64 a) b) #s(literal 0 binary64))
(fma.f64 (+.f64 (neg.f64 a) (fabs.f64 b)) (-.f64 (neg.f64 a) (fabs.f64 b)) #s(literal 0 binary64))
(fma.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b) #s(literal 0 binary64))
(fma.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b)) #s(literal 0 binary64))
(fma.f64 (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 1 binary64)) (*.f64 a a))
(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 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b) (*.f64 a a))
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b))
(fma.f64 (*.f64 (neg.f64 a) a) #s(literal -1 binary64) (*.f64 (neg.f64 b) b))
(fma.f64 (fabs.f64 b) (*.f64 (fabs.f64 b) #s(literal -1 binary64)) (*.f64 a a))
(fma.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b)) (*.f64 a a))
(fma.f64 (fabs.f64 a) (*.f64 (fabs.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 b) b (*.f64 a a))
(fma.f64 (-.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) (neg.f64 b)) #s(literal 0 binary64))
(fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 a a))
(fma.f64 (-.f64 a b) (-.f64 a (neg.f64 b)) #s(literal 0 binary64))
(fma.f64 (-.f64 a b) (+.f64 b a) #s(literal 0 binary64))
(fma.f64 (-.f64 a b) b (*.f64 (-.f64 a b) a))
(fma.f64 (-.f64 a b) a (*.f64 (-.f64 a b) b))
(fma.f64 (+.f64 b a) (-.f64 a b) #s(literal 0 binary64))
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (neg.f64 b) b))
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (neg.f64 b) b))
(fma.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) (*.f64 a a))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 a) a) (*.f64 (neg.f64 b) b))
(fma.f64 #s(literal -1 binary64) (*.f64 b b) (*.f64 a a))
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b))
(fma.f64 b (neg.f64 b) (*.f64 a a))
(fma.f64 b (-.f64 a b) (*.f64 a (-.f64 a b)))
(fma.f64 b a (fma.f64 (-.f64 (neg.f64 a) b) b (*.f64 a a)))
(fma.f64 a (-.f64 a b) (*.f64 b (-.f64 a b)))
(fma.f64 a b (fma.f64 (-.f64 (neg.f64 a) b) b (*.f64 a a)))
(fma.f64 a a (*.f64 (neg.f64 b) b))
(-.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 a) a))
(-.f64 (*.f64 a a) (*.f64 b b))
(+.f64 (fma.f64 a a (*.f64 b a)) (*.f64 (-.f64 (neg.f64 a) b) b))
(+.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) a))
(+.f64 (*.f64 (-.f64 a b) a) (*.f64 (-.f64 a b) b))
(+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b)))
(+.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b)))
(+.f64 (*.f64 b a) (fma.f64 (-.f64 (neg.f64 a) b) b (*.f64 a a)))
(+.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))
(+.f64 (*.f64 (-.f64 a b) (+.f64 b a)) #s(literal 0 binary64))
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b))
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 b a))
(/.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) a)) (fma.f64 b b (-.f64 (*.f64 a a) (*.f64 b a))))
(/.f64 (fma.f64 (*.f64 a a) a (*.f64 (*.f64 b b) b)) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 b a))))
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (-.f64 a b))
(+.f64 b a)
(+.f64 a b)
b
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 (neg.f64 a) b))
(/.f64 (+.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (*.f64 (*.f64 a a) a)) (fma.f64 b b (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) a))))
(/.f64 (fma.f64 (*.f64 a a) a (pow.f64 (neg.f64 b) #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 b b) (*.f64 (neg.f64 b) a))))
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 a a (fma.f64 b b (*.f64 b a))))
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (-.f64 a (neg.f64 b)))
(/.f64 (*.f64 (-.f64 a b) (+.f64 b a)) (+.f64 b a))
(fma.f64 (neg.f64 b) #s(literal 1 binary64) a)
(fma.f64 #s(literal 1 binary64) (neg.f64 b) a)
(fma.f64 #s(literal -1 binary64) b a)
(fma.f64 b #s(literal -1 binary64) a)
(-.f64 a b)
(+.f64 (neg.f64 b) a)
(+.f64 a (neg.f64 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 #s(literal 1/2 binary64) a) (/.f64 a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (*.f64 a (/.f64 a (*.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) #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 (fma.f64 (*.f64 a (/.f64 a (pow.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 (neg.f64 (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) (*.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 (neg a) (neg.f64 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 (sqrt.f64 #s(literal -1 binary64)) b (/.f64 #s(literal 0 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (/.f64 a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal 1/2 binary64) a) (/.f64 a (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)))
#s(approx (* (+ a b) (- a b)) (*.f64 (neg.f64 b) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (neg.f64 b) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 a b) (+.f64 b a)))
#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))) (fma.f64 (*.f64 a #s(literal -1/2 binary64)) (*.f64 b (/.f64 b (*.f64 a a))) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (fma.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) b) b) (*.f64 a a))) a a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 a (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) b) b) (*.f64 a a)))) a))
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 a #s(literal -1/2 binary64)) (*.f64 b (/.f64 b (*.f64 a a))) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 a #s(literal -1/2 binary64)) (*.f64 b (/.f64 b (*.f64 a a))) a))
#s(approx (* (+ a b) (- a b)) (*.f64 a a))
#s(approx (* (+ a b) (- a b)) (*.f64 a a))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 b (/.f64 b (*.f64 a a)))) (*.f64 a a)))
#s(approx (+ a b) a)
#s(approx (+ a b) (fma.f64 (/.f64 b a) a a))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64)) (neg.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64) (fma.f64 (*.f64 b (/.f64 b (*.f64 a a))) #s(literal -1/2 binary64) #s(literal 1 binary64))) (neg.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 (fma.f64 a (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a))) #s(literal -1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 a a))) #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 #s(literal -1/2 binary64) b) b) (*.f64 a a)))) a)))
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 b (/.f64 b a)) #s(literal 1/2 binary64)) a) (neg.f64 a) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 (*.f64 (*.f64 b (/.f64 b a)) #s(literal 1/2 binary64)) a) (neg.f64 a) a))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 b (/.f64 b (*.f64 a a)))) (*.f64 a a)))
#s(approx (+ a b) (*.f64 (-.f64 (/.f64 b (neg.f64 a)) #s(literal 1 binary64)) (neg.f64 a)))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) (neg.f64 a)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 (fma.f64 (*.f64 b (/.f64 b (*.f64 (*.f64 a a) a))) #s(literal -1/8 binary64) (/.f64 #s(literal -1/2 binary64) a)) b) b a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 b (/.f64 b (pow.f64 a #s(literal 5 binary64)))) #s(literal -1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 a a) a))) b) b (/.f64 #s(literal -1/2 binary64) a)) b) b a))
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
#s(approx (* (+ a b) (- a b)) (*.f64 a a))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 a b) (+.f64 b a)))
#s(approx b b)
#s(approx (- a b) (-.f64 a b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (neg.f64 (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (*.f64 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (neg.f64 (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 (*.f64 a a) #s(literal 1/2 binary64)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) (sqrt.f64 #s(literal -1 binary64)))) b))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (sqrt.f64 #s(literal -1 binary64)) b (/.f64 #s(literal 0 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (fma.f64 (*.f64 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (neg.f64 b) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (-.f64 (*.f64 a (/.f64 a (*.f64 b b))) #s(literal 1 binary64)) (*.f64 b b)))
#s(approx (+ a b) (fma.f64 (/.f64 a b) b 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 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #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 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (neg.f64 (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (fma.f64 (*.f64 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #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 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (neg.f64 (sqrt.f64 #s(literal -1 binary64))))) #s(literal -1/8 binary64) (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 a a) a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 b b) b)) (pow.f64 #s(literal -1 binary64) #s(literal 5/2 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 (*.f64 a a) #s(literal 1/2 binary64)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) (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))) (neg.f64 (fma.f64 (sqrt.f64 #s(literal -1 binary64)) b (/.f64 #s(literal 0 binary64) (sqrt.f64 #s(literal -1 binary64))))))
#s(approx (sqrt (- (* a a) (* b b))) (*.f64 (neg.f64 b) (fma.f64 (*.f64 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #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 a (/.f64 a (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) b) b))) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))))
#s(approx (* (+ a b) (- a b)) (*.f64 (neg.f64 b) b))
#s(approx (* (+ a b) (- a b)) (*.f64 (*.f64 (-.f64 (/.f64 (+.f64 #s(literal 0 binary64) (*.f64 a (/.f64 a b))) b) #s(literal 1 binary64)) 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) (-.f64 #s(literal 1 binary64) (/.f64 a b))))

eval18.0ms (0.7%)

Memory
-1.0MiB live, 43.6MiB allocated; 7ms collecting garbage
Compiler

Compiled 1 407 to 573 computations (59.3% saved)

prune4.0ms (0.2%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1761177
Fresh000
Picked033
Done000
Total1764180
Accuracy
100.0%
Counts
180 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
57.0%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
99.8%
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
99.4%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 32 to 32 computations (0% saved)

series11.0ms (0.4%)

Memory
-24.9MiB live, 20.2MiB allocated; 6ms collecting garbage
Counts
7 → 33
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
(fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a)
(*.f64 #s(literal -1/2 binary64) b)
#s(literal -1/2 binary64)
b
(/.f64 b a)
a
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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a))))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a)))
#s(approx (/ b a) #s(hole binary64 (/ b a)))
#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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 a))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* -1 (* a (- (* 1/2 (/ (pow b 2) (pow a 2))) 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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (* -1/2 b) #s(hole binary64 (* -1/2 b)))
#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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a))))))
#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
4.0ms
b
@-inf
((sqrt (- (* a a) (* b b))) (+ (* (* -1/2 b) (/ b a)) a) (* -1/2 b) -1/2 b (/ b a) a)
2.0ms
a
@0
((sqrt (- (* a a) (* b b))) (+ (* (* -1/2 b) (/ b a)) a) (* -1/2 b) -1/2 b (/ b a) a)
1.0ms
b
@inf
((sqrt (- (* a a) (* b b))) (+ (* (* -1/2 b) (/ b a)) a) (* -1/2 b) -1/2 b (/ b a) a)
1.0ms
a
@-inf
((sqrt (- (* a a) (* b b))) (+ (* (* -1/2 b) (/ b a)) a) (* -1/2 b) -1/2 b (/ b a) a)
1.0ms
b
@0
((sqrt (- (* a a) (* b b))) (+ (* (* -1/2 b) (/ b a)) a) (* -1/2 b) -1/2 b (/ b a) a)

rewrite57.0ms (2.1%)

Memory
9.5MiB live, 106.1MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0165901
0167866
0469838
Stop Event
iter-limit
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
40 → 46
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
(fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a)
(*.f64 #s(literal -1/2 binary64) b)
#s(literal -1/2 binary64)
b
(/.f64 b a)
a
#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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* -1/2 (/ (pow b 2) a))))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (/ (+ (* -1/2 (pow b 2)) (pow a 2)) a)))
#s(approx (/ b a) #s(hole binary64 (/ b a)))
#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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 a))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* a (+ 1 (* -1/2 (/ (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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* -1 (* a (- (* 1/2 (/ (pow b 2) (pow a 2))) 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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (+ a (* -1/2 (/ (pow b 2) a)))))
#s(approx (* -1/2 b) #s(hole binary64 (* -1/2 b)))
#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 (+ (* (* -1/2 b) (/ b a)) a) #s(hole binary64 (* (pow b 2) (- (/ a (pow b 2)) (* 1/2 (/ 1 a))))))
#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
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (/.f64 b a) (*.f64 #s(literal -1/2 binary64) b) a))
(fma.f64 (/.f64 b a) (*.f64 #s(literal -1/2 binary64) b) a)
(fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a)
(fma.f64 #s(literal -1/2 binary64) (*.f64 b (/.f64 b a)) a)
(+.f64 (*.f64 (/.f64 b a) (*.f64 #s(literal -1/2 binary64) b)) a)
(+.f64 a (*.f64 (/.f64 b a) (*.f64 #s(literal -1/2 binary64) b)))
(*.f64 #s(literal -1/2 binary64) b)
(*.f64 b #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
b
(/.f64 (neg.f64 b) (neg.f64 a))
(/.f64 b 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 a a) (*.f64 (sqrt.f64 #s(literal -1 binary64)) b)) #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) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b))) #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) (*.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 binary64))) (*.f64 (*.f64 b b) b)))) (*.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 (+ (* (* -1/2 b) (/ b a)) a) (*.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64)))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) (/.f64 (fma.f64 (*.f64 b b) #s(literal -1/2 binary64) (*.f64 a a)) a))
#s(approx (/ b a) (/.f64 b 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) #s(literal 1 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))))) a))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) a)
#s(approx (+ (* (* -1/2 b) (/ b a)) a) (*.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))) (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) #s(literal 1 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(approx (+ (* (* -1/2 b) (/ b a)) a) (*.f64 (neg.f64 a) (-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 b b)) (*.f64 a 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)) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (-.f64 (*.f64 (-.f64 (/.f64 (*.f64 #s(literal -1/16 binary64) (*.f64 b b)) (pow.f64 a #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 a a) a))) (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.f64 b b) a))
#s(approx (+ (* (* -1/2 b) (/ b a)) a) (fma.f64 (/.f64 (*.f64 b b) a) #s(literal -1/2 binary64) a))
#s(approx (* -1/2 b) (*.f64 #s(literal -1/2 binary64) 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 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 a #s(literal 4 binary64))) (*.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (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)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 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 (+ (* (* -1/2 b) (/ b a)) a) (*.f64 (-.f64 (/.f64 a (*.f64 b b)) (/.f64 #s(literal 1/2 binary64) a)) (*.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 (*.f64 a a) (*.f64 (*.f64 b b) (sqrt.f64 #s(literal -1 binary64)))) #s(literal 1/2 binary64) (/.f64 (*.f64 #s(literal -1/8 binary64) (pow.f64 a #s(literal 4 binary64))) (*.f64 (pow.f64 b #s(literal 4 binary64)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (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)) (*.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 #s(literal -1 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)))

eval3.0ms (0.1%)

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

Compiled 495 to 181 computations (63.4% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done033
Total38442
Accuracy
100.0%
Counts
42 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
57.0%
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
99.8%
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
1.1%
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
99.4%
#s(approx (sqrt (- (* a a) (* b b))) a)
Compiler

Compiled 62 to 54 computations (12.9% saved)

regimes11.0ms (0.4%)

Memory
15.9MiB live, 15.9MiB allocated; 0ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (- (* a a) (* b b))) a)
#s(approx (sqrt (- (* a a) (* b b))) (neg.f64 a))
(sqrt.f64 (*.f64 (+.f64 a b) (-.f64 a b)))
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
Outputs
#s(approx (sqrt (- (* a a) (* b b))) (fma.f64 (*.f64 #s(literal -1/2 binary64) b) (/.f64 b a) a))
Calls

6 calls:

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

Compiled 17 to 21 computations (-23.5% saved)

regimes32.0ms (1.2%)

Memory
-33.9MiB live, 13.1MiB allocated; 2ms collecting garbage
Accuracy

Total -62.9b remaining (-17191.7%)

Threshold costs -62.9b (-17191.7%)

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

6 calls:

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

Compiled 17 to 21 computations (-23.5% saved)

derivations890.0ms (33.5%)

Memory
59.8MiB live, 156.3MiB allocated; 65ms collecting garbage
Stop Event
done
Compiler

Compiled 16 to 12 computations (25% saved)

preprocess27.0ms (1%)

Memory
12.2MiB live, 54.2MiB allocated; 14ms collecting garbage
Remove

(abs b)

Compiler

Compiled 130 to 126 computations (3.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...