git @ Cat's Eye Technologies Eqthy / a7f7e3f
These are theorems in the Boolean algebra document. Chris Pressey 1 year, 2 months ago
2 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
170170 Before we state the other De Morgan's law, we state a couple of other
171171 useful lemmas involving `not`.
172172
173 theorem
173 theorem (#comp-universe)
174174 not(1) = 0
175175 proof
176176 0 = 0
180180 not(1) = 0
181181 qed
182182
183 theorem
183 theorem (#comp-empty)
184184 not(0) = 1
185185 proof
186186 1 = 1
2727
2828 Requires [Set Difference](set-difference.eqthy.md)
2929 (which itself is based on [Boolean algebra](boolean-algebra.md)).
30
31 // TODO: these should be from boolean algebra
32 axiom (#comp-universe) not(1) = 0
33 axiom (#comp-empty) not(0) = 1
3430
3531 axiom (#interior-closed) diff(interior(X), X) = 0
3632 axiom (#interior-idem) interior(interior(X)) = interior(X)