Foobar Structures (Exam Drill)
A custom exam structure: υ:S×S→ℕ with two axioms
A foobar structure is a custom exercise from the SMAI exam (exam-SS25-with-solutions.pdf, problem 4.1). The definition:
A structure where is a set and is a TOTAL FUNCTION is called a foobar iff:
1. for all (the diagonal is 1).
2. For all : iff (symmetric values characterize equality).
This is a perfect example of the magma-hierarchy idea: we have ONE set, ONE binary operation (returning ), and TWO axioms — plus the meta-requirement that is total.
Worked problem 4.1.1 — find for :
The only input pair is , and we need . So .
Worked problem 4.1.2 — find for :
Constraints:
- for all → so .
- For : (must hold; otherwise would not follow). So must be SYMMETRIC on distinct elements.
One simple choice: for all . Check: if for , both equal 2 — yes. And if , then — yes.
Problem 4.1.3 — product of foobars (counterexample):
If and are foobars, is a foobar, where ?
Answer: NO — the diagonal condition fails: .
- 0.0sFoobar Structures
- 1.0sA 3 by 3 grid fills with values v(x,y)
- 3.9sDiagonal cells boxed green with note v(x,x) = 1
- 5.1sPair cells boxed cyan with note v(1,2) = v(2,1)
- 6.3sCounter-example 2x2 grid appears below
- 7.5sRed X crosses the diagonal cells, v(x,x) is not 1
- 8.7sTwo axioms: v(x,x)=1 and v(x,y)=v(y,x) imply a=b