# Interpretation of symbols in logic and math

## Reading logic formulas

p → q

* if p then q
* given p, q
* p implies q
* q only if p
* q is the necessary condition for p
* p is a sufficient condition for q

if {it works} then {it'll revolve}

* given that it works, it's revolving
* it revolves only if it works *hmm*

p → ¬¬p

* if p, then it is NOT the case that NOT p

p ⇔ q

* p if and only if q
* if p then q and if q then p

(p = T) → (¬p = F) ∧ (¬¬p = T)\
if p is TRUE, then NOT p is FALSE and NOT NOT p is TRUE

p = ¬¬p

* if p is TRUE, then NOT NOT p is TRUE
* if p is FALSE, then NOT NOT p is FALSE

p = ¬¬p ¬¬q = q p ∧ q

p → q

* if p then q
  * if {it rains} then {the streets are wet}
* given p, then q
  * given {that n ∈ ℕ and even} then {n >= 0 and n ×÷⁒±‗ 2 = 0}
* p implies q
* q only if p


---

# 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://mandober.gitbook.io/math-debrief/300-logic/310-mathematical-logic/logic-symbols.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.
