Chapter 5Mathematical Structuresexam-SS25-with-solutions.pdf:4-5

Foobar Structures (Exam Drill)

A custom exam structure: υ:S×S→ℕ with two axioms

Concept

A foobar structure is a custom exercise from the SMAI exam (exam-SS25-with-solutions.pdf, problem 4.1). The definition:

A structure S,υ\langle S, \upsilon \rangle where SS is a set and υ:S×SN\upsilon : S \times S \to \mathbb{N} is a TOTAL FUNCTION is called a foobar iff:
1. υ(a,a)=1\upsilon(a, a) = 1 for all aSa \in S (the diagonal is 1).
2. For all a,bSa, b \in S: a=ba = b iff υ(a,b)=υ(b,a)\upsilon(a, b) = \upsilon(b, a) (symmetric values characterize equality).

This is a perfect example of the magma-hierarchy idea: we have ONE set, ONE binary operation (returning N\mathbb{N}), and TWO axioms — plus the meta-requirement that υ\upsilon is total.

Worked problem 4.1.1 — find υ\upsilon for S={1}S = \{1\}:
The only input pair is (1,1)(1, 1), and we need υ(1,1)=1\upsilon(1, 1) = 1. So υ(1,1):=1\upsilon(1, 1) := 1.

Worked problem 4.1.2 — find υ\upsilon for S={1,2,3}S = \{1, 2, 3\}:
Constraints:
- υ(a,a)=1\upsilon(a, a) = 1 for all aa → so υ(1,1)=υ(2,2)=υ(3,3)=1\upsilon(1,1) = \upsilon(2,2) = \upsilon(3,3) = 1.
- For aba \neq b: υ(a,b)=υ(b,a)\upsilon(a, b) = \upsilon(b, a) (must hold; otherwise a=ba = b would not follow). So υ\upsilon must be SYMMETRIC on distinct elements.
One simple choice: υ(a,b)=2\upsilon(a, b) = 2 for all aba \neq b. Check: if υ(a,b)=υ(b,a)\upsilon(a, b) = \upsilon(b, a) for aba \neq b, both equal 2 — yes. And if υ(a,b)=υ(b,a)=1\upsilon(a, b) = \upsilon(b, a) = 1, then a=ba = b — yes.

Problem 4.1.3 — product of foobars (counterexample):
If S,υS\langle S, \upsilon_S \rangle and T,υT\langle T, \upsilon_T \rangle are foobars, is S×T,υS×T\langle S \times T, \upsilon_{S \times T} \rangle a foobar, where υS×T((s1,t1),(s2,t2))=υS(s1,s2)+υT(t1,t2)\upsilon_{S \times T}((s_1, t_1), (s_2, t_2)) = \upsilon_S(s_1, s_2) + \upsilon_T(t_1, t_2)?
Answer: NO — the diagonal condition fails: υS×T((s,t),(s,t))=υS(s,s)+υT(t,t)=1+1=21\upsilon_{S \times T}((s, t), (s, t)) = \upsilon_S(s, s) + \upsilon_T(t, t) = 1 + 1 = 2 \neq 1.

Animation — foobar
Transcript — click a line to jump7 cues
  1. 0.0sFoobar Structures
  2. 1.0sA 3 by 3 grid fills with values v(x,y)
  3. 3.9sDiagonal cells boxed green with note v(x,x) = 1
  4. 5.1sPair cells boxed cyan with note v(1,2) = v(2,1)
  5. 6.3sCounter-example 2x2 grid appears below
  6. 7.5sRed X crosses the diagonal cells, v(x,x) is not 1
  7. 8.7sTwo axioms: v(x,x)=1 and v(x,y)=v(y,x) imply a=b
Worked example
Step 0 of 2
Practice — score 100% to advance
Multiple choice
Q1
Per the foobar definition, what is upsilon(a, a) for any a ∈ S?
Q2
The foobar axioms also require upsilon to be…
Q3
For S = {1}, what is the only possible value of upsilon(1, 1)?
Q4
Why is upsilon required to be SYMMETRIC for distinct elements (a ≠ b)?
Q5
Why does the product of foobars (with the + definition) FAIL the diagonal axiom?
Loading…