[ { "id": "GH-01", "book_num": 1, "book_id": "01_ghazali_mustasfa", "book_title": "Al-Ghazālī — *Al-Mustaṣfā min ʿIlm al-Uṣūl*", "author": "Abū Ḥāmid al-Ghazālī (505)", "school": "`andalusian/` · **Uṣūl al-Fiqh & Logic** (Shāfiʿī/Ashʿarī)", "corpus_path": "/root/grammarian_corpus/andalusian/Ghazali_Al_Mustasfa.txt", "name": "Dhātī vs. ʿAraḍī Feature Partition & Bi-Directional Definition (*Ṭard wa-ʿAks*)", "line_ref": "L322, L352, L611", "anchor_lines": [ 322, 352, 611 ], "arabic_quotes": [ "الفرق بين الصفات الذاتية واللازمة والعرضية", "فلا تورد في الحد الحقيقي إلا الذاتيات", "يميزه عن غيره تمييزا يطرد وينعكس" ], "raw_citation": "**L322, L352, L611**: «الفرق بين الصفات الذاتية واللازمة والعرضية» / «فلا تورد في الحد الحقيقي إلا الذاتيات» / «يميزه عن غيره تمييزا يطرد وينعكس»", "ai_swe_pattern": "**Minimal Sufficient Feature Selection & Precision+Recall Specification Gates**: Prune accidental/spurious channels; accept a classifier/spec only when both *ṭard* (precision/soundness) and *ʿaks* (completeness/boundary rejection) hold.", "domains": [ "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "GH-02", "book_num": 1, "book_id": "01_ghazali_mustasfa", "book_title": "Al-Ghazālī — *Al-Mustaṣfā min ʿIlm al-Uṣūl*", "author": "Abū Ḥāmid al-Ghazālī (505)", "school": "`andalusian/` · **Uṣūl al-Fiqh & Logic** (Shāfiʿī/Ashʿarī)", "corpus_path": "/root/grammarian_corpus/andalusian/Ghazali_Al_Mustasfa.txt", "name": "Al-Sabr wa-l-Taqsīm (Exhaustive Partition & Elimination)", "line_ref": "L1206, L12534–12543", "anchor_lines": [ 1206, 12534, 12535, 12536, 12537, 12538, 12539, 12540, 12541, 12542, 12543 ], "arabic_quotes": [ "السبر والتقسيم وهو دليل صحيح... لا علة له إلا كذا أو كذا، وقد بطل أحدهما فتعين الآخر", "أن يكون سبره حاصرا" ], "raw_citation": "**L1206, L12534–12543**: «السبر والتقسيم وهو دليل صحيح... لا علة له إلا كذا أو كذا، وقد بطل أحدهما فتعين الآخر» / «أن يكون سبره حاصرا»", "ai_swe_pattern": "**Disjunctive Hypothesis Elimination / Channel Pruning & Root-Cause Localization**: Enumerate exhaustive failure/channel hypotheses, falsify invalid branches via execution/energy probes, retain the sole surviving operative cause.", "domains": [ "decoding_pruning", "verification_search" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "GH-03", "book_num": 1, "book_id": "01_ghazali_mustasfa", "book_title": "Al-Ghazālī — *Al-Mustaṣfā min ʿIlm al-Uṣūl*", "author": "Abū Ḥāmid al-Ghazālī (505)", "school": "`andalusian/` · **Uṣūl al-Fiqh & Logic** (Shāfiʿī/Ashʿarī)", "corpus_path": "/root/grammarian_corpus/andalusian/Ghazali_Al_Mustasfa.txt", "name": "Al-Istiṣḥāb (Continuity of Sound Prior State)", "line_ref": "L6340, L6343", "anchor_lines": [ 6340, 6343 ], "arabic_quotes": [ "فرجع إلى استصحاب الحال في البراءة الأصلية", "دليل العقل والاستصحاب" ], "raw_citation": "**L6340, L6343**: «فرجع إلى استصحاب الحال في البراءة الأصلية» / «دليل العقل والاستصحاب»", "ai_swe_pattern": "**Reference-KL-Tethered RL / Asymmetric Non-Regression Penalty**: Keep base policy $\\pi_{\\text{ref}}$ invariant unless execution-verified proof overrides it; penalize $\\lambda\\max(0,-\\Delta_w)^2$ so passing behaviors never degrade.", "domains": [ "training_rl", "verification_search", "agentic_routing" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "GH-04", "book_num": 1, "book_id": "01_ghazali_mustasfa", "book_title": "Al-Ghazālī — *Al-Mustaṣfā min ʿIlm al-Uṣūl*", "author": "Abū Ḥāmid al-Ghazālī (505)", "school": "`andalusian/` · **Uṣūl al-Fiqh & Logic** (Shāfiʿī/Ashʿarī)", "corpus_path": "/root/grammarian_corpus/andalusian/Ghazali_Al_Mustasfa.txt", "name": "Tanqīḥ al-Manāṭ & Ilghāʾ al-Fāriq (Causal Distillation)", "line_ref": "L11351, L11367–11368", "anchor_lines": [ 11351, 11367, 11368 ], "arabic_quotes": [ "هذا تنقيح المناط... فيلحق به ما لا يفارقه إلا فيما لا مدخل له في التأثير" ], "raw_citation": "**L11351, L11367–11368**: «هذا تنقيح المناط... فيلحق به ما لا يفارقه إلا فيما لا مدخل له في التأثير»", "ai_swe_pattern": "**Minimal-Diff Contrastive Preference Purification**: Strip irrelevant stylistic/length confounders (`line_sim >= 0.72`, `", "domains": [ "training_rl", "ast_representation" ], "status": "UNTAPPED", "status_note": "Δlen" }, { "id": "GH-05", "book_num": 1, "book_id": "01_ghazali_mustasfa", "book_title": "Al-Ghazālī — *Al-Mustaṣfā min ʿIlm al-Uṣūl*", "author": "Abū Ḥāmid al-Ghazālī (505)", "school": "`andalusian/` · **Uṣūl al-Fiqh & Logic** (Shāfiʿī/Ashʿarī)", "corpus_path": "/root/grammarian_corpus/andalusian/Ghazali_Al_Mustasfa.txt", "name": "Correlation ≠ Causation (*Buṭlān al-Ṭard al-Maḥḍ*) & *Naqḍ* vs. *Muʿāraḍah", "line_ref": "L12737–12746, L13391, L13477, L13753–13755", "anchor_lines": [ 12737, 12738, 12739, 12740, 12741, 12742, 12743, 12744, 12745, 12746, 13391, 13477, 13753, 13754, 13755 ], "arabic_quotes": [ "ما ثبت مع ثبوته وزال مع زواله فلا يلزم كونه علة", "بمجرد الاطراد إن لم ينضم إليه سبر", "تخلف الحكم عن العلة... النقض", "يندفع الحكم عنه بمعارضة علة أخرى دافعة" ], "raw_citation": "**L12737–12746, L13391, L13477, L13753–13755**: «ما ثبت مع ثبوته وزال مع زواله فلا يلزم كونه علة» / «بمجرد الاطراد إن لم ينضم إليه سبر» / «تخلف الحكم عن العلة... النقض» vs «يندفع الحكم عنه بمعارضة علة أخرى دافعة»", "ai_swe_pattern": "**Confounder-Resistant Reward Modeling & Fault-Triage Differentiation**: Reject pure observational correlation without interventional *sabr*; distinguish true invariant failure (*naqḍ* = bug in rule) from rule-priority override (*muʿāraḍah* = exception precedence, do not corrupt base rule).", "domains": [ "training_rl", "verification_search", "agentic_routing", "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "GH-06", "book_num": 1, "book_id": "01_ghazali_mustasfa", "book_title": "Al-Ghazālī — *Al-Mustaṣfā min ʿIlm al-Uṣūl*", "author": "Abū Ḥāmid al-Ghazālī (505)", "school": "`andalusian/` · **Uṣūl al-Fiqh & Logic** (Shāfiʿī/Ashʿarī)", "corpus_path": "/root/grammarian_corpus/andalusian/Ghazali_Al_Mustasfa.txt", "name": "Non-Generalizability of Exceptional Precedents & Three-Way Conflict Resolution (*Taʿāruḍ*)", "line_ref": "L13122, L13246, L14782", "anchor_lines": [ 13122, 13246, 14782 ], "arabic_quotes": [ "فإن الخارج عن القياس لا يقاس عليه غيره", "الحكم العقلي والاسم اللغوي لا يثبت بالقياس", "في تعارض الدليلين ثلاثة أوجه وجه في التساقط" ], "raw_citation": "**L13122, L13246, L14782**: «فإن الخارج عن القياس لا يقاس عليه غيره» / «الحكم العقلي والاسم اللغوي لا يثبت بالقياس» / «في تعارض الدليلين ثلاثة أوجه وجه في التساقط»", "ai_swe_pattern": "**Quarantine of Hardcoded Edge-Case Patches + 3-Mode Multi-Agent Conflict Arbitrator**: Never generalize from ad-hoc/exceptional training examples; when two verifiers/agents conflict, resolve via (1) mutual cancellation + fallback (*tasāquṭ*), (2) tie-break freedom (*takhyīr*), or (3) domain-split routing (*tafṣīl*). Also enforce that identifier/API *names* are lookup-only (*samāʿī*), never analogically guessed!", "domains": [ "verification_search", "agentic_routing", "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "KH-01", "book_num": 2, "book_id": "02_khalil_al_ayn", "book_title": "Al-Khalīl ibn Aḥmad — *Kitāb al-ʿAyn*", "author": "al-Khalīl ibn Aḥmad al-Farāhīdī (170/175)", "school": "`basran/` · **Basran** (Founder)", "corpus_path": "/root/grammarian_corpus/basran/Al_Khalil_Al_Ayn.txt", "name": "Al-Taqālīb ($n!$ Combinatorial Search) × *Mustaʿmal* vs. *Muhmal* Pruning", "line_ref": "L164", "anchor_lines": [ 164 ], "arabic_quotes": [ "تتصرَّفُ على ستة أوجُه... أربعة وعشرين وَجْهاً، يُكَتَب مُسْتَعْمَلها. ويُلغى مُهْمَلها" ], "raw_citation": "**L164**: «تتصرَّفُ على ستة أوجُه... أربعة وعشرين وَجْهاً، يُكَتَب مُسْتَعْمَلها. ويُلغى مُهْمَلها»", "ai_swe_pattern": "**Structured Combinatorial Exploration + Deterministic Validity Pruning**: Systematically explore orthogonal candidate permutations (on-policy rollouts / AST templates) and deterministically discard invalid (*muhmal*) branches before scoring.", "domains": [ "training_rl", "decoding_pruning", "verification_search", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "KH-02", "book_num": 2, "book_id": "02_khalil_al_ayn", "book_title": "Al-Khalīl ibn Aḥmad — *Kitāb al-ʿAyn*", "author": "al-Khalīl ibn Aḥmad al-Farāhīdī (170/175)", "school": "`basran/` · **Basran** (Founder)", "corpus_path": "/root/grammarian_corpus/basran/Al_Khalil_Al_Ayn.txt", "name": "Dhalāqah Structural Authenticity Gate & Adversarial Fabrication Detector", "line_ref": "L58, L74, L84", "anchor_lines": [ 58, 74, 84 ], "arabic_quotes": [ "فإن وَرَدَتْ عليك كلمة رباعيَّة أو خماسيَّة معرَّاة من حروف الذَلَق أو الشفوية... فاعلم أنَّ تلك الكلمة مُحْدَثة مُبْتَدَعة... شيئاً، وإنْ أشبَهَ لفظهم وتأليفهم... إرادة اللَّبس والتَعنُّيت" ], "raw_citation": "**L58, L74, L84**: «فإن وَرَدَتْ عليك كلمة رباعيَّة أو خماسيَّة معرَّاة من حروف الذَلَق أو الشفوية... فاعلم أنَّ تلك الكلمة مُحْدَثة مُبْتَدَعة... شيئاً، وإنْ أشبَهَ لفظهم وتأليفهم... إرادة اللَّبس والتَعنُّيت»", "ai_swe_pattern": "**O(1) Structural Hallucination & Adversarial Input/Output Filter**: Fast distributional-invariant guard (zero-GPU) rejecting impossible long tokens, fabricated API names, or adversarial injections even when surface-plausible.", "domains": [ "verification_search", "ast_representation", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "KH-03", "book_num": 2, "book_id": "02_khalil_al_ayn", "book_title": "Al-Khalīl ibn Aḥmad — *Kitāb al-ʿAyn*", "author": "al-Khalīl ibn Aḥmad al-Farāhīdī (170/175)", "school": "`basran/` · **Basran** (Founder)", "corpus_path": "/root/grammarian_corpus/basran/Al_Khalil_Al_Ayn.txt", "name": "Articulatory-Axis Canonical Ordering (*Makhārij* Manifold)", "line_ref": "L17, L158", "anchor_lines": [ 17, 158 ], "arabic_quotes": [ "فوضعها على قدر مخرجها من الحلق... ع، ح، هـ، خ، غ", "القاف والكاف لهَويتان" ], "raw_citation": "**L17, L158**: «فوضعها على قدر مخرجها من الحلق... ع، ح، هـ، خ، غ» / «القاف والكاف لهَويتان»", "ai_swe_pattern": "**Physical/Functional Coordinate Embeddings & Feature-Ordered Indexing**: Index vocabulary/symbols along continuous generative-mechanism axes rather than arbitrary lexical/UTF-8 order for compact manifold sharing.", "domains": [ "decoding_pruning", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "KH-04", "book_num": 2, "book_id": "02_khalil_al_ayn", "book_title": "Al-Khalīl ibn Aḥmad — *Kitāb al-ʿAyn*", "author": "al-Khalīl ibn Aḥmad al-Farāhīdī (170/175)", "school": "`basran/` · **Basran** (Founder)", "corpus_path": "/root/grammarian_corpus/basran/Al_Khalil_Al_Ayn.txt", "name": "Hard Adjacent-Pair Exclusion with Explicit Composition Exception", "line_ref": "L179, L19594", "anchor_lines": [ 179, 19594 ], "arabic_quotes": [ "العَيْن لا تَأْتَلِف مع الحاء في كلمة واحدة لقُرْب مَخْرَجَيْهما إلا أنّ يُشْتَقَّ فِعلٌ من جمعٍ بين كلمتين", "القاف والكاف لا يجتمعان... إلا أن تكون الكلمة معربة" ], "raw_citation": "**L179, L19594**: «العَيْن لا تَأْتَلِف مع الحاء في كلمة واحدة لقُرْب مَخْرَجَيْهما إلا أنّ يُشْتَقَّ فِعلٌ من جمعٍ بين كلمتين» / «القاف والكاف لا يجتمعان... إلا أن تكون الكلمة معربة»", "ai_swe_pattern": "**Tiered Hard Grammar Masks with Provenance-Aware Escape Hatches**: Block illegal token/AST transitions by default, while explicitly exempting cross-module/foreign-FFI/compound boundaries (`loanword` / `external_lib` namespace).", "domains": [ "decoding_pruning", "ast_representation", "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "KH-05", "book_num": 2, "book_id": "02_khalil_al_ayn", "book_title": "Al-Khalīl ibn Aḥmad — *Kitāb al-ʿAyn*", "author": "al-Khalīl ibn Aḥmad al-Farāhīdī (170/175)", "school": "`basran/` · **Basran** (Founder)", "corpus_path": "/root/grammarian_corpus/basran/Al_Khalil_Al_Ayn.txt", "name": "Bounded Radical Arity Taxonomy (2/3/4/5-Slot Canonical Schemas)", "line_ref": "L18–22", "anchor_lines": [ 18, 19, 20, 21, 22 ], "arabic_quotes": [ "كلاَمُ العَرَب مبنيّ على أربعةِ أصناف: على الثُنَائِيِّ والثُّلاَثِيّ، والرُّباعيّ، والخماسيّ" ], "raw_citation": "**L18–22**: «كلاَمُ العَرَب مبنيّ على أربعةِ أصناف: على الثُنَائِيِّ والثُّلاَثِيّ، والرُّباعيّ، والخماسيّ»", "ai_swe_pattern": "**Fixed-Arity Structured Latent Factorization**: Decompose unbounded BPE token streams into fixed-arity canonical tuples `(Root, Wazn, Affixes)` or `(Fāʾ_inputs, ʿAyn_kernel, Lām_contract)`.", "domains": [ "agentic_routing", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SB-01", "book_num": 3, "book_id": "03_sibawayh_al_kitab", "book_title": "Sībawayh — *Al-Kitāb*", "author": "ʿAmr ibn ʿUthmān Sībawayh (180)", "school": "`basran/` · **Basran** (Canonical Syntactician)", "corpus_path": "/root/grammarian_corpus/basran/Sibawayh_Al_Kitab.txt", "name": "5-State Validity × Truthfulness Verification Matrix (*Bāb al-Istiqāmah*)", "line_ref": "L325–332", "anchor_lines": [ 325, 326, 327, 328, 329, 330, 331, 332 ], "arabic_quotes": [ "فمنه مستقيم حسن، ومحال، ومستقيم كذب، ومستقيم قبيح، وما هو محال كذب" ], "raw_citation": "**L325–332**: «فمنه مستقيم حسن، ومحال، ومستقيم كذب، ومستقيم قبيح، وما هو محال كذب»", "ai_swe_pattern": "**Orthogonal Syntax × Semantics × Runtime Truth Verifier**: Separate (1) `Mustaqīm Ḥasan` (valid + true), (2) `Mustaqīm Qabīḥ` (runs, bad style/anti-pattern), (3) `Mustaqīm Kadhib` (runs, wrong spec answer), (4) `Muḥāl` (type/runtime contradiction), (5) `Muḥāl Kadhib` (contradiction + false).", "domains": [ "verification_search", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SB-02", "book_num": 3, "book_id": "03_sibawayh_al_kitab", "book_title": "Sībawayh — *Al-Kitāb*", "author": "ʿAmr ibn ʿUthmān Sībawayh (180)", "school": "`basran/` · **Basran** (Canonical Syntactician)", "corpus_path": "/root/grammarian_corpus/basran/Sibawayh_Al_Kitab.txt", "name": "Dual-Layer Surface vs. Governed State Separation (8 *Majārī* → 4 Surfaces) & *ʿĀmil", "line_ref": "L142–152, L10713", "anchor_lines": [ 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 10713 ], "arabic_quotes": [ "تجري على ثمانية مجار... يجمعهن في اللفظ أربعة أضرب... لأفرق بين ما يدخله... لما يحدث فيه العامل... وبين ما يبنى عليه الحرف", "حروف الجزم لا تجزم إلا الأفعال" ], "raw_citation": "**L142–152, L10713**: «تجري على ثمانية مجار... يجمعهن في اللفظ أربعة أضرب... لأفرق بين ما يدخله... لما يحدث فيه العامل... وبين ما يبنى عليه الحرف» / «حروف الجزم لا تجزم إلا الأفعال»", "ai_swe_pattern": "**Typed Governor-Scoped State Machine & Strict Operator-Domain Typing**: Disambiguate surface-identical tokens by dynamic governor (*ʿāmil*) vs static constant (*mabnī*); enforce strict type-domain signatures on every operator (e.g., jazm → verb only; AST call → typed args).", "domains": [ "ast_representation", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SB-03", "book_num": 3, "book_id": "03_sibawayh_al_kitab", "book_title": "Sībawayh — *Al-Kitāb*", "author": "ʿAmr ibn ʿUthmān Sībawayh (180)", "school": "`basran/` · **Basran** (Canonical Syntactician)", "corpus_path": "/root/grammarian_corpus/basran/Sibawayh_Al_Kitab.txt", "name": "Sadd al-Masadd (Structural Substitution / Functional Absorption)", "line_ref": "L7108–7111", "anchor_lines": [ 7108, 7109, 7110, 7111 ], "arabic_quotes": [ "باب ما يقع موقع الاسم المبتدإ ويسد مسده... كل واحد منهما لا يستغنى به عن صاحبه" ], "raw_citation": "**L7108–7111**: «باب ما يقع موقع الاسم المبتدإ ويسد مسده... كل واحد منهما لا يستغنى به عن صاحبه»", "ai_swe_pattern": "**Layer Elision + Low-Rank Residual Compensation**: Prune redundant transformer blocks/modules and substitute a compact functional adapter that preserves downstream interface contracts.", "domains": [ "decoding_pruning" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SB-04", "book_num": 3, "book_id": "03_sibawayh_al_kitab", "book_title": "Sībawayh — *Al-Kitāb*", "author": "ʿAmr ibn ʿUthmān Sībawayh (180)", "school": "`basran/` · **Basran** (Canonical Syntactician)", "corpus_path": "/root/grammarian_corpus/basran/Sibawayh_Al_Kitab.txt", "name": "Bāb al-Zakn (Contextual Intent Lookahead)", "line_ref": "L3228–3230", "anchor_lines": [ 3228, 3229, 3230 ], "arabic_quotes": [ "مكة ورب الكعبة. حيث زكنت أنه يريد مكة" ], "raw_citation": "**L3228–3230**: «مكة ورب الكعبة. حيث زكنت أنه يريد مكة»", "ai_swe_pattern": "**Zero-Loss Prompt/Context-Grounded Speculative Decoding**: Predict multi-token continuations deterministically from observable prompt/state trajectory cues and verify in one pass.", "domains": [ "decoding_pruning", "verification_search" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SB-05", "book_num": 3, "book_id": "03_sibawayh_al_kitab", "book_title": "Sībawayh — *Al-Kitāb*", "author": "ʿAmr ibn ʿUthmān Sībawayh (180)", "school": "`basran/` · **Basran** (Canonical Syntactician)", "corpus_path": "/root/grammarian_corpus/basran/Sibawayh_Al_Kitab.txt", "name": "Al-Tanāzuʿ (Multi-Governor Contention Resolution)", "line_ref": "L934–936", "anchor_lines": [ 934, 935, 936 ], "arabic_quotes": [ "باب الفاعلين والمفعولين... ضربت وضربنى زيد... تحمل الاسم على الفعل الذى يليه" ], "raw_citation": "**L934–936**: «باب الفاعلين والمفعولين... ضربت وضربنى زيد... تحمل الاسم على الفعل الذى يليه»", "ai_swe_pattern": "**Locality-Aware Scope Binding & Contention Arbitrator**: When two active operators/tools compete for the same shared argument/resource, bind surface ownership to the nearest governor and pass a clean pointer/reference (*ḍamīr*) to the deferred governor.", "domains": [ "agentic_routing", "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "SB-06", "book_num": 3, "book_id": "03_sibawayh_al_kitab", "book_title": "Sībawayh — *Al-Kitāb*", "author": "ʿAmr ibn ʿUthmān Sībawayh (180)", "school": "`basran/` · **Basran** (Canonical Syntactician)", "corpus_path": "/root/grammarian_corpus/basran/Sibawayh_Al_Kitab.txt", "name": "Priority-First Ordering (*al-ʿInāyah wa-l-Ihtimām*) & *Istighnāʾ* (Suppletion)", "line_ref": "L320, L420", "anchor_lines": [ 320, 420 ], "arabic_quotes": [ "استغناؤهم بالشيء عن الشيء", "كأنهم إنما يقدمون الذي بيانه أهم لهم وهم ببيانه أغنى" ], "raw_citation": "**L320, L420**: «استغناؤهم بالشيء عن الشيء» / «كأنهم إنما يقدمون الذي بيانه أهم لهم وهم ببيانه أغنى»", "ai_swe_pattern": "**Attention-Salience Prompt/Context Front-Loading & Canonical Alias Collapse**: Place highest-information constraints at the head of context windows (anti-\"lost-in-the-middle\"); prune obsolete duplicate operators when a suppletive canonical primitive covers them.", "domains": [ "agentic_routing", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "AK-01", "book_num": 4, "book_id": "04_akhfash_maani_al_quran", "book_title": "Al-Akhfash al-Awsaṭ — *Maʿānī al-Qurʾān*", "author": "Saʿīd ibn Masʿadah al-Akhfash al-Awsaṭ (215)", "school": "`basran/` · **Basran** (Sībawayh's student/transmitter)", "corpus_path": "/root/grammarian_corpus/basran/Al_Akhfash_Maani_Al_Quran.txt", "name": "Semantics-Preserving Optimization Invariant", "line_ref": "L31–33", "anchor_lines": [ 31, 32, 33 ], "arabic_quotes": [ "فثقل عليهم ان يكونوا في كسر ثم يصيروا الى الضم. فارادوا أن يكونا جميعا مضمومين اذا كان ذلك لا يغير المعنى" ], "raw_citation": "**L31–33**: «فثقل عليهم ان يكونوا في كسر ثم يصيروا الى الضم. فارادوا أن يكونا جميعا مضمومين اذا كان ذلك لا يغير المعنى»", "ai_swe_pattern": "**Semantics-Invariant Graph/Prompt/Quantization Rewriting**: Allow cost-reducing structural transformations (kernel fusion, cache compression, prompt simplification) **iff** behavioral equivalence holds (`la yughayyir al-ma'na`).", "domains": [ "decoding_pruning", "verification_search" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "AK-02", "book_num": 4, "book_id": "04_akhfash_maani_al_quran", "book_title": "Al-Akhfash al-Awsaṭ — *Maʿānī al-Qurʾān*", "author": "Saʿīd ibn Masʿadah al-Akhfash al-Awsaṭ (215)", "school": "`basran/` · **Basran** (Sībawayh's student/transmitter)", "corpus_path": "/root/grammarian_corpus/basran/Al_Akhfash_Maani_Al_Quran.txt", "name": "De Morgan Scope Duality over Negated Disjunctions", "line_ref": "L438–443", "anchor_lines": [ 438, 439, 440, 441, 442, 443 ], "arabic_quotes": [ "فيقع النهي عن كل ذا في هذا المعنى فيكون ان ركب الكل او واحدا قد عصى. كما كان في الامر ان صنع واحدا أطاع" ], "raw_citation": "**L438–443**: «فيقع النهي عن كل ذا في هذا المعنى فيكون ان ركب الكل او واحدا قد عصى. كما كان في الامر ان صنع واحدا أطاع»", "ai_swe_pattern": "**Formal Logical-Constraint Compiler for Guardrails & Spec Extraction**: Automatically compile natural-language prohibitions `\"Do not do A or B\"` into `¬A ∧ ¬B` (conjunctive safety veto) vs permissions `\"Do A or B\"` into `A ∨ B` (disjunctive satisfaction).", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "AK-03", "book_num": 4, "book_id": "04_akhfash_maani_al_quran", "book_title": "Al-Akhfash al-Awsaṭ — *Maʿānī al-Qurʾān*", "author": "Saʿīd ibn Masʿadah al-Akhfash al-Awsaṭ (215)", "school": "`basran/` · **Basran** (Sībawayh's student/transmitter)", "corpus_path": "/root/grammarian_corpus/basran/Al_Akhfash_Maani_Al_Quran.txt", "name": "Semantic-Target Override (*al-Ḥaml ʿalā al-Maʿnā*) over Surface Type", "line_ref": "L484–489", "anchor_lines": [ 484, 485, 486, 487, 488, 489 ], "arabic_quotes": [ "فجعله على المعنى لانه يعني امرأة... وانما انثوا لان معنى \"ما\" هو الحاجة" ], "raw_citation": "**L484–489**: «فجعله على المعنى لانه يعني امرأة... وانما انثوا لان معنى \"ما\" هو الحاجة»", "ai_swe_pattern": "**Duck-Typed / Referent-Aware Type Inference in Co-Reference & Tool Binding**: When an underspecified surface container (`Any`, `dict`, `man`/`mā`) dynamically holds a concrete typed referent, resolve downstream agreement and method dispatch from the runtime referent's true type.", "domains": [ "agentic_routing", "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "AK-04", "book_num": 4, "book_id": "04_akhfash_maani_al_quran", "book_title": "Al-Akhfash al-Awsaṭ — *Maʿānī al-Qurʾān*", "author": "Saʿīd ibn Masʿadah al-Akhfash al-Awsaṭ (215)", "school": "`basran/` · **Basran** (Sībawayh's student/transmitter)", "corpus_path": "/root/grammarian_corpus/basran/Al_Akhfash_Maani_Al_Quran.txt", "name": "Set-Exclusion Exception Semantics (*Istithnāʾ* via Valency Saturation)", "line_ref": "L865–868", "anchor_lines": [ 865, 866, 867, 868 ], "arabic_quotes": [ "فانتصب لانك شغلت الفعل بهم عنه فأخرجته من الفعل من بينهم" ], "raw_citation": "**L865–868**: «فانتصب لانك شغلت الفعل بهم عنه فأخرجته من الفعل من بينهم»", "ai_swe_pattern": "**Saturated-Set Subtraction Operator for Query/Filter Parsing**: Model `\"all X except Y\"` by evaluating full-predicate satisfaction first (saturating the main clause) and subtracting the residual exception set rather than negating the predicate globally.", "domains": [ "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "AK-05", "book_num": 4, "book_id": "04_akhfash_maani_al_quran", "book_title": "Al-Akhfash al-Awsaṭ — *Maʿānī al-Qurʾān*", "author": "Saʿīd ibn Masʿadah al-Akhfash al-Awsaṭ (215)", "school": "`basran/` · **Basran** (Sībawayh's student/transmitter)", "corpus_path": "/root/grammarian_corpus/basran/Al_Akhfash_Maani_Al_Quran.txt", "name": "Long-Distance Frame Binding Across Parenthetical Interruptions", "line_ref": "L4899–4900", "anchor_lines": [ 4899, 4900 ], "arabic_quotes": [ "يكتب الرجل: \"أما بعد حفظك الله وعافاك فإني كتبت إليك\" فقوله \"فإني\" محمول على \"أما بعد\"... وبينهما" ], "raw_citation": "**L4899–4900**: «يكتب الرجل: \"أما بعد حفظك الله وعافاك فإني كتبت إليك\" فقوله \"فإني\" محمول على \"أما بعد\"... وبينهما»", "ai_swe_pattern": "**Stack-Protected Long-Range Attention Masking / Parenthetical Bypass**: Maintain an explicit open-frame stack (`ammā ... fa-`, `try ... finally`, nested ``/tool calls) immune to intermediate digression/parenthetical token decay.", "domains": [ "decoding_pruning", "agentic_routing" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "MB-01", "book_num": 5, "book_id": "05_mubarrad_al_muqtadab", "book_title": "Al-Mubarrad — *Al-Muqtaḍab*", "author": "Muḥammad ibn Yazīd al-Mubarrad (285)", "school": "`basran/` · **Basran** (Systematizer)", "corpus_path": "/root/grammarian_corpus/basran/Al_Mubarrad_Al_Muqtadab.txt", "name": "Information-Theoretic Lossless Compression (*al-Ḥadhf maʿa Amān al-Labs*)", "line_ref": "L5049–5057", "anchor_lines": [ 5049, 5050, 5051, 5052, 5053, 5054, 5055, 5056, 5057 ], "arabic_quotes": [ "ما يحذف استخفافا / لأن اللبس فيه مأمون / ومنه ما يحذف لأن ما يبقى دال عليه" ], "raw_citation": "**L5049–5057**: «ما يحذف استخفافا / لأن اللبس فيه مأمون / ومنه ما يحذف لأن ما يبقى دال عليه»", "ai_swe_pattern": "**Ambiguity-Safe KV-Cache / Context / Token Pruning**: Prune a token, layer, or prompt clause for efficiency **iff** surviving context uniquely entails it (`ma yabqa dallun 'alayh`) with zero ambiguity risk (`aman al-labs`).", "domains": [ "decoding_pruning" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "MB-02", "book_num": 5, "book_id": "05_mubarrad_al_muqtadab", "book_title": "Al-Mubarrad — *Al-Muqtaḍab*", "author": "Muḥammad ibn Yazīd al-Mubarrad (285)", "school": "`basran/` · **Basran** (Systematizer)", "corpus_path": "/root/grammarian_corpus/basran/Al_Mubarrad_Al_Muqtadab.txt", "name": "Completeness Stopping Criterion (*Ḥusn al-Sukūt & Wujūb al-Fāʾidah*)", "line_ref": "L98–99, L13255", "anchor_lines": [ 98, 99, 13255 ], "arabic_quotes": [ "جملة يحسن عليها السكوت، وتجب بها الفائدة للمخاطب", "فإذا أوقعت فيه الفائدة فالباب فيه التصرف" ], "raw_citation": "**L98–99, L13255**: «جملة يحسن عليها السكوت، وتجب بها الفائدة للمخاطب» / «فإذا أوقعت فيه الفائدة فالباب فيه التصرف»", "ai_swe_pattern": "**Semantic EOS Calibration & Anti-Early-EOS / Anti-Vacuous-Output Gate**: Block premature `` before a self-contained semantic unit (*fāʾidah*) is closed; reject tautological outputs (`X is X`) that deliver zero new information gain.", "domains": [ "training_rl", "decoding_pruning" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "MB-03", "book_num": 5, "book_id": "05_mubarrad_al_muqtadab", "book_title": "Al-Mubarrad — *Al-Muqtaḍab*", "author": "Muḥammad ibn Yazīd al-Mubarrad (285)", "school": "`basran/` · **Basran** (Systematizer)", "corpus_path": "/root/grammarian_corpus/basran/Al_Mubarrad_Al_Muqtadab.txt", "name": "Inverse Diagnostic Probing (*al-Taṣghīr Yarudd ilā al-Aṣl*)", "line_ref": "L9863–9865, L10645", "anchor_lines": [ 9863, 9864, 9865, 10645 ], "arabic_quotes": [ "في تصغير الترخيم فإنه يحذف منه الزوائد، ولا تحذف الأصول", "يرد في التصغير إلى أصله" ], "raw_citation": "**L9863–9865, L10645**: «في تصغير الترخيم فإنه يحذف منه الزوائد، ولا تحذف الأصول» / «يرد في التصغير إلى أصله»", "ai_swe_pattern": "**Perturbation / Downscaling Probe for Latent Structure Recovery**: Apply a controlled simplifying transform (minimal-input fuzz probe, stripped AST skeleton, reduced-scale instance) that strips superficial wrappers (*zawāʾid*) and exposes the true underlying root/algorithm (*aṣl*).", "domains": [ "training_rl", "verification_search", "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "MB-04", "book_num": 5, "book_id": "05_mubarrad_al_muqtadab", "book_title": "Al-Mubarrad — *Al-Muqtaḍab*", "author": "Muḥammad ibn Yazīd al-Mubarrad (285)", "school": "`basran/` · **Basran** (Systematizer)", "corpus_path": "/root/grammarian_corpus/basran/Al_Mubarrad_Al_Muqtadab.txt", "name": "Collision Repair (*Iltiqāʾ al-Sākinayn*) via Minimal-Conflict Perturbation", "line_ref": "L65–70", "anchor_lines": [ 65, 66, 67, 68, 69, 70 ], "arabic_quotes": [ "وإنما حركت نون الجمع... لالتقاء الساكنين، فحركت... بالفتح لأن الكسر والضم لا يصلحان فيها" ], "raw_citation": "**L65–70**: «وإنما حركت نون الجمع... لالتقاء الساكنين، فحركت... بالفتح لأن الكسر والضم لا يصلحان فيها»", "ai_swe_pattern": "**Constraint-Guided Conflict Resolution (SAT/Merge Repair)**: When two incompatible adjacent states collide (dependency conflict, merge conflict, grammar deadlock), select the unique repair transition that minimizes secondary constraint violations.", "domains": [ "verification_search", "agentic_routing" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "MB-05", "book_num": 5, "book_id": "05_mubarrad_al_muqtadab", "book_title": "Al-Mubarrad — *Al-Muqtaḍab*", "author": "Muḥammad ibn Yazīd al-Mubarrad (285)", "school": "`basran/` · **Basran** (Systematizer)", "corpus_path": "/root/grammarian_corpus/basran/Al_Mubarrad_Al_Muqtadab.txt", "name": "Cross-Operator Semantic Interface Equivalence", "line_ref": "L1279–1281", "anchor_lines": [ 1279, 1280, 1281 ], "arabic_quotes": [ "اعلم أن الفعلين إذا اتفقا في المعنى جاز أن يحمل مصدر أحدهما على الآخر" ], "raw_citation": "**L1279–1281**: «اعلم أن الفعلين إذا اتفقا في المعنى جاز أن يحمل مصدر أحدهما على الآخر»", "ai_swe_pattern": "**Behavioral Interface Duck-Typing & Structural Transfer**: Allow an output schema/adapter from operator $A$ to serve operator $B$ whenever $A$ and $B$ share behavioral semantics, enabling zero-shot cross-library API substitution.", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JD-01", "book_num": 6, "book_id": "06_ibn_durayd_jamhara", "book_title": "Ibn Durayd — *Jamharat al-Lughah*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Lexicographer)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Jamharat_Al_Lughah.txt", "name": "Maximal Feature-Space Separation / Orthogonality Law", "line_ref": "L207–213", "anchor_lines": [ 207, 208, 209, 210, 211, 212, 213 ], "arabic_quotes": [ "الحروف إذا تقاربت مخارجها كانت أثقل على اللسان منها إذا تباعدت... وإذا تباعدت مخارج الحروف حسن وجه التأليف" ], "raw_citation": "**L207–213**: «الحروف إذا تقاربت مخارجها كانت أثقل على اللسان منها إذا تباعدت... وإذا تباعدت مخارج الحروف حسن وجه التأليف»", "ai_swe_pattern": "**Orthogonal Ensemble / Diversity-Regularized Decoding & Multi-Agent Design**: Penalize near-duplicate representations/candidates in embedding space; force diverse candidate paradigms (*taqlībāt*) and orthogonal LoRA/expert subspaces to avoid representation collapse.", "domains": [ "training_rl", "decoding_pruning", "verification_search", "agentic_routing", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "JD-02", "book_num": 6, "book_id": "06_ibn_durayd_jamhara", "book_title": "Ibn Durayd — *Jamharat al-Lughah*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Lexicographer)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Jamharat_Al_Lughah.txt", "name": "Asymmetric Strength-First Ordering (*al-Badʾ bi-l-Aqwā thumma al-Alyan*)", "line_ref": "L215–220", "anchor_lines": [ 215, 216, 217, 218, 219, 220 ], "arabic_quotes": [ "لا يكاد يجيء في الكلام ثلاثة أحرف من جنس واحد... أن يبدأوا بالأقوى من الحرفين ويؤخروا الألين" ], "raw_citation": "**L215–220**: «لا يكاد يجيء في الكلام ثلاثة أحرف من جنس واحد... أن يبدأوا بالأقوى من الحرفين ويؤخروا الألين»", "ai_swe_pattern": "**Fail-Fast / Strongest-Constraint-First Verification Pipeline**: Cap homogeneous repetition runs (`<3` identical consecutive ops/retries) and always order verification gates from strongest/cheapest deterministic invariant first (`Syntax/Type` → `Live API` → `Fuzzy LLM judge`).", "domains": [ "verification_search", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "JD-03", "book_num": 6, "book_id": "06_ibn_durayd_jamhara", "book_title": "Ibn Durayd — *Jamharat al-Lughah*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Lexicographer)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Jamharat_Al_Lughah.txt", "name": "Strict Authenticity Rejection Gate (*Fardudhu*)", "line_ref": "L204–206, L298–301", "anchor_lines": [ 204, 205, 206, 298, 299, 300, 301 ], "arabic_quotes": [ "عرفت موضع الدخل منها فرددتها غير هائب لها", "فإنه ليس من كلام العرب فاردده" ], "raw_citation": "**L204–206, L298–301**: «عرفت موضع الدخل منها فرددتها غير هائب لها» / «فإنه ليس من كلام العرب فاردده»", "ai_swe_pattern": "**Zero-Hesitation OOD / Hallucinated-Symbol Circuit Breaker**: Reject generated symbols/imports/citations that violate domain structural invariants immediately rather than trying to softly repair fabricated artifacts.", "domains": [ "verification_search", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JD-04", "book_num": 6, "book_id": "06_ibn_durayd_jamhara", "book_title": "Ibn Durayd — *Jamharat al-Lughah*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Lexicographer)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Jamharat_Al_Lughah.txt", "name": "Two-Tier Bucketed Lookup Index (Length × Canonical Alphabet)", "line_ref": "L47–53", "anchor_lines": [ 47, 48, 49, 50, 51, 52, 53 ], "arabic_quotes": [ "حرف ثنائي... وأما الثلاثي فإنا بدأ بالسالم... ومن أراد بناء يلحق... أفردنا له بابا... فأما الرباعي فإن أبوابه مجمهرة على حدتها" ], "raw_citation": "**L47–53**: «حرف ثنائي... وأما الثلاثي فإنا بدأ بالسالم... ومن أراد بناء يلحق... أفردنا له بابا... فأما الرباعي فإن أبوابه مجمهرة على حدتها»", "ai_swe_pattern": "**Sharded Multi-Index Retrieval (Arity/Complexity Partitioning + Fast-Path Isolation)**: Separate clean common-case (\"sound/triliteral\") queries into an O(1) fast index and isolate complex/irregular (\"weak/augmented/quadriliteral\") queries into dedicated handlers.", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JD-05", "book_num": 6, "book_id": "06_ibn_durayd_jamhara", "book_title": "Ibn Durayd — *Jamharat al-Lughah*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Lexicographer)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Jamharat_Al_Lughah.txt", "name": "Transition-Cost Minimization via Nearest-Neighbor Assimilation", "line_ref": "L332–336", "anchor_lines": [ 332, 333, 334, 335, 336 ], "arabic_quotes": [ "فاستثقلوا أن يقع اللسان عليها ثم يرتفع إلى الطاء والقاف فأبدلوا السين صادا لأنها أقرب الحروف إليها" ], "raw_citation": "**L332–336**: «فاستثقلوا أن يقع اللسان عليها ثم يرتفع إلى الطاء والقاف فأبدلوا السين صادا لأنها أقرب الحروف إليها»", "ai_swe_pattern": "**Minimum-Edit-Distance Type Coercion / Nearest-Valid-Token Projection**: When a generated token or type causes a high-cost transition clash with its neighbor, snap it to the nearest valid neighbor in feature space rather than restarting generation.", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "DI-01", "book_num": 7, "book_id": "07_ibn_durayd_ishtiqaq", "book_title": "Ibn Durayd — *Kitāb al-Ishtiqāq*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Etymologist)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Kitab_Al_Ishtiqaq.txt", "name": "Bounded-Depth Recursion Guard (Anti-Infinite Regress)", "line_ref": "L13–16", "anchor_lines": [ 13, 14, 15, 16 ], "arabic_quotes": [ "ولم نتعد ذلك... احتجنا إلى اشتقاق الأول التي نشتق منها... نهاية له" ], "raw_citation": "**L13–16**: «ولم نتعد ذلك... احتجنا إلى اشتقاق الأول التي نشتق منها... نهاية له»", "ai_swe_pattern": "**Explicit Base-Case / Depth-Bounded Reasoning & RAG Expansion**: Define irreducible terminal axioms (*al-uwal*) before launching recursive agentic decomposition or multi-hop retrieval so search terminates cleanly instead of spiraling.", "domains": [ "agentic_routing", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "DI-02", "book_num": 7, "book_id": "07_ibn_durayd_ishtiqaq", "book_title": "Ibn Durayd — *Kitāb al-Ishtiqāq*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Etymologist)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Kitab_Al_Ishtiqaq.txt", "name": "Adversarial vs. Cooperative Intent-Conditioned Naming / Framing", "line_ref": "L27–30", "anchor_lines": [ 27, 28, 29, 30 ], "arabic_quotes": [ "سمت أبناءها لأعدائها، وسمت عبيدها لأنفسها" ], "raw_citation": "**L27–30**: «سمت أبناءها لأعدائها، وسمت عبيدها لأنفسها»", "ai_swe_pattern": "**Audience/Threat-Model-Aware Policy Conditioning**: Model outputs/defenses differently depending on whether an interface faces external untrusted/adversarial callers (*hardened strict validation*) vs internal trusted components (*ergonomic concise API*).", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "DI-03", "book_num": 7, "book_id": "07_ibn_durayd_ishtiqaq", "book_title": "Ibn Durayd — *Kitāb al-Ishtiqāq*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Etymologist)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Kitab_Al_Ishtiqaq.txt", "name": "Morphological Pattern → Behavioral Property Inference (*Mufaʿʿal* Intensity)", "line_ref": "L69–70", "anchor_lines": [ 69, 70 ], "arabic_quotes": [ "مفعل صفة تلزم من كثر منه فعل ذلك الشيء" ], "raw_citation": "**L69–70**: «مفعل صفة تلزم من كثر منه فعل ذلك الشيء»", "ai_swe_pattern": "**Identifier-Pattern Prior Extraction for Code Understanding**: Infer function/class behavioral contracts directly from naming morphology (`is_*`/`has_*` → bool, `*_cache`/`*_pool` → stateful, `*_iter` → generator, `retry_*` → idempotent loop).", "domains": [ "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "DI-04", "book_num": 7, "book_id": "07_ibn_durayd_ishtiqaq", "book_title": "Ibn Durayd — *Kitāb al-Ishtiqāq*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Etymologist)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Kitab_Al_Ishtiqaq.txt", "name": "Multi-Hypothesis Origin Tracking (Preserve Ambiguous Provenance)", "line_ref": "L146", "anchor_lines": [ 146 ], "arabic_quotes": [ "وعمرو مشتق من شيئين: إما من العمر..." ], "raw_citation": "**L146**: «وعمرو مشتق من شيئين: إما من العمر...»", "ai_swe_pattern": "**Top-$k$ Hypothesis Beam Retention under Equivocal Evidence**: When an identifier, bug trace, or ambiguous spec admits 2+ valid derivations, maintain a small hypothesis set until disambiguating execution evidence arrives (avoid premature argmax collapse).", "domains": [ "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "DI-05", "book_num": 7, "book_id": "07_ibn_durayd_ishtiqaq", "book_title": "Ibn Durayd — *Kitāb al-Ishtiqāq*", "author": "Abū Bakr Muḥammad Ibn Durayd (321)", "school": "`basran/` · **Basran** (Etymologist)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Durayd_Kitab_Al_Ishtiqaq.txt", "name": "Anti-Arbitrariness Principle (Every Symbol Has Recoverable Grounding)", "line_ref": "L17–21", "anchor_lines": [ 17, 18, 19, 20, 21 ], "arabic_quotes": [ "ممن يطعن... وينسب أهله إلى التسمية بما لا أصل له في لغتهم" ], "raw_citation": "**L17–21**: «ممن يطعن... وينسب أهله إلى التسمية بما لا أصل له في لغتهم»", "ai_swe_pattern": "**Zero-Unexplained-Symbol Audit for Code & Translation**: Flag any opaque magic constant, ungrounded variable, or untranslated proper noun in agent outputs as requiring explicit provenance back to prompt/source/library.", "domains": [ "agentic_routing", "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "ZI-01", "book_num": 8, "book_id": "08_zajjaji_idah_fi_ilal", "book_title": "Al-Zajjājī — *Al-Īḍāḥ fī ʿIlal al-Naḥw*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Grammar Philosophy)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Al_Idah_Fi_Ilal_Al_Nahw.txt", "name": "Three-Tier Explanatory Hierarchy (*Taʿlīmiyyah* / *Qiyāsiyyah* / *Jadaliyyah*)", "line_ref": "L416–420", "anchor_lines": [ 416, 417, 418, 419, 420 ], "arabic_quotes": [ "علل النحو... على ثلاثة أضرب: علل تعليمية، وعلل قياسية، وعلل جدلية نظرية", "سمعنا بعضا فقسنا عليه نظيره" ], "raw_citation": "**L416–420**: «علل النحو... على ثلاثة أضرب: علل تعليمية، وعلل قياسية، وعلل جدلية نظرية» / «سمعنا بعضا فقسنا عليه نظيره»", "ai_swe_pattern": "**3-Layer ML System Architecture**: Separate (1) **Operational Execution Rules** (*taʿlīmiyyah* — compact executable priors), (2) **Generalization/Transfer Mechanisms** (*qiyāsiyyah* — representation sharing), and (3) **Adversarial Stress-Testing/Verification** (*jadaliyyah* — red-team & falsification).", "domains": [ "verification_search" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "ZI-02", "book_num": 8, "book_id": "08_zajjaji_idah_fi_ilal", "book_title": "Al-Zajjājī — *Al-Īḍāḥ fī ʿIlal al-Naḥw*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Grammar Philosophy)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Al_Idah_Fi_Ilal_Al_Nahw.txt", "name": "Defeasible-Theory Epistemology (Data Overrides Inferred Rule — al-Khalīl's House Metaphor)", "line_ref": "L414–415, L454–459", "anchor_lines": [ 414, 415, 454, 455, 456, 457, 458, 459 ], "arabic_quotes": [ "علل النحو ليست موجبة، وإنما هي مستنبطة", "إن العرب نطقت على سجيتها... واعتللت أنا بما عندي أنه علة... فإن أكن أصبت العلة فهو الذي التمست" ], "raw_citation": "**L414–415, L454–459**: «علل النحو ليست موجبة، وإنما هي مستنبطة» / «إن العرب نطقت على سجيتها... واعتللت أنا بما عندي أنه علة... فإن أكن أصبت العلة فهو الذي التمست»", "ai_swe_pattern": "**Execution-Truth Supremacy over Heuristic Priors**: Treat every learned heuristic, static analyzer warning, or LLM rationale as a *defeasible hypothesis*; empirical execution / verified ground truth always overrides an inferred rule.", "domains": [ "verification_search", "agentic_routing" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "ZI-03", "book_num": 8, "book_id": "08_zajjaji_idah_fi_ilal", "book_title": "Al-Zajjājī — *Al-Īḍāḥ fī ʿIlal al-Naḥw*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Grammar Philosophy)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Al_Idah_Fi_Ilal_Al_Nahw.txt", "name": "Information-Theoretic Origin of Structural Markers (*Iʿrāb* Disambiguates Identical Bags)", "line_ref": "L515–518", "anchor_lines": [ 515, 516, 517, 518 ], "arabic_quotes": [ "إن الأسماء لما كانت تعتورها المعاني، فتكون فاعلة ومفعولة... ولم تكن في صورها وأبنيتها أدلة... جعلت حركات الإعراب فيها تنبئ عن هذه المعاني" ], "raw_citation": "**L515–518**: «إن الأسماء لما كانت تعتورها المعاني، فتكون فاعلة ومفعولة... ولم تكن في صورها وأبنيتها أدلة... جعلت حركات الإعراب فيها تنبئ عن هذه المعاني»", "ai_swe_pattern": "**Role/Dependency Tag Injection at Layer-0**: Because bag-of-tokens / raw BPE embeddings are role-blind (`subj` vs `obj`, `caller` vs `callee`, `arg` vs `return`), explicitly inject lightweight structural role embeddings (*ʿāmil/maʿmūl* AST roles).", "domains": [ "training_rl", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "ZI-04", "book_num": 8, "book_id": "08_zajjaji_idah_fi_ilal", "book_title": "Al-Zajjājī — *Al-Īḍāḥ fī ʿIlal al-Naḥw*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Grammar Philosophy)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Al_Idah_Fi_Ilal_Al_Nahw.txt", "name": "Compute/Complexity Load Balancing (*Takhfīf al-Thaqīl wa-Ilzām al-Khafīf*)", "line_ref": "L936, L1079–1081", "anchor_lines": [ 936, 1079, 1080, 1081 ], "arabic_quotes": [ "الأفعال ثقيلة، والأسماء خفيفة، فجعل لازما للأخف", "ليعتدل الكلام فتخفيف الثقيل وإلزام بعض الثقيل للخفيف" ], "raw_citation": "**L936, L1079–1081**: «الأفعال ثقيلة، والأسماء خفيفة، فجعل لازما للأخف» / «ليعتدل الكلام فتخفيف الثقيل وإلزام بعض الثقيل للخفيف»", "ai_swe_pattern": "**Asymmetric Compute Budgeting across Pipeline Stages**: Offload heavy work away from already-expensive components (e.g., trim/apocopate heavy reasoning loops via fast O(1) deterministic pre-checks; keep heavy models light by attaching extra metadata to cheap CPU/Layer-0 ops).", "domains": [ "decoding_pruning", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "ZI-05", "book_num": 8, "book_id": "08_zajjaji_idah_fi_ilal", "book_title": "Al-Zajjājī — *Al-Īḍāḥ fī ʿIlal al-Naḥw*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Grammar Philosophy)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Al_Idah_Fi_Ilal_Al_Nahw.txt", "name": "Exception Isolation (*al-Khurūj bi-ʿIllah lā Yanquḍ al-Bāb*)", "line_ref": "L192–194", "anchor_lines": [ 192, 193, 194 ], "arabic_quotes": [ "قد يكون له أصل مجتمع عليه، ثم يخرج منه بعضه لعلة تدخل عليه، فلا يكون ذلك ناقضا للباب، بل يخرج منه ما خرج بعلته، ويبقى الثاني على حاله" ], "raw_citation": "**L192–194**: «قد يكون له أصل مجتمع عليه، ثم يخرج منه بعضه لعلة تدخل عليه، فلا يكون ذلك ناقضا للباب، بل يخرج منه ما خرج بعلته، ويبقى الثاني على حاله»", "ai_swe_pattern": "**Modular Scoped Overrides Without Catastrophic Drift**: Handle documented domain exceptions via localized conditional overrides/adapters rather than re-training or distorting global base weights/rules.", "domains": [ "training_rl", "agentic_routing", "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "ZI-06", "book_num": 8, "book_id": "08_zajjaji_idah_fi_ilal", "book_title": "Al-Zajjājī — *Al-Īḍāḥ fī ʿIlal al-Naḥw*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Grammar Philosophy)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Al_Idah_Fi_Ilal_Al_Nahw.txt", "name": "Minimal Complete Type System (Entity / Predicate / Connector)", "line_ref": "L36–38", "anchor_lines": [ 36, 37, 38 ], "arabic_quotes": [ "المخبر عنه... الاسم، والخبر هو الفعل... ولابد من رباط بينهما وهو الحرف، ولن يوجد إلى معنى رابع سبيل" ], "raw_citation": "**L36–38**: «المخبر عنه... الاسم، والخبر هو الفعل... ولابد من رباط بينهما وهو الحرف، ولن يوجد إلى معنى رابع سبيل»", "ai_swe_pattern": "**Minimal Tripartite IR (Nodes / Operators / Edges)**: Canonicalize any domain graph (AST, knowledge graph, agent workflow) into exactly 3 primitive types: Entities, State-Transformers, and Relational Connectors.", "domains": [ "agentic_routing", "ast_representation", "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "ZH-01", "book_num": 9, "book_id": "09_zajjaji_huruf_al_maani", "book_title": "Al-Zajjājī — *Ḥurūf al-Maʿānī*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Function-Word Logic)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Huruf_Al_Maani.txt", "name": "Counterfactual Dual Operators (*Law* vs. *Lawlā*)", "line_ref": "L37–40", "anchor_lines": [ 37, 38, 39, 40 ], "arabic_quotes": [ "لو يمتنع بها الشيء لامتناع غيره", "لولا... يمتنع بها الشيء لوجود غيره" ], "raw_citation": "**L37–40**: «لو يمتنع بها الشيء لامتناع غيره» / «لولا... يمتنع بها الشيء لوجود غيره»", "ai_swe_pattern": "**Counterfactual Causality Testing (`¬A → ¬B` Necessity vs. `A → ¬B` Blocking)**: Structure ablation & debugging probes explicitly into *necessary-cause removal* (*law*: remove component, see if success vanishes) and *blocker removal* (*lawlā*: remove blocker, see if success emerges).", "domains": [ "verification_search", "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "ZH-02", "book_num": 9, "book_id": "09_zajjaji_huruf_al_maani", "book_title": "Al-Zajjājī — *Ḥurūf al-Maʿānī*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Function-Word Logic)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Huruf_Al_Maani.txt", "name": "Strict Polarity-Gated Response Protocol (*Balā* vs. *Naʿam*)", "line_ref": "L71–75", "anchor_lines": [ 71, 72, 73, 74, 75 ], "arabic_quotes": [ "بلى إيجاب للنفي... نعم عدة وتصديق... ولا تقع جوابا للنفي كما أن بلى لا تقع جوابا للواجب" ], "raw_citation": "**L71–75**: «بلى إيجاب للنفي... نعم عدة وتصديق... ولا تقع جوابا للنفي كما أن بلى لا تقع جوابا للواجب»", "ai_swe_pattern": "**Unambiguous Boolean Verification Schemas**: Eliminate sycophantic/ambiguous `\"Yes\"` answers to negative assertions (`\"Did it NOT fail? Yes\"`) by enforcing typed 3-way verdicts (`AFFIRM_POSITIVE` / `REFUTE_NEGATIVE` / `CONFIRM_NEGATIVE`) in LLM judges and tool protocols.", "domains": [ "verification_search", "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "ZH-03", "book_num": 9, "book_id": "09_zajjaji_huruf_al_maani", "book_title": "Al-Zajjājī — *Ḥurūf al-Maʿānī*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Function-Word Logic)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Huruf_Al_Maani.txt", "name": "Temporal-Polarity Domain Licensing (*Qaṭṭ* & *Lā* Past-Existential Lock)", "line_ref": "L389–391, L444–447", "anchor_lines": [ 389, 390, 391, 444, 445, 446, 447 ], "arabic_quotes": [ "الماضي يوجب وجود الفعل... ولا يكون النفي مع الوجود في حال", "قط... لا تقع في هذا الوجه إلا في النفي لو قلت رأيته قط كان محالا" ], "raw_citation": "**L389–391, L444–447**: «الماضي يوجب وجود الفعل... ولا يكون النفي مع الوجود في حال» / «قط... لا تقع في هذا الوجه إلا في النفي لو قلت رأيته قط كان محالا»", "ai_swe_pattern": "**State-History Immutability & Polarity-Licensed Assertions**: Enforce monotonic append-only execution logs (past observed facts cannot be negated without contradiction) and restrict universal-history quantifiers (`never`/`always`) strictly to valid polarity/time domains.", "domains": [ "verification_search", "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "ZH-04", "book_num": 9, "book_id": "09_zajjaji_huruf_al_maani", "book_title": "Al-Zajjājī — *Ḥurūf al-Maʿānī*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Function-Word Logic)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Huruf_Al_Maani.txt", "name": "Precondition-Gated Correction Operator (*Lākin* / *Bal*)", "line_ref": "L191–194, L199–200", "anchor_lines": [ 191, 192, 193, 194, 199, 200 ], "arabic_quotes": [ "فترك الأول وأخذ ببل في كلام ثان", "لكن استدراك بعد الجحود... لو قلت خرج زيد لكن عمرو لم يصح" ], "raw_citation": "**L191–194, L199–200**: «فترك الأول وأخذ ببل في كلام ثان» / «لكن استدراك بعد الجحود... لو قلت خرج زيد لكن عمرو لم يصح»", "ai_swe_pattern": "**Structured Agent Revision Semantics (`OVERRIDE` vs. `REFINEMENT`)**: Distinguish *bal* (abort/replace failed plan completely) from *lākin* (preserve prior negation/constraint while adding targeted exception patch) in multi-turn repair loops.", "domains": [ "verification_search", "agentic_routing", "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "ZH-05", "book_num": 9, "book_id": "09_zajjaji_huruf_al_maani", "book_title": "Al-Zajjājī — *Ḥurūf al-Maʿānī*", "author": "Abū al-Qāsim al-Zajjājī (337/340)", "school": "`basran/` · **Basran / Baghdadi** (Function-Word Logic)", "corpus_path": "/root/grammarian_corpus/basran/Al_Zajjaji_Huruf_Al_Maani.txt", "name": "Context-Driven Polymorphic Operator Dispatch (*ʿAlā* 3-way, *Siwā* 4-way)", "line_ref": "L310–323", "anchor_lines": [ 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323 ], "arabic_quotes": [ "على لها ثلاثة مواضع تكون اسما وفعلا وحرفا", "سوى لها أربعة مواضع تكون اسما وظرفا وتحقيقا ومصدرا" ], "raw_citation": "**L310–323**: «على لها ثلاثة مواضع تكون اسما وفعلا وحرفا» / «سوى لها أربعة مواضع تكون اسما وظرفا وتحقيقا ومصدرا»", "ai_swe_pattern": "**Syntactic-Frame Disambiguation for Overloaded Tokens/Symbols**: Resolve overloaded operators (`*`, `+`, `in`, `على`, `ما`) deterministically via local grammatical/AST slot signatures before semantic scoring.", "domains": [ "training_rl", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "JK-01", "book_num": 10, "book_id": "10_ibn_jinni_khasais", "book_title": "Ibn Jinnī — *Al-Khaṣāʾiṣ*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Philosophical Philology)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Al_Khasais.txt", "name": "Al-Ishtiqāq al-Akbar ($S_3$ Permutation-Orbit Invariance)", "line_ref": "L266, L7625–7629", "anchor_lines": [ 266, 7625, 7626, 7627, 7628, 7629 ], "arabic_quotes": [ "باب في الاشتقاق الأكبر", "تصرف \"ق ول\" وما كان أيضا من تقاليبها الستة... جميعها إنما هو للإسراع والخفة" ], "raw_citation": "**L266, L7625–7629**: «باب في الاشتقاق الأكبر» / «تصرف \"ق ول\" وما كان أيضا من تقاليبها الستة... جميعها إنما هو للإسراع والخفة»", "ai_swe_pattern": "**Orthogonal Paradigm Generation & Permutation-Equivariant Representation Sharing**: Generate diverse algorithmic implementations across orthogonal paradigms that share the same invariant spec; share parameters across permutation-equivalent root orbits.", "domains": [ "verification_search" ], "status": "PROVEN", "status_note": "`[PROVEN]` *(paradigms)* / `[UNTAPPED]` *(weight-orbit sharing)*" }, { "id": "JK-02", "book_num": 10, "book_id": "10_ibn_jinni_khasais", "book_title": "Ibn Jinnī — *Al-Khaṣāʾiṣ*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Philosophical Philology)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Al_Khasais.txt", "name": "Al-Tadrīj (Non-Destructive Continual Gradualism)", "line_ref": "L6118–6121", "anchor_lines": [ 6118, 6119, 6120, 6121 ], "arabic_quotes": [ "فزيد فيها شيئا فشيئا، إلا أنه على قياس ما كان سبق منها... لا يخالف الثاني الأول، ولا الثالث الثاني" ], "raw_citation": "**L6118–6121**: «فزيد فيها شيئا فشيئا، إلا أنه على قياس ما كان سبق منها... لا يخالف الثاني الأول، ولا الثالث الثاني»", "ai_swe_pattern": "**Continual-Learning Anti-Forgetting Schedule & Progressive Curriculum**: Update models in small, low-LR, basis-aligned increments (sparse top-layer Native-BF16 LoRA, exact basin soup) so Stage $t+1$ strictly preserves Stage $t$'s manifold.", "domains": [ "training_rl" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JK-03", "book_num": 10, "book_id": "10_ibn_jinni_khasais", "book_title": "Ibn Jinnī — *Al-Khaṣāʾiṣ*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Philosophical Philology)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Al_Khasais.txt", "name": "Imtināʿ min Naqḍ al-Gharaḍ (Goal-Monotonicity Lock)", "line_ref": "L1861–1867, L16353–16354", "anchor_lines": [ 1861, 1862, 1863, 1864, 1865, 1866, 1867, 16353, 16354 ], "arabic_quotes": [ "باب في الامتناع من نقض الغرض", "ففي حذف هذه النون نقض الغرض", "لو أدغمت لنقضت الغرض الذي اعتزمت" ], "raw_citation": "**L1861–1867, L16353–16354**: «باب في الامتناع من نقض الغرض» / «ففي حذف هذه النون نقض الغرض» / «لو أدغمت لنقضت الغرض الذي اعتزمت»", "ai_swe_pattern": "**Locked-Invariant Monotonic Repair & Objective Conflict Guard**: Never apply an optimization/patch that breaks a previously satisfied objective or passing test; reject candidate edits that violate locked invariants (*naqḍ al-gharaḍ*).", "domains": [ "verification_search", "agentic_routing" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JK-04", "book_num": 10, "book_id": "10_ibn_jinni_khasais", "book_title": "Ibn Jinnī — *Al-Khaṣāʾiṣ*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Philosophical Philology)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Al_Khasais.txt", "name": "Al-Iḥtiyāṭ fī Waṣf al-ʿIllah (Maximal Precondition Specification)", "line_ref": "L2120–2121, L2166–2167", "anchor_lines": [ 2120, 2121, 2166, 2167 ], "arabic_quotes": [ "إنما اضطر القائل بتخصيص العلة... لأنه لم يحتط في وصف العلة ولو قدم الاحتياط فيها لأمن الاعتذار بتخصيصها" ], "raw_citation": "**L2120–2121, L2166–2167**: «إنما اضطر القائل بتخصيص العلة... لأنه لم يحتط في وصف العلة ولو قدم الاحتياط فيها لأمن الاعتذار بتخصيصها»", "ai_swe_pattern": "**Upfront Invariant Specification vs. Ad-Hoc Patch Sprawl**: Encode boundary conditions directly inside rule/prompt/function preconditions rather than layering brittle post-hoc exception patches (`if special_case_17:`).", "domains": [ "verification_search", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JK-05", "book_num": 10, "book_id": "10_ibn_jinni_khasais", "book_title": "Ibn Jinnī — *Al-Khaṣāʾiṣ*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Philosophical Philology)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Al_Khasais.txt", "name": "Tadākhul al-Uṣūl (Overlapping-Origin Ambiguity Separation)", "line_ref": "L6344–6347", "anchor_lines": [ 6344, 6345, 6346, 6347 ], "arabic_quotes": [ "باب في تداخل الأصول الثلاثية والرباعية والخماسية" ], "raw_citation": "**L6344–6347**: «باب في تداخل الأصول الثلاثية والرباعية والخماسية»", "ai_swe_pattern": "**Boundary-Probe Disambiguation of Colliding Hypotheses**: Design targeted separating inputs (e.g., negative/float/tie/empty probes) specifically where two plausible interpretations or code origins overlap on standard inputs.", "domains": [ "training_rl", "verification_search" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JK-06", "book_num": 10, "book_id": "10_ibn_jinni_khasais", "book_title": "Ibn Jinnī — *Al-Khaṣāʾiṣ*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Philosophical Philology)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Al_Khasais.txt", "name": "Compositional Generalization (*Mā Qīsa ʿalā Kalām al-ʿArab*) & Structure-Meaning Isomorphism", "line_ref": "L5329, L7919", "anchor_lines": [ 5329, 7919 ], "arabic_quotes": [ "باب في أن ما قيس على كلام العرب فهو من كلام العرب", "باب في إمساس الألفاظ أشباه المعاني" ], "raw_citation": "**L5329, L7919**: «باب في أن ما قيس على كلام العرب فهو من كلام العرب» / «باب في إمساس الألفاظ أشباه المعاني»", "ai_swe_pattern": "**Zero-Shot Compositional Synthesis (`P + mean(R) + W`) & Structural-Similarity Embeddings**: Predict unseen valid compound identifiers/forms compositionally from attested primitives; align structural complexity with semantic complexity.", "domains": [ "verification_search", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JS-01", "book_num": 11, "book_id": "11_ibn_jinni_sirr_sinat_irab", "book_title": "Ibn Jinnī — *Sirr Ṣināʿat al-Iʿrāb*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Phonology & Morphophonemics)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Sirr_Sinat_Al_Irab.txt", "name": "Continuous–Discrete Duality (*al-Ḥarakāt Abʿāḍ Ḥurūf al-Madd*)", "line_ref": "L455–457, L469–471", "anchor_lines": [ 455, 456, 457, 469, 470, 471 ], "arabic_quotes": [ "اعلم أن الحركات أبعاض حروف المد واللين... متى أشبعت واحدة منهن حدث بعدها الحرف الذي هي بعضه" ], "raw_citation": "**L455–457, L469–471**: «اعلم أن الحركات أبعاض حروف المد واللين... متى أشبعت واحدة منهن حدث بعدها الحرف الذي هي بعضه»", "ai_swe_pattern": "**Multi-Resolution Scale-Continuous Tokenization / Duration-Scaling Modulation**: Model fine-grained modifiers (diacritics, scalar weights, soft gates) as fractional sub-components of macro structural tokens along the same continuous vector axis.", "domains": [ "training_rl" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JS-02", "book_num": 11, "book_id": "11_ibn_jinni_sirr_sinat_irab", "book_title": "Ibn Jinnī — *Sirr Ṣināʿat al-Iʿrāb*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Phonology & Morphophonemics)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Sirr_Sinat_Al_Irab.txt", "name": "Articulatory Acoustic-Pipe Generative Model", "line_ref": "L335–337", "anchor_lines": [ 335, 336, 337 ], "arabic_quotes": [ "وما يعترضه من الضغط والحصر بالأصابع كالذي يعرض للصوت في مخارج الحروف من المقاطع" ], "raw_citation": "**L335–337**: «وما يعترضه من الضغط والحصر بالأصابع كالذي يعرض للصوت في مخارج الحروف من المقاطع»", "ai_swe_pattern": "**Physics/Mechanism-Grounded Factorized Embeddings**: Factorize discrete symbol embeddings into physical/structural constraint vectors (source + constriction + manner) rather than opaque lookup tables.", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JS-03", "book_num": 11, "book_id": "11_ibn_jinni_sirr_sinat_irab", "book_title": "Ibn Jinnī — *Sirr Ṣināʿat al-Iʿrāb*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Phonology & Morphophonemics)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Sirr_Sinat_Al_Irab.txt", "name": "3-Tier Gradation Lattice (*Shadīdah* / *Bayniyyah* / *Rikhwah*)", "line_ref": "L1156–1160", "anchor_lines": [ 1156, 1157, 1158, 1159, 1160 ], "arabic_quotes": [ "فالشديدة ثمانية أحرف... والحروف التي بين الشديدة والرخوة ثمانية أيضا..." ], "raw_citation": "**L1156–1160**: «فالشديدة ثمانية أحرف... والحروف التي بين الشديدة والرخوة ثمانية أيضا...»", "ai_swe_pattern": "**Tri-State Constraint Severity Enforcement (`HARD_KILL` / `CONDITIONAL_GATE` / `SOFT_TENDENCY`)**: Replace brittle binary pass/fail rules with a 3-tier constraint spectrum (hard invariants, context-gated rules, soft penalties).", "domains": [ "verification_search" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JS-04", "book_num": 11, "book_id": "11_ibn_jinni_sirr_sinat_irab", "book_title": "Ibn Jinnī — *Sirr Ṣināʿat al-Iʿrāb*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Phonology & Morphophonemics)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Sirr_Sinat_Al_Irab.txt", "name": "Closed Finite Affix & Mutation Alphabets (10 *Ziyādah*, 11 *Ibdāl*)", "line_ref": "L1183–1190, L3115–3117", "anchor_lines": [ 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 3115, 3116, 3117 ], "arabic_quotes": [ "وحروف الزيادة عشرة... سألتمونيها", "أحد عشر حرفا، تسمى حروف البدل", "لأن قبلها حرفا مطبقا" ], "raw_citation": "**L1183–1190, L3115–3117**: «وحروف الزيادة عشرة... سألتمونيها» / «أحد عشر حرفا، تسمى حروف البدل» / «لأن قبلها حرفا مطبقا»", "ai_swe_pattern": "**Closed-Vocabulary Structural Delta Channels & Context-Triggered Deterministic Normalization**: Restrict permissible structural edits/affixes to a small verified closed set and run deterministic feature-conditioned rewrites before neural inference.", "domains": [ "decoding_pruning", "verification_search" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "JS-05", "book_num": 11, "book_id": "11_ibn_jinni_sirr_sinat_irab", "book_title": "Ibn Jinnī — *Sirr Ṣināʿat al-Iʿrāb*", "author": "Abū al-Fatḥ ʿUthmān Ibn Jinnī (392)", "school": "`basran/` · **Basran / Baghdadi** (Phonology & Morphophonemics)", "corpus_path": "/root/grammarian_corpus/basran/Ibn_Jinni_Sirr_Sinat_Al_Irab.txt", "name": "Anti-Cascaded Mutation Guard (*Manʿ Tawālī Iʿlālayn*)", "line_ref": "L260", "anchor_lines": [ 260 ], "arabic_quotes": [ "وما الذي يتوالى فيه إعلالان بعد نقله، مما يبقى بعد ذلك من الصحة على قديم حاله" ], "raw_citation": "**L260**: «وما الذي يتوالى فيه إعلالان بعد نقله، مما يبقى بعد ذلك من الصحة على قديم حاله»", "ai_swe_pattern": "**Single-Step Rewrite Ceiling / Anti-Over-Normalization Guard**: Prohibit stacking two destructive normalizations/mutations consecutively on the same span (preventing information wipeout in text normalization, code refactoring, or multi-pass edits).", "domains": [ "agentic_routing" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "SK-01", "book_num": 12, "book_id": "12_ibn_sikkit_islah_al_mantiq", "book_title": "Ibn al-Sikkīt — *Iṣlāḥ al-Manṭiq*", "author": "Yaʿqūb ibn Isḥāq Ibn al-Sikkīt (244)", "school": "`kufan/` · **Core Kufan** (Pupil of al-Farrāʾ)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Al_Sikkit_Islah_Al_Mantiq.txt", "name": "Surgical Minimal-Pair Contrast (*Taqūl ... wa lā Taqul*)", "line_ref": "L2488–2490", "anchor_lines": [ 2488, 2489, 2490 ], "arabic_quotes": [ "تقول: هذا طعام يلائمني، أي يوافقني، ولا تقل: يلاومني... وتقول: أومأت إليه، ولا تقل: أوميت" ], "raw_citation": "**L2488–2490**: «تقول: هذا طعام يلائمني، أي يوافقني، ولا تقل: يلاومني... وتقول: أومأت إليه، ولا تقل: أوميت»", "ai_swe_pattern": "**Diff-Weighted Minimal-Pair Contrastive DPO/SimPO**: Pair near-identical `(chosen, rejected)` sequences differing by 1–few critical tokens (`diff_w=4.5, shared_w=0.4`) to laser-focus gradients onto exact failure tokens.", "domains": [ "training_rl", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SK-02", "book_num": 12, "book_id": "12_ibn_sikkit_islah_al_mantiq", "book_title": "Ibn al-Sikkīt — *Iṣlāḥ al-Manṭiq*", "author": "Yaʿqūb ibn Isḥāq Ibn al-Sikkīt (244)", "school": "`kufan/` · **Core Kufan** (Pupil of al-Farrāʾ)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Al_Sikkit_Islah_Al_Mantiq.txt", "name": "Single-Bit / Diacritic Semantic Bifurcation (*Bāb Faʿl wa-Fiʿl* & Hamza Flip)", "line_ref": "L494–496, L2657–2660", "anchor_lines": [ 494, 495, 496, 2657, 2658, 2659, 2660 ], "arabic_quotes": [ "باب فعل وفعل باختلاف معنى: الكير... والكور...", "باب: ما يهمز، فيكون له معنى، فإذا لم يهمز كان له معنى آخر" ], "raw_citation": "**L494–496, L2657–2660**: «باب فعل وفعل باختلاف معنى: الكير... والكور...» / «باب: ما يهمز، فيكون له معنى، فإذا لم يهمز كان له معنى آخر»", "ai_swe_pattern": "**High-Sensitivity Adversarial Minimal-Edit Test Generation**: Auto-synthesize single-character/operator/flag flip test pairs (`==` vs `=`, `//` vs `/`, `<=` vs `<`, hamza/vowel flip) to probe semantic cliffs where tiny surface changes invert meaning.", "domains": [ "verification_search", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "SK-03", "book_num": 12, "book_id": "12_ibn_sikkit_islah_al_mantiq", "book_title": "Ibn al-Sikkīt — *Iṣlāḥ al-Manṭiq*", "author": "Yaʿqūb ibn Isḥāq Ibn al-Sikkīt (244)", "school": "`kufan/` · **Core Kufan** (Pupil of al-Farrāʾ)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Al_Sikkit_Islah_Al_Mantiq.txt", "name": "Valency & Participant-Arity Templates (*Fāʿala* Binary vs. *Afʿala* Unary)", "line_ref": "L2416–2419", "anchor_lines": [ 2416, 2417, 2418, 2419 ], "arabic_quotes": [ "وأكثر ما يكون فاعلت أن يكون من اثنين... وأما فاعلت بمعنى أفعلت مما يكون من واحد" ], "raw_citation": "**L2416–2419**: «وأكثر ما يكون فاعلت أن يكون من اثنين... وأما فاعلت بمعنى أفعلت مما يكون من واحد»", "ai_swe_pattern": "**Arity/Symmetry Contract Checking with Documented Overloads**: Infer function symmetry/arity expectations (`mutual_op(a, b)` vs `unary_op(a)`) and flag unintended arity mismatches while permitting explicit legacy overloads.", "domains": [ "training_rl", "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "SK-04", "book_num": 12, "book_id": "12_ibn_sikkit_islah_al_mantiq", "book_title": "Ibn al-Sikkīt — *Iṣlāḥ al-Manṭiq*", "author": "Yaʿqūb ibn Isḥāq Ibn al-Sikkīt (244)", "school": "`kufan/` · **Core Kufan** (Pupil of al-Farrāʾ)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Al_Sikkit_Islah_Al_Mantiq.txt", "name": "Popular-Drift Purification (*Mā Tarakathu al-ʿĀmmah*)", "line_ref": "L1546, L2429–2430", "anchor_lines": [ 1546, 2429, 2430 ], "arabic_quotes": [ "والعامة تقول...", "باب: ما يهمز مما تركت العامة همزه" ], "raw_citation": "**L1546, L2429–2430**: «والعامة تقول...» / «باب: ما يهمز مما تركت العامة همزه»", "ai_swe_pattern": "**Web-Corpus Pretraining Prior Debiasing**: Explicitly identify high-frequency internet/colloquial errors baked into base LLMs (deprecated APIs, popular coding myths, modern false-friend Arabic meanings) and counteract them with targeted contrastive pairs.", "domains": [ "training_rl", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "SK-05", "book_num": 12, "book_id": "12_ibn_sikkit_islah_al_mantiq", "book_title": "Ibn al-Sikkīt — *Iṣlāḥ al-Manṭiq*", "author": "Yaʿqūb ibn Isḥāq Ibn al-Sikkīt (244)", "school": "`kufan/` · **Core Kufan** (Pupil of al-Farrāʾ)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Al_Sikkit_Islah_Al_Mantiq.txt", "name": "True Synonymy vs. Divergent Homograph Separation", "line_ref": "L1660–1662 vs. L494", "anchor_lines": [ 1660, 1661, 1662, 494 ], "arabic_quotes": [ "باب: فعل وفعل بمعنى واحد", "باب فعل وفعل باختلاف معنى" ], "raw_citation": "**L1660–1662 vs. L494**: «باب: فعل وفعل بمعنى واحد» vs «باب فعل وفعل باختلاف معنى»", "ai_swe_pattern": "**Equivalence-Class Canonicalization vs. Strict Collision Blocking**: Merge harmless syntactic variants (`same_meaning` → canonicalize) while hard-separating lookalike distinct symbols (`different_meaning` → block conflation).", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "AZ-01", "book_num": 13, "book_id": "13_azhari_tahdhib_al_lughah", "book_title": "Al-Azharī — *Tahdhīb al-Lughah*", "author": "Abū Manṣūr al-Azharī (370)", "school": "`kufan/` · **Kufan-affiliated / Eclectic** (Phonetic-Order Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Azhari_Tahdhib_Al_Lughah.txt", "name": "Single-Source Corroboration Quarantine (*Tawaqquf* Protocol)", "line_ref": "L613–616", "anchor_lines": [ 613, 614, 615, 616 ], "arabic_quotes": [ "ومتى ما رأيتني ذكرت من كتابه حرفا وقلت: إني لم أجده لغيره فاعلم أنه مريب، وكن منه على حذر وافحص عنه؛ فإن وجدته لإمام من الثقات... فقد زالت الشبه، وإلا وقفت فيه إلى أن يضح أمره" ], "raw_citation": "**L613–616**: «ومتى ما رأيتني ذكرت من كتابه حرفا وقلت: إني لم أجده لغيره فاعلم أنه مريب، وكن منه على حذر وافحص عنه؛ فإن وجدته لإمام من الثقات... فقد زالت الشبه، وإلا وقفت فيه إلى أن يضح أمره»", "ai_swe_pattern": "**Multi-Witness Fact Verification & Selective Abstention Gate**: Quarantine any uncorroborated single-source RAG/model claim (`status=SUSPECT`) until independently verified by a tiered trusted witness/tool; abstain (`tawaqquf`) rather than hallucinate.", "domains": [ "verification_search", "agentic_routing", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "AZ-02", "book_num": 13, "book_id": "13_azhari_tahdhib_al_lughah", "book_title": "Al-Azharī — *Tahdhīb al-Lughah*", "author": "Abū Manṣūr al-Azharī (370)", "school": "`kufan/` · **Kufan-affiliated / Eclectic** (Phonetic-Order Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Azhari_Tahdhib_Al_Lughah.txt", "name": "Dataset Corruption & *Taṣḥīf* (OCR/Transcription Error) Purification", "line_ref": "L82–87", "anchor_lines": [ 82, 83, 84, 85, 86, 87 ], "arabic_quotes": [ "آفات الكتب المصحفة المدخولة... وأن أهذبها بجهدي غاية التهذيب، وأدل على التصحيف الواقع في كتب المتحاذقين" ], "raw_citation": "**L82–87**: «آفات الكتب المصحفة المدخولة... وأن أهذبها بجهدي غاية التهذيب، وأدل على التصحيف الواقع في كتب المتحاذقين»", "ai_swe_pattern": "**Pre-Training / Fine-Tuning Corpus Sanitation & Noise-Lineage Auditing**: Actively audit training corpora for OCR/dot-confusion/synthetic-contamination errors (`taṣḥīf`) and publish explicit error-correction logs rather than blindly ingesting scale.", "domains": [ "training_rl", "decoding_pruning", "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "AZ-03", "book_num": 13, "book_id": "13_azhari_tahdhib_al_lughah", "book_title": "Al-Azharī — *Tahdhīb al-Lughah*", "author": "Abū Manṣūr al-Azharī (370)", "school": "`kufan/` · **Kufan-affiliated / Eclectic** (Phonetic-Order Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Azhari_Tahdhib_Al_Lughah.txt", "name": "Primary Ground-Truth Field Verification (*Mushāfahah* / Execution Grounding)", "line_ref": "L93–97", "anchor_lines": [ 93, 94, 95, 96, 97 ], "arabic_quotes": [ "وكنت امتحنت بالإسار سنة عارضت القرامطة... ويتكلمون بطباعهم البدوية... ولا يكاد يقع في منطقهم لحن" ], "raw_citation": "**L93–97**: «وكنت امتحنت بالإسار سنة عارضت القرامطة... ويتكلمون بطباعهم البدوية... ولا يكاد يقع في منطقهم لحن»", "ai_swe_pattern": "**Live-Environment Ground-Truth Anchoring**: Prefer direct execution/runtime inspection (`pytest`, live `inspect.signature`, verified Mushaf/OpenITI `pri` witnesses) over secondary commentary or synthetic LLM distillation.", "domains": [ "verification_search", "ast_representation", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "AZ-04", "book_num": 13, "book_id": "13_azhari_tahdhib_al_lughah", "book_title": "Al-Azharī — *Tahdhīb al-Lughah*", "author": "Abū Manṣūr al-Azharī (370)", "school": "`kufan/` · **Kufan-affiliated / Eclectic** (Phonetic-Order Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Azhari_Tahdhib_Al_Lughah.txt", "name": "Frequency-Driven Collocation Fusion (*al-Naḥt bi-Kathrat al-Istiʿmāl*)", "line_ref": "L50369–50370", "anchor_lines": [ 50369, 50370 ], "arabic_quotes": [ "والعرب تفعل هكذا إذا كثر استعمالهم الكلمتين ضموا بعض حروف إحداهما إلى بعض حروف الأخرى" ], "raw_citation": "**L50369–50370**: «والعرب تفعل هكذا إذا كثر استعمالهم الكلمتين ضموا بعض حروف إحداهما إلى بعض حروف الأخرى»", "ai_swe_pattern": "**PMI-Guided Macro-Token / Phrase-Draft Fusion**: Fuse recurring high-frequency multi-token collocations into O(1) macro-draft units for lossless speculative decoding and latency reduction.", "domains": [ "decoding_pruning" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "AZ-05", "book_num": 13, "book_id": "13_azhari_tahdhib_al_lughah", "book_title": "Al-Azharī — *Tahdhīb al-Lughah*", "author": "Abū Manṣūr al-Azharī (370)", "school": "`kufan/` · **Kufan-affiliated / Eclectic** (Phonetic-Order Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Azhari_Tahdhib_Al_Lughah.txt", "name": "Selective Credit Preservation (*Taṣḥīḥ* Without Blanket Discard)", "line_ref": "L607–612", "anchor_lines": [ 607, 608, 609, 610, 611, 612 ], "arabic_quotes": [ "فلا تشكن فيه من أجل أنه زل في حروف معدودة هي قليلة في جنب الكثير الذي جاء به صحيحا" ], "raw_citation": "**L607–612**: «فلا تشكن فيه من أجل أنه زل في حروف معدودة هي قليلة في جنب الكثير الذي جاء به صحيحا»", "ai_swe_pattern": "**Granular Per-Sample Filtering over Dataset-Level Blanket Rejection**: Score and quarantine individual noisy rows/assertions rather than discarding an entire high-value dataset or model checkpoint due to isolated defects.", "domains": [ "training_rl", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JW-01", "book_num": 14, "book_id": "14_jawhari_al_sihah", "book_title": "Al-Jawharī — *Tāj al-Lughah wa-Ṣiḥāḥ al-ʿArabiyyah*", "author": "Ismāʿīl ibn Ḥammād al-Jawharī (393)", "school": "`kufan/` · **Classical Lexicographer** (Basran-Baghdadi trained)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Jawhari_Al_Sihah.txt", "name": "Precision-Only Curation (*Mā Ṣaḥḥa ʿIndī*) + Tri-Modal Verification", "line_ref": "L1152, L1156", "anchor_lines": [ 1152, 1156 ], "arabic_quotes": [ "قد أودعت هذا الكتاب ما صح عندي من هذه اللغة... بعد تحصيلها بالعراق رواية، وإتقانها دراية، ومشافهتي بها العرب" ], "raw_citation": "**L1152, L1156**: «قد أودعت هذا الكتاب ما صح عندي من هذه اللغة... بعد تحصيلها بالعراق رواية، وإتقانها دراية، ومشافهتي بها العرب»", "ai_swe_pattern": "**High-Precision Goldilocks Curation via 3-Axis Verification (`Lineage × Analytical Check × Live Execution`)**: Smaller 100%-verified datasets beat massive noisy dumps when every item passes transmission provenance (*riwāyah*), structural logic (*dirāyah*), and live test (*mushāfahah*).", "domains": [ "training_rl", "verification_search", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JW-02", "book_num": 14, "book_id": "14_jawhari_al_sihah", "book_title": "Al-Jawharī — *Tāj al-Lughah wa-Ṣiḥāḥ al-ʿArabiyyah*", "author": "Ismāʿīl ibn Ḥammād al-Jawharī (393)", "school": "`kufan/` · **Classical Lexicographer** (Basran-Baghdadi trained)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Jawhari_Al_Sihah.txt", "name": "28×28 Reverse-Suffix Matrix Indexing (*Bāb al-Lām, Faṣl al-Fāʾ*)", "line_ref": "L1154–1155", "anchor_lines": [ 1154, 1155 ], "arabic_quotes": [ "في ثمانية وعشرين بابا، وكل باب منها ثمانية وعشرون فصلا... إلا أن يهمل من الأبواب جنس من الفصول" ], "raw_citation": "**L1154–1155**: «في ثمانية وعشرين بابا، وكل باب منها ثمانية وعشرون فصلا... إلا أن يهمل من الأبواب جنس من الفصول»", "ai_swe_pattern": "**Suffix/Return-Type-First Sparse 2D Retrieval Index**: Index functions, schemas, or lexical entries primarily by their **output/return signature (`Lām`)** and secondarily by **input/entry signature (`Fāʾ`)**, skipping empty (*muhmal*) buckets for instant O(1) type-directed retrieval.", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "JW-03", "book_num": 14, "book_id": "14_jawhari_al_sihah", "book_title": "Al-Jawharī — *Tāj al-Lughah wa-Ṣiḥāḥ al-ʿArabiyyah*", "author": "Ismāʿīl ibn Ḥammād al-Jawharī (393)", "school": "`kufan/` · **Classical Lexicographer** (Basran-Baghdadi trained)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Jawhari_Al_Sihah.txt", "name": "Canonical Root-Key Hashing (Index Under Underlying Radical, Not Surface Mutation)", "line_ref": "L1159–1163", "anchor_lines": [ 1159, 1160, 1161, 1162, 1163 ], "arabic_quotes": [ "نذكر في هذا الباب الهمزة الأصلية التي هي لام الفعل، فأما الهمزة المبدلة من الواو... أو المبدلة من الياء... فنذكرهما في باب الواو والياء" ], "raw_citation": "**L1159–1163**: «نذكر في هذا الباب الهمزة الأصلية التي هي لام الفعل، فأما الهمزة المبدلة من الواو... أو المبدلة من الياء... فنذكرهما في باب الواو والياء»", "ai_swe_pattern": "**Canonical Normalization Before Embedding/Cache Lookup**: Hash mutated surface forms (case variants, aliases, dotless-`ى`, refactored identifiers) to their canonical root key before caching, RAG lookup, or cross-convention co-reference binding.", "domains": [ "training_rl", "ast_representation", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JW-04", "book_num": 14, "book_id": "14_jawhari_al_sihah", "book_title": "Al-Jawharī — *Tāj al-Lughah wa-Ṣiḥāḥ al-ʿArabiyyah*", "author": "Ismāʿīl ibn Ḥammād al-Jawharī (393)", "school": "`kufan/` · **Classical Lexicographer** (Basran-Baghdadi trained)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Jawhari_Al_Sihah.txt", "name": "Frequency-Driven Structural Compression with Plural/Inverse Recovery", "line_ref": "L42159–42160, L53202", "anchor_lines": [ 42159, 42160, 53202 ], "arabic_quotes": [ "ثم تركت همزته لكثرة الاستعمال، فقيل ملك، فلما جمعوه ردوها إليه فقالوا ملائكة", "حذفت ألفها لكثرة الاستعمال، وجعلا اسما واحدا" ], "raw_citation": "**L42159–42160, L53202**: «ثم تركت همزته لكثرة الاستعمال، فقيل ملك، فلما جمعوه ردوها إليه فقالوا ملائكة» / «حذفت ألفها لكثرة الاستعمال، وجعلا اسما واحدا»", "ai_swe_pattern": "**Reversible Fast-Path Shorthand with Full-Expansion Fallback**: Compress high-frequency operations/prompts in the hot path while retaining exact canonical expansion whenever complex/plural edge cases arise.", "domains": [ "decoding_pruning", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "JW-05", "book_num": 14, "book_id": "14_jawhari_al_sihah", "book_title": "Al-Jawharī — *Tāj al-Lughah wa-Ṣiḥāḥ al-ʿArabiyyah*", "author": "Ismāʿīl ibn Ḥammād al-Jawharī (393)", "school": "`kufan/` · **Classical Lexicographer** (Basran-Baghdadi trained)", "corpus_path": "/root/grammarian_corpus/kufan/Al_Jawhari_Al_Sihah.txt", "name": "Explicit Rule-Deviation Tagging (*Shādhdh* Annotation with Base Law Citation)", "line_ref": "L1371–1372", "anchor_lines": [ 1371, 1372 ], "arabic_quotes": [ "وهو شاذ، لان المصدر من فعل يفعل مفعل بفتح العين، وقد شذت منه حروف" ], "raw_citation": "**L1371–1372**: «وهو شاذ، لان المصدر من فعل يفعل مفعل بفتح العين، وقد شذت منه حروف»", "ai_swe_pattern": "**Self-Documenting Exception Registry**: Whenever an API/codebase/grammar item violates a general convention, explicitly store BOTH the violated general law AND the finite enumerated exception set (preventing LLM over-generalization).", "domains": [ "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "FS-01", "book_num": 15, "book_id": "15_ibn_faris_al_sahibi", "book_title": "Ibn Fāris — *Al-Ṣāḥibī fī Fiqh al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (*\"طريقته طريقة الكوفيين\"*)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Al_Sahibi.txt", "name": "10-Class Speech-Act Router & 3-State Modal Logic (*Wājib / Jāʾiz / Mumtaniʿ*)", "line_ref": "L2528–2538", "anchor_lines": [ 2528, 2529, 2530, 2531, 2532, 2533, 2534, 2535, 2536, 2537, 2538 ], "arabic_quotes": [ "معاني الكلام... عشرة: خبر، واستخبار، وأمر، ونهي، ودعاء، وطلب، وعرض، وتحضيض، وتمن، وتعجب", "الخبر ما جاز تصديق قائله أو تكذيبه... ثم يكون واجبا وجائزا وممتنعا" ], "raw_citation": "**L2528–2538**: «معاني الكلام... عشرة: خبر، واستخبار، وأمر، ونهي، ودعاء، وطلب، وعرض، وتحضيض، وتمن، وتعجب» / «الخبر ما جاز تصديق قائله أو تكذيبه... ثم يكون واجبا وجائزا وممتنعا»", "ai_swe_pattern": "**Intent/Speech-Act Classifier + Tautology/SAT/UNSAT Spec Triage**: Route user prompts by formal illocutionary act (assert vs query vs command vs prohibition) BEFORE tool selection; classify claims into `TAUTOLOGY` (*wājib*), `CONTINGENT/TESTABLE` (*jāʾiz*), or `IMPOSSIBLE/UNSAT` (*mumtaniʿ*).", "domains": [ "verification_search", "agentic_routing" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "FS-02", "book_num": 15, "book_id": "15_ibn_faris_al_sahibi", "book_title": "Ibn Fāris — *Al-Ṣāḥibī fī Fiqh al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (*\"طريقته طريقة الكوفيين\"*)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Al_Sahibi.txt", "name": "Domain-Transfer Semantic Layering (*Naql al-Alfāẓ bi-Sharāʾiṭ*)", "line_ref": "L834–835, L859–863", "anchor_lines": [ 834, 835, 859, 860, 861, 862, 863 ], "arabic_quotes": [ "ونقلت من اللغة ألفاظ من مواضع إلى مواضع أخر بزيادات زيدت، وشرائع شرعت، وشرائط شرطت" ], "raw_citation": "**L834–835, L859–863**: «ونقلت من اللغة ألفاظ من مواضع إلى مواضع أخر بزيادات زيدت، وشرائع شرعت، وشرائط شرطت»", "ai_swe_pattern": "**Domain-Scoped Terminological Override Tables (*Iṣṭilāḥ* Layering)**: Track how ordinary words (`thread`, `yield`, `socket`, `ṣalāh`, `qiyās`, `zakāh`) acquire strict extra preconditions (*sharāʾiṭ*) inside specialized domains; activate domain overrides strictly when domain markers fire.", "domains": [ "agentic_routing", "provenance_rag" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "FS-03", "book_num": 15, "book_id": "15_ibn_faris_al_sahibi", "book_title": "Ibn Fāris — *Al-Ṣāḥibī fī Fiqh al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (*\"طريقته طريقة الكوفيين\"*)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Al_Sahibi.txt", "name": "Dominance Precedence in Heterogeneous Aggregates (*Bāb al-Taghlīb*)", "line_ref": "L205–207", "anchor_lines": [ 205, 206, 207 ], "arabic_quotes": [ "لأنه جمع ما يعقل وما لا يعقل فغلب ما يعقل، وهي سنة من سنن العرب، أعني باب التغليب" ], "raw_citation": "**L205–207**: «لأنه جمع ما يعقل وما لا يعقل فغلب ما يعقل، وهي سنة من سنن العرب، أعني باب التغليب»", "ai_swe_pattern": "**Lattice Join / Type-Promotion & Priority Routing Rules**: When a mixed-type batch/container or multi-domain query combines heterogeneous items (`int + float`, `safe + high-risk`, `simple + hard`), promote the joint type/route to the highest-precedence dominant class.", "domains": [ "agentic_routing", "ast_representation", "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "FS-04", "book_num": 15, "book_id": "15_ibn_faris_al_sahibi", "book_title": "Ibn Fāris — *Al-Ṣāḥibī fī Fiqh al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (*\"طريقته طريقة الكوفيين\"*)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Al_Sahibi.txt", "name": "Al-Naḥt (Lossy-Surface / Lossless-Meaning Multi-Word Compression)", "line_ref": "L3919–3920", "anchor_lines": [ 3919, 3920 ], "arabic_quotes": [ "باب النحت: العرب تنحت من كلمتين كلمة واحدة، وهو جنس من الاختصار" ], "raw_citation": "**L3919–3920**: «باب النحت: العرب تنحت من كلمتين كلمة واحدة، وهو جنس من الاختصار»", "ai_swe_pattern": "**Compositional Macro-Operation / Pipeline Fusion**: Synthesize compact fused compound operators or multi-token speculative chunks from recurring multi-step idioms.", "domains": [ "decoding_pruning", "ast_representation" ], "status": "PROVEN", "status_note": "`[PROVEN]`" }, { "id": "FS-05", "book_num": 15, "book_id": "15_ibn_faris_al_sahibi", "book_title": "Ibn Fāris — *Al-Ṣāḥibī fī Fiqh al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (*\"طريقته طريقة الكوفيين\"*)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Al_Sahibi.txt", "name": "Contextual Ellipsis Expansion (*Ḥadhf al-Muḍāf*) & Literal/Figurative Boundary", "line_ref": "L2819–2824, L2969–2974", "anchor_lines": [ 2819, 2820, 2821, 2822, 2823, 2824, 2969, 2970, 2971, 2972, 2973, 2974 ], "arabic_quotes": [ "باب الحذف والاختصار... واسأل القرية أراد أهلها", "باب سنن العرب في حقائق الكلام والمجاز" ], "raw_citation": "**L2819–2824, L2969–2974**: «باب الحذف والاختصار... واسأل القرية أراد أهلها» / «باب سنن العرب في حقائق الكلام والمجاز»", "ai_swe_pattern": "**Implicit-Object Resolution & Literal-vs-Metaphorical Tool Disambiguation**: Recover omitted intermediate objects in shorthand user prompts (`\"delete the user's repo\"` → `\"delete repo record + storage\"`) and distinguish literal spec requirements (*ḥaqīqah*) from illustrative analogies (*majāz*).", "domains": [ "provenance_rag" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "FM-01", "book_num": 16, "book_id": "16_ibn_faris_maqayis_al_lughah", "book_title": "Ibn Fāris — *Muʿjam Maqāyīs al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (Axiomatic Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Mujam_Maqayis_Al_Lughah.txt", "name": "Axiomatic Semantic Compression (*Maqāyīs Ṣaḥīḥah wa-Uṣūl*)", "line_ref": "L1155–1156, L3760", "anchor_lines": [ 1155, 1156, 3760 ], "arabic_quotes": [ "إن للغة العرب مقاييس صحيحة، وأصولا تتفرع منها فروع", "الهمزة والسين والفاء أصل واحد يدل على الفوت والتلهف" ], "raw_citation": "**L1155–1156, L3760**: «إن للغة العرب مقاييس صحيحة، وأصولا تتفرع منها فروع» / «الهمزة والسين والفاء أصل واحد يدل على الفوت والتلهف»", "ai_swe_pattern": "**Low-Rank Semantic Prototype / Root-Axiom Bottleneck**: Compress sprawling lexical/API/skill inventories into 1–3 orthogonal core semantic invariants per root/module so models generalize to unseen derivatives without memorization.", "domains": [ "decoding_pruning", "verification_search", "ast_representation" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "FM-02", "book_num": 16, "book_id": "16_ibn_faris_maqayis_al_lughah", "book_title": "Ibn Fāris — *Muʿjam Maqāyīs al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (Axiomatic Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Mujam_Maqayis_Al_Lughah.txt", "name": "Quadriliteral/Quinqueliteral *Naḥt* Decomposition into Binary Primitives", "line_ref": "L10200–10214", "anchor_lines": [ 10200, 10201, 10202, 10203, 10204, 10205, 10206, 10207, 10208, 10209, 10210, 10211, 10212, 10213, 10214 ], "arabic_quotes": [ "اعلم أن للرباعى والخماسى مذهبا فى القياس... أن أكثر ما تراه منه منحوت... ضربين: أحدهما المنحوت... والضرب الآخر... وضعا لا مجال له فى طرق القياس" ], "raw_citation": "**L10200–10214**: «اعلم أن للرباعى والخماسى مذهبا فى القياس... أن أكثر ما تراه منه منحوت... ضربين: أحدهما المنحوت... والضرب الآخر... وضعا لا مجال له فى طرق القياس»", "ai_swe_pattern": "**Complex-Task Decomposition into Atomic Sub-Kernels + Opaque-Primitive Tagging**: Decompose complex compound tasks/functions (length $\\ge 4$ requirements) into blends of two simpler known primitives; explicitly flag non-decomposable primitives as atomic black-boxes (*waḍʿ*).", "domains": [ "agentic_routing" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "FM-03", "book_num": 16, "book_id": "16_ibn_faris_maqayis_al_lughah", "book_title": "Ibn Fāris — *Muʿjam Maqāyīs al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (Axiomatic Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Mujam_Maqayis_Al_Lughah.txt", "name": "Phonetic-Mutation Canonicalization (*Ibdāl* Deduplication)", "line_ref": "L7843–7844", "anchor_lines": [ 7843, 7844 ], "arabic_quotes": [ "هذا ليس أصلا؛ لأنه من باب الإبدال، وذلك أن السين فيه مقام الصاد والأصل بصق" ], "raw_citation": "**L7843–7844**: «هذا ليس أصلا؛ لأنه من باب الإبدال، وذلك أن السين فيه مقام الصاد والأصل بصق»", "ai_swe_pattern": "**Alias/Typo Collapse Before Concept-Graph Insertion**: Never mint a spurious new latent root/entity/tool-schema when a candidate is a systematic single-feature variant (*ibdāl*) of an existing canonical primitive.", "domains": [ "ast_representation" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" }, { "id": "FM-04", "book_num": 16, "book_id": "16_ibn_faris_maqayis_al_lughah", "book_title": "Ibn Fāris — *Muʿjam Maqāyīs al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (Axiomatic Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Mujam_Maqayis_Al_Lughah.txt", "name": "Explicit Outlier Quarantine (*Wa-mimmā Shadhdha ʿan al-Aṣl*)", "line_ref": "L5943, L7944", "anchor_lines": [ 5943, 7944 ], "arabic_quotes": [ "مما شذ عن هذا الباب...", "ومما شذ عن الأصل البشام" ], "raw_citation": "**L5943, L7944**: «مما شذ عن هذا الباب...» / «ومما شذ عن الأصل البشام»", "ai_swe_pattern": "**Residual Outlier Isolation (Anti-Prototype Contamination)**: Explicitly separate out-of-distribution/non-compositional exceptions into a dedicated residual lookup table instead of forcing a clean prototype vector to stretch and deform around noise.", "domains": [ "ast_representation", "provenance_rag" ], "status": "PARTIAL", "status_note": "`[PARTIAL]`" }, { "id": "FM-05", "book_num": 16, "book_id": "16_ibn_faris_maqayis_al_lughah", "book_title": "Ibn Fāris — *Muʿjam Maqāyīs al-Lughah*", "author": "Aḥmad ibn Fāris al-Rāzī (395)", "school": "`kufan/` · **Kufan-aligned** (Axiomatic Lexicographer)", "corpus_path": "/root/grammarian_corpus/kufan/Ibn_Faris_Mujam_Maqayis_Al_Lughah.txt", "name": "Bi-Radical Prefix/Sub-Root Structural Invariants", "line_ref": "L24927–24929", "anchor_lines": [ 24927, 24928, 24929 ], "arabic_quotes": [ "فلا ترى الدال مؤتلفة مع اللام بحرف ثالث إلا وهى تدل على حركة ومجىء، وذهاب وزوال" ], "raw_citation": "**L24927–24929**: «فلا ترى الدال مؤتلفة مع اللام بحرف ثالث إلا وهى تدل على حركة ومجىء، وذهاب وزوال»", "ai_swe_pattern": "**Sub-Root / N-Gram Shared-Stem Feature Factoring**: Capture shared directional/functional semantics across families sharing a 2-unit prefix/stem kernel (hierarchical multi-scale representation sharing).", "domains": [ "verification_search" ], "status": "UNTAPPED", "status_note": "`[UNTAPPED]`" } ]