# Mizan: Look up

**Mizan** (*mīzān*, the balance) is Taaweel's numerical-analysis tool. Type a verse, a surah or a word and it shows its numbers (words, letters, abjad totals, pattern checks) together with **the rule that produced each number** and an honest base rate for how surprising it is. Mizan is part of Taaweel: you must be signed in, and it uses your Taaweel account.

This chapter is the **Look up** page, the front page of Mizan. The other pages are [Compare](/docs/31-mizan-compare), [Perspectives](/docs/32-mizan-perspectives) and [Al-Fātiḥah](/docs/33-mizan-fatihah); the rules behind every number are in [Counting rules](/docs/34-mizan-counting-rules).

## Overview
Open [/numerical_analysis/](/numerical_analysis/) (or **Mizan** in the Taaweel sidebar). The top bar links **Look up**, **Compare**, **Perspectives**, **Al-Fātiḥah** and **How it works**; the brand at the left returns here. Under the search box a **What you'll get** sample shows what a result looks like, and **See the page, annotated** (inside Taaweel only) opens an annotated screenshot.

### Opening Mizan
The first time you open Mizan after a restart, you may see **Starting Mizan…** for a few seconds; the page opens by itself. If it shows **Mizan isn't running**, wait a minute and reload, then tell an administrator if it persists.

### Light and dark
The Look-up page follows your system theme. The **Compare**, **Perspectives** and **Al-Fātiḥah** pages have a moon/sun button in the top bar (`themeBtn`) that switches theme and remembers your choice.

## Search
1. Click into **Verse, surah or word**.
2. Type what you want (see [formats](#input-formats)) or click an [example](#examples).
3. Click **Show numbers**. *Mizan resolves your input and runs the analyses; progress is shown, and then the **Results** card appears.*

Mizan always tells you how it understood your input in the **Let's fix the input** / "what was understood" area under the box: a verse range, a surah, a root, or a word. If it could not understand you, it says what to type instead.

### Input formats
| You type | Mizan analyses |
|---|---|
| `2:255` | One verse (Āyat al-Kursī). |
| `1:1-7` | A range of verses. |
| `surah:18` | A whole surah. |
| `root:رحم` | Every word from the root. |
| an Arabic word, e.g. `نور` | That word across the Qurʾān. |

### Examples
The chips under the box are one-click examples: *Ayat al-Kursi*, *Al-Fātiḥah*, *Surah Al-Ikhlāṣ*, *The root رحم* and *The word نور*.

## Settings: how we count

The collapsed bar **How we count** shows the current rules. Defaults suit most people; open it to change them. Every choice, and why it matters, is explained in [Counting rules: settings](/docs/34-mizan-counting-rules#settings).

### Update results
After changing a rule, click **Update results**. *Everything re-runs under the new rule, and the rule is shown beside each number. A progress bar shows the run.*

### Show what will run
Click **Show what will run (without running it)** to preview a plan: which analyses will run and which will be blocked and why, before anything is computed.

## Results
The **Results** card appears after a run. It starts with a line of meta (what was analysed, the counting profile and a run id; for a surah it adds **See surah N through 24 perspectives →**, which opens [Perspectives](/docs/32-mizan-perspectives)).

### Verse context and the scope warning
For a verse, a card shows it with its neighbours. If your *scope* setting makes the numbers wider than your entry (for example the whole surah), a warning says so and offers **Analyze just … instead**.

### Summary tiles
Tiles show the headline numbers: **words**, **letters**, **distinct words**, **abjad total**, **letter variety**, **word variety** and **occurrences** (for a word search).

### Charts
Chart groups: *Overview*; *Letters & abjad — what the text is made of*; *Your verse vs the whole Quran*; *Patterns vs chance — how surprising is each one?*; *Patterns & structure*. Every chart can be enlarged and exported.

### Reading the rows
Below the charts, each analysis is a **row** with a coloured dot (ran successfully, blocked, or failed), a friendly name, a family pill and the value.

1. Click a row to open it. *You see a plain explanation and a **How surprising?** line with the base rate and p-value.*
2. Read the rule shown with the number.
3. Open the evidence (below).

#### Evidence
Inside a row, **Show exactly what was counted (evidence)** lists the exact letters and items counted, so you can check them against the muṣḥaf by hand.

#### Blocked analyses

**Not possible for this input (n) — show why** lists analyses that cannot run here, each with its reason (for example "Choose 'Letters' to enable this"). Mizan would rather say *not possible* than invent a number; see [Honest limits](/docs/34-mizan-counting-rules#honest-limits).

### Exports
Under the results: **Download readable report (HTML)**, **Download data table (CSV)** and **Download full data (JSON)**. The JSON includes the run id and the counting rules so someone else can reproduce it.

### Explain the analysis
Click **✨ Explain the analysis**. *An AI-written explanation appears, labelled with its provider and model and a disclaimer.* The numbers in the tables remain authoritative; if the explanation and a table disagree, trust the table. This uses your AI allowance.

### Ask about these results
In **💬 Ask about these results** type a question in the box ("how does my verse map onto the histogram?") and click **Send**. *Answers are drawn from this report only.* **clear** resets the conversation.

## The Calculation explorer
After a verse lookup, **Calculation explorer — exactly how the numbers are made** opens the abjad sum word by word.

1. Click a word chip. *It opens letter by letter, with each letter's value and the equation.*
2. Use **← previous verse** and **next verse →** to step through a range.
3. Read *The full abjad addition, word by word* and **Rules used**, the rules applied on the server.

## Atlas
**Atlas — shapes across the whole Quran** places every verse as a point and shows where your word falls.

1. In **word to plot** type a word (for example الله) and click **Plot word**.
2. Choose the colour: words, letters, abjad or letters per word.
3. Tick overlays, then pick a view.

### Overlays
**Fibonacci sizes**, **abjad divisible by 19** and **chapter bubbles (occurrences)**.

### Views
Five views of the same data: **Chapter–verse map**, **Word positions**, **Occurrence timeline**, **Gap distances** and **3D** (drag to rotate).

## Fibonacci studies
**Fibonacci studies — runs of ≥ 3 consecutive** scans the whole Qurʾān for unbroken Fibonacci runs. Four tabs: **Consecutive verses**, **Consecutive words in verses**, **Cumulative sums** and **Fibonacci chapters**. Pick the measure (and chapter) and read the honesty note, which says what a "pattern" means here and how often it would happen by chance.

## Other tools on this page
**Or pick what you want to do** links to *Look up a passage*, *Compare two words*, *Explore perspectives* and *Study Al-Fātiḥah*. The **Al-Fatihah overview** card (button **Show Al-Fatihah overview**) puts the opening surah's numbers next to the classical sources, kept apart from numerical hypotheses; see [its panel](/docs/33-mizan-fatihah#overview-panel).

## What you'll get
A typical result for `surah:112`: counts of words and letters, the abjad total, a set of number checks (divisibility, Fibonacci, golden ratio), comparisons with the whole Qurʾān, and long-range statistics, each in its own row, each with its rule, base rate and evidence.
