Lesson 2 of 20
Rules make the cell — three words: AND, OR, NOT
Writing regulation down as logic
Switches on their own do nothing. The cell only moves once the switches press on each other. Writing down the rules of that pressing is what this lesson is about.
Figures in biology papers only ever show two kinds of arrow.
| Figure | Meaning | Logic |
|---|---|---|
| A → B | A switches B on (activation) | B* = A |
| A ⊣ B | A switches B off (inhibition) | B* = not A |
The star (*) marks the value at the next time step.
B* = A reads "if A is on now, then B is on at the next instant".
When several arrows come in, you have to decide between AND and OR. And you cannot tell which from the figure — the person building the model decides.
This is a truth table. Three lines and the entire grammar of Boolean modelling is done.
Python
Runs in your browser
Read the
Cancer_Growth rule out loud — "if CD47 is on and at the same time p53 is off".
Python
Runs in your browser
Trace the figure with your finger. How many places could you cut it?
Python
Runs in your browser
🎮 Rule bench
Swap AND for OR and see for yourself what changes.
🤔 Check yourself
For
C* = A and not B, which (A, B) switches C on?Answer A has to be on and B off at the same time. Put A=DDX54, B=p53, C=Cancer_Growth and this is exactly the condition for cancer in this circuit.
🤔 Check yourself
How do you decide whether the same arrow diagram becomes AND or OR?
Answer An arrow diagram only says who influences whom. The logic gate is an assumption made by the modeller, which is why lesson 18 goes back and shakes that assumption.
🤔 Check yourself
In
B* = not A, what does the star mean?Answer The left-hand side is the next step, the right-hand side is now. That gap in time is the subject of the next lesson.