fabs fraction 2

Time bar (total: 1.3s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample637.0ms (47.4%)

Memory
26.5MiB live, 1 071.6MiB allocated; 165ms collecting garbage
Samples
430.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 157.0ms
ival-sub!: 56.0ms (35.7% of total)
ival-fabs: 55.0ms (35.1% of total)
ival-div!: 44.0ms (28.1% of total)
adjust: 2.0ms (1.3% of total)
Bogosity

explain57.0ms (4.3%)

Memory
-24.9MiB live, 118.6MiB allocated; 17ms 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×0valid
Compiler

Compiled 42 to 22 computations (47.6% saved)

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

preprocess225.0ms (16.7%)

Memory
8.6MiB live, 200.6MiB allocated; 10ms 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.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

rewrite71.0ms (5.3%)

Memory
-5.6MiB live, 140.9MiB allocated; 6ms 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)))

eval5.0ms (0.4%)

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

Compiled 584 to 174 computations (70.2% saved)

prune1.0ms (0.1%)

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

series6.0ms (0.4%)

Memory
-35.8MiB live, 10.9MiB allocated; 2ms 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
2.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
@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)

rewrite53.0ms (3.9%)

Memory
27.1MiB live, 73.8MiB allocated; 4ms 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))

eval5.0ms (0.3%)

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

Compiled 872 to 205 computations (76.5% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42345
Fresh000
Picked101
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)))
48.1%
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))))
54.9%
#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)

series13.0ms (1%)

Memory
-42.8MiB live, 14.0MiB allocated; 11ms collecting garbage
Counts
16 → 34
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) (*.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)
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 (* (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 (- b a) #s(hole binary64 (* -1 a)))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a)))))
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a)))))))
#s(approx (* (fabs (- a b)) 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 (- b a) #s(hole binary64 (- b a)))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b)))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b))))))
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1)))))
#s(approx (* (fabs (- a b)) 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
9.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 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b))
1.0ms
b
@-inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b))
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 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b))
1.0ms
b
@inf
((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b))
1.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 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b))

rewrite55.0ms (4.1%)

Memory
36.7MiB live, 83.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
091471
0100433
1286425
01832425
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
50 → 92
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) (*.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)
#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 (* (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 (- b a) #s(hole binary64 (* -1 a)))
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1))))
#s(approx (- a b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a))))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a)))))))
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a)))))
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a)))))))
#s(approx (* (fabs (- a b)) 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 (- b a) #s(hole binary64 (- b a)))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b))))))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b))))))
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b)))))))
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b))))))
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1)))))
#s(approx (* (fabs (- a b)) 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 (- 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 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b)))
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a)))
(pow.f64 (pow.f64 (-.f64 b a) #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 b a) #s(literal 2 binary64)))
(fabs.f64 (-.f64 b a))
(fabs.f64 (-.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 b (+.f64 b a) (*.f64 a a))))
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (neg.f64 (+.f64 b a)))
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (+.f64 b a))
(/.f64 (neg.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))))
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a))
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (-.f64 (neg.f64 b) a))
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (neg.f64 (+.f64 b a)))
(/.f64 (-.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 b b (*.f64 a (+.f64 b a))))
(/.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)))))
(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 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))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#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 (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#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) #s(literal 1 binary64)) a))
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a)))
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (- b a) (-.f64 b a))
#s(approx b b)
#s(approx (- a b) (-.f64 a b))
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a)))
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b)))

eval10.0ms (0.7%)

Memory
-28.3MiB live, 18.9MiB allocated; 2ms collecting garbage
Compiler

Compiled 1 460 to 301 computations (79.4% saved)

prune3.0ms (0.3%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New76379
Fresh000
Picked303
Done000
Total79382
Accuracy
100.0%
Counts
82 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64)))
54.9%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)))
48.1%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
Compiler

Compiled 45 to 35 computations (22.2% saved)

series5.0ms (0.4%)

