CC-BY 2026 Chris Liu & James B. Wilson
flowchart TD
C["Competing Pair"]
S["String"]
I["Int"]
H["Pair"]
%% C -->|new Pair| H
C -->|get String| S
H -->|get String| S
H -->|get Int| I
C -->|get Int| I
2. Shape the goal as single logical sentence, first in words, then replace key logical operators with appropriate logical symbols and grammar.
E.g. \((N_B=N_S) \wedge \biggl( (P_B=P_S)\vee (A_B=A_S)\biggr)\)
| \((N_B\neq N_S)\wedge ((P_B = P_S)\vee (A_B \approx A_S))\) | \(\bot\) | No Merge |
| \((N_B=N_S)\wedge ((P_B=P_S)\vee (A_B=A_S))\) | \(\top\) | Merge |