Diagrams.TwoD.Arc:arcBetween from diagrams-lib-1.3.0.3

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze2.0ms (0.2%)

Memory
1.6MiB live, 1.6MiB allocated; 0ms 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
75%74.9%25%0.1%0%0%0%3
87.5%87.4%12.5%0.1%0%0%0%4
93.8%93.7%6.2%0.1%0%0%0%5
96.9%96.8%3.1%0.1%0%0%0%6
98.4%98.3%1.6%0.1%0%0%0%7
99.2%99.1%0.8%0.1%0%0%0%8
99.6%99.5%0.4%0.1%0%0%0%9
99.8%99.7%0.2%0.1%0%0%0%10
99.9%99.8%0.1%0.1%0%0%0%11
100%99.9%0%0.1%0%0%0%12
Compiler

Compiled 21 to 11 computations (47.6% saved)

sample773.0ms (66.3%)

Memory
30.7MiB live, 811.5MiB allocated; 191ms collecting garbage
Samples
462.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 244.0ms
ival-mult!: 150.0ms (61.4% of total)
ival-div!: 45.0ms (18.4% of total)
ival-add!: 31.0ms (12.7% of total)
ival-sub!: 16.0ms (6.5% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

preprocess48.0ms (4.1%)

Memory
5.3MiB live, 51.2MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
028116
1104116
2342114
3815114
42761114
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.5%
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
Symmetry

(abs x)

(abs y)

Compiler

Compiled 26 to 18 computations (30.8% saved)

series9.0ms (0.8%)

Memory
29.1MiB live, 29.1MiB allocated; 0ms collecting garbage
Counts
9 → 30
Calls
Call 1
Inputs
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))
(*.f64 x x)
x
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))
Outputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 -1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/2 (/ (pow x 2) (pow y 2))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (* -4 (pow y 2))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (- (pow x 2) (* 4 (pow y 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (* 4 (pow y 2))))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (+ (* 4 (pow y 2)) (pow x 2))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2)))))))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 4 (/ (pow y 2) (pow x 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* -8 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (+ (* -4 (pow y 2)) (pow x 2))))
#s(approx (* (* y 4) y) #s(hole binary64 (* 4 (pow y 2))))
#s(approx (* y 4) #s(hole binary64 (* 4 y)))
#s(approx y #s(hole binary64 y))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))))))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4))))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow y 2) (+ 4 (/ (pow x 2) (pow y 2))))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
y
@inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) x (* (* y 4) y) (* y 4) y 4 (+ (* x x) (* (* y 4) y)))
2.0ms
x
@inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) x (* (* y 4) y) (* y 4) y 4 (+ (* x x) (* (* y 4) y)))
1.0ms
x
@0
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) x (* (* y 4) y) (* y 4) y 4 (+ (* x x) (* (* y 4) y)))
1.0ms
y
@-inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) x (* (* y 4) y) (* y 4) y 4 (+ (* x x) (* (* y 4) y)))
1.0ms
y
@0
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) x (* (* y 4) y) (* y 4) y 4 (+ (* x x) (* (* y 4) y)))

rewrite81.0ms (7%)

