fabs fraction 2

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample478.0ms (45.3%)

Memory
8.8MiB live, 182.9MiB allocated; 16ms collecting garbage
Samples
294.0ms8 256×74valid
Precisions
Click to see histograms. Total time spent on operations: 151.0ms
ival-div: 51.0ms (33.8% of total)
ival-sub: 45.0ms (29.9% of total)
ival-fabs: 40.0ms (26.5% of total)
adjust: 7.0ms (4.6% of total)
exact: 5.0ms (3.3% of total)
ival-assert: 2.0ms (1.3% of total)
Bogosity

explain46.0ms (4.4%)

Memory
-4.7MiB live, 28.4MiB allocated; 1ms 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
21.0ms512×74valid
Compiler

Compiled 42 to 22 computations (47.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-sub: 3.0ms (31.2% of total)
ival-div: 3.0ms (31.2% of total)
ival-fabs: 2.0ms (20.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)

preprocess230.0ms (21.8%)

Memory
2.3MiB live, 24.4MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01940
14140
26240
312040
424040
541940
6147240
7521240
066
096
1156
2236
3436
4926
51986
67706
752126
080496
Stop Event
iter limit
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))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
Symmetry

(sort a b)

Compiler

Compiled 6 to 6 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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.4%)

Memory
-5.8MiB live, 1.9MiB 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
b
@0
((/ (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
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)

rewrite54.0ms (5.1%)

Memory
4.1MiB live, 11.4MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
052178
055161
1206158
01504158
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 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (fabs.f64 (fma.f64 b b (*.f64 a (neg.f64 a)))) (fabs.f64 (+.f64 b a)))
(/.f64 (fabs.f64 (fma.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 b #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 a) (-.f64 a b))) (fabs.f64 (+.f64 b a)))
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)))
(fabs.f64 (-.f64 b a))
(fabs.f64 (-.f64 a b))
(/.f64 (fma.f64 b b (*.f64 a (neg.f64 a))) (-.f64 (neg.f64 b) a))
(/.f64 (fma.f64 b b (*.f64 a (neg.f64 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 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (neg.f64 (fma.f64 b b (*.f64 a (neg.f64 a)))) (+.f64 b a))
(/.f64 (neg.f64 (fma.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 b #s(literal 3 binary64)))) (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 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a 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 (fma.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 b #s(literal 3 binary64))) (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 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))))
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64)))
(-.f64 a b)
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (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)))

eval6.0ms (0.6%)

Memory
-6.8MiB live, 3.7MiB allocated; 2ms collecting garbage
Compiler

Compiled 584 to 174 computations (70.2% saved)

prune7.0ms (0.6%)

Memory
2.2MiB live, 2.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 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
Compiler

Compiled 13 to 11 computations (15.4% saved)

series5.0ms (0.4%)

Memory
2.4MiB live, 2.4MiB allocated; 0ms collecting garbage
Counts
7 → 19
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
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 (- 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
a
@-inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a)
1.0ms
b
@-inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a)
1.0ms
a
@inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a)
1.0ms
b
@inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a)
1.0ms
a
@0
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a)

rewrite50.0ms (4.7%)

Memory
-0.4MiB live, 7.0MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
064235
068215
1238210
01709210
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
26 → 54
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
#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 (- 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 (-.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 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #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 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b b (*.f64 a (+.f64 b a)))))
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)))
(fabs.f64 (-.f64 a b))
(fabs.f64 (-.f64 b a))
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (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 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (neg.f64 (fma.f64 b b (*.f64 a (+.f64 b a)))))
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (neg.f64 (+.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 b a) (-.f64 b a)) (+.f64 b a))
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a))))
(/.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a a)))
(/.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 b b (*.f64 a (+.f64 b 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 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))))
(-.f64 b a)
(+.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (pow.f64 (neg.f64 a) #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))))
(+.f64 (neg.f64 a) b)
(+.f64 b (neg.f64 a))
b
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) b)
#s(approx (- b a) (-.f64 b a))
#s(approx a 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))

eval4.0ms (0.4%)

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

Compiled 872 to 205 computations (76.5% saved)

prune3.0ms (0.3%)

Memory
-4.7MiB live, 3.0MiB allocated; 1ms 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 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
48.1%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))))
55.2%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
Compiler

Compiled 44 to 36 computations (18.2% saved)

series4.0ms (0.3%)

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

rewrite51.0ms (4.8%)

Memory
-0.4MiB live, 7.2MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
070289
075268
1256263
01744263
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
32 → 46
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) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))))
(*.f64 #s(literal 1/2 binary64) (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))
(neg.f64 a)
a
#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 (neg a) #s(hole binary64 (* -1 a)))
#s(approx a #s(hole binary64 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 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64)))
(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 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))
(*.f64 (sqrt.f64 #s(approx (- b a) (neg.f64 a))) (sqrt.f64 #s(approx (- b a) (neg.f64 a))))
(pow.f64 (pow.f64 #s(approx (- b a) (neg.f64 a)) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (pow.f64 #s(approx (- b a) (neg.f64 a)) #s(literal 2 binary64)))
(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 #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 (- 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 (neg a) (neg.f64 a))
#s(approx a 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))

eval3.0ms (0.3%)

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

Compiled 639 to 126 computations (80.3% saved)

prune4.0ms (0.4%)

Memory
-5.9MiB live, 3.3MiB allocated; 1ms 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 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
48.1%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))))
55.2%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
Compiler

Compiled 94 to 61 computations (35.1% saved)

regimes9.0ms (0.9%)

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

Compiled 15 to 17 computations (-13.3% saved)

regimes6.0ms (0.6%)

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

5 calls:

1.0ms
(fabs.f64 (-.f64 a b))
1.0ms
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
1.0ms
a
1.0ms
(-.f64 a b)
1.0ms
b
Results
AccuracySegmentsBranch
63.1%5(-.f64 a b)
63.1%5(fabs.f64 (-.f64 a b))
63.1%5(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
85.7%2a
79.9%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes5.0ms (0.5%)

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

Compiled 15 to 17 computations (-13.3% saved)

bsearch11.0ms (1.1%)

Memory
4.0MiB live, 4.0MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
10.0ms
-1.306768695832254e-83
-2.702402960402216e-91
Samples
5.0ms144×74valid
Compiler

Compiled 288 to 254 computations (11.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-sub: 1.0ms (38.5% of total)
ival-div: 1.0ms (38.5% of total)
ival-fabs: 1.0ms (38.5% 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)

simplify40.0ms (3.8%)

Memory
0.1MiB live, 8.4MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02463
14363
27263
314163
427163
573863
6397963
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
(if (<=.f64 a #s(literal -7108564855544789/546812681195752981093125556779405341338292357723303109106442651602488249799843980805878294255763456 binary64)) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))))
#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 (-.f64 b a))))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
(if (<=.f64 a #s(literal -7108564855544789/546812681195752981093125556779405341338292357723303109106442651602488249799843980805878294255763456 binary64)) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))

derivations14.0ms (1.3%)

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

Compiled 63 to 24 computations (61.9% saved)

preprocess20.0ms (1.9%)

Memory
-2.9MiB live, 12.4MiB allocated; 1ms collecting garbage
Remove

(sort a b)

Compiler

Compiled 190 to 104 computations (45.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...