fabs fraction 2

Time bar (total: 1.6s)

start0.0ms (0%)

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

sample625.0ms (39.7%)

Memory
-2.6MiB live, 799.3MiB allocated; 245ms collecting garbage
Samples
451.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 205.0ms
ival-sub!: 91.0ms (44.5% of total)
ival-div!: 62.0ms (30.3% of total)
ival-fabs: 50.0ms (24.4% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess62.0ms (3.9%)

Memory
-15.8MiB live, 77.8MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01936
16736
218236
355436
4223436
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
10.2MiB live, 10.2MiB 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)
0.0ms
b
@0
((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2)

rewrite267.0ms (17%)

Memory
4.2MiB live, 235.8MiB allocated; 52ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
051173
055154
1236152
21556152
08597152
135872152
Stop Event
iter-limit
node-limit
iter-limit
Counts
21 → 91
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 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) #s(literal 1/2 binary64))
(*.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) (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))
(*.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(pow.f64 (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal -1 binary64))
(/.f64 (neg.f64 (fabs.f64 (*.f64 (-.f64 b a) #s(literal 1 binary64)))) #s(literal -2 binary64))
(/.f64 (neg.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 b a))))) #s(literal -2 binary64))
(/.f64 (fabs.f64 (*.f64 (-.f64 b a) #s(literal 1 binary64))) #s(literal 2 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) (neg.f64 (neg.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a)))))
(/.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) (neg.f64 (fabs.f64 (-.f64 b a))))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(/.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 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64)))
(fma.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(fma.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(fma.f64 #s(literal 1/2 binary64) (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 #s(literal 1/2 binary64) (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 #s(literal 1/2 binary64) (/.f64 (fabs.f64 (-.f64 b a)) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(fma.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(fma.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(fma.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a))))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) (/.f64 #s(literal 0 binary64) (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(+.f64 (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) (/.f64 #s(literal 0 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 b a))) (sqrt.f64 (fabs.f64 (-.f64 b a))))
(*.f64 #s(literal 1 binary64) (fabs.f64 (-.f64 b a)))
(pow.f64 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a)))
(fabs.f64 (*.f64 #s(literal 1 binary64) (-.f64 b a)))
(fabs.f64 (*.f64 #s(literal 1 binary64) (-.f64 a b)))
(fabs.f64 (neg.f64 (fabs.f64 (-.f64 b a))))
(fabs.f64 (-.f64 b a))
(fabs.f64 (fabs.f64 (-.f64 b a)))
(fabs.f64 (-.f64 a b))
(*.f64 #s(literal -1 binary64) (-.f64 b a))
(/.f64 (*.f64 (-.f64 b a) (+.f64 b a)) (-.f64 (neg.f64 b) a))
(/.f64 (*.f64 (-.f64 b a) (+.f64 b a)) (+.f64 (neg.f64 b) (neg.f64 a)))
(/.f64 (-.f64 (*.f64 (*.f64 b b) (neg.f64 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 (-.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)))
(neg.f64 (-.f64 b a))
(fma.f64 #s(literal -1 binary64) b a)
(fma.f64 b #s(literal -1 binary64) a)
(-.f64 (neg.f64 b) (neg.f64 a))
(-.f64 a b)
(+.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) (*.f64 (/.f64 (-.f64 a 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 (-.f64 a b) a) a))
#s(approx (- a b) (-.f64 a b))
#s(approx b b)
#s(approx (- a b) (*.f64 (/.f64 (-.f64 a b) b) 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 (-.f64 a b) b) b))

eval8.0ms (0.5%)

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

Compiled 502 to 188 computations (62.5% saved)

prune3.0ms (0.2%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New77279
Fresh000
Picked101
Done000
Total78280
Accuracy
100.0%
Counts
80 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.1%
(/.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)

series8.0ms (0.5%)

Memory
-27.8MiB live, 18.4MiB allocated; 4ms 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
3.0ms
b
@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)
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)

rewrite183.0ms (11.7%)

Memory
-0.5MiB live, 214.7MiB allocated; 27ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
079351
086313
1299309
21751309
08098309
130282309
Stop Event
iter-limit
node-limit
iter-limit
Counts
39 → 113
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) (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal -1 binary64))
(/.f64 (neg.f64 (fabs.f64 (*.f64 (-.f64 b a) #s(literal 1 binary64)))) #s(literal -2 binary64))
(/.f64 (neg.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 b a))))) #s(literal -2 binary64))
(/.f64 (fabs.f64 (*.f64 (-.f64 b a) #s(literal 1 binary64))) #s(literal 2 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) (neg.f64 (neg.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 (-.f64 b a)))))
(/.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) (neg.f64 (fabs.f64 (-.f64 b a))))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a))) #s(literal 1 binary64))))
(/.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 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 (-.f64 b a)))))
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64)))
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 b a))) (sqrt.f64 (fabs.f64 (-.f64 b a))))
(*.f64 #s(literal 1 binary64) (fabs.f64 (-.f64 b a)))
(pow.f64 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64))
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a)))
(fabs.f64 (*.f64 #s(literal 1 binary64) (-.f64 b a)))
(fabs.f64 (*.f64 #s(literal 1 binary64) (-.f64 a b)))
(fabs.f64 (neg.f64 (fabs.f64 (-.f64 b a))))
(fabs.f64 (fabs.f64 (-.f64 b a)))
(fabs.f64 (-.f64 b a))
(fabs.f64 (-.f64 a b))
(*.f64 #s(literal -1 binary64) (-.f64 a b))
(/.f64 (-.f64 (*.f64 (*.f64 a a) (neg.f64 a)) (*.f64 (*.f64 b b) (neg.f64 b))) (fma.f64 a a (*.f64 b (+.f64 a b))))
(/.f64 (*.f64 (+.f64 a b) (-.f64 a b)) (-.f64 (neg.f64 a) b))
(/.f64 (*.f64 (+.f64 a b) (-.f64 a b)) (+.f64 (neg.f64 a) (neg.f64 b)))
(/.f64 (*.f64 (+.f64 a b) (-.f64 b a)) (+.f64 a 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)))
(neg.f64 (-.f64 a b))
(fma.f64 #s(literal -1 binary64) a b)
(fma.f64 a #s(literal -1 binary64) b)
(-.f64 (neg.f64 a) (neg.f64 b))
(-.f64 b a)
(+.f64 (neg.f64 a) 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) (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))))) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal -1 binary64))
(/.f64 (neg.f64 (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1 binary64))) #s(literal -2 binary64))
(/.f64 (neg.f64 (neg.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))))) #s(literal -2 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) (neg.f64 (neg.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal -2 binary64) (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))))))
(/.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) (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal 1 binary64))))
(/.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 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b))))))
(neg.f64 (/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal -2 binary64)))
(*.f64 (sqrt.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))) (sqrt.f64 (fabs.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 (neg.f64 #s(approx (- a b) (neg.f64 b))))))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) (neg.f64 b)))))
(fabs.f64 (neg.f64 (fabs.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 (/.f64 (-.f64 b a) a) a))
#s(approx (- a b) (*.f64 (/.f64 (-.f64 a b) 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 (- b a) (*.f64 (/.f64 (-.f64 b a) 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) (*.f64 (/.f64 (-.f64 a b) a) a))
#s(approx (- b a) (-.f64 b a))
#s(approx (- a b) (-.f64 a b))
#s(approx (- b a) (*.f64 (/.f64 (-.f64 b a) b) b))
#s(approx (- a b) (*.f64 (/.f64 (-.f64 a b) b) 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 (/.f64 (-.f64 b a) b) 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 (- a b) (*.f64 (/.f64 (-.f64 a b) b) b))

eval11.0ms (0.7%)

Memory
-20.9MiB live, 25.4MiB allocated; 5ms collecting garbage
Compiler

Compiled 512 to 237 computations (53.7% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh000
Picked112
Done000
Total84387
Accuracy
100.0%
Counts
87 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
51.2%
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
52.1%
(*.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
8.6MiB live, 8.6MiB 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)

rewrite200.0ms (12.7%)

Memory
-18.5MiB live, 268.2MiB allocated; 35ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
054204
059185
1242183
21539183
08552183
135888183
Stop Event
iter-limit
node-limit
iter-limit
Counts
25 → 45
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 (fabs.f64 #s(approx (- b a) b))) (sqrt.f64 (fabs.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 (neg.f64 #s(approx (- b a) b)))))
(fabs.f64 (neg.f64 (fabs.f64 #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 (fabs.f64 #s(approx (- b a) (neg.f64 a)))) (sqrt.f64 (fabs.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 (neg.f64 #s(approx (- b a) (neg.f64 a))))))
(fabs.f64 (neg.f64 (fabs.f64 #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 (/.f64 (-.f64 b a) 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) (*.f64 (/.f64 (-.f64 b a) a) a))
#s(approx (- b a) (-.f64 b a))
#s(approx (- b a) (*.f64 (/.f64 (-.f64 b a) b) b))
#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 (/.f64 (-.f64 b a) b) b))

eval3.0ms (0.2%)

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

Compiled 183 to 97 computations (47% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New27027
Fresh000
Picked022
Done011
Total27330
Accuracy
100.0%
Counts
30 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
51.2%
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
52.1%
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))
Compiler

Compiled 45 to 44 computations (2.2% saved)

regimes10.0ms (0.6%)

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

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

regimes10.0ms (0.6%)

Memory
-26.9MiB live, 21.0MiB allocated; 3ms 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:

3.0ms
b
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)
Results
AccuracySegmentsBranch
55.8%2(-.f64 a b)
55.8%2(fabs.f64 (-.f64 a b))
55.8%2(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
85.8%2a
83.1%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes5.0ms (0.3%)

Memory
17.2MiB live, 17.2MiB 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
b
1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
a
1.0ms
(-.f64 a b)
Results
AccuracySegmentsBranch
52.1%1(fabs.f64 (-.f64 a b))
52.1%1(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
52.1%1(-.f64 a b)
52.1%1b
52.1%1a
Compiler

Compiled 15 to 17 computations (-13.3% saved)

bsearch11.0ms (0.7%)

Memory
-26.8MiB live, 20.0MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
10.0ms
-1.8295378249073672e-59
-1.0722151705491852e-63
Samples
5.0ms128×0valid
Compiler

Compiled 129 to 147 computations (-14% saved)

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

derivations117.0ms (7.5%)

Memory
-7.5MiB live, 136.9MiB allocated; 24ms collecting garbage
Stop Event
done
Compiler

Compiled 18 to 17 computations (5.6% saved)

preprocess39.0ms (2.4%)

Memory
15.5MiB live, 111.2MiB allocated; 21ms collecting garbage
Compiler

Compiled 80 to 77 computations (3.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...