simple fma test

Time bar (total: 2.8s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample2.1s (77.4%)

Memory
2.9MiB live, 739.9MiB allocated; 976ms collecting garbage
Samples
1.7s6 125×1valid
77.0ms2 131×0valid
Precisions
Click to see histograms. Total time spent on operations: 990.0ms
adjust: 479.0ms (48.4% of total)
ival-mult!: 401.0ms (40.5% of total)
ival-add!: 80.0ms (8.1% of total)
ival-sub!: 30.0ms (3% of total)
Bogosity

preprocess143.0ms (5.2%)

Memory
-8.8MiB live, 36.9MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

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

(abs x)

(abs y)

(abs z)

(sort x y z)

Compiler

Compiled 24 to 18 computations (25% saved)

series74.0ms (2.7%)

Memory
12.1MiB live, 58.3MiB allocated; 9ms 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
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
y
-inf
1.0ms
y
inf
1.0ms
y
0

rewrite162.0ms (5.9%)

Memory
-1.3MiB live, 99.0MiB allocated; 28ms 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)

eval5.0ms (0.2%)

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

Compiled 667 to 154 computations (76.9% saved)

prune2.0ms (0.1%)

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

series64.0ms (2.3%)

Memory
24.5MiB live, 24.5MiB allocated; 0ms 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
inf
0.0ms
x
0
0.0ms
y
0
0.0ms
x
-inf
0.0ms
y
-inf

rewrite142.0ms (5.1%)

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

eval0.0ms (0%)

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

Compiled 15 to 11 computations (26.7% saved)

prune1.0ms (0%)

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

regimes11.0ms (0.4%)

Memory
-36.7MiB live, 9.6MiB allocated; 7ms collecting garbage
Accuracy

Total -55.5b remaining (-∞%)

Threshold costs -55.5b (-∞%)

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:

2.0ms
z
2.0ms
x
2.0ms
y
1.0ms
(-.f64 (fma.f64 x y z) (+.f64 #s(literal 1 binary64) (+.f64 (*.f64 x y) z)))
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.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 15 to 10 computations (33.3% saved)

preprocess17.0ms (0.6%)

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

(sort x y z)

(abs z)

(abs y)

(abs x)

Compiler

Compiled 148 to 103 computations (30.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...