Memory
-9.6MiB live, 139.6MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158969
0168917
0878872
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
39 → 65
Calls
Call 1
Inputs
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))
(*.f64 x x)
x
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 -1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/2 (/ (pow x 2) (pow y 2))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (* -4 (pow y 2))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (- (pow x 2) (* 4 (pow y 2)))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (* 4 (pow y 2))))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (+ (* 4 (pow y 2)) (pow x 2))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2)))))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (pow x 2)))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2)))))))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow x 2) (+ 1 (* 4 (/ (pow y 2) (pow x 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* -8 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (+ (* -4 (pow y 2)) (pow x 2))))
#s(approx (* (* y 4) y) #s(hole binary64 (* 4 (pow y 2))))
#s(approx (* y 4) #s(hole binary64 (* 4 y)))
#s(approx y #s(hole binary64 y))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))))))))
#s(approx (- (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4))))
#s(approx (+ (* x x) (* (* y 4) y)) #s(hole binary64 (* (pow y 2) (+ 4 (/ (pow x 2) (pow y 2))))))
Outputs
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y))) (neg.f64 (fma.f64 (*.f64 #s(literal 4 binary64) y) y (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y)) (fma.f64 (*.f64 #s(literal 4 binary64) y) y (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (fma.f64 (*.f64 #s(literal 4 binary64) y) y (*.f64 x x))) (/.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) (fma.f64 (*.f64 #s(literal 4 binary64) y) y (*.f64 x x))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) (*.f64 (*.f64 #s(literal 4 binary64) y) y))) (fma.f64 (*.f64 #s(literal 4 binary64) y) y (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (fma.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) (*.f64 (*.f64 #s(literal 4 binary64) y) y) (*.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y)))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (*.f64 #s(literal 4 binary64) y)) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (*.f64 #s(literal 4 binary64) y)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (*.f64 #s(literal 4 binary64) y)) y))
(fma.f64 x x (*.f64 (neg.f64 (*.f64 #s(literal 4 binary64) y)) y))
(-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 #s(literal 4 binary64) y)) y))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
(*.f64 (*.f64 #s(literal 4 binary64) y) y)
(*.f64 y (*.f64 #s(literal 4 binary64) y))
(*.f64 #s(literal 4 binary64) y)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) (*.f64 (*.f64 #s(literal 4 binary64) y) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) (*.f64 (*.f64 #s(literal 4 binary64) y) y)) (*.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y)))))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal 4 binary64) y) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (*.f64 #s(literal 4 binary64) y) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal 4 binary64) y) y))
(fma.f64 (*.f64 #s(literal 4 binary64) y) y (*.f64 x x))
(fma.f64 y (*.f64 #s(literal 4 binary64) y) (*.f64 x x))
(fma.f64 x x (*.f64 (*.f64 #s(literal 4 binary64) y) y))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 #s(literal 4 binary64) y)) y))
(+.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 4 binary64) y) y))
(+.f64 (*.f64 (*.f64 #s(literal 4 binary64) y) y) (*.f64 x x))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (*.f64 y y)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 y y) (*.f64 y y))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 y y))) (*.f64 x x)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/32 binary64) (*.f64 x x)) (pow.f64 y #s(literal 6 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) (*.f64 y y)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (*.f64 y y))) (*.f64 x x)) #s(literal 1 binary64)))
#s(approx (- (* x x) (* (* y 4) y)) (*.f64 #s(literal -4 binary64) (*.f64 y y)))
#s(approx (- (* x x) (* (* y 4) y)) (fma.f64 #s(literal -4 binary64) (*.f64 y y) (*.f64 x x)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (+ (* x x) (* (* y 4) y)) (*.f64 (*.f64 y y) #s(literal 4 binary64)))
#s(approx (+ (* x x) (* (* y 4) y)) (fma.f64 (*.f64 y y) #s(literal 4 binary64) (*.f64 x x)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -4 binary64) #s(literal 1 binary64)) (/.f64 (*.f64 (*.f64 y y) #s(literal 4 binary64)) (*.f64 x x))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (fma.f64 #s(literal -4 binary64) (fma.f64 (*.f64 y y) (/.f64 (*.f64 (*.f64 y y) #s(literal -8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 (*.f64 y y) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 (*.f64 (*.f64 y y) #s(literal 4 binary64)) (*.f64 x x))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) #s(literal -8 binary64)) (*.f64 (*.f64 y y) (*.f64 y y))) (pow.f64 x #s(literal 6 binary64))) #s(literal 16 binary64) (/.f64 (*.f64 #s(literal -4 binary64) (*.f64 y y)) (*.f64 x x))) #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (fma.f64 (*.f64 y y) (/.f64 (*.f64 (*.f64 y y) #s(literal -8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 (*.f64 y y) (*.f64 x x))))))
#s(approx (- (* x x) (* (* y 4) y)) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) y)) (*.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -4 binary64) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (+ (* x x) (* (* y 4) y)) (*.f64 x x))
#s(approx (+ (* x x) (* (* y 4) y)) (*.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal 4 binary64) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 #s(literal -8 binary64) (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal 32 binary64)) (/.f64 #s(literal 8 binary64) (*.f64 x x))) (*.f64 y y) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 x #s(literal 6 binary64))) #s(literal -128 binary64) (/.f64 #s(literal 32 binary64) (*.f64 (*.f64 x x) (*.f64 x x)))) (*.f64 y y)) (/.f64 #s(literal 8 binary64) (*.f64 x x))) (*.f64 y y) #s(literal 1 binary64)))
#s(approx (- (* x x) (* (* y 4) y)) (fma.f64 #s(literal -4 binary64) (*.f64 y y) (*.f64 x x)))
#s(approx (* (* y 4) y) (*.f64 (*.f64 y y) #s(literal 4 binary64)))
#s(approx (* y 4) (*.f64 #s(literal 4 binary64) y))
#s(approx y y)
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 y y)) (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1 binary64))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (*.f64 (*.f64 y y) (*.f64 y y))) #s(literal -1/4 binary64) (-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 y y)) (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1 binary64)))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (-.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (pow.f64 y #s(literal 6 binary64)))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 y y))) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (*.f64 (*.f64 y y) (*.f64 y y))) #s(literal 1/4 binary64) (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 x x)) (*.f64 y y)))))
#s(approx (- (* x x) (* (* y 4) y)) (*.f64 (-.f64 (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 4 binary64)) (*.f64 y y)))
#s(approx (+ (* x x) (* (* y 4) y)) (*.f64 (+.f64 (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 4 binary64)) (*.f64 y y)))

eval5.0ms (0.4%)

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

Compiled 735 to 257 computations (65% saved)

prune12.0ms (1%)

Memory
-38.6MiB live, 6.6MiB allocated; 6ms collecting garbage
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New57259
Fresh000
Picked101
Done000
Total58260
Accuracy
99.8%
Counts
60 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.2%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
47.1%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
Compiler

Compiled 28 to 22 computations (21.4% saved)

series2.0ms (0.2%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Counts
4 → 14
Calls
Call 1
Inputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 -1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/2 (/ (pow x 2) (pow y 2))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* -8 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))))))))
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) -1 (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) 1)
0.0ms
x
@inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) -1 (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) 1)
0.0ms
y
@inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) -1 (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) 1)
0.0ms
y
@-inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) -1 (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) 1)
0.0ms
x
@-inf
((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) -1 (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) 1)

rewrite57.0ms (4.9%)

Memory
35.1MiB live, 82.2MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125722
0125670
0747635
Stop Event
iter-limit
iter-limit
node-limit
saturated
Counts
18 → 18
Calls
Call 1
Inputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 -1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/2 (/ (pow x 2) (pow y 2))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 1))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* -8 (/ (pow y 2) (pow x 2))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2))))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2)))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(hole binary64 (- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))))))))
Outputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(literal -1 binary64)
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (*.f64 y y)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 x x) (*.f64 (*.f64 y y) (*.f64 y y))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 y y))) (*.f64 x x)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 (fma.f64 (-.f64 (/.f64 (*.f64 #s(literal 1/32 binary64) (*.f64 x x)) (pow.f64 y #s(literal 6 binary64))) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 y y) (*.f64 y y)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (*.f64 y y))) (*.f64 x x)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -4 binary64) #s(literal 1 binary64)) (/.f64 (*.f64 (*.f64 y y) #s(literal 4 binary64)) (*.f64 x x))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (fma.f64 #s(literal -4 binary64) (fma.f64 (*.f64 y y) (/.f64 (*.f64 (*.f64 y y) #s(literal -8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 (*.f64 y y) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 (*.f64 (*.f64 y y) #s(literal 4 binary64)) (*.f64 x x))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (+.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) #s(literal -8 binary64)) (*.f64 (*.f64 y y) (*.f64 y y))) (pow.f64 x #s(literal 6 binary64))) #s(literal 16 binary64) (/.f64 (*.f64 #s(literal -4 binary64) (*.f64 y y)) (*.f64 x x))) #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (fma.f64 (*.f64 y y) (/.f64 (*.f64 (*.f64 y y) #s(literal -8 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))) (/.f64 (*.f64 y y) (*.f64 x x))))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 #s(literal -8 binary64) (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 (-.f64 (*.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal 32 binary64)) (/.f64 #s(literal 8 binary64) (*.f64 x x))) (*.f64 y y) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 (-.f64 (*.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 x #s(literal 6 binary64))) #s(literal -128 binary64) (/.f64 #s(literal 32 binary64) (*.f64 (*.f64 x x) (*.f64 x x)))) (*.f64 y y)) (/.f64 #s(literal 8 binary64) (*.f64 x x))) (*.f64 y y) #s(literal 1 binary64)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 y y)) (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1 binary64))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (*.f64 (*.f64 y y) (*.f64 y y))) #s(literal -1/4 binary64) (-.f64 (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 y y)) (fma.f64 #s(literal -1/4 binary64) (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1 binary64)))))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (-.f64 (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 (*.f64 x x) (*.f64 x x))) (pow.f64 y #s(literal 6 binary64))) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 y y))) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x)) (*.f64 (*.f64 y y) (*.f64 y y))) #s(literal 1/4 binary64) (/.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 x x)) (*.f64 y y)))))

eval11.0ms (0.9%)

Memory
-46.2MiB live, 5.9MiB allocated; 7ms collecting garbage
Compiler

Compiled 309 to 105 computations (66% saved)

prune6.0ms (0.5%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New12012
Fresh000
Picked022
Done000
Total12214
Accuracy
99.8%
Counts
14 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.2%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
47.1%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
Compiler

Compiled 64 to 42 computations (34.4% saved)

regimes8.0ms (0.7%)

Memory
28.0MiB live, 28.0MiB allocated; 0ms collecting garbage
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
Outputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
Calls

5 calls:

2.0ms
x
2.0ms
y
1.0ms
(*.f64 x x)
1.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
1.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
Results
AccuracySegmentsBranch
80.3%3(*.f64 (*.f64 y #s(literal 4 binary64)) y)
86.3%3(*.f64 x x)
79.6%2(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
86.3%3x
80.3%3y
Compiler

Compiled 21 to 21 computations (0% saved)

regimes11.0ms (1%)

Memory
-30.9MiB live, 14.9MiB allocated; 3ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
Outputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
Calls

3 calls:

9.0ms
x
1.0ms
(*.f64 x x)
1.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
Results
AccuracySegmentsBranch
79.6%2(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
79.1%2(*.f64 x x)
79.1%2x
Compiler

Compiled 16 to 14 computations (12.5% saved)

regimes5.0ms (0.4%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
Outputs
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
Calls

5 calls:

1.0ms
x
1.0ms
y
1.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
1.0ms
(*.f64 x x)
1.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
Results
AccuracySegmentsBranch
47.1%1(*.f64 (*.f64 y #s(literal 4 binary64)) y)
47.1%1y
47.1%1(*.f64 x x)
47.1%1x
47.1%1(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)))
Compiler

Compiled 21 to 21 computations (0% saved)

bsearch45.0ms (3.8%)

Memory
-5.0MiB live, 40.3MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
37.0ms
5.030475115405858e+86
1.5725729471353436e+88
6.0ms
3.0509507478398343e-94
7.156228663910306e-94
Samples
36.0ms192×0valid
Compiler

Compiled 346 to 278 computations (19.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-div!: 29.0ms (89.4% of total)
ival-mult!: 3.0ms (9.3% of total)
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-add!: 0.0ms (0% of total)

bsearch1.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
1.0ms
-1.0
1.0
Samples
0.0ms16×0valid
Compiler

Compiled 44 to 38 computations (13.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
adjust: 0.0ms (0% of total)

derivations5.0ms (0.4%)

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

Compiled 45 to 28 computations (37.8% saved)

preprocess86.0ms (7.4%)

Memory
-18.9MiB live, 86.6MiB allocated; 37ms collecting garbage
Remove

(abs y)

(abs x)

Compiler

Compiled 522 to 325 computations (37.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...