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

sample825.0ms (63.8%)

Memory
-38.7MiB live, 985.8MiB allocated; 244ms collecting garbage
Samples
544.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 299.0ms
ival-sub: 151.0ms (50.5% of total)
ival-fabs: 81.0ms (27.1% of total)
ival-div: 56.0ms (18.7% of total)
exact: 6.0ms (2% of total)
ival-assert: 3.0ms (1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain55.0ms (4.2%)

Memory
17.4MiB live, 111.9MiB allocated; 3ms 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
26.0ms512×0valid
Compiler

Compiled 42 to 22 computations (47.6% saved)

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

preprocess235.0ms (18.1%)

Memory
7.2MiB live, 151.0MiB allocated; 12ms 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 (/.f64 (fabs.f64 (-.f64 b a)) (*.f64 (E.f64) #s(literal 2 binary64))) (E.f64))
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.8MiB live, 0.8MiB 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.7MiB live, 8.7MiB 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)

rewrite100.0ms (7.7%)

Memory
-17.7MiB live, 130.7MiB allocated; 40ms 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 (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)))) #s(literal 2 binary64))
(/.f64 (neg.f64 (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64))) #s(literal -2 binary64))
(/.f64 (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)) #s(literal 2 binary64))
(neg.f64 (/.f64 (neg.f64 (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64))) #s(literal 2 binary64)))
(neg.f64 (/.f64 (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)) #s(literal -2 binary64)))
(*.f64 (sqrt.f64 (fma.f64 #s(literal -1 binary64) b a)) (sqrt.f64 (fma.f64 #s(literal -1 binary64) b a)))
(pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64))
(/.f64 (fabs.f64 (fma.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a)))))
(/.f64 (fabs.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) b) #s(literal -1 binary64) (*.f64 a (*.f64 #s(literal -1 binary64) a)))) (fabs.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a))))
(/.f64 (fabs.f64 (fma.f64 (pow.f64 (*.f64 #s(literal -1 binary64) a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal -1 binary64) a) #s(literal 3/2 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) #s(literal -1 binary64)) b (*.f64 (*.f64 #s(literal -1 binary64) a) (-.f64 (*.f64 #s(literal -1 binary64) a) b)))))
(/.f64 (fabs.f64 (*.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a)) (fma.f64 #s(literal -1 binary64) b a))) (fabs.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a))))
(sqrt.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)))
(fabs.f64 (fma.f64 #s(literal -1 binary64) a b))
(fabs.f64 (fma.f64 #s(literal -1 binary64) b a))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) b) #s(literal -1 binary64) (*.f64 a (*.f64 #s(literal -1 binary64) a))) (-.f64 (*.f64 #s(literal -1 binary64) b) a))
(/.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) b) #s(literal -1 binary64) (*.f64 a (*.f64 #s(literal -1 binary64) a))) (neg.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a))))
(/.f64 (neg.f64 (*.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a)) (fma.f64 #s(literal -1 binary64) b a))) (neg.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) b) #s(literal -1 binary64) (*.f64 a (*.f64 #s(literal -1 binary64) a)))) (-.f64 b (*.f64 #s(literal -1 binary64) a)))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 #s(literal -1 binary64) a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal -1 binary64) a) #s(literal 3/2 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) #s(literal -1 binary64)) b (*.f64 (*.f64 #s(literal -1 binary64) a) (-.f64 (*.f64 #s(literal -1 binary64) a) b))))
(/.f64 (*.f64 (-.f64 b (*.f64 #s(literal -1 binary64) a)) (fma.f64 #s(literal -1 binary64) b a)) (-.f64 b (*.f64 #s(literal -1 binary64) a)))
(/.f64 (fma.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 3 binary64))) (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a))))
(/.f64 (fma.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) #s(literal -1 binary64)) b (*.f64 (*.f64 #s(literal -1 binary64) a) (-.f64 (*.f64 #s(literal -1 binary64) a) b))))
(/.f64 (fma.f64 (pow.f64 (*.f64 #s(literal -1 binary64) a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal -1 binary64) a) #s(literal 3/2 binary64)) (pow.f64 b #s(literal 3 binary64))) (neg.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1 binary64) b) #s(literal -1 binary64)) b (*.f64 (*.f64 #s(literal -1 binary64) a) (-.f64 (*.f64 #s(literal -1 binary64) a) b)))))
(neg.f64 (fma.f64 #s(literal -1 binary64) a b))
(fma.f64 #s(literal -1 binary64) b a)
(fma.f64 b #s(literal -1 binary64) a)
(-.f64 (/.f64 (*.f64 a a) (-.f64 b (*.f64 #s(literal -1 binary64) a))) (/.f64 (*.f64 b b) (-.f64 b (*.f64 #s(literal -1 binary64) a))))
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a)))))
(-.f64 a (*.f64 (*.f64 #s(literal -1 binary64) b) #s(literal -1 binary64)))
(-.f64 a b)
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a)))) (/.f64 (*.f64 (pow.f64 b #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 (*.f64 a a) #s(literal 1 binary64) (fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 b a)))))
(+.f64 (*.f64 #s(literal -1 binary64) b) a)
(+.f64 a (*.f64 #s(literal -1 binary64) b))
a
b
#s(literal 2 binary64)
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64))))
#s(approx (fabs (- a b)) (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- a b) (*.f64 #s(literal -1 binary64) b))
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a))
#s(approx a a)
#s(approx (- a b) a)
#s(approx (- a b) (*.f64 (fma.f64 (*.f64 (/.f64 b a) #s(literal -1 binary64)) #s(literal 1 binary64) #s(literal 1 binary64)) a))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64))))
#s(approx (fabs (- a b)) (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- a b) (*.f64 (fma.f64 (*.f64 (/.f64 b a) #s(literal -1 binary64)) #s(literal 1 binary64) #s(literal 1 binary64)) a))
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a))
#s(approx b b)
#s(approx (- a b) (*.f64 (fma.f64 (/.f64 a b) #s(literal 1 binary64) #s(literal -1 binary64)) b))
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64))))
#s(approx (fabs (- a b)) (pow.f64 (pow.f64 (fma.f64 #s(literal -1 binary64) b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)))
#s(approx (- a b) (*.f64 (*.f64 (fma.f64 (*.f64 (/.f64 a b) #s(literal -1 binary64)) #s(literal 1 binary64) #s(literal 1 binary64)) b) #s(literal -1 binary64)))

eval5.0ms (0.4%)

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

Compiled 760 to 183 computations (75.9% saved)

prune12.0ms (1%)

Memory
-24.1MiB live, 21.1MiB allocated; 4ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

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

Compiled 12 to 12 computations (0% saved)

simplify42.0ms (3.3%)

Memory
10.8MiB live, 55.9MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1146
2326
3686
41416
55306
636946
Stop Event
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 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (-.f64 (*.f64 #s(literal -1 binary64) (-.f64 b a)) #s(literal 0 binary64))))) #s(literal 2 binary64))

derivations0.0ms (0%)

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

Compiled 14 to 12 computations (14.3% saved)

preprocess12.0ms (1%)

Memory
25.2MiB live, 25.2MiB allocated; 0ms collecting garbage
Remove

(sort a b)

Compiler

Compiled 96 to 84 computations (12.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...