Unfinished learning resource · TMP-SCI-074. Units 1–8 are available. All eight planned units have manuscripts; whole-course validation remains unfinished. This is provisional noncredit self-study, not a completed semester, academic credit or an accredited programme. Proposed week-7 work is approximately twelve hours across reading, practice, revision and project; this estimate and all rubrics are unpiloted. Specialist review and actual learner/accessibility testing remain necessary.
Work on paper or in an existing local editor. No accounts, software installation, real participant data or uploads are required. Diagrams have complete text equivalents. Typed or handwritten reasoning is suitable; a local spoken explanation with a written list of pairs/calculations is an alternative. Attempt tasks before opening the separate explained answers. Keep both first attempts and corrections.
Preparation and outcomes
Use the delivered Mathematical Reasoning and Proof teaching for sets, ordered pairs, Cartesian products, functions, quantified implications and direct/counterexample arguments. This unit applies those ideas to discrete structures; it does not replace or extend that reserved course. Earlier Discrete Mathematics units provide finite counts, disjoint partitions and constructive checking. Recurrence solving is not required here. No graph algorithms or abstract algebra are assumed.
After practice, you should be able to:
- O1. Specify a finite relation's carrier and ordered pairs, and prove or refute its stated properties.
- O2. Establish the two-way connection between equivalence relations and partitions, including class membership and representative independence.
- O3. Distinguish a non-strict partial order from a total order and encode it with a complete text description of its covers.
- O4. Find minimal, maximal, least and greatest elements, and bounds of a selected subset, without confusing those roles.
- O5. Build and audit a quotient-based model, preserving what is and is not justified when records are grouped.
Readiness
R1. For A={p,q}, list A×A. Does (p,q) equal (q,p)? Explain what a subset of A×A can specify.
R2. Negate: “For every x in A, (x,x) belongs to R.” What evidence refutes it on a nonempty finite A?
R3. A function f sends a,b,c,d to 0,0,1,1 respectively. List the ordered pairs (x,y) with f(x)=f(y). Count them without discarding self-pairs.
R4. Compare {r}⊆{r,b} with {r,b}⊆{r}. State a mathematical reason, not a visual size guess.
Session A. Relations are rules about ordered pairs
1. Fix the carrier before testing the rule
A binary relation from A to B is a subset R of A×B. We write x R y for (x,y)∈R. A relation on A is a subset of A×A. It need not give each input exactly one output, so it need not be a function. The carrier is part of the model: the same displayed pairs may have different properties when the carrier changes.
On A={0,1,2}, let R={(0,0),(1,1),(2,2),(0,1),(1,2)}. A pair table has rows for the first entry and columns for the second. Its rows in column order 0,1,2 are 110, 011, 001, where 1 means present and 0 means absent. This table specifies all nine membership decisions, not just a suggestive picture. R is not a function A→A: input 0 has two outputs.
A complete finite check can prove a property on this specified A because every relevant case has been exhausted. It is not proof of the same claim for all sizes or every related model. If A were changed to {0,1,2,3} while R stayed fixed, the absent pair (3,3) would matter immediately.
2. Four different obligations
For a relation R on A:
- Reflexive: every x∈A satisfies x R x.
- Symmetric: whenever x R y, also y R x.
- Antisymmetric: whenever both x R y and y R x hold, x=y.
- Transitive: whenever x R y and y R z hold, x R z.
Each implication includes all allowed x,y,z, including equal values. Symmetric and antisymmetric are not opposites. Equality on A satisfies both: it has no distinct pair related either way. A relation may satisfy neither. Antisymmetric does not forbid self-pairs and does not require every distinct pair to be related. It forbids a two-way pair between distinct elements.
For the worked R above, reflexivity holds because all three self-pairs are listed. Antisymmetry holds because no distinct pair appears both ways. Symmetry fails at (0,1), since (1,0) is absent. Transitivity fails because 0 R 1 and 1 R 2 but not 0 R 2. Adding (0,2) repairs this particular failure; a repair must then be retested, not assumed to fix every property automatically.
To refute a universal property, supply a witness with its membership decisions. “Not symmetric” without a pair is not an explanation. To establish transitivity on a small table, inspect every possible middle element y: combine each incoming pair (x,y) with each outgoing pair (y,z), and check (x,z). A table with no composable pair satisfies transitivity vacuously; that does not make it reflexive.
G1. On {u,v}, classify equality E={(u,u),(v,v)} and the empty relation for all four properties. What changes for the empty relation on the empty carrier?
G2. On {0,1,2}, add (0,2) to worked R. Establish every property it has and give a witness for any it lacks. Is it the usual ≤ relation restricted to this carrier?
Session B. Equivalence means a justified grouping
3. From a common signature to classes
An equivalence relation is reflexive, symmetric and transitive. These obligations support consistent grouping. Suppose six fictional files a,b,c,d,e,f have declared format signatures X,X,Y,Y,Y,Z. Define x~y when their signatures are equal. Reflexivity follows from a signature equalling itself; symmetry from reversing equality; transitivity from substituting equal signatures. The groups are {a,b}, {c,d,e}, {f}.
The signature is specified data. The grouping does not establish identical contents, authorship, usefulness or permission to substitute one real file for another. Mathematical equivalence is always relative to the stated relation.
For an equivalence relation, define [a]={x∈A:a~x}. Reflexivity gives a∈[a]. If a~b, then [a]=[b]: for x∈[a], symmetry gives b~a and transitivity with a~x gives b~x, so [a]⊆[b]; reverse the roles for the other inclusion. Conversely, [a]=[b] implies b∈[b]=[a], hence a~b. Thus equivalent representatives name the same class.
Two classes that intersect are equal. If z∈[a]∩[b], then a~z and b~z. Symmetry gives z~b, so transitivity gives a~b; the preceding argument gives equal classes. Since each a lies in its class, the distinct classes cover A and are pairwise disjoint. None is empty. That is a partition of A: a family of nonempty, pairwise disjoint subsets whose union is A.
The set of distinct classes is written A/~, the quotient set. It is a set of subsets, not one selected record from each group. In the six-file example it has three elements, even though the original carrier has six. The relation itself has 2²+3²+1²=14 ordered pairs, since each block of size k contributes all k² ordered pairs, including its diagonal. Quotient size, carrier size and relation size answer different questions.
G3. For the six-file example, list [b], [d] and [f]. How many quotient elements and relation pairs are there? Explain why summing 2+3+1 is not the pair count.
4. From a partition back to a relation
Given a partition P of A, define x~P y if x and y lie in the same block. Every element has a block, so reflexivity holds. Being in one block is symmetric. For transitivity, if x,y share B and y,z share C, then y∈B∩C. Distinct blocks are disjoint, so B=C; therefore x,z share that block. These are exactly the equivalence classes because membership in [x] is membership in x's unique block.
This construction is inverse to taking the classes of an equivalence relation. It gives a precise correspondence, not merely similar-looking pictures. It also explains why overlapping categories are not automatically classes. If A={1,2,3} and proposed blocks are {1,2}, {2,3}, the relation “appears together in one listed block” relates 1 to 2 and 2 to 3 but not 1 to 3. It is not transitive. A repair that joins overlapping groups would make one class {1,2,3}; that changes the grouping rule and must be disclosed.
Diagram A, complete text equivalent: three disjoint boxes contain a,b; c,d,e; and f. Each object is in exactly one box. Within a box every ordered pair is related, including each object to itself; no pair across boxes is related. Box position has no mathematical meaning.
G4. Starting with the partition {{0,2,4},{1,3}}, define the relation in words, count its pairs and prove transitivity using unique block membership. What fails if an extra empty block is included in a claimed partition?
Session C. Ordering without forcing every pair to compare
5. A partial order is not a ranking score
We use non-strict partial order throughout: a reflexive, antisymmetric, transitive relation, written ≼. Two distinct elements are comparable if one precedes the other. A total order is a partial order in which every two elements are comparable. A strict relation such as < has a different reflexivity convention; do not mix them. We write x≺y as shorthand for x≼y and x≠y.
On positive integers, divisibility is a partial order: n divides itself; if positive a divides b and b divides a, write b=ka and a=lb with positive integers k,l, giving kl=1 and a=b; if b=ka and c=lb, then c=(lk)a. Positivity matters: on all integers, 2 divides −2 and −2 divides 2 but they are distinct, so antisymmetry fails. On D={1,2,3,6,12}, divisibility is not total because neither 2 divides 3 nor 3 divides 2.
Subset inclusion on any collection of sets is a partial order. Each set is contained in itself. Mutual inclusion gives equality by membership in both directions. Inclusion composes transitively. Two sets can be incomparable: {r} and {b} contain neither one another. Having the same size does not make them equal or comparable.
6. Covers are a compact description, not all related pairs
In a finite partial order, y covers x if x≺y and there is no z with x≺z≺y. A Hasse diagram places greater elements higher and draws only cover connections; it omits reflexive loops and relations implied by upward chains. Lines indicate order, not distance, time or numerical difference.
For D={1,2,3,6,12} ordered by divisibility, the cover pairs (lower,upper) are (1,2),(1,3),(2,6),(3,6),(6,12). The pair (1,6) belongs to the order but is not a cover, because 2 or 3 lies between. There are 14 ordered pairs in the full reflexive relation: respectively 5,3,3,2,1 starting from 1,2,3,6,12. Counting only the five drawn connections would lose information.
Diagram B, complete text equivalent: 1 is bottom; 2 and 3 are above it on separate branches; both lead upward to 6; 6 leads upward to 12. The five connections just listed are all covers. Reflexive membership is understood. All other order comparisons come from an upward path; 2 and 3 remain incomparable.
Why do covers suffice in a finite order? If x≺y is not a cover, choose an intermediate element. If a resulting interval is still not a cover, choose again. A strictly increasing chain cannot revisit an element, by antisymmetry and transitivity. Since the carrier is finite, the process terminates in a chain of covers. This argument depends on finiteness; it is not a claim that every infinite ordered set has covers between every comparable pair.
G5. On D remove 1, retaining divisibility on {2,3,6,12}. List covers, incomparable pairs and the full relation size. Explain why deleting a carrier element can change a diagram without changing the definition of divisibility.
Session D. Extremes, bounds and representative choices
7. Minimal does not mean least
An element m is minimal if no distinct x lies below it. A least element l lies below every element. Least implies minimal: if x≼l and l≼x, antisymmetry forces x=l. A least element, if it exists, is unique: two least elements lie below one another and so are equal. A maximal element has no strictly greater element; a greatest element lies above every element. These are the reversed definitions.
In {2,3,6,12}, the minimal elements are 2 and 3; neither is least. The unique maximal and greatest element is 12. “Choose the smallest label” does not answer an order question: the relation is divisibility, not numerical ≤. In {2,3,6,10}, minimal elements are 2 and 3, maximal elements 6 and 10, and there is neither least nor greatest.
Every nonempty finite partially ordered set has a minimal element. Start anywhere. If the current element is not minimal, choose a strictly smaller one. Strict descent cannot repeat an element: a repetition would imply an element is strictly below itself. The finite carrier prevents endless distinct choices, so descent stops at a minimal element. Reversing the argument gives a maximal element. This is existence, not uniqueness. The integers with usual ≤ have no minimal element, showing why “finite” cannot be erased.
A bound is relative to a chosen subset B and a specified ambient ordered set A. A lower bound l∈A satisfies l≼b for every b∈B; l need not belong to B. An upper bound is defined in reverse. The greatest lower bound is a greatest member of the lower-bound set; the least upper bound is a least member of the upper-bound set. Either may be absent. We consider nonempty B in this unit.
In D={1,2,3,6,12}, B={2,3} has lower-bound set {1} and upper-bound set {6,12}; hence greatest lower bound 1 and least upper bound 6. In ambient {2,3,6,12}, the same B has no lower bound. Do not import 1 from outside the declared carrier. In the full power set of {r,b,g}, intersection and union give greatest lower and least upper bounds, by the definition of inclusion. An arbitrary restricted collection need not contain either set.
G6. In the subset order A={{r},{b},{r,b},{r,g},{b,g},{r,b,g}}, find minimal/maximal and least/greatest elements. For B={{r,g},{b,g}}, find all lower and upper bounds in A. Explain why an intersection computed outside A is not automatically a bound in A.
8. Quotient first, then order: a model that needs two relations
Suppose records carry sets of available features. On records define x~y when their feature sets are equal. This is an equivalence relation even when different records share a set. Separately define x R y when the feature set of x is contained in that of y. R is reflexive and transitive, but if distinct records have the same set, R is not antisymmetric. It is not a partial order on those records.
There is a principled repair if the model's purpose is comparison of feature signatures: use the equivalence classes as objects. Define [x]≼[y] when the feature set of x is contained in that of y. This is well-defined: replacing x or y by an equivalent record leaves both feature sets unchanged, hence leaves the truth of the comparison unchanged. Reflexivity and transitivity follow from inclusion. Mutual inclusion makes the two feature sets equal, which makes [x]=[y]; this proves antisymmetry on classes.
The choice of grouping matters. Grouping by number of features instead does not make that subset test representative-independent. {r} and {b} have the same size, but {r}⊆{r,g} while {b} is not contained in {r,g}. A comparison that changes when a representative changes is not a defined relation on the proposed classes. One could choose a different rule comparing sizes, but that would be a different model and would discard which features are present.
Diagram C, complete text equivalent: two records with signature {r} enter the same class box; another with {r,b} enters a different box. There are arrows both ways between the two {r} records under subset comparison, violating record-level antisymmetry. At class level they are one object, and the {r} box lies strictly below the {r,b} box. Grouping is based on exact signatures, not perceived usefulness.
Independent practice
I1. On {a,b,c}, let R={(a,a),(b,b),(c,c),(a,b),(b,a),(b,c),(c,b)}. Test all four properties with explicit witnesses. Give the smallest equivalence relation containing R and explain why its additional pairs are forced.
I2. For A={0,1,2,3,4,5,6}, define x~y when x and y leave the same remainder on division by 3. List distinct classes, count relation pairs and prove equivalence by using the remainder function. Do not assume equal class sizes.
I3. On a set of four named elements, how many equivalence relations have class sizes 3 and 1? How many have sizes 2 and 2? Justify the different counting treatment of the two blocks.
I4. On the full power set of {r,b}, give every cover pair, the full relation size, all extremes and whether the order is total.
I5. On {2,3,6,10} ordered by divisibility, find bounds of {2,3} and of {6,10}. Identify any greatest lower or least upper bound. Keep the ambient set fixed.
I6. Prove that a relation on A that is both an equivalence relation and a partial order must be equality on A. Your argument must prove both inclusions.
I7. A learner says “antisymmetric means never symmetric” and “every maximal element is greatest.” Refute each claim with a complete finite example and identify the exact missing distinction.
I8. Records p,q,s have signatures {r},{b},{r,b}. A fourth record t has {r}. Test antisymmetry of record-level subset comparison. Then state the quotient carrier and all its strict comparisons.
Homework and proof repair
H1. Prove the class-intersection theorem without assuming classes are already a partition. Identify each use of reflexivity, symmetry and transitivity, including where nonemptiness enters.
H2. Prove that a nonempty finite partially ordered set with exactly one minimal element has a least element. Hint: apply finite descent within the elements below an arbitrary x. Explain why unique minimal alone is not established by looking at a few diagram labels.
H3. Audit this proposed proof: “All blocks cover A. Therefore the same-block relation is transitive.” State the missing hypothesis and supply a covering counterexample when it is absent. Repair the proof under the full partition definition.
Retrieval and changed-data quiz
Attempt without the worked examples; use the key for correction afterward. Each item is worth four formative points, maximum 24. No pass mark or recorded grade is implied.
Q1. A={x,y,z}, R={(x,x),(y,y),(z,z),(x,y)}. Is R an equivalence relation, partial order, total order, or none? Justify all three classifications.
Q2. A partition of a nine-element set has block sizes 2,3,4. Give the quotient size and relation size, explaining why they differ.
Q3. In {1,2,4,6,12} ordered by divisibility, list all covers and all incomparable unordered pairs.
Q4. In the same order, find the lower and upper bounds of {4,6}, and its greatest lower and least upper bound.
Q5. Explain why one counterexample can refute transitivity but one successful triple cannot establish it in a larger carrier. Give a failing triple from I1.
Q6. Can a relation be symmetric and antisymmetric but not reflexive? Give a specified nonempty carrier and relation, and justify all three claims.
Project P1. A signature catalogue with an audit trail
A fictional catalogue has records A,B,C,D,E,F,G with exact feature sets:
A:{r}; B:{r}; C:{b}; D:{r,b}; E:{r,g}; F:{r,b,g}; G:{b,g}.
Features are abstract labels, not permissions or real capabilities. No price, reliability, accessibility or preference data are supplied. Use only this packet.
(a) Define exact-signature equivalence. List the classes, quotient size and ordered-pair count. Prove equivalence from the signature function.
(b) Define subset comparison on records. Prove reflexivity/transitivity and exhibit the failure of antisymmetry. State why grouping records by feature count is not a valid repair for the SAME subset rule, using particular representatives.
(c) Define the quotient order, prove representative independence and all partial-order properties. Give all cover pairs using signatures as class labels, with a prose diagram equivalent. Count all pairs in the full quotient order and justify the difference from the cover count.
(d) Identify minimal/maximal and least/greatest elements. Find bounds of the two classes with signatures {r,g} and {b,g}. Explain why the largest feature set does not by itself prove “best catalogue item.”
(e) Change the packet by adding H:{g} and I:{}. Recompute classes, equivalence-pair count, quotient-order pair count, covers and extremes. Explain what changed in the bound problem, keeping original and new results separate.
(f) Submit a correction ledger: one original claim you checked, evidence, any repair or justified retention, and a changed example that tests the same distinction. Do not invent an error. Include a short argument about what the grouping preserves and what it discards.
Use a clear list or table; no drawing software is needed. Explain reasoning rather than submitting only a machine-generated enumeration. Formative rubric, maximum 32: equivalence and counts 6; record relation and rejected repair 5; well-defined quotient/properties 7; covers/bounds/interpretation 6; changed packet and revision 8. The separate key gives anchors. Strong arithmetic cannot compensate for a relation that is not well-defined; repair that model before treating the project as complete. No individual score certifies competence.
Delayed transfer D1
D1. After a break, work without the project key. Three fictional document versions have section sets U={intro}, V={intro,methods}, W={intro,results}. Define containment order. Find its extremes and bounds of {V,W}. Then a fourth version X={intro,methods,results} is added. Which answers change? Distinguish “contains all sections” from “is an approved revision.” Give one next evidence question that mathematics alone cannot answer. This is a new supplied model, not permission to inspect private documents.
Exit and next unit
Explain the difference between grouping and ordering using one example you created. Reattempt one failed task with a changed carrier before claiming understanding. Continue with Unit 5, graphs, degrees, paths and connectivity. Cover diagrams are a finite-order representation, not completion of graph theory. Units 1–8 are available in this reader; whole-course validation remains unfinished.
References and rights
Optional topic references: Oscar Levin, Discrete Mathematics: An Open Introduction, fourth edition, Relations and Graphs; Jacob Lurie, Math 155, Lecture 19, page 1, for non-strict orders, minimal/least distinctions and finite minimal-element existence. These identify conventional concepts; our exercises, packets and explanations are original, not extracted source assessments. The unit uses the reflexive/non-strict convention explicitly. Public links do not imply endorsement or permission to reproduce other assets. These optional references do not validate the full course. The retained whole-course sourceGap=true is unchanged.