Penn LJS 51 · cipher 3v.12+49r.1 · invented alphabet for Arabic · about 1330–1361

Probably the patron, al-ʿAlāʾī → Ibn al-Durayhim · cipher 3v.12+49r.1

The compiler wrote the answer, two verses, in plain Arabic on f. 49r. The cipher starts on f. 3v and ends on f. 49r, two leaves that are now far apart. The project found that they belong together.

Daniel Bourdeau · posted · updated

Method: existing decipherment · Extent: complete

Credits · Brice Dudout (verification) · Contemporary key or decipherment (key or decipherment used)

At a glanceExisting decipherment · complete

From
Probably the patron, al-ʿAlāʾī
To
Ibn al-Durayhim
Exchange note
Probably the patron’s own verse (f. 3v l.9-11); the compiler solved it only after much toil (f. 49r l.4-5).
The document
One cipher in a Mamluk book of ciphers and their answers. The texts date from about 1330–1361; this copy is from the 15th century.
Where
University of Pennsylvania, Kislak Center, LJS 51. f. 3v l.12-13 (image 0011); f. 49r l.1-4 (image 0102)
The cipher
70 signs. Invented signs stand for Arabic letters.
How the text was obtained
The compiler wrote the answer, two verses, in plain Arabic on f. 49r. The cipher starts on f. 3v and ends on f. 49r, two leaves that are now far apart. The project found that they belong together.
What it says
Two verses about doves cooing in a tree.
Still open
Six signs rest on the verse alone. How f. 3 came just before f. 49 is not explained. No Arabist has checked the text.
Credit
Brice Dudout rebuilt the key from a separate transcription and corrected one word.

Ibn al-Durayhim’s Cipher Casebook (Penn LJS 51) and cipher index

01 Manuscript and ciphertext

Manuscript excerpt from Penn LJS 51, folio 3v, lines 12–13
Folio 3v, lines 12–13. Image: University of Pennsylvania, Kislak Center, LJS 51, f. 3v, via OPenn (image 0011).
Manuscript excerpt from Penn LJS 51, folio 49r, lines 1–4
Folio 49r, lines 1–4. Image: University of Pennsylvania, Kislak Center, LJS 51, f. 49r, via OPenn (image 0102).

Open the full scans: Manuscript image 0011 · Manuscript image 0102

Signs
70 in 20 word groups of 4, 3, 3, 3, 4, 5, 2, 4, 2, 4, 4, 3, 3, 5, 4, 3, 5, 4, 2, 3; by line 13, 15, 13, 12, 12, 5. The dividers are not counted.
Distinct signs
23, the same in the by-eye inventory and the reviewed master list of signs.

Signs and letters in reading order

Each sign on the page, right to left, with the letter the key gives it. | is a word divider (one at the start of a line closes the word on the line before). The sign labels give one label to each distinct shape, so a label that recurs is the same sign.

LineSignsLettersSign labels
3v l.1213ه ت ف ن | ض ح ي | ع ل ي | ب ا ن |H5 T1 S7 S9 | D1 H1 S12 | S5 S17 S12 | S3 A2 S9 |
3v l.1315ب س ل ع | س و ا ج ع | ك م | س ل ي ن |S3 S6b S17 S5 | S6 S13 A2 S2 S5 | S8 S11 | S6 S17 S3 S9 |
49r l.113ش ج | ب ر ج ع | س ف ك ن | د م ي |S1 S2 | S3 S4 S2 S5 | S6 S7 S8 S9 | S10 S11 S12 |
49r l.212و م ا | ي د ر ي ن | ش و ق ا |S13 S11 S14 | S12 S10 S4 S12 S9 | S1 S13 S16 S14 |
49r l.312و ل ا | ي د ر ي ن | ي و م ا |S13 S17 S14 | S12 S18 S4 S12 S9 | S12 S13 S11 S14 |
49r l.45د ر | د م ع |S10 S4 | S10 S11 S5 |

02 Reading

Full transcription

هتفن ضحي علي بان بسلع سواجع كم سلين شج برجع سفكن دمي وما يدرين شوقا ولا يدرين يوما در دمع

(as enciphered, from the by-eye key in keys_eye/3v.12+49r.1.json; written copy 49r l.6-7 (two verses). 3v l.12-13 enciphers the first 8 words, 49r l.1-4 the last 12; answered in full)

English translation

This translation follows the manuscript’s clear copy as recorded in the corpus translation files. Where it differs, the Arabic above follows the sign alignment.

At forenoon the cooing doves called on the ban-trees of Sal' - how many a grieving man have they consoled with their answering call! / They shed my blood, and they know nothing of longing, nor do they ever know the flow of tears. (confidence medium; the part on 49r begins at شج برجع; برجع as Brice Dudout read it, 2 Dec 2026)

The compiler says it "would not come apart except after much toil, because of its difficulty" (49r l.4-5).

Translation notes and confidence

In short

One cipher on two leaves

