fabs fraction 2

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 8 to 8 computations (0% saved)

sample789.0ms (64.3%)

Memory
29.2MiB live, 619.0MiB allocated; 877ms collecting garbage
Samples
609.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 119.0ms
ival-fabs: 50.0ms (42.1% of total)
ival-div!: 39.0ms (32.8% of total)
ival-sub!: 29.0ms (24.4% of total)
adjust: 1.0ms (0.8% of total)
Bogosity

preprocess79.0ms (6.5%)

Memory
-31.2MiB live, 62.5MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01940
16636
219036
355536
4204436
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
Symmetry

(sort a b)

Compiler

Compiled 12 to 12 computations (0% saved)

series4.0ms (0.3%)

Memory
5.9MiB live, 5.9MiB allocated; 0ms collecting garbage
Counts
6 → 15
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(fabs.f64 (-.f64 a b))
(-.f64 a b)
a
b
#s(literal 2 binary64)
Outputs
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx a #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2)
1.0ms
a
@inf
((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2)
1.0ms
b
@-inf
((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2)
1.0ms
b
@inf
((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2)
1.0ms
b
@0
((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2)

rewrite68.0ms (5.5%)

Memory
34.5MiB live, 79.8MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051173
055136
1251136
02157136
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
21 → 142
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(fabs.f64 (-.f64 a b))
(-.f64 a b)
a
b
#s(literal 2 binary64)
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx a #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
(*.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -1/2 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(pow.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal -1 binary64))
(/.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal 2 binary64))
(/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64)))
(neg.f64 (/.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal 2 binary64)))
(*.f64 (fabs.f64 (/.f64 (-.f64 a b) a)) (fabs.f64 a))
(*.f64 (fabs.f64 a) (fabs.f64 (/.f64 (-.f64 a b) a)))
(*.f64 (fabs.f64 b) (fabs.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b))))
(*.f64 (fabs.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b))) (fabs.f64 b))
(*.f64 (fabs.f64 (neg.f64 b)) (fabs.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b))))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(*.f64 #s(literal 1 binary64) (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64))
(pow.f64 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a)))
(/.f64 (fabs.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (fabs.f64 (*.f64 (-.f64 b a) (+.f64 b a))) (fabs.f64 (+.f64 b a)))
(/.f64 (fabs.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))))
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a)))
(fabs.f64 (-.f64 b a))
(fabs.f64 (fabs.f64 (-.f64 b a)))
(fabs.f64 (-.f64 a b))
(*.f64 (*.f64 (neg.f64 a) (-.f64 #s(literal 1 binary64) (/.f64 a b))) (/.f64 b a))
(*.f64 (*.f64 b (/.f64 (-.f64 a b) a)) (/.f64 a b))
(*.f64 (*.f64 #s(literal -1 binary64) (-.f64 (/.f64 b a) #s(literal 1 binary64))) a)
(*.f64 (*.f64 #s(literal -1 binary64) (-.f64 #s(literal 1 binary64) (/.f64 a b))) b)
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 (/.f64 (neg.f64 b) a) a) a)) a)
(*.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (/.f64 #s(literal 1 binary64) (+.f64 b a)))
(*.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (/.f64 #s(literal 1 binary64) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(*.f64 (-.f64 b a) #s(literal -1 binary64))
(*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))
(*.f64 (/.f64 (-.f64 a b) b) b)
(*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) (neg.f64 a))
(*.f64 (neg.f64 a) (-.f64 (/.f64 b a) #s(literal 1 binary64)))
(*.f64 (/.f64 (-.f64 a b) a) (*.f64 (/.f64 a b) b))
(*.f64 (/.f64 (-.f64 a b) a) a)
(*.f64 (neg.f64 b) (-.f64 #s(literal 1 binary64) (/.f64 a b)))
(*.f64 #s(literal -1 binary64) (-.f64 b a))
(*.f64 (-.f64 a b) #s(literal 1 binary64))
(*.f64 b (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) #s(literal -1 binary64)))
(*.f64 b (*.f64 #s(literal -1 binary64) (-.f64 #s(literal 1 binary64) (/.f64 a b))))
(*.f64 b (/.f64 (-.f64 a b) b))
(*.f64 a (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) #s(literal -1 binary64)))
(*.f64 a (*.f64 #s(literal -1 binary64) (-.f64 (/.f64 b a) #s(literal 1 binary64))))
(*.f64 a (/.f64 (-.f64 a b) a))
(/.f64 (*.f64 a (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 b b) (*.f64 a a)))) (-.f64 (/.f64 b a) #s(literal -1 binary64)))
(/.f64 (*.f64 a (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) (/.f64 (neg.f64 b) a) #s(literal 1 binary64))) (fma.f64 (/.f64 (neg.f64 b) a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (neg.f64 a) (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64))) (-.f64 (/.f64 b a) #s(literal -1 binary64)))
(/.f64 (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) (/.f64 b a) #s(literal -1 binary64))) (fma.f64 (/.f64 b a) (/.f64 b a) (-.f64 (/.f64 b a) #s(literal -1 binary64))))
(/.f64 (*.f64 (neg.f64 b) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 a a) (*.f64 b b)))) (-.f64 (/.f64 a b) #s(literal -1 binary64)))
(/.f64 (*.f64 (neg.f64 b) (fma.f64 (/.f64 (*.f64 a a) (*.f64 b b)) (/.f64 (neg.f64 a) b) #s(literal 1 binary64))) (fma.f64 (/.f64 (neg.f64 a) b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal -1 binary64) (*.f64 (-.f64 b a) (+.f64 b a))) (+.f64 b a))
(/.f64 (*.f64 #s(literal -1 binary64) (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))
(/.f64 (*.f64 b (fma.f64 (/.f64 a b) (/.f64 a b) #s(literal -1 binary64))) (-.f64 (/.f64 a b) #s(literal -1 binary64)))
(/.f64 (*.f64 b (fma.f64 (/.f64 (*.f64 a a) (*.f64 b b)) (/.f64 a b) #s(literal -1 binary64))) (fma.f64 (/.f64 a b) (/.f64 a b) (-.f64 (/.f64 a b) #s(literal -1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 b b) (*.f64 a a))) a) (-.f64 (/.f64 b a) #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) (/.f64 (neg.f64 b) a) #s(literal 1 binary64)) a) (fma.f64 (/.f64 (neg.f64 b) a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (*.f64 (-.f64 b a) (+.f64 b a)) #s(literal -1 binary64)) (+.f64 b a))
(/.f64 (*.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a))) #s(literal -1 binary64)) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))
(/.f64 (*.f64 (fma.f64 (/.f64 a b) (/.f64 a b) #s(literal -1 binary64)) b) (-.f64 (/.f64 a b) #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 b b)) (/.f64 a b) #s(literal -1 binary64)) b) (fma.f64 (/.f64 a b) (/.f64 a b) (-.f64 (/.f64 a b) #s(literal -1 binary64))))
(/.f64 (-.f64 (*.f64 a a) (*.f64 (*.f64 (/.f64 (neg.f64 b) a) a) (*.f64 (/.f64 (neg.f64 b) a) a))) (-.f64 a (*.f64 (/.f64 (neg.f64 b) a) a)))
(/.f64 (fma.f64 (*.f64 a a) a (pow.f64 (*.f64 (/.f64 (neg.f64 b) a) a) #s(literal 3 binary64))) (fma.f64 a a (-.f64 (*.f64 (*.f64 (/.f64 (neg.f64 b) a) a) (*.f64 (/.f64 (neg.f64 b) a) a)) (*.f64 a (*.f64 (/.f64 (neg.f64 b) a) a)))))
(/.f64 (*.f64 (-.f64 b a) (+.f64 b a)) (-.f64 (neg.f64 b) a))
(/.f64 (*.f64 (-.f64 b a) (+.f64 b a)) (neg.f64 (+.f64 b a)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (neg.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a))
(/.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))))
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 b a) (*.f64 (+.f64 b a) (-.f64 a b))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)) (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))))
(neg.f64 (-.f64 b a))
(fma.f64 (*.f64 a (/.f64 b a)) #s(literal -1 binary64) a)
(fma.f64 (/.f64 (neg.f64 a) b) (neg.f64 b) (*.f64 #s(literal 1 binary64) (neg.f64 b)))
(fma.f64 (/.f64 a b) b (neg.f64 b))
(fma.f64 (neg.f64 a) (/.f64 b a) a)
(fma.f64 (/.f64 (neg.f64 b) a) a a)
(fma.f64 (/.f64 b a) (neg.f64 a) a)
(fma.f64 #s(literal 1 binary64) (neg.f64 b) (*.f64 (/.f64 (neg.f64 a) b) (neg.f64 b)))
(fma.f64 (neg.f64 b) (/.f64 (neg.f64 a) b) (*.f64 (neg.f64 b) #s(literal 1 binary64)))
(fma.f64 (neg.f64 b) #s(literal 1 binary64) (*.f64 (neg.f64 b) (/.f64 (neg.f64 a) b)))
(fma.f64 #s(literal -1 binary64) (*.f64 (/.f64 b a) a) a)
(fma.f64 #s(literal -1 binary64) b (*.f64 #s(literal -1 binary64) (*.f64 (/.f64 (neg.f64 a) b) b)))
(fma.f64 #s(literal -1 binary64) b (*.f64 (*.f64 (/.f64 (neg.f64 a) b) b) #s(literal -1 binary64)))
(fma.f64 #s(literal -1 binary64) b (neg.f64 (*.f64 (/.f64 (neg.f64 a) b) b)))
(fma.f64 #s(literal -1 binary64) b a)
(fma.f64 b (/.f64 a b) (neg.f64 b))
(fma.f64 b #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (*.f64 (/.f64 (neg.f64 a) b) b)))
(fma.f64 b #s(literal -1 binary64) (*.f64 (*.f64 (/.f64 (neg.f64 a) b) b) #s(literal -1 binary64)))
(fma.f64 b #s(literal -1 binary64) (neg.f64 (*.f64 (/.f64 (neg.f64 a) b) b)))
(fma.f64 b #s(literal -1 binary64) a)
(fma.f64 a (/.f64 (neg.f64 b) a) a)
(-.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 b b) (+.f64 b a)))
(-.f64 (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(-.f64 (neg.f64 b) (neg.f64 a))
(-.f64 a (*.f64 (/.f64 b a) a))
(-.f64 a (*.f64 (neg.f64 a) (/.f64 (neg.f64 b) a)))
(-.f64 a (neg.f64 (*.f64 (/.f64 (neg.f64 b) a) a)))
(-.f64 a b)
(+.f64 (*.f64 (/.f64 (neg.f64 a) b) (neg.f64 b)) (*.f64 #s(literal 1 binary64) (neg.f64 b)))
(+.f64 (*.f64 b (/.f64 a b)) (neg.f64 b))
(+.f64 (*.f64 (/.f64 a b) b) (neg.f64 b))
(+.f64 (*.f64 (neg.f64 b) (/.f64 (neg.f64 a) b)) (*.f64 (neg.f64 b) #s(literal 1 binary64)))
(+.f64 (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (*.f64 (*.f64 b b) (neg.f64 b)) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(+.f64 (*.f64 #s(literal 1 binary64) (neg.f64 b)) (*.f64 (/.f64 (neg.f64 a) b) (neg.f64 b)))
(+.f64 (*.f64 (neg.f64 b) #s(literal 1 binary64)) (*.f64 (neg.f64 b) (/.f64 (neg.f64 a) b)))
(+.f64 (*.f64 (/.f64 (neg.f64 b) a) a) a)
(+.f64 (neg.f64 b) (*.f64 #s(literal -1 binary64) (*.f64 (/.f64 (neg.f64 a) b) b)))
(+.f64 (neg.f64 b) (*.f64 (*.f64 (/.f64 (neg.f64 a) b) b) #s(literal -1 binary64)))
(+.f64 (neg.f64 b) (neg.f64 (*.f64 (/.f64 (neg.f64 a) b) b)))
(+.f64 (neg.f64 b) a)
(+.f64 a (*.f64 (/.f64 (neg.f64 b) a) a))
(+.f64 a (neg.f64 b))
a
b
#s(literal 2 binary64)
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (neg.f64 b))
#s(approx (- a b) (-.f64 a b))
#s(approx a a)
#s(approx (- a b) (-.f64 a b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (-.f64 a b))
#s(approx (- a b) (-.f64 a b))
#s(approx b b)
#s(approx (- a b) (-.f64 a b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (-.f64 a b))

eval14.0ms (1.2%)

Memory
-21.9MiB live, 23.8MiB allocated; 4ms collecting garbage
Compiler

Compiled 966 to 479 computations (50.4% saved)

prune3.0ms (0.2%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1262128
Fresh000
Picked101
Done000
Total1272129
Accuracy
100.0%
Counts
129 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.9%
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
100.0%
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
Compiler

Compiled 14 to 14 computations (0% saved)

series5.0ms (0.4%)

Memory
8.2MiB live, 8.2MiB allocated; 0ms collecting garbage
Counts
11 → 28
Calls
Call 1
Inputs
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(fabs.f64 (-.f64 b a))
(-.f64 b a)
b
a
#s(literal 1/2 binary64)
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
(fabs.f64 #s(approx (- a b) (neg.f64 b)))
#s(approx (- a b) (neg.f64 b))
(neg.f64 b)
#s(literal 2 binary64)
Outputs
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (- b a)))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a))))
#s(approx (- b a) #s(hole binary64 b))
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a))))
#s(approx a #s(hole binary64 a))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (- b a) #s(hole binary64 (* -1 a)))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a)))))
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a)))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (- b a) #s(hole binary64 (- b a)))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b)))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b))))))
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1)))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b a 1/2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2)
1.0ms
b
@-inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b a 1/2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2)
1.0ms
a
@inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b a 1/2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2)
1.0ms
b
@inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b a 1/2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2)
1.0ms
a
@0
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b a 1/2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2)

rewrite92.0ms (7.5%)

Memory
14.7MiB live, 65.7MiB allocated; 61ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079351
086277
1321277
02539277
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
39 → 185
Calls
Call 1
Inputs
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(fabs.f64 (-.f64 b a))
(-.f64 b a)
b
a
#s(literal 1/2 binary64)
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
(fabs.f64 #s(approx (- a b) (neg.f64 b)))
#s(approx (- a b) (neg.f64 b))
(neg.f64 b)
#s(literal 2 binary64)
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (- b a)))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a))))
#s(approx (- b a) #s(hole binary64 b))
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a))))
#s(approx a #s(hole binary64 a))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b))))
#s(approx (- a b) #s(hole binary64 (* -1 b)))
#s(approx (- a b) #s(hole binary64 (- a b)))
#s(approx (- b a) #s(hole binary64 (* -1 a)))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a)))))
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a)))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a))))))
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1)))))
#s(approx (- b a) #s(hole binary64 (- b a)))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b)))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b))))))
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1)))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
(*.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -1/2 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))
(pow.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal -1 binary64))
(/.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal 2 binary64))
(/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64)))
(neg.f64 (/.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal 2 binary64)))
(*.f64 (fabs.f64 (neg.f64 a)) (fabs.f64 (/.f64 (-.f64 a b) a)))
(*.f64 (fabs.f64 b) (fabs.f64 (/.f64 (-.f64 b a) b)))
(*.f64 (fabs.f64 (/.f64 (-.f64 b a) b)) (fabs.f64 b))
(*.f64 (fabs.f64 (neg.f64 b)) (fabs.f64 (/.f64 (-.f64 b a) b)))
(*.f64 (fabs.f64 (/.f64 (-.f64 a b) a)) (fabs.f64 a))
(*.f64 (fabs.f64 a) (fabs.f64 (/.f64 (-.f64 a b) a)))
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a)))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(*.f64 #s(literal 1 binary64) (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64))
(pow.f64 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (*.f64 (+.f64 a b) (-.f64 b a))) (fabs.f64 (+.f64 a b)))
(/.f64 (fabs.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a))) (fabs.f64 (fma.f64 a (+.f64 a b) (*.f64 b b))))
(/.f64 (fabs.f64 (*.f64 (+.f64 a b) (-.f64 a b))) (fabs.f64 (+.f64 a b)))
(/.f64 (fabs.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fabs.f64 (fma.f64 a a (*.f64 b (+.f64 a b)))))
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a)))
(fabs.f64 (fabs.f64 (-.f64 b a)))
(fabs.f64 (-.f64 b a))
(fabs.f64 (-.f64 a b))
(*.f64 (*.f64 a (/.f64 (-.f64 b a) b)) (/.f64 b a))
(*.f64 (*.f64 (neg.f64 b) (/.f64 (-.f64 a b) a)) (/.f64 a b))
(*.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 a b) a)) a)
(*.f64 (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 a b) b)) b)
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 (/.f64 (neg.f64 a) b) b) b)) b)
(*.f64 (*.f64 (+.f64 a b) (-.f64 b a)) (/.f64 #s(literal 1 binary64) (+.f64 a b)))
(*.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (/.f64 #s(literal 1 binary64) (fma.f64 a (+.f64 a b) (*.f64 b b))))
(*.f64 (/.f64 (-.f64 a b) b) (neg.f64 b))
(*.f64 (/.f64 (-.f64 b a) b) (*.f64 (/.f64 b a) a))
(*.f64 (/.f64 (-.f64 b a) b) b)
(*.f64 (/.f64 (-.f64 a b) a) (neg.f64 a))
(*.f64 (/.f64 (-.f64 b a) a) a)
(*.f64 #s(literal 1 binary64) (-.f64 b a))
(*.f64 (neg.f64 b) (*.f64 (/.f64 (-.f64 b a) b) #s(literal -1 binary64)))
(*.f64 (neg.f64 b) (/.f64 (-.f64 a b) b))
(*.f64 (neg.f64 a) (/.f64 (-.f64 a b) a))
(*.f64 #s(literal -1 binary64) (-.f64 a b))
(*.f64 (-.f64 b a) #s(literal 1 binary64))
(*.f64 (-.f64 a b) #s(literal -1 binary64))
(*.f64 a (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 a b) a)))
(*.f64 a (*.f64 (/.f64 (-.f64 a b) a) #s(literal -1 binary64)))
(*.f64 a (/.f64 (-.f64 b a) a))
(*.f64 b (*.f64 (/.f64 (-.f64 a b) b) #s(literal -1 binary64)))
(*.f64 b (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 a b) b)))
(*.f64 b (/.f64 (-.f64 b a) b))
(/.f64 (*.f64 (neg.f64 a) (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 b b) (*.f64 a a)))) (-.f64 (/.f64 b a) #s(literal -1 binary64)))
(/.f64 (*.f64 (neg.f64 a) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) (/.f64 (neg.f64 b) a) #s(literal 1 binary64))) (fma.f64 (/.f64 (neg.f64 b) a) (-.f64 (/.f64 (neg.f64 b) a) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal -1 binary64) (*.f64 (+.f64 a b) (-.f64 a b))) (+.f64 a b))
(/.f64 (*.f64 #s(literal -1 binary64) (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fma.f64 a a (*.f64 b (+.f64 a b))))
(/.f64 (*.f64 b (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 a a) (*.f64 b b)))) (-.f64 (/.f64 a b) #s(literal -1 binary64)))
(/.f64 (*.f64 b (fma.f64 (/.f64 (*.f64 a a) (*.f64 b b)) (/.f64 (neg.f64 a) b) #s(literal 1 binary64))) (fma.f64 (/.f64 (neg.f64 a) b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 a (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64))) (-.f64 (/.f64 b a) #s(literal -1 binary64)))
(/.f64 (*.f64 a (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) (/.f64 b a) #s(literal -1 binary64))) (fma.f64 (/.f64 b a) (/.f64 b a) (-.f64 (/.f64 b a) #s(literal -1 binary64))))
(/.f64 (*.f64 (neg.f64 b) (fma.f64 (/.f64 a b) (/.f64 a b) #s(literal -1 binary64))) (-.f64 (/.f64 a b) #s(literal -1 binary64)))
(/.f64 (*.f64 (neg.f64 b) (fma.f64 (/.f64 (*.f64 a a) (*.f64 b b)) (/.f64 a b) #s(literal -1 binary64))) (fma.f64 (/.f64 a b) (/.f64 a b) (-.f64 (/.f64 a b) #s(literal -1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (*.f64 a a) (*.f64 b b))) b) (-.f64 (/.f64 a b) #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 (/.f64 (*.f64 a a) (*.f64 b b)) (/.f64 (neg.f64 a) b) #s(literal 1 binary64)) b) (fma.f64 (/.f64 (neg.f64 a) b) (-.f64 (/.f64 (neg.f64 a) b) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (*.f64 (+.f64 a b) (-.f64 a b)) #s(literal -1 binary64)) (+.f64 a b))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) #s(literal -1 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b))))
(/.f64 (*.f64 (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64)) a) (-.f64 (/.f64 b a) #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) (/.f64 b a) #s(literal -1 binary64)) a) (fma.f64 (/.f64 b a) (/.f64 b a) (-.f64 (/.f64 b a) #s(literal -1 binary64))))
(/.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 (/.f64 (neg.f64 a) b) b) (*.f64 (/.f64 (neg.f64 a) b) b))) (-.f64 b (*.f64 (/.f64 (neg.f64 a) b) b)))
(/.f64 (fma.f64 (*.f64 b b) b (pow.f64 (*.f64 (/.f64 (neg.f64 a) b) b) #s(literal 3 binary64))) (fma.f64 b b (-.f64 (*.f64 (*.f64 (/.f64 (neg.f64 a) b) b) (*.f64 (/.f64 (neg.f64 a) b) b)) (*.f64 b (*.f64 (/.f64 (neg.f64 a) b) b)))))
(/.f64 (*.f64 (+.f64 a b) (-.f64 a b)) (-.f64 (neg.f64 a) b))
(/.f64 (*.f64 (+.f64 a b) (-.f64 a b)) (neg.f64 (+.f64 a b)))
(/.f64 (*.f64 (+.f64 a b) (-.f64 b a)) (+.f64 a b))
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (neg.f64 (fma.f64 a a (*.f64 b (+.f64 a b)))))
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (neg.f64 (fma.f64 a (+.f64 a b) (*.f64 b b))))
(/.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (fma.f64 a a (*.f64 b (+.f64 a b))))
(/.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (fma.f64 a (+.f64 a b) (*.f64 b b)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 a b) (*.f64 (+.f64 a b) (-.f64 b a))))
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 a (+.f64 a b) (*.f64 b b)) (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a))))
(neg.f64 (-.f64 a b))
(fma.f64 (*.f64 b (/.f64 a b)) #s(literal -1 binary64) b)
(fma.f64 (/.f64 (neg.f64 a) b) b b)
(fma.f64 (/.f64 a b) (neg.f64 b) b)
(fma.f64 (/.f64 (neg.f64 b) a) (neg.f64 a) (*.f64 #s(literal 1 binary64) (neg.f64 a)))
(fma.f64 #s(literal 1 binary64) (neg.f64 a) (*.f64 (/.f64 (neg.f64 b) a) (neg.f64 a)))
(fma.f64 (/.f64 b a) a (neg.f64 a))
(fma.f64 (neg.f64 b) (/.f64 a b) b)
(fma.f64 (neg.f64 a) (/.f64 (neg.f64 b) a) (*.f64 (neg.f64 a) #s(literal 1 binary64)))
(fma.f64 (neg.f64 a) #s(literal 1 binary64) (*.f64 (neg.f64 a) (/.f64 (neg.f64 b) a)))
(fma.f64 #s(literal -1 binary64) (*.f64 (/.f64 a b) b) b)
(fma.f64 #s(literal -1 binary64) a (*.f64 #s(literal -1 binary64) (*.f64 (/.f64 (neg.f64 b) a) a)))
(fma.f64 #s(literal -1 binary64) a (*.f64 (*.f64 (/.f64 (neg.f64 b) a) a) #s(literal -1 binary64)))
(fma.f64 #s(literal -1 binary64) a (neg.f64 (*.f64 (/.f64 (neg.f64 b) a) a)))
(fma.f64 #s(literal -1 binary64) a b)
(fma.f64 a (/.f64 b a) (neg.f64 a))
(fma.f64 a #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (*.f64 (/.f64 (neg.f64 b) a) a)))
(fma.f64 a #s(literal -1 binary64) (*.f64 (*.f64 (/.f64 (neg.f64 b) a) a) #s(literal -1 binary64)))
(fma.f64 a #s(literal -1 binary64) (neg.f64 (*.f64 (/.f64 (neg.f64 b) a) a)))
(fma.f64 a #s(literal -1 binary64) b)
(fma.f64 b (/.f64 (neg.f64 a) b) b)
(-.f64 (/.f64 (*.f64 b b) (+.f64 a b)) (/.f64 (*.f64 a a) (+.f64 a b)))
(-.f64 (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 a (+.f64 a b) (*.f64 b b))) (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 a (+.f64 a b) (*.f64 b b))))
(-.f64 (neg.f64 a) (neg.f64 b))
(-.f64 b (*.f64 (/.f64 a b) b))
(-.f64 b (*.f64 (neg.f64 b) (/.f64 (neg.f64 a) b)))
(-.f64 b (neg.f64 (*.f64 (/.f64 (neg.f64 a) b) b)))
(-.f64 b a)
(+.f64 (*.f64 (/.f64 (neg.f64 b) a) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)))
(+.f64 (*.f64 a (/.f64 b a)) (neg.f64 a))
(+.f64 (*.f64 (/.f64 b a) a) (neg.f64 a))
(+.f64 (*.f64 (neg.f64 a) (/.f64 (neg.f64 b) a)) (*.f64 (neg.f64 a) #s(literal 1 binary64)))
(+.f64 (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 a (+.f64 a b) (*.f64 b b))) (/.f64 (*.f64 (*.f64 a a) (neg.f64 a)) (fma.f64 a (+.f64 a b) (*.f64 b b))))
(+.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (/.f64 (neg.f64 b) a) (neg.f64 a)))
(+.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) (/.f64 (neg.f64 b) a)))
(+.f64 (*.f64 (/.f64 (neg.f64 a) b) b) b)
(+.f64 (neg.f64 a) (*.f64 #s(literal -1 binary64) (*.f64 (/.f64 (neg.f64 b) a) a)))
(+.f64 (neg.f64 a) (*.f64 (*.f64 (/.f64 (neg.f64 b) a) a) #s(literal -1 binary64)))
(+.f64 (neg.f64 a) (neg.f64 (*.f64 (/.f64 (neg.f64 b) a) a)))
(+.f64 (neg.f64 a) b)
(+.f64 b (*.f64 (/.f64 (neg.f64 a) b) b))
(+.f64 b (neg.f64 a))
b
a
#s(literal 1/2 binary64)
(*.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal -1/2 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b))))
(pow.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal -1 binary64))
(/.f64 (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1 binary64)) #s(literal 2 binary64))
(/.f64 (neg.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))))) #s(literal 2 binary64))
(/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal -2 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b))))))
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
(neg.f64 (/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal -2 binary64)))
(neg.f64 (/.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b))))))
(neg.f64 (/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal 2 binary64)))
(*.f64 (sqrt.f64 #s(approx (- a b) (neg.f64 b))) (sqrt.f64 #s(approx (- a b) (neg.f64 b))))
(pow.f64 (*.f64 #s(approx (- a b) (neg.f64 b)) #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(approx (- a b) (neg.f64 b)) #s(approx (- a b) (neg.f64 b))))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) (neg.f64 b)))))
(fabs.f64 (neg.f64 #s(approx (- a b) (neg.f64 b))))
(fabs.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))))
(fabs.f64 #s(approx (- a b) (neg.f64 b)))
#s(approx (- a b) (neg.f64 b))
(*.f64 #s(literal -1 binary64) b)
(*.f64 b #s(literal -1 binary64))
(neg.f64 b)
#s(literal 2 binary64)
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- b a) b)
#s(approx (- b a) (-.f64 b a))
#s(approx a a)
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (neg.f64 b))
#s(approx (- a b) (-.f64 a b))
#s(approx (- b a) (neg.f64 a))
#s(approx (- b a) (-.f64 b a))
#s(approx (- a b) (-.f64 a b))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- b a) (-.f64 b a))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (-.f64 a b))
#s(approx (- b a) (-.f64 b a))
#s(approx (- a b) (-.f64 a b))
#s(approx (- b a) (-.f64 b a))
#s(approx (- a b) (-.f64 a b))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- b a) (-.f64 b a))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (-.f64 a b))

eval18.0ms (1.5%)

Memory
-17.0MiB live, 29.1MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 110 to 540 computations (51.4% saved)

prune5.0ms (0.4%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1512153
Fresh000
Picked112
Done000
Total1523155
Accuracy
100.0%
Counts
155 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
51.7%
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
50.9%
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Compiler

Compiled 21 to 21 computations (0% saved)

series3.0ms (0.2%)

Memory
5.0MiB live, 5.0MiB allocated; 0ms collecting garbage
Counts
10 → 15
Calls
Call 1
Inputs
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
(fabs.f64 #s(approx (- b a) b))
#s(approx (- b a) b)
b
#s(literal 1/2 binary64)
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
(fabs.f64 #s(approx (- b a) (neg.f64 a)))
#s(approx (- b a) (neg.f64 a))
(neg.f64 a)
a
Outputs
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (- b a)))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a))))
#s(approx (- b a) #s(hole binary64 b))
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a))))
#s(approx (neg a) #s(hole binary64 (* -1 a)))
#s(approx a #s(hole binary64 a))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a)))))
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a)))))))
#s(approx (- b a) #s(hole binary64 (- b a)))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b)))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b))))))
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b 1/2 (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a) a)
1.0ms
b
@-inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b 1/2 (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a) a)
0.0ms
a
@inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b 1/2 (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a) a)
0.0ms
b
@inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b 1/2 (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a) a)
0.0ms
a
@0
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b 1/2 (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a) a)

