# 三横线

三横线（≡）是一个由三条堆叠的水平线组成的数学符号，用于表示两个表达式恒等、一个表达式被定义为另一个表达式，或两个整数在某个模数下同余。在 Unicode 中，它编码为 U+2261，名称为 IDENTICAL TO，HTML 实体为 `&equiv;`。<sup>[1](https://www.fileformat.info/info/unicode/char/2261/index.htm)</sup> 它的含义由上下文而非符号本身确定，因此写作者被建议通过周围文字使预期的读法清晰明了。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 符号与编码 | ≡，Unicode U+2261 “IDENTICAL TO”，HTML 实体 `&equiv;`；否定形式 ≢ 为 U+2262<sup>[1](https://www.fileformat.info/info/unicode/char/2261/index.htm)</sup><sup> • </sup><sup>[3](https://www.unicode.org/versions/Unicode17.0.0/UnicodeStandard-17.0.pdf)</sup> |
| 恒等用法 | 标记一个对变量的每个取值都成立的方程，例如 \( (x+1)^2 \equiv x^2 + 2x + 1 \)<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup> |
| 定义用法 | 引入一个新符号或表达式，例如 \( f(x) \equiv 3x + 7 \)<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup> |
| 模同余 | \( a \equiv b \pmod{n} \) 表示 \( n \) 整除 \( a - b \)；两边除以 \( n \) 后余数相同<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup> |
| 逻辑等价 | 在逻辑中，\( A \equiv B \) 表示两个公式在每种赋值下取相同的真值<sup>[4](https://cs.uwaterloo.ca/~cbruni/pdfs/Math135SeptDec2015/AllLectures2015Typed.pdf)</sup> |
| 数论中的起源 | 同余符号 ≡ 于 1801 年由卡尔·弗里德里希·高斯在《算术研究》中首次付印引入<sup>[5](https://mathshistory.st-andrews.ac.uk/Miller/mathsym/nth/)</sup> |

## 恒等式

当三横线标记一个恒等式时，该方程对变量的每一个可能取值都成立，而不仅仅是对某些特定解成立。例子 \( (x+1)^2 \equiv x^2 + 2x + 1 \) 对所有 \( x \) 都成立，因此它陈述的是一个普遍事实，而非一个待求解的条件。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup> 三角学是常见的场景：诸如 \( \sin^2\theta + \cos^2\theta \equiv 1 \) 这样的恒等式用三横线书写，以区别于关于 \( \theta \) 的条件方程。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup>

做法因作者而异。

## 定义

该符号也表示左侧被定义为右侧，如 \( f(x) \equiv 3x + 7 \)。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup>

## 模同余

在数论中，\( a \equiv b \pmod{n} \) 表示 \( n \) 整除 \( a - b \)，等价地说，\( a \) 和 \( b \) 除以 \( n \) 后余数相同。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup> 一个具体的验算展示了其机制：要检验 \( 17 \equiv 5 \pmod{4} \)，计算差值 \( 17 - 5 = 12 \)；由于 \( 4 \) 整除 \( 12 \) 且无余数，该同余式成立。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup>

这一用法可追溯至该符号的起源。卡尔·弗里德里希·高斯在 1801 年的《算术研究》中引入 ≡ 表示同余，此后它一直是模算术的标准记号。<sup>[5](https://mathshistory.st-andrews.ac.uk/Miller/mathsym/nth/)</sup> 模同余贯穿于数论、包括 RSA 加密在内的密码学以及计算机科学之中。<sup>[2](https://www.mathwords.com/t/triple_bar.htm)</sup>

## 逻辑等价

在逻辑中，≡ 记录两个公式逻辑等价：在真值表中，左侧和右侧在所有可能情况下共享相同的真值。一个标准例子是双重否定律 \( \neg(\neg A) \equiv A \)，通过观察真值表第一列和最后一列相匹配来证明；德摩根定律也以同样方式表述，\( \neg(A \lor B) \equiv \neg A \land \neg B \)。<sup>[4](https://cs.uwaterloo.ca/~cbruni/pdfs/Math135SeptDec2015/AllLectures2015Typed.pdf)</sup> 形式上，对于公式 \( A \) 和 \( B \)，当且仅当 \( A \Leftrightarrow B \) 是重言式时，写作 \( A \equiv B \)；等价符号不是一个新的联结词，而是陈述两个公式始终具有相同的逻辑值，因此可以像等号一样使用。<sup>[6](https://www3.cs.stonybrook.edu/~cse371/21lec2a.pdf)</sup> 教材也用双箭头（⟺ 或 ↔）表达逻辑等价，有些则使用其他带装饰的等号，如 \( \cong \)。<sup>[7](https://www.techtarget.com/whatis/definition/logical-equivalence)</sup><sup> • </sup><sup>[8](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Gentle_Introduction_to_the_Art_of_Mathematics_%28Fields%29/02%3A_Logic_and_Quantifiers/2.03%3A_Logical_Equivalences)</sup>

## 相关符号与使用说明

否定形式 ≢（U+2262，NOT IDENTICAL TO）在 Unicode 中可由 U+2261 加上 U+20D2（一条竖线叠加）组合而成，无需预组合字符。<sup>[3](https://www.unicode.org/versions/Unicode17.0.0/UnicodeStandard-17.0.pdf)</sup> 水平三横线不应与垂直三竖线混淆：U+2980 TRIPLE VERTICAL BAR DELIMITER，用作表达式两侧的围栏；以及 U+2AF4 TRIPLE VERTICAL BAR BINARY RELATION，置于两个元素之间的运算符；Unicode 自身的命名注释指出，U+2980 用 BAR 代替了 LINE。<sup>[9](https://www.unicode.org/reports/tr25)</sup>

由于该符号承载多重含义，通用文档的风格指南仅将 ≡ 列为“恒等于”，与普通等号及其其他变体并列，将专业读法留给作者所在领域决定。<sup>[10](https://developers.google.com/style/mathematical-notation)</sup> 在实践中，除了数学的少数领域之外，普通写作很少需要三横线，大多数情况下等号已经足够。<sup>[11](https://math.stackexchange.com/questions/1505026/when-do-you-make-use-of-%E2%89%A1-when-verifying-trigonometric-identities/1505096)</sup>

## References

1. [Unicode Character 'IDENTICAL TO' (U+2261), fileformat.info](https://www.fileformat.info/info/unicode/char/2261/index.htm)
2. [Triple Bar — Definition, Formula & Examples, Mathwords](https://www.mathwords.com/t/triple_bar.htm)
3. [The Unicode Standard, Version 17.0 — Core Specification](https://www.unicode.org/versions/Unicode17.0.0/UnicodeStandard-17.0.pdf)
4. [Math 135 lecture notes, University of Waterloo (definition of ≡ in logic)](https://cs.uwaterloo.ca/~cbruni/pdfs/Math135SeptDec2015/AllLectures2015Typed.pdf)
5. [Earliest Uses of Symbols of Number Theory, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Miller/mathsym/nth/)
6. [CSE 371 Logic lecture notes, Stony Brook University](https://www3.cs.stonybrook.edu/~cse371/21lec2a.pdf)
7. [What is logical equivalence and why is it important?, TechTarget](https://www.techtarget.com/whatis/definition/logical-equivalence)
8. [Logical Equivalences, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Gentle_Introduction_to_the_Art_of_Mathematics_%28Fields%29/02%3A_Logic_and_Quantifiers/2.03%3A_Logical_Equivalences)
9. [Unicode Technical Report #25: Unicode Support for Mathematics](https://www.unicode.org/reports/tr25)
10. [Mathematical notation, Google developer documentation style guide](https://developers.google.com/style/mathematical-notation)
11. [When do you make use of ≡ when verifying trigonometric identities?, Mathematics Stack Exchange](https://math.stackexchange.com/questions/1505026/when-do-you-make-use-of-%E2%89%A1-when-verifying-trigonometric-identities/1505096)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › Formal logic and foundations › Logical calculi and logical syntax › Propositional logic

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/triple-bar

English original: https://www.edgepedia.org/triple-bar
