{"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ī)", "name": "Dhātī vs. ʿAraḍī Feature Partition & Bi-Directional Definition (*Ṭard wa-ʿAks*)", "line_ref": "L322, L352, L611", "arabic_quotes": "الفرق بين الصفات الذاتية واللازمة والعرضية | فلا تورد في الحد الحقيقي إلا الذاتيات | يميزه عن غيره تمييزا يطرد وينعكس", "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"} {"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ī)", "name": "Al-Sabr wa-l-Taqsīm (Exhaustive Partition & Elimination)", "line_ref": "L1206, L12534–12543", "arabic_quotes": "السبر والتقسيم وهو دليل صحيح... لا علة له إلا كذا أو كذا، وقد بطل أحدهما فتعين الآخر | أن يكون سبره حاصرا", "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"} {"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ī)", "name": "Al-Istiṣḥāb (Continuity of Sound Prior State)", "line_ref": "L6340, L6343", "arabic_quotes": "فرجع إلى استصحاب الحال في البراءة الأصلية | دليل العقل والاستصحاب", "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"} {"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ī)", "name": "Tanqīḥ al-Manāṭ & Ilghāʾ al-Fāriq (Causal Distillation)", "line_ref": "L11351, L11367–11368", "arabic_quotes": "هذا تنقيح المناط... فيلحق به ما لا يفارقه إلا فيما لا مدخل له في التأثير", "ai_swe_pattern": "**Minimal-Diff Contrastive Preference Purification**: Strip irrelevant stylistic/length confounders (`line_sim >= 0.72`, `", "domains": "training_rl, ast_representation", "status": "UNTAPPED"} {"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ī)", "name": "Correlation ≠ Causation (*Buṭlān al-Ṭard al-Maḥḍ*) & *Naqḍ* vs. *Muʿāraḍah", "line_ref": "L12737–12746, L13391, L13477, L13753–13755", "arabic_quotes": "ما ثبت مع ثبوته وزال مع زواله فلا يلزم كونه علة | بمجرد الاطراد إن لم ينضم إليه سبر | تخلف الحكم عن العلة... النقض | يندفع الحكم عنه بمعارضة علة أخرى دافعة", "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"} {"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ī)", "name": "Non-Generalizability of Exceptional Precedents & Three-Way Conflict Resolution (*Taʿāruḍ*)", "line_ref": "L13122, L13246, L14782", "arabic_quotes": "فإن الخارج عن القياس لا يقاس عليه غيره | الحكم العقلي والاسم اللغوي لا يثبت بالقياس | في تعارض الدليلين ثلاثة أوجه وجه في التساقط", "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"} {"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)", "name": "Al-Taqālīb ($n!$ Combinatorial Search) × *Mustaʿmal* vs. *Muhmal* Pruning", "line_ref": "L164", "arabic_quotes": "تتصرَّفُ على ستة أوجُه... أربعة وعشرين وَجْهاً، يُكَتَب مُسْتَعْمَلها. ويُلغى مُهْمَلها", "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"} {"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)", "name": "Dhalāqah Structural Authenticity Gate & Adversarial Fabrication Detector", "line_ref": "L58, L74, L84", "arabic_quotes": "فإن وَرَدَتْ عليك كلمة رباعيَّة أو خماسيَّة معرَّاة من حروف الذَلَق أو الشفوية... فاعلم أنَّ تلك الكلمة مُحْدَثة مُبْتَدَعة... شيئاً، وإنْ أشبَهَ لفظهم وتأليفهم... إرادة اللَّبس والتَعنُّيت", "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"} {"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)", "name": "Articulatory-Axis Canonical Ordering (*Makhārij* Manifold)", "line_ref": "L17, L158", "arabic_quotes": "فوضعها على قدر مخرجها من الحلق... ع، ح، هـ، خ، غ | القاف والكاف لهَويتان", "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"} {"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)", "name": "Hard Adjacent-Pair Exclusion with Explicit Composition Exception", "line_ref": "L179, L19594", "arabic_quotes": "العَيْن لا تَأْتَلِف مع الحاء في كلمة واحدة لقُرْب مَخْرَجَيْهما إلا أنّ يُشْتَقَّ فِعلٌ من جمعٍ بين كلمتين | القاف والكاف لا يجتمعان... إلا أن تكون الكلمة معربة", "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"} {"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)", "name": "Bounded Radical Arity Taxonomy (2/3/4/5-Slot Canonical Schemas)", "line_ref": "L18–22", "arabic_quotes": "كلاَمُ العَرَب مبنيّ على أربعةِ أصناف: على الثُنَائِيِّ والثُّلاَثِيّ، والرُّباعيّ، والخماسيّ", "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"} {"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)", "name": "5-State Validity × Truthfulness Verification Matrix (*Bāb al-Istiqāmah*)", "line_ref": "L325–332", "arabic_quotes": "فمنه مستقيم حسن، ومحال، ومستقيم كذب، ومستقيم قبيح، وما هو محال كذب", "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"} {"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)", "name": "Dual-Layer Surface vs. Governed State Separation (8 *Majārī* → 4 Surfaces) & *ʿĀmil", "line_ref": "L142–152, L10713", "arabic_quotes": "تجري على ثمانية مجار... يجمعهن في اللفظ أربعة أضرب... لأفرق بين ما يدخله... لما يحدث فيه العامل... وبين ما يبنى عليه الحرف | حروف الجزم لا تجزم إلا الأفعال", "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"} {"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)", "name": "Sadd al-Masadd (Structural Substitution / Functional Absorption)", "line_ref": "L7108–7111", "arabic_quotes": "باب ما يقع موقع الاسم المبتدإ ويسد مسده... كل واحد منهما لا يستغنى به عن صاحبه", "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"} {"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)", "name": "Bāb al-Zakn (Contextual Intent Lookahead)", "line_ref": "L3228–3230", "arabic_quotes": "مكة ورب الكعبة. حيث زكنت أنه يريد مكة", "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"} {"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)", "name": "Al-Tanāzuʿ (Multi-Governor Contention Resolution)", "line_ref": "L934–936", "arabic_quotes": "باب الفاعلين والمفعولين... ضربت وضربنى زيد... تحمل الاسم على الفعل الذى يليه", "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"} {"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)", "name": "Priority-First Ordering (*al-ʿInāyah wa-l-Ihtimām*) & *Istighnāʾ* (Suppletion)", "line_ref": "L320, L420", "arabic_quotes": "استغناؤهم بالشيء عن الشيء | كأنهم إنما يقدمون الذي بيانه أهم لهم وهم ببيانه أغنى", "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"} {"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)", "name": "Semantics-Preserving Optimization Invariant", "line_ref": "L31–33", "arabic_quotes": "فثقل عليهم ان يكونوا في كسر ثم يصيروا الى الضم. فارادوا أن يكونا جميعا مضمومين اذا كان ذلك لا يغير المعنى", "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"} {"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)", "name": "De Morgan Scope Duality over Negated Disjunctions", "line_ref": "L438–443", "arabic_quotes": "فيقع النهي عن كل ذا في هذا المعنى فيكون ان ركب الكل او واحدا قد عصى. كما كان في الامر ان صنع واحدا أطاع", "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"} {"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)", "name": "Semantic-Target Override (*al-Ḥaml ʿalā al-Maʿnā*) over Surface Type", "line_ref": "L484–489", "arabic_quotes": "فجعله على المعنى لانه يعني امرأة... وانما انثوا لان معنى \"ما\" هو الحاجة", "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"} {"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)", "name": "Set-Exclusion Exception Semantics (*Istithnāʾ* via Valency Saturation)", "line_ref": "L865–868", "arabic_quotes": "فانتصب لانك شغلت الفعل بهم عنه فأخرجته من الفعل من بينهم", "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"} {"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)", "name": "Long-Distance Frame Binding Across Parenthetical Interruptions", "line_ref": "L4899–4900", "arabic_quotes": "يكتب الرجل: \"أما بعد حفظك الله وعافاك فإني كتبت إليك\" فقوله \"فإني\" محمول على \"أما بعد\"... وبينهما", "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"} {"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)", "name": "Information-Theoretic Lossless Compression (*al-Ḥadhf maʿa Amān al-Labs*)", "line_ref": "L5049–5057", "arabic_quotes": "ما يحذف استخفافا / لأن اللبس فيه مأمون / ومنه ما يحذف لأن ما يبقى دال عليه", "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"} {"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)", "name": "Completeness Stopping Criterion (*Ḥusn al-Sukūt & Wujūb al-Fāʾidah*)", "line_ref": "L98–99, L13255", "arabic_quotes": "جملة يحسن عليها السكوت، وتجب بها الفائدة للمخاطب | فإذا أوقعت فيه الفائدة فالباب فيه التصرف", "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"} {"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)", "name": "Inverse Diagnostic Probing (*al-Taṣghīr Yarudd ilā al-Aṣl*)", "line_ref": "L9863–9865, L10645", "arabic_quotes": "في تصغير الترخيم فإنه يحذف منه الزوائد، ولا تحذف الأصول | يرد في التصغير إلى أصله", "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"} {"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)", "name": "Collision Repair (*Iltiqāʾ al-Sākinayn*) via Minimal-Conflict Perturbation", "line_ref": "L65–70", "arabic_quotes": "وإنما حركت نون الجمع... لالتقاء الساكنين، فحركت... بالفتح لأن الكسر والضم لا يصلحان فيها", "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"} {"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)", "name": "Cross-Operator Semantic Interface Equivalence", "line_ref": "L1279–1281", "arabic_quotes": "اعلم أن الفعلين إذا اتفقا في المعنى جاز أن يحمل مصدر أحدهما على الآخر", "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"} {"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)", "name": "Maximal Feature-Space Separation / Orthogonality Law", "line_ref": "L207–213", "arabic_quotes": "الحروف إذا تقاربت مخارجها كانت أثقل على اللسان منها إذا تباعدت... وإذا تباعدت مخارج الحروف حسن وجه التأليف", "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"} {"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)", "name": "Asymmetric Strength-First Ordering (*al-Badʾ bi-l-Aqwā thumma al-Alyan*)", "line_ref": "L215–220", "arabic_quotes": "لا يكاد يجيء في الكلام ثلاثة أحرف من جنس واحد... أن يبدأوا بالأقوى من الحرفين ويؤخروا الألين", "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"} {"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)", "name": "Strict Authenticity Rejection Gate (*Fardudhu*)", "line_ref": "L204–206, L298–301", "arabic_quotes": "عرفت موضع الدخل منها فرددتها غير هائب لها | فإنه ليس من كلام العرب فاردده", "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"} {"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)", "name": "Two-Tier Bucketed Lookup Index (Length × Canonical Alphabet)", "line_ref": "L47–53", "arabic_quotes": "حرف ثنائي... وأما الثلاثي فإنا بدأ بالسالم... ومن أراد بناء يلحق... أفردنا له بابا... فأما الرباعي فإن أبوابه مجمهرة على حدتها", "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"} {"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)", "name": "Transition-Cost Minimization via Nearest-Neighbor Assimilation", "line_ref": "L332–336", "arabic_quotes": "فاستثقلوا أن يقع اللسان عليها ثم يرتفع إلى الطاء والقاف فأبدلوا السين صادا لأنها أقرب الحروف إليها", "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"} {"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)", "name": "Bounded-Depth Recursion Guard (Anti-Infinite Regress)", "line_ref": "L13–16", "arabic_quotes": "ولم نتعد ذلك... احتجنا إلى اشتقاق الأول التي نشتق منها... نهاية له", "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"} {"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)", "name": "Adversarial vs. Cooperative Intent-Conditioned Naming / Framing", "line_ref": "L27–30", "arabic_quotes": "سمت أبناءها لأعدائها، وسمت عبيدها لأنفسها", "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"} {"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)", "name": "Morphological Pattern → Behavioral Property Inference (*Mufaʿʿal* Intensity)", "line_ref": "L69–70", "arabic_quotes": "مفعل صفة تلزم من كثر منه فعل ذلك الشيء", "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"} {"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)", "name": "Multi-Hypothesis Origin Tracking (Preserve Ambiguous Provenance)", "line_ref": "L146", "arabic_quotes": "وعمرو مشتق من شيئين: إما من العمر...", "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"} {"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)", "name": "Anti-Arbitrariness Principle (Every Symbol Has Recoverable Grounding)", "line_ref": "L17–21", "arabic_quotes": "ممن يطعن... وينسب أهله إلى التسمية بما لا أصل له في لغتهم", "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"} {"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)", "name": "Three-Tier Explanatory Hierarchy (*Taʿlīmiyyah* / *Qiyāsiyyah* / *Jadaliyyah*)", "line_ref": "L416–420", "arabic_quotes": "علل النحو... على ثلاثة أضرب: علل تعليمية، وعلل قياسية، وعلل جدلية نظرية | سمعنا بعضا فقسنا عليه نظيره", "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"} {"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)", "name": "Defeasible-Theory Epistemology (Data Overrides Inferred Rule — al-Khalīl's House Metaphor)", "line_ref": "L414–415, L454–459", "arabic_quotes": "علل النحو ليست موجبة، وإنما هي مستنبطة | إن العرب نطقت على سجيتها... واعتللت أنا بما عندي أنه علة... فإن أكن أصبت العلة فهو الذي التمست", "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"} {"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)", "name": "Information-Theoretic Origin of Structural Markers (*Iʿrāb* Disambiguates Identical Bags)", "line_ref": "L515–518", "arabic_quotes": "إن الأسماء لما كانت تعتورها المعاني، فتكون فاعلة ومفعولة... ولم تكن في صورها وأبنيتها أدلة... جعلت حركات الإعراب فيها تنبئ عن هذه المعاني", "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"} {"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)", "name": "Compute/Complexity Load Balancing (*Takhfīf al-Thaqīl wa-Ilzām al-Khafīf*)", "line_ref": "L936, L1079–1081", "arabic_quotes": "الأفعال ثقيلة، والأسماء خفيفة، فجعل لازما للأخف | ليعتدل الكلام فتخفيف الثقيل وإلزام بعض الثقيل للخفيف", "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"} {"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)", "name": "Exception Isolation (*al-Khurūj bi-ʿIllah lā Yanquḍ al-Bāb*)", "line_ref": "L192–194", "arabic_quotes": "قد يكون له أصل مجتمع عليه، ثم يخرج منه بعضه لعلة تدخل عليه، فلا يكون ذلك ناقضا للباب، بل يخرج منه ما خرج بعلته، ويبقى الثاني على حاله", "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"} {"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)", "name": "Minimal Complete Type System (Entity / Predicate / Connector)", "line_ref": "L36–38", "arabic_quotes": "المخبر عنه... الاسم، والخبر هو الفعل... ولابد من رباط بينهما وهو الحرف، ولن يوجد إلى معنى رابع سبيل", "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"} {"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)", "name": "Counterfactual Dual Operators (*Law* vs. *Lawlā*)", "line_ref": "L37–40", "arabic_quotes": "لو يمتنع بها الشيء لامتناع غيره | لولا... يمتنع بها الشيء لوجود غيره", "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"} {"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)", "name": "Strict Polarity-Gated Response Protocol (*Balā* vs. *Naʿam*)", "line_ref": "L71–75", "arabic_quotes": "بلى إيجاب للنفي... نعم عدة وتصديق... ولا تقع جوابا للنفي كما أن بلى لا تقع جوابا للواجب", "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"} {"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)", "name": "Temporal-Polarity Domain Licensing (*Qaṭṭ* & *Lā* Past-Existential Lock)", "line_ref": "L389–391, L444–447", "arabic_quotes": "الماضي يوجب وجود الفعل... ولا يكون النفي مع الوجود في حال | قط... لا تقع في هذا الوجه إلا في النفي لو قلت رأيته قط كان محالا", "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"} {"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)", "name": "Precondition-Gated Correction Operator (*Lākin* / *Bal*)", "line_ref": "L191–194, L199–200", "arabic_quotes": "فترك الأول وأخذ ببل في كلام ثان | لكن استدراك بعد الجحود... لو قلت خرج زيد لكن عمرو لم يصح", "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"} {"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)", "name": "Context-Driven Polymorphic Operator Dispatch (*ʿAlā* 3-way, *Siwā* 4-way)", "line_ref": "L310–323", "arabic_quotes": "على لها ثلاثة مواضع تكون اسما وفعلا وحرفا | سوى لها أربعة مواضع تكون اسما وظرفا وتحقيقا ومصدرا", "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"} {"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)", "name": "Al-Ishtiqāq al-Akbar ($S_3$ Permutation-Orbit Invariance)", "line_ref": "L266, L7625–7629", "arabic_quotes": "باب في الاشتقاق الأكبر | تصرف \"ق ول\" وما كان أيضا من تقاليبها الستة... جميعها إنما هو للإسراع والخفة", "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"} {"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)", "name": "Al-Tadrīj (Non-Destructive Continual Gradualism)", "line_ref": "L6118–6121", "arabic_quotes": "فزيد فيها شيئا فشيئا، إلا أنه على قياس ما كان سبق منها... لا يخالف الثاني الأول، ولا الثالث الثاني", "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"} {"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)", "name": "Imtināʿ min Naqḍ al-Gharaḍ (Goal-Monotonicity Lock)", "line_ref": "L1861–1867, L16353–16354", "arabic_quotes": "باب في الامتناع من نقض الغرض | ففي حذف هذه النون نقض الغرض | لو أدغمت لنقضت الغرض الذي اعتزمت", "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"} {"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)", "name": "Al-Iḥtiyāṭ fī Waṣf al-ʿIllah (Maximal Precondition Specification)", "line_ref": "L2120–2121, L2166–2167", "arabic_quotes": "إنما اضطر القائل بتخصيص العلة... لأنه لم يحتط في وصف العلة ولو قدم الاحتياط فيها لأمن الاعتذار بتخصيصها", "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"} {"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)", "name": "Tadākhul al-Uṣūl (Overlapping-Origin Ambiguity Separation)", "line_ref": "L6344–6347", "arabic_quotes": "باب في تداخل الأصول الثلاثية والرباعية والخماسية", "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"} {"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)", "name": "Compositional Generalization (*Mā Qīsa ʿalā Kalām al-ʿArab*) & Structure-Meaning Isomorphism", "line_ref": "L5329, L7919", "arabic_quotes": "باب في أن ما قيس على كلام العرب فهو من كلام العرب | باب في إمساس الألفاظ أشباه المعاني", "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"} {"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)", "name": "Continuous–Discrete Duality (*al-Ḥarakāt Abʿāḍ Ḥurūf al-Madd*)", "line_ref": "L455–457, L469–471", "arabic_quotes": "اعلم أن الحركات أبعاض حروف المد واللين... متى أشبعت واحدة منهن حدث بعدها الحرف الذي هي بعضه", "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"} {"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)", "name": "Articulatory Acoustic-Pipe Generative Model", "line_ref": "L335–337", "arabic_quotes": "وما يعترضه من الضغط والحصر بالأصابع كالذي يعرض للصوت في مخارج الحروف من المقاطع", "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"} {"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)", "name": "3-Tier Gradation Lattice (*Shadīdah* / *Bayniyyah* / *Rikhwah*)", "line_ref": "L1156–1160", "arabic_quotes": "فالشديدة ثمانية أحرف... والحروف التي بين الشديدة والرخوة ثمانية أيضا...", "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"} {"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)", "name": "Closed Finite Affix & Mutation Alphabets (10 *Ziyādah*, 11 *Ibdāl*)", "line_ref": "L1183–1190, L3115–3117", "arabic_quotes": "وحروف الزيادة عشرة... سألتمونيها | أحد عشر حرفا، تسمى حروف البدل | لأن قبلها حرفا مطبقا", "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"} {"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)", "name": "Anti-Cascaded Mutation Guard (*Manʿ Tawālī Iʿlālayn*)", "line_ref": "L260", "arabic_quotes": "وما الذي يتوالى فيه إعلالان بعد نقله، مما يبقى بعد ذلك من الصحة على قديم حاله", "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"} {"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āʾ)", "name": "Surgical Minimal-Pair Contrast (*Taqūl ... wa lā Taqul*)", "line_ref": "L2488–2490", "arabic_quotes": "تقول: هذا طعام يلائمني، أي يوافقني، ولا تقل: يلاومني... وتقول: أومأت إليه، ولا تقل: أوميت", "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"} {"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āʾ)", "name": "Single-Bit / Diacritic Semantic Bifurcation (*Bāb Faʿl wa-Fiʿl* & Hamza Flip)", "line_ref": "L494–496, L2657–2660", "arabic_quotes": "باب فعل وفعل باختلاف معنى: الكير... والكور... | باب: ما يهمز، فيكون له معنى، فإذا لم يهمز كان له معنى آخر", "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"} {"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āʾ)", "name": "Valency & Participant-Arity Templates (*Fāʿala* Binary vs. *Afʿala* Unary)", "line_ref": "L2416–2419", "arabic_quotes": "وأكثر ما يكون فاعلت أن يكون من اثنين... وأما فاعلت بمعنى أفعلت مما يكون من واحد", "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"} {"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āʾ)", "name": "Popular-Drift Purification (*Mā Tarakathu al-ʿĀmmah*)", "line_ref": "L1546, L2429–2430", "arabic_quotes": "والعامة تقول... | باب: ما يهمز مما تركت العامة همزه", "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"} {"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āʾ)", "name": "True Synonymy vs. Divergent Homograph Separation", "line_ref": "L1660–1662 vs. L494", "arabic_quotes": "باب: فعل وفعل بمعنى واحد | باب فعل وفعل باختلاف معنى", "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"} {"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)", "name": "Single-Source Corroboration Quarantine (*Tawaqquf* Protocol)", "line_ref": "L613–616", "arabic_quotes": "ومتى ما رأيتني ذكرت من كتابه حرفا وقلت: إني لم أجده لغيره فاعلم أنه مريب، وكن منه على حذر وافحص عنه؛ فإن وجدته لإمام من الثقات... فقد زالت الشبه، وإلا وقفت فيه إلى أن يضح أمره", "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"} {"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)", "name": "Dataset Corruption & *Taṣḥīf* (OCR/Transcription Error) Purification", "line_ref": "L82–87", "arabic_quotes": "آفات الكتب المصحفة المدخولة... وأن أهذبها بجهدي غاية التهذيب، وأدل على التصحيف الواقع في كتب المتحاذقين", "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"} {"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)", "name": "Primary Ground-Truth Field Verification (*Mushāfahah* / Execution Grounding)", "line_ref": "L93–97", "arabic_quotes": "وكنت امتحنت بالإسار سنة عارضت القرامطة... ويتكلمون بطباعهم البدوية... ولا يكاد يقع في منطقهم لحن", "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"} {"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)", "name": "Frequency-Driven Collocation Fusion (*al-Naḥt bi-Kathrat al-Istiʿmāl*)", "line_ref": "L50369–50370", "arabic_quotes": "والعرب تفعل هكذا إذا كثر استعمالهم الكلمتين ضموا بعض حروف إحداهما إلى بعض حروف الأخرى", "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"} {"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)", "name": "Selective Credit Preservation (*Taṣḥīḥ* Without Blanket Discard)", "line_ref": "L607–612", "arabic_quotes": "فلا تشكن فيه من أجل أنه زل في حروف معدودة هي قليلة في جنب الكثير الذي جاء به صحيحا", "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"} {"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)", "name": "Precision-Only Curation (*Mā Ṣaḥḥa ʿIndī*) + Tri-Modal Verification", "line_ref": "L1152, L1156", "arabic_quotes": "قد أودعت هذا الكتاب ما صح عندي من هذه اللغة... بعد تحصيلها بالعراق رواية، وإتقانها دراية، ومشافهتي بها العرب", "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"} {"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)", "name": "28×28 Reverse-Suffix Matrix Indexing (*Bāb al-Lām, Faṣl al-Fāʾ*)", "line_ref": "L1154–1155", "arabic_quotes": "في ثمانية وعشرين بابا، وكل باب منها ثمانية وعشرون فصلا... إلا أن يهمل من الأبواب جنس من الفصول", "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"} {"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)", "name": "Canonical Root-Key Hashing (Index Under Underlying Radical, Not Surface Mutation)", "line_ref": "L1159–1163", "arabic_quotes": "نذكر في هذا الباب الهمزة الأصلية التي هي لام الفعل، فأما الهمزة المبدلة من الواو... أو المبدلة من الياء... فنذكرهما في باب الواو والياء", "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"} {"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)", "name": "Frequency-Driven Structural Compression with Plural/Inverse Recovery", "line_ref": "L42159–42160, L53202", "arabic_quotes": "ثم تركت همزته لكثرة الاستعمال، فقيل ملك، فلما جمعوه ردوها إليه فقالوا ملائكة | حذفت ألفها لكثرة الاستعمال، وجعلا اسما واحدا", "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"} {"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)", "name": "Explicit Rule-Deviation Tagging (*Shādhdh* Annotation with Base Law Citation)", "line_ref": "L1371–1372", "arabic_quotes": "وهو شاذ، لان المصدر من فعل يفعل مفعل بفتح العين، وقد شذت منه حروف", "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"} {"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** (*\"طريقته طريقة الكوفيين\"*)", "name": "10-Class Speech-Act Router & 3-State Modal Logic (*Wājib / Jāʾiz / Mumtaniʿ*)", "line_ref": "L2528–2538", "arabic_quotes": "معاني الكلام... عشرة: خبر، واستخبار، وأمر، ونهي، ودعاء، وطلب، وعرض، وتحضيض، وتمن، وتعجب | الخبر ما جاز تصديق قائله أو تكذيبه... ثم يكون واجبا وجائزا وممتنعا", "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"} {"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** (*\"طريقته طريقة الكوفيين\"*)", "name": "Domain-Transfer Semantic Layering (*Naql al-Alfāẓ bi-Sharāʾiṭ*)", "line_ref": "L834–835, L859–863", "arabic_quotes": "ونقلت من اللغة ألفاظ من مواضع إلى مواضع أخر بزيادات زيدت، وشرائع شرعت، وشرائط شرطت", "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"} {"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** (*\"طريقته طريقة الكوفيين\"*)", "name": "Dominance Precedence in Heterogeneous Aggregates (*Bāb al-Taghlīb*)", "line_ref": "L205–207", "arabic_quotes": "لأنه جمع ما يعقل وما لا يعقل فغلب ما يعقل، وهي سنة من سنن العرب، أعني باب التغليب", "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"} {"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** (*\"طريقته طريقة الكوفيين\"*)", "name": "Al-Naḥt (Lossy-Surface / Lossless-Meaning Multi-Word Compression)", "line_ref": "L3919–3920", "arabic_quotes": "باب النحت: العرب تنحت من كلمتين كلمة واحدة، وهو جنس من الاختصار", "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"} {"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** (*\"طريقته طريقة الكوفيين\"*)", "name": "Contextual Ellipsis Expansion (*Ḥadhf al-Muḍāf*) & Literal/Figurative Boundary", "line_ref": "L2819–2824, L2969–2974", "arabic_quotes": "باب الحذف والاختصار... واسأل القرية أراد أهلها | باب سنن العرب في حقائق الكلام والمجاز", "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"} {"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)", "name": "Axiomatic Semantic Compression (*Maqāyīs Ṣaḥīḥah wa-Uṣūl*)", "line_ref": "L1155–1156, L3760", "arabic_quotes": "إن للغة العرب مقاييس صحيحة، وأصولا تتفرع منها فروع | الهمزة والسين والفاء أصل واحد يدل على الفوت والتلهف", "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"} {"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)", "name": "Quadriliteral/Quinqueliteral *Naḥt* Decomposition into Binary Primitives", "line_ref": "L10200–10214", "arabic_quotes": "اعلم أن للرباعى والخماسى مذهبا فى القياس... أن أكثر ما تراه منه منحوت... ضربين: أحدهما المنحوت... والضرب الآخر... وضعا لا مجال له فى طرق القياس", "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"} {"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)", "name": "Phonetic-Mutation Canonicalization (*Ibdāl* Deduplication)", "line_ref": "L7843–7844", "arabic_quotes": "هذا ليس أصلا؛ لأنه من باب الإبدال، وذلك أن السين فيه مقام الصاد والأصل بصق", "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"} {"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)", "name": "Explicit Outlier Quarantine (*Wa-mimmā Shadhdha ʿan al-Aṣl*)", "line_ref": "L5943, L7944", "arabic_quotes": "مما شذ عن هذا الباب... | ومما شذ عن الأصل البشام", "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"} {"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)", "name": "Bi-Radical Prefix/Sub-Root Structural Invariants", "line_ref": "L24927–24929", "arabic_quotes": "فلا ترى الدال مؤتلفة مع اللام بحرف ثالث إلا وهى تدل على حركة ومجىء، وذهاب وزوال", "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"}