WEBVTT

1
00:00:00.180 --> 00:00:04.174
What changes when a matrix holds formulas?

2
00:00:04.174 --> 00:00:09.363
A numeric C M stores finished answers: zero or one.

3
00:00:09.363 --> 00:00:15.912
A logical matrix, or L M, stores expressions that still need values for their variables.

4
00:00:15.912 --> 00:00:21.705
We will build those expression-valued cells, evaluate them under one consistent assignment,

5
00:00:21.705 --> 00:00:26.406
and learn to distinguish the symbolic matrix from its numeric result.

6
00:00:26.586 --> 00:00:32.577
Place X and not X in a column. Place Y and not Y in a row.

7
00:00:32.577 --> 00:00:38.602
Here not reverses a Boolean value. Multiplication in this logical construction

8
00:00:38.602 --> 00:00:44.546
means AND: both factors must be true for the product to be true.

9
00:00:44.726 --> 00:00:49.927
Their outer product gives four expressions. The top-left cell is X and Y.

10
00:00:49.927 --> 00:00:55.361
The top-right is X and not Y. The bottom row uses not X instead.

11
00:00:55.361 --> 00:01:01.650
We write M sub X Y equals this whole two-by-two logical matrix.

12
00:01:01.830 --> 00:01:07.426
For the positive assignment used here, set the original variables X and Y to one.

13
00:01:07.426 --> 00:01:13.127
Then not X and not Y become zero. Apply that same assignment to every expression.

14
00:01:13.127 --> 00:01:18.026
We are evaluating one symbolic object consistently, cell by cell.

15
00:01:18.206 --> 00:01:24.324
The top-left expression becomes one and one, which is one. The top-right becomes one and zero,

16
00:01:24.324 --> 00:01:31.475
which is zero. Notice that the written expressions stay different
even though we gave the original variables the same value.

17
00:01:31.655 --> 00:01:37.715
Both bottom expressions contain not X, now zero, so both evaluate to zero.

18
00:01:37.715 --> 00:01:44.043
The resulting numeric matrix is the AND operator in true-first order.

19
00:01:44.043 --> 00:01:50.126
The paper describes this relationship as taking the positive valuation of the logical matrix.

20
00:01:50.306 --> 00:01:55.519
To represent equivalence, start from the equivalence logical matrix shown here.

21
00:01:55.519 --> 00:02:01.637
Its diagonal entries test agreement. Its off-diagonal entries test exclusive-or.

22
00:02:01.637 --> 00:02:08.731
We changed the expressions before evaluating them;
valuation alone did not change AND into equivalence.

23
00:02:08.911 --> 00:02:15.413
Again set X and Y to one. What does the upper-right exclusive-or expression evaluate to?

24
00:02:15.413 --> 00:02:19.848
And what does an equivalence expression on the diagonal evaluate to?

25
00:02:19.848 --> 00:02:31.481
Work out those two cases before viewing the completed matrix.

26
00:02:31.661 --> 00:02:37.698
Exclusive-or is zero because the inputs agree. Equivalence is one for the same reason.

27
00:02:37.698 --> 00:02:41.889
So the diagonal entries become one and the other entries become zero.

28
00:02:41.889 --> 00:02:46.649
The original expressions determine which operator the valuation produces.

29
00:02:46.829 --> 00:02:52.204
You now have two useful layers: expressions while constructing a logical matrix,

30
00:02:52.204 --> 00:02:58.706
and bits after evaluating it. Next we will combine two complete logical matrices.

31
00:02:58.706 --> 00:03:04.556
Keeping their names and their entries separate will
make that larger construction much easier to read.
