Skip to content
The Lumenary

Practice · First-year graduate

Categorical logic

Categorical logic

Warm-upHuman

In the Heyting algebra O(R)\mathcal{O}(\R) of open subsets of R\R, let W=R∖{0}W = \R \setminus \{0\}. What are ¬W\neg W and ¬¬W\neg\neg W?

Choose one

Categorical logic

Warm-upHuman

Which of these categories are cartesian closed? (Choose all that apply.)

Choose all that apply

Categorical logic

CoreHuman

In the three-element Heyting algebra 0<12<10 \lt \tfrac12 \lt 1, for how many elements aa does a∨¬a=1a \vee \neg a = 1 hold?

Categorical logic

CoreHuman

Since f∗⊣∀ff^* \dashv \forall_f, the universal quantifier is a right adjoint, and right adjoints preserve limits (in a poset: meets). Which logical law is an instance of exactly this fact?

Choose one

Categorical logic

CoreHuman

In the proof that intuitionistic logic is sound for Heyting algebras, one rule needs the distributive law c∧(a∨b)=(c∧a)∨(c∧b)c \wedge (a \vee b) = (c \wedge a) \vee (c \wedge b). Which rule, and why does the distributive law hold in every Heyting algebra?

Choose one

Categorical logic

CoreFormal

With forallAlong f S = {y | ∀ x, f x = y → x ∈ S}, which Lean statement says that ∀ is right adjoint to pulling back along f : X → Y (for S : Set X, T : Set Y)?

Choose one

Categorical logic

CoreHuman

How many closed βη-normal terms of type A×A→A×AA \times A \to A \times A are there, for a base type AA?

Categorical logic

StretchHuman

A student claims: "Intuitionistic logic proves ¬(P∨¬P)\neg(P \vee \neg P); that is what rejecting excluded middle means." Which response is correct?

Choose one

Categorical logic

StretchComputational

A finite topology is given as a set opens of frozensets. Write neg(opens, u), returning the pseudo-complement of the open set u (the union of all open sets disjoint from u), and is_boolean(opens, space), returning True exactly when u | neg(opens, u) == space for every open u.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.