# LaTeX Reference

### Basics

| Symbol                   | Description              | LaTeX                 |
| ------------------------ | ------------------------ | --------------------- |
| $$\cdot$$                | Multiplication dot       | `\cdot`               |
| $$\cdots$$               | Dots                     | `\cdots`              |
| $$\frac{x}{y}$$          | Fraction                 | `\frac{x}{y}`         |
| $$\ge$$                  | Greater than or equal to | `\ge`                 |
| $$\le$$                  | Less than or equal to    | `\le`                 |
| $$\ne$$                  | Not equal to             | `\ne`                 |
| $$\sum\_{i=0}^{n}$$      | Summation                | `\sum_{i=0}^{n}`      |
| $$\infty$$               | Infinity                 | `\infty`              |
| $$\lim\_{x \to \infty}$$ | Limit                    | `\lim_{x \to \infty}` |

### Propositional Logic

| Symbol       | Description         | LaTeX      |
| ------------ | ------------------- | ---------- |
| $$\implies$$ | Implication         | `\implies` |
| $$\iff$$     | Logical equivalence | `\iff`     |
| $$\equiv$$   | Congruence          | `\equiv`   |
| $$\exists$$  | Existence           | `\exists`  |
| $$\in$$      | Inclusion           | `\in`      |
| $$\land$$    | Conjunction (and)   | `\land`    |
| $$\lor$$     | Disjunction (or)    | `\lor`     |
| $$\lnot$$    | Negation (not)      | `\lnot`    |
| $$\forall$$  | For all             | `\forall`  |
| $$\oplus$$   | Exclusive or (xor)  | `\oplus`   |

### Sets

| Symbol          | Description            | LaTeX         |
| --------------- | ---------------------- | ------------- |
| $$\mathbb{C}$$  | Complex numbers        | `\mathbb{C}`  |
| $$\mathbb{R}$$  | Real numbers           | `\mathbb{R}`  |
| $$\mathbb{Q}$$  | Rational numbers       | `\mathbb{Q}`  |
| $$\mathbb{Z}$$  | Integers               | `\mathbb{Z}`  |
| $$\mathbb{N}$$  | Natural numbers        | `\mathbb{N}`  |
| $$\mathscr{P}$$ | Power set              | `\mathscr{P}` |
| $$\cup$$        | Union (set or)         | `\cup`        |
| $$\cap$$        | Intersection (set and) | `\cap`        |
| $$\emptyset$$   | Empty Set              | `\emptyset`   |
| $$\setminus$$   | Set Division           | `\setminus`   |
| $$\subseteq$$   | Subset (inclusive)     | `\subseteq`   |

### Modular Arithmetic

| Symbol         | Description           | LaTeX      |
| -------------- | --------------------- | ---------- |
| $$p \mod q$$   | Modulo                | `\mod`     |
| $$p \pmod{q}$$ | Modulo in parentheses | `\pmod{q}` |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cs70.bencuan.me/latex-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