Memory
10.0MiB live, 10.0MiB allocated; 0ms collecting garbage
Counts
16 → 33
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 (- b a) b)) #s(literal 1/2 binary64)))
(*.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(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64))
(fabs.f64 (-.f64 #s(approx a a) b))
(-.f64 #s(approx a a) b)
#s(approx a a)
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 (* (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 b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b 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 (* (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 (* (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 (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (- b a) #s(hole binary64 (- b a)))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#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 (* (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)))))))
#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 (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a)
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 (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a)
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 (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a)
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 (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a)
1.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 (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a)

rewrite56.0ms (4.1%)

Memory
10.0MiB live, 56.9MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
088470
095433
1300425
01976425
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
49 → 78
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 (- b a) b)) #s(literal 1/2 binary64)))
(*.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(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64))
(fabs.f64 (-.f64 #s(approx a a) b))
(-.f64 #s(approx a a) b)
#s(approx a a)
#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 (* (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 b) #s(hole binary64 a))
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b 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 (* (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 (* (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 (- a b) #s(hole binary64 (+ a (* -1 b))))
#s(approx (- b a) #s(hole binary64 (- b a)))
#s(approx b #s(hole binary64 b))
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1))))
#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 (* (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)))))))
#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
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) a))))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) a)))
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))
(*.f64 (sqrt.f64 #s(approx (- a b) a)) (sqrt.f64 #s(approx (- a b) a)))
(pow.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(sqrt.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64)))
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) a))))
(fabs.f64 (neg.f64 #s(approx (- a b) a)))
(fabs.f64 #s(approx (- a b) a))
#s(approx (- a b) a)
a
#s(literal 1/2 binary64)
#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)))
(*.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 (-.f64 b #s(approx a a))) #s(literal 1/2 binary64)))
(*.f64 (fabs.f64 (-.f64 b #s(approx a a))) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b #s(approx a a))))
(*.f64 (sqrt.f64 (-.f64 #s(approx a a) b)) (sqrt.f64 (-.f64 #s(approx a a) b)))
(pow.f64 (pow.f64 (-.f64 #s(approx a a) b) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (*.f64 (+.f64 #s(approx a a) b) (-.f64 #s(approx a a) b))) (fabs.f64 (+.f64 #s(approx a a) b)))
(/.f64 (fabs.f64 (-.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b)))))
(sqrt.f64 (*.f64 (-.f64 b #s(approx a a)) (-.f64 b #s(approx a a))))
(sqrt.f64 (pow.f64 (-.f64 #s(approx a a) b) #s(literal 2 binary64)))
(fabs.f64 (neg.f64 (-.f64 b #s(approx a a))))
(fabs.f64 (neg.f64 (neg.f64 (-.f64 #s(approx a a) b))))
(fabs.f64 (-.f64 b #s(approx a a)))
(fabs.f64 (neg.f64 (-.f64 #s(approx a a) b)))
(fabs.f64 (-.f64 #s(approx a a) b))
(/.f64 (neg.f64 (*.f64 (+.f64 #s(approx a a) b) (-.f64 #s(approx a a) b))) (neg.f64 (+.f64 #s(approx a a) b)))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b)))))
(/.f64 (*.f64 (+.f64 #s(approx a a) b) (-.f64 #s(approx a a) b)) (+.f64 #s(approx a a) b))
(/.f64 (-.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b))))
(-.f64 (/.f64 (pow.f64 #s(approx a a) #s(literal 2 binary64)) (+.f64 #s(approx a a) b)) (/.f64 (*.f64 b b) (+.f64 #s(approx a a) b)))
(-.f64 (/.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b)))))
(-.f64 #s(approx a a) b)
#s(approx a a)
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (neg.f64 b))
#s(approx (- a b) (-.f64 a b))
#s(approx a a)
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#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 b) a)
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b 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 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#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 (- a b) (-.f64 a b))
#s(approx (- b a) (-.f64 b a))
#s(approx b b)
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b))
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b)))
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))))
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b)))
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b))

eval14.0ms (1%)

Memory
-31.0MiB live, 19.9MiB allocated; 4ms collecting garbage
Compiler

Compiled 1 215 to 226 computations (81.4% saved)

prune5.0ms (0.3%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh000
Picked303
Done000
Total64367
Accuracy
100.0%
Counts
67 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) #s(approx b b))) #s(literal 1/2 binary64)))
54.9%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) #s(approx b b))) #s(literal 1/2 binary64)))
48.1%
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
Compiler

Compiled 206 to 84 computations (59.2% saved)

regimes19.0ms (1.4%)

Memory
-15.7MiB live, 31.3MiB allocated; 4ms collecting garbage
Counts
11 → 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 (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) a)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) #s(approx b b))) #s(literal 1/2 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 (-.f64 b a))))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) #s(approx b b))) #s(literal 1/2 binary64)))
(/.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:

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

regimes11.0ms (0.8%)

Memory
21.3MiB live, 21.3MiB allocated; 0ms collecting garbage
Counts
6 → 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 (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) a)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) #s(approx b b))) #s(literal 1/2 binary64)))
#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 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))
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
58.5%3(-.f64 a b)
58.5%3(fabs.f64 (-.f64 a b))
58.5%3(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64))
86.4%2a
83.5%2b
Compiler

Compiled 15 to 17 computations (-13.3% saved)

regimes5.0ms (0.4%)

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

5 calls:

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

Compiled 15 to 17 computations (-13.3% saved)

bsearch17.0ms (1.2%)

Memory
-34.4MiB live, 13.0MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
16.0ms
-4.333494346805049e-135
-8.946478562619725e-138
Samples
4.0ms128×0valid
Compiler

Compiled 249 to 211 computations (15.3% saved)

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

derivations28.0ms (2.1%)

Memory
24.5MiB live, 24.5MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 62 to 23 computations (62.9% saved)

preprocess38.0ms (2.8%)

Memory
-18.6MiB live, 28.7MiB allocated; 3ms collecting garbage
Compiler

Compiled 260 to 142 computations (45.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...