rewrite56.0ms (4.6%)

Memory
-6.4MiB live, 39.8MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054204
059167
1257167
02143167
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
25 → 41
Calls
Call 1
Inputs
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
(fabs.f64 #s(approx (- b a) b))
#s(approx (- b a) b)
b
#s(literal 1/2 binary64)
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
(fabs.f64 #s(approx (- b a) (neg.f64 a)))
#s(approx (- b a) (neg.f64 a))
(neg.f64 a)
a
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (- b a)))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a))))
#s(approx (- b a) #s(hole binary64 b))
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a))))
#s(approx (neg a) #s(hole binary64 (* -1 a)))
#s(approx a #s(hole binary64 a))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a)))))
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a)))))))
#s(approx (- b a) #s(hole binary64 (- b a)))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b)))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b))))))
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1)))))
Outputs
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 #s(approx (- b a) b)) (sqrt.f64 #s(approx (- b a) b)))
(pow.f64 (*.f64 #s(approx (- b a) b) #s(approx (- b a) b)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(approx (- b a) b) #s(approx (- b a) b)))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) b))))
(fabs.f64 (neg.f64 #s(approx (- b a) b)))
(fabs.f64 (fabs.f64 #s(approx (- b a) b)))
(fabs.f64 #s(approx (- b a) b))
#s(approx (- b a) b)
b
#s(literal 1/2 binary64)
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))
(*.f64 (sqrt.f64 #s(approx (- b a) (neg.f64 a))) (sqrt.f64 #s(approx (- b a) (neg.f64 a))))
(pow.f64 (*.f64 #s(approx (- b a) (neg.f64 a)) #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(approx (- b a) (neg.f64 a)) #s(approx (- b a) (neg.f64 a))))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) (neg.f64 a)))))
(fabs.f64 (neg.f64 #s(approx (- b a) (neg.f64 a))))
(fabs.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))))
(fabs.f64 #s(approx (- b a) (neg.f64 a)))
#s(approx (- b a) (neg.f64 a))
(*.f64 #s(literal -1 binary64) a)
(*.f64 a #s(literal -1 binary64))
(neg.f64 a)
a
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- b a) b)
#s(approx (- b a) (-.f64 b a))
#s(approx (neg a) (neg.f64 a))
#s(approx a a)
#s(approx (- b a) (-.f64 b a))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- b a) (-.f64 b a))
#s(approx (- b a) (-.f64 b a))
#s(approx (- b a) (-.f64 b a))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- b a) (-.f64 b a))

eval2.0ms (0.2%)

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

Compiled 137 to 75 computations (45.3% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New21021
Fresh000
Picked022
Done011
Total21324
Accuracy
100.0%
Counts
24 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
51.7%
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
50.9%
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Compiler

Compiled 45 to 44 computations (2.2% saved)

regimes12.0ms (1%)

Memory
-26.1MiB live, 19.8MiB allocated; 3ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
Outputs
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
Calls

5 calls:

3.0ms
a
3.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
2.0ms
(fabs.f64 (-.f64 a b))
2.0ms
b
2.0ms
(-.f64 a b)
Results
AccuracySegmentsBranch
100.0%1(-.f64 a b)
100.0%1(fabs.f64 (-.f64 a b))
100.0%1(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
100.0%1a
100.0%1b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes8.0ms (0.6%)

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

5 calls:

1.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
b
1.0ms
(-.f64 a b)
1.0ms
a
Results
AccuracySegmentsBranch
61.0%4(-.f64 a b)
61.0%4(fabs.f64 (-.f64 a b))
61.0%4(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
84.9%2a
82.6%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes5.0ms (0.4%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Outputs
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Calls

5 calls:

1.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
a
1.0ms
(-.f64 a b)
1.0ms
b
Results
AccuracySegmentsBranch
50.9%1(-.f64 a b)
50.9%1(fabs.f64 (-.f64 a b))
50.9%1(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
50.9%1b
50.9%1a
Compiler

Compiled 15 to 17 computations (-13.3% saved)

bsearch14.0ms (1.1%)

Memory
-33.4MiB live, 13.9MiB allocated; 7ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
13.0ms
-1.6613716763802633e-97
-1.0510456616670241e-98
Samples
7.0ms96×0valid
Compiler

Compiled 99 to 113 computations (-14.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div!: 5.0ms (93% of total)
ival-fabs: 1.0ms (18.6% of total)
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)

derivations20.0ms (1.7%)

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

Compiled 18 to 17 computations (5.6% saved)

preprocess26.0ms (2.1%)

Memory
3.0MiB live, 48.4MiB allocated; 4ms collecting garbage
Remove

(sort a b)

Compiler

Compiled 80 to 77 computations (3.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...