fabs fraction 2

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze1.0ms (0%)

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

sample859.0ms (55.7%)

Memory
12.4MiB live, 463.6MiB allocated; 966ms collecting garbage
Samples
583.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 137.0ms
ival-fabs: 52.0ms (38% of total)
ival-div!: 43.0ms (31.4% of total)
ival-sub!: 40.0ms (29.2% of total)
adjust: 2.0ms (1.5% of total)
Bogosity

preprocess58.0ms (3.7%)

Memory
-11.6MiB live, 33.7MiB allocated; 6ms 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
4.6MiB live, 4.6MiB 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)

rewrite76.0ms (4.9%)

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

eval12.0ms (0.8%)

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

Compiled 966 to 479 computations (50.4% saved)

prune5.0ms (0.3%)

Memory
-40.6MiB live, 5.4MiB allocated; 4ms 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
52.5%
(/.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
7.2MiB live, 7.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)

rewrite91.0ms (5.9%)

Memory
30.4MiB live, 78.9MiB allocated; 12ms 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))

eval31.0ms (2%)

Memory
-3.5MiB live, 40.8MiB allocated; 6ms collecting garbage
Compiler

Compiled 1 110 to 540 computations (51.4% saved)

prune7.0ms (0.5%)

Memory
8.2MiB live, 8.2MiB 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))
50.3%
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
52.5%
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Compiler

Compiled 21 to 21 computations (0% saved)

series5.0ms (0.4%)

Memory
5.7MiB live, 5.7MiB 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)
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)
1.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)

rewrite164.0ms (10.6%)

Memory
-18.4MiB live, 70.4MiB allocated; 41ms 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))

eval4.0ms (0.2%)

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

Compiled 137 to 75 computations (45.3% saved)

prune4.0ms (0.2%)

Memory
2.3MiB live, 2.3MiB 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))
50.3%
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
52.5%
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Compiler

Compiled 45 to 44 computations (2.2% saved)

regimes19.0ms (1.3%)

Memory
14.3MiB live, 14.3MiB allocated; 0ms 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:

4.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
4.0ms
(fabs.f64 (-.f64 a b))
4.0ms
(-.f64 a b)
4.0ms
a
4.0ms
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)

regimes84.0ms (5.5%)

Memory
-54.8MiB live, 15.9MiB allocated; 63ms 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:

72.0ms
(fabs.f64 (-.f64 a b))
3.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
3.0ms
(-.f64 a b)
3.0ms
b
3.0ms
a
Results
AccuracySegmentsBranch
56.6%2(-.f64 a b)
56.6%2(fabs.f64 (-.f64 a b))
56.6%2(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
81.0%2a
87.9%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes10.0ms (0.6%)

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

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

Compiled 15 to 17 computations (-13.3% saved)

bsearch19.0ms (1.3%)

Memory
17.5MiB live, 17.4MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
18.0ms
2.853947454651755e-89
2.165384829621674e-82
Samples
9.0ms144×0valid
Compiler

Compiled 144 to 164 computations (-13.9% saved)

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

derivations39.0ms (2.5%)

Memory
-17.2MiB live, 25.7MiB allocated; 10ms collecting garbage
Stop Event
done
Compiler

Compiled 18 to 17 computations (5.6% saved)

preprocess45.0ms (2.9%)

Memory
18.3MiB live, 59.0MiB allocated; 9ms collecting garbage
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...