fabs fraction 2

Time bar (total: 1.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample724.0ms (51.6%)

Memory
-14.9MiB live, 1 126.6MiB allocated; 311ms collecting garbage
Samples
432.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 181.0ms
ival-sub: 62.0ms (34.2% of total)
ival-div: 62.0ms (34.2% of total)
ival-fabs: 46.0ms (25.4% of total)
exact: 6.0ms (3.3% of total)
ival-assert: 3.0ms (1.7% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain61.0ms (4.3%)

Memory
21.9MiB live, 117.6MiB allocated; 14ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-a
00-0-#s(literal 2 binary64)
00-0-(fabs.f64 (-.f64 a b))
00-0-(-.f64 a b)
00-0-b
00-0-(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
32.0ms512×0valid
Compiler

Compiled 42 to 22 computations (47.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-div: 7.0ms (50.7% of total)
ival-sub: 3.0ms (21.7% of total)
ival-fabs: 3.0ms (21.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess225.0ms (16%)

Memory
5.3MiB live, 100.7MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02240
14640
26740
312540
424540
542340
6147640
7521940
0106
0156
1176
2206
3256
4456
51226
65756
746896
084216
Stop Event
saturated
node limit
iter limit
node limit
Calls
Call 1
Inputs
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
Outputs
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
Symmetry

(sort a b)

Compiler

Compiled 6 to 6 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
Compiler

Compiled 6 to 6 computations (0% saved)

series4.0ms (0.3%)

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

rewrite106.0ms (7.5%)

Memory
-24.0MiB live, 113.3MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
071204
1109202
2110200
3111200
4112200
0112177
1263174
01561172
11747166
22376166
33060166
43307166
53381166
63390166
Stop Event
saturated
iter limit
node limit
saturated
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
(neg.f64 (/.f64 (fabs.f64 (-.f64 a b)) #s(literal -2 binary64)))
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 a b))) #s(literal 2 binary64)))
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
(/.f64 (neg.f64 (fabs.f64 (-.f64 a b))) #s(literal -2 binary64))
(/.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 a b)))) #s(literal 2 binary64))
(fabs.f64 (-.f64 a b))
(fabs.f64 (-.f64 b a))
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)))
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64)))) (fabs.f64 (+.f64 a b)))
(/.f64 (fabs.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64)))))
(/.f64 (fabs.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) (fabs.f64 (+.f64 a b)))
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 a a (*.f64 b (+.f64 a b)))))
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(+.f64 a (neg.f64 b))
(+.f64 (neg.f64 b) a)
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))))
(-.f64 a b)
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64)))
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))))
(-.f64 (/.f64 (pow.f64 a #s(literal 2 binary64)) (+.f64 a b)) (/.f64 (pow.f64 b #s(literal 2 binary64)) (+.f64 a b)))
(fma.f64 b #s(literal -1 binary64) a)
(fma.f64 #s(literal -1 binary64) b a)
(neg.f64 (-.f64 b a))
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (*.f64 b (+.f64 a b))))
(/.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64))) (+.f64 a b))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64)))) (neg.f64 (+.f64 a b)))
(/.f64 (neg.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) (+.f64 a b))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 a a (*.f64 b (+.f64 a b)))))
(/.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (neg.f64 (+.f64 a b)))
(/.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (-.f64 (neg.f64 b) a))
a
b
#s(literal 2 binary64)
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#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) (fma.f64 a (/.f64 b (neg.f64 a)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a))
#s(approx (- a b) (-.f64 a b))
#s(approx b b)
#s(approx (- a b) (*.f64 b (+.f64 (/.f64 a b) #s(literal -1 binary64))))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (neg.f64 (-.f64 b (*.f64 (/.f64 a b) b))))

eval5.0ms (0.4%)

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

Compiled 584 to 174 computations (70.2% saved)

prune2.0ms (0.1%)

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

1 alts after pruning (1 fresh and 0 done)

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

Compiled 13 to 11 computations (15.4% saved)

series3.0ms (0.2%)

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

rewrite95.0ms (6.8%)

