Leviticus 13 — Purity State Machine

48 verses of diagnostic logic parsed from binary trees. Every IF/THEN, every observation, every verdict — derived from cantillation accent structure and Hebrew grammar signals.

48
Verses Parsed
32
Logic Modes
3
Verdicts
5/5
Confidence

How It Works

The cantillation accents encode a state machine. Each verse is a node — condition, observation, or verdict.

Step 1
🌳

Parse the Tree

Each verse splits into a binary tree at the etnachta accent. Left = PROCESS (conditions, observations). Right = RESULT (verdicts, actions).

Step 2

Read the Logic

Hebrew grammar declares the logic: IF, AND (sibling leaves), OR, NOT. The verse IS the code.

Step 3
💻

Derive Python

Tree structure maps directly to Python: etnachta = if/then, siblings = AND, depth = nesting. No interpretation — just translation.

Three Verdicts

48 verses of logic funnel into exactly three outcomes — confirmed by Mishnah Negaim.

🔴

טִמֵּא (Declare Impure)

Two positive findings (hair white AND deeper than skin). Priest confirms tzaraat.

🟠

הִסְגִּיר (Quarantine)

Inconclusive — tests negative but not resolved. Isolate 7 days, re-examine.

🟢

טִהַר (Declare Clean)

After quarantine: no spread, no change. Priest releases.

Browse All 48 Verses

Each verse shows: Hebrew text, leaf grid, binary tree, and derived Python.

🔎 Scroll to zoom, drag to pan, or use the +/− controls.
100%