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

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze2.0ms (0.1%)

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

sample894.0ms (70.7%)

Memory
0.2MiB live, 1 084.9MiB allocated; 213ms collecting garbage
Samples
649.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 407.0ms
ival-mult!: 256.0ms (62.9% of total)
ival-div!: 103.0ms (25.3% of total)
ival-sub!: 31.0ms (7.6% of total)
ival-add!: 15.0ms (3.7% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

preprocess24.0ms (1.9%)

Memory
34.0MiB live, 34.0MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
028116
190116
2267114
3554114
41085114
51523114
61659114
71665114
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.7%
(/.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)

series44.0ms (3.5%)

Memory
-15.6MiB live, 28.9MiB allocated; 5ms 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
36.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)))
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)))

rewrite73.0ms (5.8%)

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

eval7.0ms (0.5%)

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

Compiled 760 to 277 computations (63.6% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh000
Picked101
Done000
Total74377
Accuracy
99.3%
Counts
77 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.4%
#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)))
47.3%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
53.5%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
Compiler

Compiled 48 to 39 computations (18.8% saved)

series11.0ms (0.9%)

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

6 calls:

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

rewrite67.0ms (5.3%)

Memory
-13.8MiB live, 79.7MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0152950
0159893
0859856
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
38 → 63
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))) (-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (*.f64 y y)) #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (*.f64 y y)) #s(literal 1 binary64))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (*.f64 y y))
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
#s(literal 1/2 binary64)
(*.f64 x x)
x
(*.f64 y y)
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 (- (/ (* 1/2 (* x x)) (* y y)) 1) #s(hole binary64 -1))
#s(approx (- (/ (* 1/2 (* x x)) (* y y)) 1) #s(hole binary64 (- (* 1/2 (/ (pow x 2) (pow y 2))) 1)))
#s(approx (/ (* 1/2 (* x x)) (* y y)) #s(hole binary64 (* 1/2 (/ (pow x 2) (pow y 2)))))
#s(approx (* 1/2 (* x x)) #s(hole binary64 (* 1/2 (pow x 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)) (+ (* 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 (- (/ (* 1/2 (* x x)) (* y y)) 1) #s(hole binary64 (* 1/2 (/ (pow x 2) (pow y 2)))))
#s(approx (- (/ (* 1/2 (* x x)) (* y y)) 1) #s(hole binary64 (* (pow x 2) (- (* 1/2 (/ 1 (pow y 2))) (/ 1 (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 (- (/ (* 1/2 (* x x)) (* y y)) 1) #s(hole binary64 (/ (+ (* -1 (pow y 2)) (* 1/2 (pow x 2))) (pow y 2))))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#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))))))))
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))) (-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y))) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1/2 binary64) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) (+.f64 #s(literal 1 binary64) (*.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)))))
(-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) (/.f64 (*.f64 x x) y))
(*.f64 (/.f64 (*.f64 x x) (*.f64 y y)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) y) y)
(/.f64 (neg.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (neg.f64 (*.f64 y y)))
(/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y))
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x)
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x))) (*.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 x x)) (*.f64 #s(literal -1/4 binary64) (*.f64 x x)))) (fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 #s(literal -1/4 binary64) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 x x)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (fma.f64 (*.f64 #s(literal -1/4 binary64) (*.f64 x x)) (*.f64 #s(literal -1/4 binary64) (*.f64 x x)) (*.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal -1/4 binary64) (*.f64 x x))))))
(fma.f64 #s(literal 1/4 binary64) (*.f64 x x) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))
(fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))
(-.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal -1/4 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 1/4 binary64) (*.f64 x x)) (*.f64 #s(literal 1/4 binary64) (*.f64 x x)))
#s(literal 1/2 binary64)
(*.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 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 y #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
y
#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 (*.f64 x x) #s(literal 1/2 binary64)) (*.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 (- (/ (* 1/2 (* x x)) (* y y)) 1) #s(literal -1 binary64))
#s(approx (- (/ (* 1/2 (* x x)) (* y y)) 1) (-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)))
#s(approx (/ (* 1/2 (* x x)) (* y y)) (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)))
#s(approx (* 1/2 (* x x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))
#s(approx (* x x) (*.f64 x x))
#s(approx 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 (- (/ (* 1/2 (* x x)) (* y y)) 1) (/.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 y y)))
#s(approx (- (/ (* 1/2 (* x x)) (* y y)) 1) (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 y y)) (/.f64 #s(literal 1 binary64) (*.f64 x x))) (*.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 (- (/ (* 1/2 (* x x)) (* y y)) 1) (/.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (neg.f64 (*.f64 y y))) (*.f64 y y)))
#s(approx (* y y) (*.f64 y 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 (*.f64 x x) (*.f64 x x)) (*.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)))))

eval11.0ms (0.9%)

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

Compiled 666 to 291 computations (56.3% saved)

prune7.0ms (0.5%)

Memory
-37.0MiB live, 8.0MiB allocated; 2ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New52052
Fresh000
Picked033
Done000
Total52355
Accuracy
99.3%
Counts
55 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.4%
#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)))
47.3%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal 1 binary64))
53.5%
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(literal -1 binary64))
Compiler

