सभी किताबें

पेशेवर

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करियर ऑनलाइन
ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

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}}

अध्याय में पढ़ें →