Method |
Description |
|
dataProviderForSingleSet ( ) |
|
|
dataProviderForThreeSets ( ) |
|
|
dataProviderForTwoSets ( ) |
|
|
dataProviderForTwoSetsDifferent ( ) |
|
|
testACartesianProductWithEmptySetIsEmptySet ( Set $A ) |
Axiom: A × Ø = Ø
A cartesian product with empty set is the empty set |
|
testACrossUnsionBCEqualsACrossBUnionACrossC ( Set $A, Set $B, Set $C ) |
Axiom: A × (B ∪ C) = (A × B) ∪ (A × C)
A cross union of B and C is the union of A cross B and A cross C |
|
testADiffBDifferentFromBDiffAWhenNotEqual ( Set $A, Set $B ) |
Axiom: A ∖ B ≠ B ∖ A for A ≠ B
A diff B does not equal B diff A if A and B are different sets |
|
testADiffItselfIsEmptySet ( Set $A ) |
Axiom: A ∖ A = Ø
A diff itself is the empty set |
|
testAIntersectionAEqualsA ( Set $A ) |
Axiom: A ∩ A = A
A intersection A equals A |
|
testAIntersectionBIsSubsetOfA ( Set $A, Set $B ) |
Axiom: (A ∩ B) ⊆ A
A intersect B is a subset of A |
|
testAIntersectionEmptySetIsEmptySet ( Set $A ) |
Axiom: A ∩ Ø = Ø
A union empty set is A |
|
testAIsSubsetOfAUnionB ( Set $A, Set $B ) |
Axiom: A ⊆ (A ∪ B)
A is a subset of A union B |
|
testASymmetricDifferentBEqualsUnionADiffBAndBDiffA ( Set $A, Set $B ) |
Axiom: A Δ B = (A ∖ B) ∪ (B ∖ A)
A symmetric different B equals union of A diff B and B diff A |
|
testAUnionAEqualsA ( Set $A ) |
Axiom: A ∪ A = A
A union A equals A |
|
testAUnionEmptySetEqualsA ( Set $A ) |
Axiom: A ∪ Ø = A
A union empty set is A |
|
testAUnsionBCrossCEqualsUnsionOfACRossCAndBCrossC ( Set $A, Set $B, Set $C ) |
Axiom: (A ∪ B) × C = (A × C) ∪ (B × C)
A union B cross C is the union of A cross C and B cross C |
|
testCardinalityOfCartesianProduct ( Set $A, Set $B ) |
Axiom: |A × B| - |A| * |B|
The cardinality (count) of the cartesian product is the product of the cardinality of A and B |
|
testCardinalityOfPowerSet ( Set $A ) |
Axiom: |S| = n, then |P(S)| = 2ⁿ
The cardinality (count) of a power set of S is 2ⁿ if the cardinality of S is n. |
|
testCardinalityOfUnion ( Set $A, Set $B ) |
Axiom: |A ∪ B| = |A| + |B| - |A ∩ B|
The cardinality (count) of unsion of A and B is equal to the cardinality of A + B minus the cardinality of A intersection B |
|
testEmptySetSubsetOfEverySet ( Set $A ) |
Axiom: Ø ⊆ A
The empty set is a subset of every set |
|
testEqualSetsAreSubsetsInBothDirections ( Set $A ) |
Axiom: A = B iff A ⊆ B and B ⊆ A
Sets are equal if and only if they are both subsets of each other. |
|
testIntersectionAbsorbtion ( Set $A, Set $B ) |
Axiom: A ∩ (A ∪ B) = A
Intersection absorbtion law |
|
testIntersectionAssociative ( Set $A, Set $B, Set $C ) |
Axiom: A ∩ (B ∩ C) = (A ∩ B) ∩ C
Intersection is associative |
|
testIntersectionCommutative ( Set $A, Set $B ) |
Axiom: A ∩ B = B ∩ A
Intersection is commutative |
|
testIntersectionDistributive ( Set $A, Set $B, Set $C ) |
Axiom: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
Intersection is distributive |
|
testSetIsSubsetOfItself ( Set $A ) |
Axiom: A ⊆ A
Every set is a subset of itself |
|
testUnionAbsorbtion ( Set $A, Set $B ) |
Axiom: A ∪ (A ∩ B) = A
Union absorbtion law |
|
testUnionCommutative ( Set $A, Set $B ) |
Axiom: A ∪ B = B ∪ A
Union is commutative |
|
testUnionDistributive ( Set $A, Set $B, Set $C ) |
Axiom: A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
Union is distributive |
|
testUnsionAssociative ( Set $A, Set $B, Set $C ) |
Axiom: A ∪ (B ∪ C) = (A ∪ B) ∪ C
Unsion is associative |
|