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.5MiB live, 0.5MiB 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)

sample705.0ms (61.1%)

Memory
-1.2MiB live, 803.6MiB allocated; 222ms collecting garbage
Samples
500.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 195.0ms
ival-fabs: 75.0ms (38.5% of total)
ival-div!: 63.0ms (32.3% of total)
ival-sub!: 56.0ms (28.7% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess90.0ms (7.8%)

Memory
-4.9MiB live, 47.4MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01940
14140
26240
312040
424040
541940
6147240
7521240
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.4%)

Memory
9.0MiB live, 9.0MiB allocated; 0ms collecting garbage
Counts
6 → 16
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))
#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)

rewrite79.0ms (6.8%)

Memory
16.6MiB live, 102.3MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
052178
056161
1207158
01505158
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
22 → 53
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))
#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 (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal 2 binary64))
(/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -2 binary64))
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64))
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal 2 binary64)))
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64)))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(pow.f64 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64))
(/.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 a a) (neg.f64 a) (*.f64 (*.f64 b b) b))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))))
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a)))
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a)))
(fabs.f64 (-.f64 b a))
(fabs.f64 (-.f64 a b))
(/.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 b a) (-.f64 a b))) (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 (*.f64 (-.f64 b a) (+.f64 b a))) (+.f64 b a))
(/.f64 (neg.f64 (fma.f64 (*.f64 a a) (neg.f64 a) (*.f64 (*.f64 b b) b))) (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 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.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 (fma.f64 (*.f64 a a) (neg.f64 a) (*.f64 (*.f64 b b) b)) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))))
(neg.f64 (-.f64 b a))
(fma.f64 #s(literal -1 binary64) b a)
(fma.f64 b #s(literal -1 binary64) 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 a (*.f64 (neg.f64 b) #s(literal -1 binary64)))
(-.f64 a b)
(+.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 (neg.f64 b) 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) a)
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#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 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (- a b) (-.f64 a b))
#s(approx b b)
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) 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 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b)))

eval4.0ms (0.3%)

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

Compiled 315 to 170 computations (46% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New39342
Fresh000
Picked101
Done000
Total40343
Accuracy
100.0%
Counts
43 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
50.3%
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64))
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
Compiler

Compiled 26 to 26 computations (0% saved)

series11.0ms (1%)

Memory
-31.2MiB live, 15.9MiB allocated; 3ms collecting garbage
Counts
15 → 31
Calls
Call 1
Inputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))
#s(literal 1/2 binary64)
(fabs.f64 (-.f64 b a))
(-.f64 b a)
b
a
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64))
(fabs.f64 #s(approx (- a b) a))
#s(approx (- a b) a)
#s(literal 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)
Outputs
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (* 1/2 (fabs (- b a))) #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)) #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))
#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 (* 1/2 (fabs (- b a))) #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)) #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 b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (neg b) #s(hole binary64 (* -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 (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (* 1/2 (fabs (- b a))) #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)) #s(hole binary64 (fabs (+ a (* -1 b)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Calls

6 calls:

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

rewrite91.0ms (7.9%)

Memory
22.6MiB live, 117.5MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
085397
095364
1284356
01844356
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
46 → 94
Calls
Call 1
Inputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))
#s(literal 1/2 binary64)
(fabs.f64 (-.f64 b a))
(-.f64 b a)
b
a
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64))
(fabs.f64 #s(approx (- a b) a))
#s(approx (- a b) a)
#s(literal 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(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (* 1/2 (fabs (- b a))) #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)) #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))
#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 (* 1/2 (fabs (- b a))) #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)) #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 b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (neg b) #s(hole binary64 (* -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 (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (* 1/2 (fabs (- b a))) #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)) #s(hole binary64 (fabs (+ a (* -1 b)))))
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b)))))))
Outputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))
#s(literal 1/2 binary64)
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a)))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(pow.f64 (*.f64 (-.f64 a b) (-.f64 a b)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (fabs.f64 (+.f64 b a)))
(/.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 (*.f64 b b) b) (*.f64 (*.f64 a a) a))) (fabs.f64 (fma.f64 b b (*.f64 a (+.f64 b a)))))
(sqrt.f64 (*.f64 (-.f64 a b) (-.f64 a b)))
(fabs.f64 (-.f64 a b))
(fabs.f64 (-.f64 b a))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a))) (neg.f64 (fma.f64 b b (*.f64 a (+.f64 b a)))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (+.f64 b a))
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (neg.f64 (+.f64 b a)))
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (+.f64 b a))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (-.f64 (neg.f64 a) b))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (neg.f64 (+.f64 b a)))
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (fma.f64 b b (*.f64 a (+.f64 b a))))
(/.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(neg.f64 (-.f64 a b))
(fma.f64 #s(literal -1 binary64) a b)
(fma.f64 a #s(literal -1 binary64) b)
(-.f64 (/.f64 (*.f64 b b) (+.f64 b a)) (/.f64 (*.f64 a a) (+.f64 b a)))
(-.f64 (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 b b (*.f64 a (+.f64 b a)))))
(-.f64 b a)
(+.f64 (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (*.f64 (*.f64 a a) (neg.f64 a)) (fma.f64 b b (*.f64 a (+.f64 b a)))))
(+.f64 (neg.f64 a) b)
(+.f64 b (neg.f64 a))
b
a
(/.f64 (neg.f64 (neg.f64 (fabs.f64 #s(approx (- a b) a)))) #s(literal 2 binary64))
(/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) a))) #s(literal -2 binary64))
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64))
(neg.f64 (/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) a))) #s(literal 2 binary64)))
(neg.f64 (/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal -2 binary64)))
(*.f64 (sqrt.f64 #s(approx (- a b) a)) (sqrt.f64 #s(approx (- a b) a)))
(pow.f64 (*.f64 #s(approx (- a b) a) #s(approx (- a b) a)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 #s(approx (- a b) a) #s(approx (- a b) a)))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) a))))
(fabs.f64 (neg.f64 #s(approx (- a b) a)))
(fabs.f64 #s(approx (- a b) a))
#s(approx (- a b) a)
#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 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64))
(neg.f64 (/.f64 (neg.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)))
(*.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 #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(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (fabs (- b a))) (*.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 a a)
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#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 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (fabs (- b a))) (*.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 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a)))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (- b a) (-.f64 b a))
#s(approx b b)
#s(approx (- a b) (-.f64 a b))
#s(approx (neg b) (neg.f64 b))
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (fabs (- b a))) (*.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 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b)))

eval8.0ms (0.7%)

Memory
-25.0MiB live, 21.2MiB allocated; 3ms collecting garbage
Compiler

Compiled 517 to 287 computations (44.5% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New66167
Fresh000
Picked123
Done000
Total67370
Accuracy
100.0%
Counts
70 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.3%
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64))
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
52.9%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
Compiler

Compiled 30 to 30 computations (0% saved)

series3.0ms (0.3%)

Memory
4.3MiB live, 4.3MiB allocated; 0ms collecting garbage
Counts
6 → 18
Calls
Call 1
Inputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
(*.f64 #s(literal 1/2 binary64) (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
Outputs
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (* 1/2 (fabs (- b a))) #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 (- b a) #s(hole binary64 (* -1 a)))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (* 1/2 (fabs (- b a))) #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 #s(hole binary64 b))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (* 1/2 (fabs (- b a))) #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
b
@-inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b)
1.0ms
b
@inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b)
0.0ms
a
@inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b)
0.0ms
a
@-inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b)
0.0ms
a
@0
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b)

