Consistent with the site UI style. Content sourced from Notion review pages, structured and organized.与站点现有 UI 风格保持一致。内容来源于 Notion 复习页并做结构化整理。
∈、⊆、并/交、空集与基数,连续整数区间
从大小 m 到大小 n:函数/单射/满射
P only if Q、Q if P、否定、核心等价
X=A∩B, Y=A∪C, Z=A⊕B 的恒真与反例
$\lfloor x \rfloor$ 性质、等式/不等式真假判定
$ax \equiv b \pmod{m}$ 的解法与判定
Hasse 图、极大/极小元、全序子集
排列组合在 Wordle 游戏中的应用
桥的定义、判定与图连通性
17/10/3 难度分布,含解析与统计
符号: $x\in A$ (属于)、$A\subseteq B$ (子集)、$A\cup B$ (并)、$A\cap B$ (交)、$\varnothing$ (空集)、$|A|$ (基数)。
连续整数的基数: $|\{a,a+1,\dots,b\}| = (b-a)+1$。
核心技巧:区分"集合的集合"与"元素的集合"
当集合 $A=\{S_1, S_2, \dots, S_{16}\}$ 时,$A$ 的元素是**集合** $S_n$ 本身,所以 $|A|=16$。而 $B=\bigcup S_n$ 是把所有 $S_n$ 的**元素**合并,计算的是元素的总数。
例题:一串相互重叠的整数区间 $S_n = \{x \in \mathbb{Z} \mid 1000-n \le x \le 1326+n\}$,其中 $n \in \{0, 1, \dots, 15\}$。
设定义域 $A$,$|A|=m$;陪域 $B$,$|B|=n$。
例题:从 $A=\{1,2,3\}$ ($m=3$) 到 $B=\{a,b,c,d\}$ ($n=4$) 的函数。
核心等价: $A\to B \equiv \neg A\lor B$。这是所有逻辑翻译的基石。
否定 (Negation): $\neg(A\to B) \equiv A \land \neg B$ (箭头变AND,后面取反)。
分组与推导:
| 英文句式 | 逻辑式 | 推导 |
|---|---|---|
| if P, then Q P only if Q Q if P | $P\to Q$ | 标准蕴含 |
| if Q, then P P or not Q | $Q\to P$ | $Q\to P \equiv \neg Q \lor P$ |
| if not Q, then P P or Q | $P\lor Q$ | $\neg Q\to P \equiv \neg(\neg Q)\lor P \equiv Q\lor P$ |
| P and not Q | $P\land\neg Q$ | 直接翻译,是 $P\to Q$ 的否定 |
定义: $X = A \cap B$, $Y = A \cup C$, $Z = A \oplus B = (A\cup B)\setminus(A\cap B)$。
恒真命题证明:
常见陷阱与反例:
命题 $Y\subseteq X\cup Z$ 不总为真。反例:$A=\{1\},B=\{2\},C=\{3\}$。此时 $Y=\{1,3\}$,而 $X=\varnothing, Z=\{1,2\}$,故 $X\cup Z=\{1,2\}$。显然 $\{1,3\} \not\subseteq \{1,2\}$。
两大核心策略:
定义: $\lfloor x \rfloor$ 是小于等于 $x$ 的最大整数。
核心性质:
例题:判定以下命题的真假:
标准形式: $ax \equiv b \pmod{m}$,求整数解 $x$。
解的存在性: 设 $d = \gcd(a, m)$。
求解步骤:
例题:解 $6x \equiv 4 \pmod{10}$。
定义: 偏序集 $(P, \preceq)$ 是一个集合 $P$ 配备一个满足以下性质的二元关系:
重要概念:
例题:给定 Hasse 图,找出极大元、极小元和最长全序子集。
Wordle 规则简化版:
排列组合计算:
例题:如果已知答案是 S_ORE(第二个字母未知),有多少种可能?
桥的定义: 在连通图 $G$ 中,边 $e$ 是桥当且仅当删除 $e$ 后图不再连通。
等价条件: 以下条件等价:
判定算法(DFS):
例题:给定图,找出所有的桥。
∈, ⊆, union/intersection, empty set & cardinality, consecutive integer intervals
From size m to size n: functions/injections/surjections
P only if Q, Q if P, negation, core equivalences
X=A∩B, Y=A∪C, Z=A⊕B: always true vs counterexamples
$\lfloor x \rfloor$ properties, truth of equations/inequalities
Solving $ax \equiv b \pmod{m}$
Hasse diagrams, maximal/minimal elements, chains
Permutations and combinations in Wordle game
Bridge definition, detection, and graph connectivity
17/10/3 difficulty distribution, with solutions & statistics
Notation: $x\in A$ (belongs to), $A\subseteq B$ (subset), $A\cup B$ (union), $A\cap B$ (intersection), $\varnothing$ (empty set), $|A|$ (cardinality).
Cardinality of consecutive integers: $|\{a,a+1,\dots,b\}| = (b-a)+1$.
Key Technique: Distinguish "set of sets" from "set of elements"
When set $A=\{S_1, S_2, \dots, S_{16}\}$, the elements of $A$ are the **sets** $S_n$ themselves, so $|A|=16$. Meanwhile $B=\bigcup S_n$ merges all **elements** of each $S_n$, computing the total number of elements.
Example: A sequence of overlapping integer intervals $S_n = \{x \in \mathbb{Z} \mid 1000-n \le x \le 1326+n\}$, where $n \in \{0, 1, \dots, 15\}$.
Let domain $A$, $|A|=m$; codomain $B$, $|B|=n$.
Example: Functions from $A=\{1,2,3\}$ ($m=3$) to $B=\{a,b,c,d\}$ ($n=4$).
Core equivalence: $A\to B \equiv \neg A\lor B$. This is the cornerstone of all logical translations.
Negation: $\neg(A\to B) \equiv A \land \neg B$ (arrow becomes AND, negate the consequent).
Grouping & Derivation:
| English Phrase | Logical Form | Derivation |
|---|---|---|
| if P, then Q P only if Q Q if P | $P\to Q$ | Standard implication |
| if Q, then P P or not Q | $Q\to P$ | $Q\to P \equiv \neg Q \lor P$ |
| if not Q, then P P or Q | $P\lor Q$ | $\neg Q\to P \equiv \neg(\neg Q)\lor P \equiv Q\lor P$ |
| P and not Q | $P\land\neg Q$ | Direct translation; negation of $P\to Q$ |
Definitions: $X = A \cap B$, $Y = A \cup C$, $Z = A \oplus B = (A\cup B)\setminus(A\cap B)$.
Proving always-true propositions:
Common Pitfalls & Counterexamples:
The proposition $Y\subseteq X\cup Z$ is not always true. Counterexample: $A=\{1\},B=\{2\},C=\{3\}$. Then $Y=\{1,3\}$, while $X=\varnothing, Z=\{1,2\}$, so $X\cup Z=\{1,2\}$. Clearly $\{1,3\} \not\subseteq \{1,2\}$.
Two Core Strategies:
Definition: $\lfloor x \rfloor$ is the greatest integer less than or equal to $x$.
Key Properties:
Example: Determine if the following are always true:
Standard Form: $ax \equiv b \pmod{m}$, find integer solutions for $x$.
Existence of Solutions: Let $d = \gcd(a, m)$.
Solving Steps:
Example: Solve $6x \equiv 4 \pmod{10}$.
Definition: A poset $(P, \preceq)$ is a set $P$ equipped with a binary relation satisfying:
Key Concepts:
Example: Given a Hasse diagram, find maximal elements, minimal elements, and longest chain.
Simplified Wordle Rules:
Permutation & Combination Formulas:
Example: If the answer is known to be S_ORE (second letter unknown), how many possibilities?
Bridge Definition: In a connected graph $G$, an edge $e$ is a bridge iff removing $e$ disconnects the graph.
Equivalent Conditions: The following are equivalent:
Detection Algorithm (DFS):
Example: Given a graph, find all bridges.