جميع الكتب

مهني

1 Markets I: The Ecosystem and Exchange-Traded Marketsالأسواق عبر الإنترنت 2 Markets II: Rates, FX and Creditالأسواق عبر الإنترنت 3 Markets III: Commodities, Energy and Cryptoالأسواق عبر الإنترنت 4 Quantitative Methodsالأساليب عبر الإنترنت 5 Derivatives and Volatilityالمشتقات عبر الإنترنت 6 Rates, Credit, XVA and Riskالفائدة والائتمان والمخاطر عبر الإنترنت 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosالبحث عبر الإنترنت 8 Strategies I: Equities and Futuresالاستراتيجيات عبر الإنترنت 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksالاستراتيجيات عبر الإنترنت 10 Microstructure and Executionالتنفيذ عبر الإنترنت 11 Market Making and High-Frequency Tradingصناعة السوق عبر الإنترنت 12 Machine Learning for Marketsتعلم الآلة عبر الإنترنت 13 Low-Latency Softwareالتكنولوجيا عبر الإنترنت 14 Networks, Hardware and Trading Infrastructureالتكنولوجيا عبر الإنترنت 15 Research, Data and Risk Platformsالتكنولوجيا عبر الإنترنت 16 The Desk and the Firmالشركة عبر الإنترنت 17 The Industry: Firms, Roles and Careersالمسارات المهنية عبر الإنترنت 18 Interviews I: Maths, Probability and Speedالمسارات المهنية عبر الإنترنت 19 Interviews II: Markets, Trading Games and the Final Roundالمسارات المهنية عبر الإنترنت 20 Interviews III: Codeالمسارات المهنية عبر الإنترنت
التطبيقات حول المدرب تسجيل الدخول ابدأ القراءة

Computer Science · المسرد

ما معنى Free variable, bound variable, scope؟

يُعرف أيضًا باسم: scope (quantifier) · bound variable · free variable · sentence (logic)

Definition 24.3 University Computer Science — Year 2 · الفصل 24 — Predicate Logic and Formal Proofs

In ∀x A\forall x\, A and ∃x A\exists x\, A, the formula AA is the scope of the quantifier. An occurrence of xx is bound if it lies in the scope of a quantifier on xx, and then it is bound by the nearest such quantifier above it in the tree; otherwise it is free. The free variables of a formula are those with a free occurrence; a formula without any is a sentence.

The tree of x\, (R(x, y) x\, P(x)). A dashed arrow joins each bound occurrence to the quantifier that binds it: the nearest one above it on its own variable. The circled y is free.
The tree of ∀x (R(x,y)→∃x P(x))\forall x\, (R(x, y) \to \exists x\, P(x)). A dashed arrow joins each bound occurrence to the quantifier that binds it: the nearest one above it on its own variable. The circled yy is free.

أمثلة

Example 24.12 (A universal from two universals)

From ∀x (P(x)→Q(x))\forall x\, (P(x) \to Q(x)) and ∀x P(x)\forall x\, P(x) follows ∀x Q(x)\forall x\, Q(x). With Γ\Gamma the two hypotheses, both sentences, the variable yy is free in none of them, and ∀\foralli applies:

 Γ⊢∀x (P(x)→Q(x)) hypΓ⊢P(y)→Q(y) ∀e Γ⊢∀x P(x) hypΓ⊢P(y) ∀eΓ⊢Q(y) →eΓ⊢∀x Q(x) ∀i{\dfrac{{\dfrac{{\dfrac{{\dfrac{\ }{\Gamma \vdash \forall x\, (P(x) \to Q(x))}\,\scriptstyle\text{hyp}}}{\Gamma \vdash P(y) \to Q(y)}\,\scriptstyle\text{$\forall$e}} \qquad {\dfrac{{\dfrac{\ }{\Gamma \vdash \forall x\, P(x)}\,\scriptstyle\text{hyp}}}{\Gamma \vdash P(y)}\,\scriptstyle\text{$\forall$e}}}{\Gamma \vdash Q(y)}\,\scriptstyle\text{$\to$e}}}{\Gamma \vdash \forall x\, Q(x)}\,\scriptstyle\text{$\forall$i}}

اقرأ في الفصل →