Until 2 Dec 2026 the corpus counted two ciphers here. The 42 signs at the top of f. 49r begin in the middle of a verse: they take the last twelve words of the two verses the compiler writes out in clear on lines 6–7 of that page, and the first eight words, هتفن ضحى على بان بسلع سواجع كم سلين, had no cipher. The two rows at the foot of f. 3v had no plaintext that fitted them: the record gave them the text at the top of the facing page, f. 4r, which is the solution of another cipher (30v.7).

The two rows on f. 3v are those eight words. They have 28 signs in eight groups of 4, 3, 3, 3, 4, 5, 2 and 4 signs, the lengths of the eight words, and they are written in the alphabet of f. 49r. Twenty of the 28 signs are signs that also stand on f. 49r, with the letter they have there. Sixteen of them are in this table:

SignShapeLetterOn f. 3vOn f. 49r
S9the numeral 8 (a chevron)ن33
S5a loop on a zigzag with a long flat baseع32
S17the numeral 4ل31
S6the ط shapeس21
S7a small tooth joined to a tall stem with a bowlف11
S13a stem with a slanting legو14
S2a 6 shapeج12
S8two triangles on one baseك11
S11a hooked top over two crossing strokesم14

The other four are two shapes. S3, a loop on a stem with a second small loop, is ب once on f. 49r (برجع) and twice on f. 3v (بان, بسلع). S12, a round loop with a rising arm, is the final ي of ضحي and علي, and every ي on f. 49r.

One sign goes against the key: S3 also stands once on f. 3v for ي (سلين). The other seven signs have six shapes that f. 49r does not have, and their letters rest on the verse alone: one each for ه, ت, ض and ح, a second sign for alif (twice), and a stem with a long tail that stands for the س of بسلع.

Together the two parts make one cipher of 70 signs for the 70 letters of the two verses, 20 groups for 20 words. The compiler’s introduction is on f. 3v, lines 9–11 (“then he, may God support him, wrote on the same theme from his own verse”), and his remark is on f. 49r, lines 4–5: the cipher “would not come apart except after much toil”. The text runs on from f. 3 to f. 49.

How it was checked

The rows on f. 3v were matched to the verse after the eight words were known, so that part of the key is not a blind reading. As a check, a separate model session was given the two rows of f. 3v and the rows of f. 49r as images, with no letters and no text, and asked which signs are the same shape. It counted the same 13 and 15 signs in the same groups, and matched the signs of f. 3v to those of f. 49r as the key does. It found no counterpart on f. 49r for the same six signs, and judged the stem with a long tail a different shape from the ط shape. It also noted that the numeral 4 sign is angular once on f. 3v and rounded twice; the key takes all three as ل.

On 2 Dec 2026 Brice Dudout, who already knew the proposed text, rebuilt the key from their own transcription of both leaves. It agrees with this one: 70 signs in 20 groups, with the same word lengths. Dudout also checked ten doubtful signs of this cipher and of 30v.7 by shape alone. The review led to two corrections here. The word on f. 49r, line 6 is برجع, not يرجع: there is one dot under the letter. That changes the translation to “with their answering call”. And the opening ي of يدرين is the same sign as the final one, so two labels became one. Both were checked on the scan here. Dudout also found that the verses are in the metre wāfir.

What is not settled

The record of the work is in solve_30v/REPORT.md.

03 Key

The signs of this cipher’s alphabet, with the Arabic letter each stands for in the key rebuilt from the compiler’s plaintext (23 signs, 70 occurrences placed on the page). The key was read by eye and then checked sign by sign in the master list of all signs, where every occurrence can be seen; the number links there. The last column gives the sign’s shape across the whole book: the same drawn shape in other ciphers, whatever letter it stands for there (the signs grouped by shape); “own” means no other cipher draws it; “not compared” means the sign was added or sorted again later and has not been compared.

SignOn the pageLetterTimesShape
A2ا2not compared
D1ض1not compared
H1ح1not compared
H5ه1not compared
S1ش2173 · 3 ciphers
S2ج330 · 28 ciphers
S3ب / ي495 · 8 ciphers
S4ر4153 · 4 ciphers
S5ع58 · 48 ciphers
S6س34 · 54 ciphers
S6bس1not compared
S7ف2121 · 6 ciphers
S8ك220 · 40 ciphers
S9ن62 · 63 ciphers
S10د43 · 57 ciphers
S11م536 · 23 ciphers
S12ي8not compared
S13و5104 · 7 ciphers
S14ا4own
S16ق1217 · 2 ciphers
S17ل424 · 35 ciphers
S18د15 · 54 ciphers
T1ت1not compared

04 Sources

The corpus transcriptions were made with AI assistance. The source records give the evidence and uncertainties for this cipher.

Transcriptions, keys and notes are in targets/ljs51corpus.

Cite this page

Daniel Bourdeau, “Probably the patron, al-ʿAlāʾī → Ibn al-Durayhim · cipher 3v.12+49r.1”, Cyphersolver, posted 2 December 2026, updated 3 December 2026, repository commit 980f16abb3, https://cyphersolver.com/ljs51-cipher-3v-12-49r-1.html.