Quran Pattern Labمختبر الأنماط القرآنيةResearch Preview v0.1

Methodology

Which relationships between what is written in the Quran (words, concepts, letters, positions) and numbers survive an honest statistical screen, and which do not?

Pipeline

  1. Verified corpus: Tanzil 1.1 (Uthmani, Simple, Simple-Clean), hash-verified before parsing; 114 surahs, 6,236 verses; every line matched byte-for-byte against the XML export of the same edition.
  2. Named views: (edition, basmala policy, normalization profile) → token index with canonical offsets.
  3. The full search space is enumerated before anything runs (the denominator); every executed test is disclosed, including negatives.
  4. Screening: Benjamini–Hochberg over every executed test; a test becomes a “candidate pattern” only if q ≤ 0.05 and support ≥ 5.
  5. Deterministic: the same seed and inputs give the same result bytes; the run id is a hash of all inputs.

Run run-9a7c1a1988a98abf · seed 20260925 · engine 0.1.0 · commit d287965b5422
source tree sha256 8670eb30e4d3177be263f8600e78b1fe3030f9034a670ecfb0edf1c032d41211
results sha256 7810c7cf49bf9242806c01a4575854e23f20e79df86f23078807bca00aa82a9d

Families and null models

FamilyQuestionNull modelExecuted / candidates
declared-numberDoes a concept's count equal a declared number (e.g. day = 365, month = 12)?Share of vocabulary forms with count in [N/2, 2N] whose count is exactly N6 / 0
concept-balanceAre two paired concepts' counts closer than chance?Exact enumeration over all vocabulary pairs in the same band20 / 0
concept-cooccurrenceDo paired concepts share verses more than chance?Hypergeometric over verses10 / 6
muqattaat-enrichmentIs an initial letter's share in its surah higher than in random verse sets?Seeded verse resampling (9,999 draws), calibrated against the negative control1,174 / 0
muqattaat-specificityAre initials enriched more than other letters of the same surahs?One-sided Mann–Whitney U1 / 0
surah-concentrationIs a word form concentrated in one surah?Binomial by surah word share, Bonferroni ×114400 / 116
occurrence-clusteringAre occurrences burstier than random?Seeded Monte-Carlo (999 uniform placements)101 / 71

Normalization profiles

Every text transformation is named, versioned and hashed; the published text is never altered.

ProfileDescriptionTransformsSHA-256
exact-v1 v1.0.0Exact surface
Byte-exact token text including every diacritic and sign.
none543be835c22b44de…
letters-only-v1 v1.0.0Letters only (orthography preserved)
Drops every diacritic/sign; keeps the written letters exactly, incl. hamza forms and alef wasla. Default for letter counts.
  1. strip-superscript-alef
  2. strip-harakat
  3. strip-shadda
  4. strip-maddah
  5. strip-hamza-marks
  6. strip-tatweel
  7. strip-small-waw-yeh
  8. strip-quranic-signs
  9. strip-pause-rub-sajdah
3b342c38f3efd772…
search-folded-v1 v1.0.0Search-folded
Letters only, dagger alef written out, alef wasla and hamza-alef forms folded to ا. Keeps ى/ي and ة/ه distinct.
  1. superscript-alef-to-alef
  2. strip-harakat
  3. strip-shadda
  4. strip-maddah
  5. strip-hamza-marks
  6. strip-tatweel
  7. strip-small-waw-yeh
  8. strip-quranic-signs
  9. strip-pause-rub-sajdah
  10. alef-wasla-to-alef
  11. fold-hamza-alef
413547a18290fe13…
search-folded-loose-v1 v1.0.0Search-folded (loose)
search-folded-v1 plus ى→ي and ة→ه. Maximises recall; merges some distinct words.
  1. superscript-alef-to-alef
  2. strip-harakat
  3. strip-shadda
  4. strip-maddah
  5. strip-hamza-marks
  6. strip-tatweel
  7. strip-small-waw-yeh
  8. strip-quranic-signs
  9. strip-pause-rub-sajdah
  10. alef-wasla-to-alef
  11. fold-hamza-alef
  12. fold-alef-maqsura-to-ya
  13. fold-ta-marbuta-to-ha
75d1ad678477723d…
uthmani-no-harakat-v1 v1.0.0Uthmani without ordinary harakat
Removes only U+064B–U+0652 (tanween, fatha, damma, kasra, shadda, sukun). Keeps Uthmani spelling, alef wasla, superscript alef, maddah, hamza marks, small waw/yeh, small Quranic signs and tatweel.
  1. strip-harakat
  2. strip-shadda
1cb1685208dd821f…

Basmala

Edition level: Tanzil keeps the surah-header basmala separate from verse text (XML export: a bismillah attribute on verse 1 of 112 surahs, all except 1 and 9). File-format level: the txt-2 export writes that attribute in-line at the start of the verse-1 line followed by one space. The metadata file (quran-data.xml) has no basmala field. The importer does not add or remove anything in the raw bytes; its policy is a named view.

Default policy: headers-removed — the surah-header basmala is not verse text (112 surahs); 1:1 and 27:30 are kept.

Concept counting rules

The same rules apply to every concept; a rule is never chosen per concept after seeing counts.

Claim ladder and AI policy