Memory
-17.4MiB live, 81.3MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
076267
1120265
2121263
3122263
4123263
5125263
0125223
1276220
01575218
11750212
22376212
33060212
43307212
53381212
63390212
Stop Event
saturated
iter limit
node limit
saturated
Counts
26 → 54
Calls
Call 1
Inputs
#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))
(fabs.f64 (-.f64 a b))
(-.f64 a b)
a
b
#s(literal 1/2 binary64)
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (* (fabs (- a b)) 1/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)) 1/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)) 1/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
#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)))
(fabs.f64 (-.f64 a b))
(fabs.f64 (-.f64 b a))
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)))
(/.f64 (fabs.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))))
(/.f64 (fabs.f64 (-.f64 (*.f64 b b) (*.f64 a a))) (fabs.f64 (+.f64 a b)))
(/.f64 (fabs.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (fabs.f64 (+.f64 a b)))
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 a a (*.f64 b (+.f64 a b)))))
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(+.f64 a (neg.f64 b))
(+.f64 (neg.f64 b) a)
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))))
(-.f64 a b)
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64)))
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))))
(-.f64 (/.f64 (*.f64 a a) (+.f64 a b)) (/.f64 (*.f64 b b) (+.f64 a b)))
(fma.f64 b #s(literal -1 binary64) a)
(fma.f64 #s(literal -1 binary64) b a)
(neg.f64 (-.f64 b a))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (*.f64 b (+.f64 a b))))
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))))
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b))
(/.f64 (neg.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))
(/.f64 (neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) (+.f64 a b))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 a a (*.f64 b (+.f64 a b)))))
(/.f64 (neg.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (neg.f64 (+.f64 a b)))
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (neg.f64 (+.f64 a b)))
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 (neg.f64 b) a))
a
b
#s(literal 1/2 binary64)
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* (fabs (- a b)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#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) (fma.f64 a (/.f64 b (neg.f64 a)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* (fabs (- a b)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a))
#s(approx (- a b) (-.f64 a b))
#s(approx b b)
#s(approx (- a b) (*.f64 b (+.f64 (/.f64 a b) #s(literal -1 binary64))))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (* (fabs (- a b)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (neg.f64 (-.f64 b (*.f64 (/.f64 a b) b))))

eval5.0ms (0.4%)

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

Compiled 881 to 206 computations (76.6% saved)

prune4.0ms (0.3%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh000
Picked011
Done000
Total43346
Accuracy
100.0%
Counts
46 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
49.3%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)))
53.2%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
Compiler

Compiled 44 to 34 computations (22.7% saved)

series3.0ms (0.2%)

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

rewrite93.0ms (6.7%)

Memory
-24.0MiB live, 67.1MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
083323
1129323
2132323
3136323
4140323
5142323
6144323
0144296
1308293
01622271
11819265
22459265
33143265
43390265
53464265
63473265
Stop Event
saturated
iter limit
node limit
saturated
Counts
32 → 46
Calls
Call 1
Inputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))
(fabs.f64 #s(approx (- a b) a))
#s(approx (- a b) a)
a
#s(literal 1/2 binary64)
#s(approx (/ (fabs (- a b)) 2) (*.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))
(fabs.f64 #s(approx (- a b) (neg.f64 b)))
#s(approx (- a b) (neg.f64 b))
(neg.f64 b)
b
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b)))))
#s(approx (* (fabs (- a b)) 1/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)) 1/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 (neg b) #s(hole binary64 (* -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)) 1/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
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) a)))
(fabs.f64 #s(approx (- a b) a))
(fabs.f64 (neg.f64 #s(approx (- a b) a)))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) a))))
(sqrt.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64)))
(pow.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 #s(approx (- a b) a)) (sqrt.f64 #s(approx (- a b) a)))
#s(approx (- a b) a)
a
#s(literal 1/2 binary64)
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b))))
(*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))
(fabs.f64 #s(approx (- a b) (neg.f64 b)))
(fabs.f64 (neg.f64 #s(approx (- a b) (neg.f64 b))))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) (neg.f64 b)))))
(sqrt.f64 (pow.f64 #s(approx (- a b) (neg.f64 b)) #s(literal 2 binary64)))
(pow.f64 (pow.f64 #s(approx (- a b) (neg.f64 b)) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 #s(approx (- a b) (neg.f64 b))) (sqrt.f64 #s(approx (- a b) (neg.f64 b))))
#s(approx (- a b) (neg.f64 b))
(neg.f64 b)
(*.f64 b #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) b)
b
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (* (fabs (- a b)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#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) (fma.f64 a (/.f64 b (neg.f64 a)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (* (fabs (- a b)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a))
#s(approx (- a b) (-.f64 a b))
#s(approx (neg b) (neg.f64 b))
#s(approx b b)
#s(approx (- a b) (*.f64 b (+.f64 (/.f64 a b) #s(literal -1 binary64))))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (* (fabs (- a b)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (neg.f64 (-.f64 b (*.f64 (/.f64 a b) b))))

eval4.0ms (0.3%)

Memory
7.5MiB live, 7.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 639 to 123 computations (80.8% saved)

prune4.0ms (0.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New37037
Fresh000
Picked022
Done011
Total37340
Accuracy
100.0%
Counts
40 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
49.3%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)))
53.2%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
Compiler

Compiled 94 to 56 computations (40.4% saved)

regimes9.0ms (0.7%)

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

5 calls:

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

regimes15.0ms (1.1%)

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

5 calls:

10.0ms
b
1.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
1.0ms
a
1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
(-.f64 a b)
Results
AccuracySegmentsBranch
59.2%2(-.f64 a b)
59.2%2(fabs.f64 (-.f64 a b))
59.2%2(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
80.8%2a
86.8%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes6.0ms (0.4%)

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

5 calls:

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

Compiled 15 to 17 computations (-13.3% saved)

bsearch12.0ms (0.8%)

Memory
-27.4MiB live, 19.8MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
done
narrow-enough
Steps
TimeLeftRight
10.0ms
1.1832030484447743e-35
1.6164831239619e-33
Samples
5.0ms112×0valid
Compiler

Compiled 289 to 209 computations (27.7% saved)

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

preprocess22.0ms (1.5%)

Memory
-4.7MiB live, 41.8MiB allocated; 3ms collecting garbage
Remove

(sort a b)

Compiler

Compiled 216 to 124 computations (42.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...