Each notebook begins with the declaration of a frame (a substructural knowledge base). Subsequent cells are either plain text commentary or queries to be run on that frame. There are three types of frame. Run a cell with its ▶ button or Shift+Enter. View shows the notebook to read and run, with nothing in it changed; Edit lets it be changed. Share gives a link that holds the notebook as edited here. Export shows the page in a plaintext format, or as a Rust script. The script uses the nominalframes crate.
Shift
Enter
Share
Export
A frame is a consequence relation ⊢ over some sentences (called claimables), separated by commas. The consequence relation is given by listing the good sequents. Many people are used to sequents which have many things on the left and one thing on the right (the right hand side follows from assuming everything on the left) or nothing on the right (the set of things on the left lead to contradiction). However, these sequents have, in general, multiple claimables on both the left and the right. One way to make sense of this is called 'bilateralism': we think of the left hand side as assertions and the right hand side as denials, and a "good sequent" means that asserting this and denying that is out of bounds (one can check this aligns with the familiar length 0 and 1 right hand side lengths).
A sequent can be weakened by adding more claimables (to the left or the right). Ticking with weakenings is shorthand for adding a sequent and all of its weakenings. They are then listed below it, each ticked: untick one to leave it out. In a file, each one left out is on a line after the sequent, but not a, c ⊢ b. It is a common desire for any sequent with a claimable on both sides to be good (the bilateralist reading: it is out of bounds to assert and deny something in the same breath). Therefore all frames implicitly have these sequents added.
but not a, c ⊢ b
A frame, once declared, says how many roles it has. Two sequents are orthogonal when their sum, the premises of both and the conclusions of both, is good. For a sequent s, {s}⊥ is the sequents orthogonal to it, and {s}⊥⊥, the role it generates, is those orthogonal to all of {s}⊥: the sequents s incompatibility entails, each good wherever s is made good. A role is any set that is closed in this way, and not every role is generated by a single sequent. Opening Sequents names the sequents s1, s2, …, and lists for each why it is good, if it is, and the roles its perp is and it generates; a sequent may be good for several reasons, and all are given; those good by indefeasible reflexivity are listed after the table. Opening Roles names the roles r1, r2, …. Clicking the name of a sequent or a role, in either table or in the text, goes to its row. A role's sequents are listed by number, the first six, and the rest on hovering over how many more there are. Each role is shown with the sequents that generate it, and the last column says whether it is good, that is, within the good sequents; it is noted if it is the least or the greatest role, the unit of ⊗, the good sequents, or the role of a claimable asserted, a+, or denied, a−; in an indexed frame, also a later stage's role brought back by a quantifier, as ∀new. {⊢ a}: ∀ gives the greatest role in the earlier context that becomes it, and ∃ the least. Enter the numbers of some roles to combine them: by ⊗, the role the sums of their sequents generate; by ∧, the sequents in all of them; and by ∨, the role the sequents in any of them generate. A graph shows which of the roles entered are within which. In an indexed frame the roles are those in the context of a stage, and have sequents at that stage and at each later one: a sequent is named by its stage and its number there, as sign.3, and stands for itself at that stage and every later one.
{s}⊥
{s}⊥⊥
s1, s2, …
r1, r2, …
⊗
a
∀new. {⊢ a}
∀
∃
∧
∨
sign.3
An indexed frame has a directed, acyclic graph with a frame (as described above) for each of its vertices, which we call stages. We can think of this as frames which evolve over time. This is subject to some constraints: each later stage may only add new claimables (and new good implications). Just as the goodness of a sequent depends on which stage we are looking at, queries are also asked at particular stages.
A renaming frame's claimables are terms, predicates applied to names, as Motion(a, m). It declares its predicates with their degrees, as Motion/2, Adjacent/2 symmetric: symmetric or cyclic lets a predicate's arguments be read in any order, or rotated. Each sequent listed is good under every one-to-one renaming of its names, and the names of a question are its own. Questions may quantify over names, ∀x. A and ∃x. A, over every name. A ∀ concluded or an ∃ assumed holds just when each instance at a name of the question, or at one new name, does; a ∀ assumed or an ∃ concluded holds if one of them does. If none does, the question is undecided. Show why lists the atomic sequents it comes down to, each good one with the sequent listed that it renames, and each such instance.
Motion(a, m)
Motion/2, Adjacent/2 symmetric
symmetric
cyclic
∀x. A
∃x. A
The frame was a consequence relation ⊢ on the finite set of user-declared claimables; however, this canonically induces a semantic consequence relation ⊨ on logical composites of claimables. Formulas use ¬ ∧ ∨ →, ⊤ and ⊥, and parentheses, with A → B read as ¬A ∨ B; the buttons under the bar insert each symbol, or write ~ & | -> true false.
¬ ∧ ∨ →
⊤
⊥
A → B
¬A ∨ B
~ & | -> true false
Clicking a question's ⊨, in Edit mode, makes it a bi-entailment, ⟚, asked both ways: Γ ⟚ Δ holds just when Γ ⊨ Δ and Δ ⊨ Γ both do, so a, b ⟚ c is a, b ⊨ c and c ⊨ a, b. Show why gives each in a column of its own. In a file it is written ⟚ or =||=.
⊨
⟚
Γ ⟚ Δ
Γ ⊨ Δ
Δ ⊨ Γ
a, b ⟚ c
a, b ⊨ c
c ⊨ a, b
=||=
Show why first gives the question as roles: each formula as the pair of its roles, asserted and denied, the one its side does not use greyed, and then the role of the question, the ⊗ of those used, which is good, ✓, just when the question holds. It then lists the atomic sequents the question is equivalent to, by the sequent rules for the connectives, each ✓ if it is good and ✗ if not; it holds just when every one is ✓. Those good by indefeasible reflexivity are left out. For a question with quantifiers, it lists the sequents its rules check, each at a stage: a quantifier concluded with ∀ or assumed with ∃ gives its body at the later stage; one assumed with ∀ or concluded with ∃ gives its body there and every observation at the earlier stages that incompatibility entails it. Again it holds just when every one is ✓, and one with a claimable on both sides is good by indefeasible reflexivity.
Double-click text to edit Markdown while in Edit mode; Shift+Enter or Escape shows it again. In a file, text straight after text is its own cell when a line <!-- cell --> parts them.
<!-- cell -->
Each cell has a name by its place, cell-1, cell-2, …: the heading of text that opens with one is a link to it. A query is also named by its place among the queries, query-1, query-2, …, and its Query 4 is a link to it. Text links to either as [above](#cell-3) or [above](#query-4). After following a link to a cell, a sequent or a role, Back in the bar returns to where it was followed from.
cell-1
cell-2
query-1
query-2
[above](#cell-3)
[above](#query-4)
To refer to a role of the frame, write it between double square brackets, as [[{r ⊢ c}]]. It shows as the role's number in the frame's table of roles, such as r12, and keeps up as the frame changes; hovering shows what was written and the role's sequents. If it cannot be read it shows as written, in red, with the reason on hovering. A role is written as:
[[{r ⊢ c}]]
{r ⊢ c}
{r ⊢}
r
{⊢ r}
X⊥
X
X ⊗ Y
X ∧ Y
X ∨ Y
∀new. X
∃new. X
new
In an indexed frame a role is in the context of the first stage declared, unless it names another before a colon, as [[new: {r ⊢} ⊗ {⊢ a}]]; its number is shown with that stage.
[[new: {r ⊢} ⊗ {⊢ a}]]