Compiled 100 to 65 computations (35% saved)

regimes16.0ms (1.3%)

Memory
38.6MiB live, 38.6MiB allocated; 0ms collecting garbage
Counts
4 → 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))
#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)))
(/.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:

4.0ms
y
3.0ms
x
3.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
3.0ms
(*.f64 x x)
2.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
83.1%3(*.f64 (*.f64 y #s(literal 4 binary64)) y)
82.2%3(*.f64 x x)
78.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)))
82.2%3x
83.1%3y
Compiler

Compiled 21 to 21 computations (0% saved)

regimes16.0ms (1.3%)

Memory
-17.2MiB live, 27.8MiB allocated; 3ms collecting garbage
Counts
3 → 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))
#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)))
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

5 calls:

5.0ms
y
3.0ms
x
3.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
2.0ms
(*.f64 x x)
2.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
78.6%3(/.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)))
78.3%2(*.f64 x x)
78.3%2x
77.6%4(*.f64 (*.f64 y #s(literal 4 binary64)) y)
77.6%4y
Compiler

Compiled 21 to 21 computations (0% saved)

regimes9.0ms (0.7%)

Memory
15.1MiB live, 15.1MiB 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:

2.0ms
x
2.0ms
y
2.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) y)
2.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
53.5%1(*.f64 (*.f64 y #s(literal 4 binary64)) y)
53.5%1y
53.5%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)))
53.5%1(*.f64 x x)
53.5%1x
Compiler

Compiled 21 to 21 computations (0% saved)

bsearch35.0ms (2.7%)

Memory
0.5MiB live, 57.3MiB allocated; 6ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
2.1167258115624564e+123
9.627685220436106e+124
17.0ms
6.351262569522107e-149
2.2094125652123764e-148
Samples
17.0ms192×0valid
Compiler

Compiled 346 to 278 computations (19.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult!: 5.0ms (68.8% of total)
ival-sub!: 1.0ms (13.8% of total)
ival-add!: 1.0ms (13.8% of total)
ival-div!: 1.0ms (13.8% of total)
adjust: 0.0ms (0% of total)

bsearch11.0ms (0.9%)

Memory
-31.6MiB live, 14.1MiB allocated; 3ms collecting garbage
Algorithm
binary-search
Stop Event
predicate-same
Steps
TimeLeftRight
10.0ms
9.085383219404484e+33
1.5019652383169803e+34
Samples
6.0ms64×0valid
Compiler

Compiled 134 to 110 computations (17.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult!: 3.0ms (69% of total)
ival-div!: 1.0ms (23% of total)
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-add!: 0.0ms (0% of total)

derivations5.0ms (0.4%)

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

Compiled 45 to 29 computations (35.6% saved)

preprocess31.0ms (2.5%)

Memory
0.7MiB live, 92.8MiB allocated; 6ms collecting garbage
Remove

(abs y)

(abs x)

Compiler

Compiled 534 to 334 computations (37.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...