simple fma test

Time bar (total: 2.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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 15 to 10 computations (33.3% saved)

sample1.4s (72.3%)

Memory
34.2MiB live, 951.7MiB allocated; 1.1s collecting garbage
Samples
612.0ms6 125×1valid
393.0ms2 131×0valid
Precisions
Click to see histograms. Total time spent on operations: 406.0ms
adjust: 178.0ms (43.9% of total)
ival-add!: 96.0ms (23.7% of total)
ival-mult!: 95.0ms (23.4% of total)
ival-sub!: 38.0ms (9.4% of total)
Bogosity

preprocess17.0ms (0.9%)

Memory
30.8MiB live, 30.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
037142
1155130
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
28.3%
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Symmetry

(sort x y)

Compiler

Compiled 24 to 18 computations (25% saved)

series89.0ms (4.5%)

Memory
-2.3MiB live, 88.6MiB allocated; 19ms collecting garbage
Counts
9 → 21
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
(fma.f64 x y z)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(*.f64 x y)
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(approx (+ (* x y) z) z)
#s(approx (+ (* x y) z) (+.f64 z (*.f64 x y)))
#s(approx x x)
#s(approx (+ 1 (+ (* x y) z)) (+.f64 #s(literal 1 binary64) z))
#s(approx (+ 1 (+ (* x y) z)) (+.f64 #s(literal 1 binary64) (+.f64 z (*.f64 x y))))
#s(approx (* x y) (*.f64 x y))
#s(approx (+ (* x y) z) (*.f64 x (+.f64 y (/.f64 z x))))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 x (+.f64 y (+.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 z x)))))
#s(approx (+ (* x y) z) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 z x))))))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) z) x))))))
#s(approx y y)
#s(approx (+ (* x y) z) (*.f64 y (+.f64 x (/.f64 z y))))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 y (+.f64 x (+.f64 (/.f64 #s(literal 1 binary64) y) (/.f64 z y)))))
#s(approx (+ (* x y) z) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 z y))))))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) z) y))))))
#s(approx (+ 1 (+ (* x y) z)) (+.f64 #s(literal 1 binary64) (*.f64 x y)))
#s(approx (+ (* x y) z) (*.f64 z (+.f64 #s(literal 1 binary64) (/.f64 (*.f64 x y) z))))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 z (+.f64 #s(literal 1 binary64) (+.f64 (/.f64 #s(literal 1 binary64) z) (/.f64 (*.f64 x y) z)))))
#s(approx (+ (* x y) z) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (*.f64 x y) z)) #s(literal 1 binary64)))))
#s(approx (+ 1 (+ (* x y) z)) (*.f64 #s(literal -1 binary64) (*.f64 z (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 1 binary64) (*.f64 x y)) z)) #s(literal 1 binary64)))))
Calls

9 calls:

TimeVariablePoint
5.0ms
x
inf
1.0ms
x
-inf
1.0ms
y
-inf
1.0ms
y
inf
1.0ms
y
0

rewrite146.0ms (7.3%)

Memory
15.6MiB live, 239.9MiB allocated; 73ms collecting garbage
Counts
9 → 29
Calls
Call 1
Inputs
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
(fma.f64 x y z)
x
y
z
(+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z))
#s(literal 1 binary64)
(+.f64 (*.f64 x y) z)
(*.f64 x y)
Outputs
(+.f64 (*.f64 x y) (-.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(+.f64 (fma.f64 x y z) (neg.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (fma.f64 x y z)))
(-.f64 (-.f64 (fma.f64 x y z) #s(literal 1 binary64)) (fma.f64 x y z))
(fma.f64 x y (-.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(fma.f64 y x (-.f64 z (+.f64 #s(literal 1 binary64) (fma.f64 x y z))))
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x y z)) (fma.f64 x y z)))
(+.f64 (*.f64 x y) z)
(+.f64 z (*.f64 x y))
(-.f64 (*.f64 x y) (neg.f64 z))
(fma.f64 x y z)
(fma.f64 y x z)
x
y
z
(+.f64 #s(literal 1 binary64) (fma.f64 x y z))
(+.f64 (fma.f64 x y z) #s(literal 1 binary64))
(+.f64 (+.f64 #s(literal 1 binary64) (*.f64 x y)) z)
(-.f64 #s(literal 1 binary64) (neg.f64 (fma.f64 x y z)))
#s(literal 1 binary64)
(cosh.f64 #s(literal 0 binary64))
(exp.f64 #s(literal 0 binary64))
(+.f64 (*.f64 x y) z)
(+.f64 z (*.f64 x y))
(-.f64 (*.f64 x y) (neg.f64 z))
(fma.f64 x y z)
(fma.f64 y x z)
(*.f64 x y)
(*.f64 y x)

eval29.0ms (1.5%)

Memory
-48.8MiB live, 13.4MiB allocated; 59ms collecting garbage
Compiler

Compiled 667 to 154 computations (76.9% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New38139
Fresh000
Picked101
Done000
Total39140
Accuracy
100.0%
Counts
40 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Compiler

Compiled 15 to 10 computations (33.3% saved)

series65.0ms (3.2%)

Memory
-2.8MiB live, 91.2MiB allocated; 11ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(literal -1 binary64)
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Calls

9 calls:

TimeVariablePoint
0.0ms
x
0
0.0ms
z
0
0.0ms
x
inf
0.0ms
x
-inf
0.0ms
z
inf

rewrite146.0ms (7.3%)

Memory
46.4MiB live, 182.3MiB allocated; 53ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
#s(literal -1 binary64)
Outputs
#s(approx (- (+ (* x y) z) (+ (+ 1 (* x y)) z)) #s(literal -1 binary64))
#s(literal -1 binary64)

eval1.0ms (0%)

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

Compiled 15 to 11 computations (26.7% saved)

prune2.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New101
Fresh000
Picked011
Done000
Total112
Accuracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Compiler

Compiled 15 to 10 computations (33.3% saved)

regimes20.0ms (1%)

Memory
-22.9MiB live, 24.0MiB allocated; 16ms collecting garbage
Accuracy

Total -45.9b remaining (-∞%)

Threshold costs -45.9b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
Outputs
#s(approx (- (+ (* x y) z) (+ 1 (+ (* x y) z))) #s(literal -1 binary64))
Calls

4 calls:

10.0ms
z
3.0ms
y
3.0ms
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
100.0%1x
100.0%1y
100.0%1z
Compiler

Compiled 42 to 34 computations (19% saved)

derivations0.0ms (0%)

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

Compiled 15 to 10 computations (33.3% saved)

preprocess38.0ms (1.9%)

Memory
-14.8MiB live, 32.1MiB allocated; 2ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 58 to 43 computations (25.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...