rewrite64.0ms (5.5%)

Memory
-5.0MiB live, 42.2MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062239
064219
1240214
01720214
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
24 → 30
Calls
Call 1
Inputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
(*.f64 #s(literal 1/2 binary64) (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(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (* 1/2 (fabs (- b a))) #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 (- b a) #s(hole binary64 (* -1 a)))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (* 1/2 (fabs (- b a))) #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 #s(hole binary64 b))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (* 1/2 (fabs (- b a))) #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
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (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 #s(approx (- b a) b))
#s(approx (- b a) b)
b
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (fabs (- b a))) (*.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 (- b a) (neg.f64 a))
#s(approx (- b a) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (fabs (- b a))) (*.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 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a)))
#s(approx (- b a) (-.f64 b a))
#s(approx b b)
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (fabs (- b a))) (*.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 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))

eval2.0ms (0.1%)

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

Compiled 125 to 79 computations (36.8% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New16016
Fresh000
Picked011
Done022
Total16319
Accuracy
100.0%
Counts
19 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.3%
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64))
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
52.9%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
Compiler

Compiled 59 to 57 computations (3.4% saved)

regimes10.0ms (0.9%)

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

5 calls:

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

regimes22.0ms (1.9%)

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

5 calls:

16.0ms
(-.f64 a b)
1.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
b
1.0ms
a
Results
AccuracySegmentsBranch
61.5%4(-.f64 a b)
61.5%4(fabs.f64 (-.f64 a b))
61.5%4(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
83.2%2a
85.0%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes5.0ms (0.4%)

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
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
Outputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
Calls

5 calls:

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

Compiled 15 to 17 computations (-13.3% saved)

bsearch8.0ms (0.7%)

Memory
14.8MiB live, 14.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
8.0ms
4.0578930127334605e-47
4.04419144036129e-45
Samples
4.0ms112×0valid
Compiler

Compiled 142 to 158 computations (-11.3% saved)

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

derivations19.0ms (1.6%)

Memory
-28.3MiB live, 19.5MiB allocated; 6ms collecting garbage
Stop Event
done
Compiler

Compiled 24 to 23 computations (4.2% saved)

preprocess22.0ms (1.9%)

Memory
13.2MiB live, 59.5MiB allocated; 4ms collecting garbage
Compiler

Compiled 116 to 113 computations (2.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...