सभी किताबें

पेशेवर

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 · शब्दावली

Structure, variable assignment, satisfaction क्या है?

अन्य नाम: structure (logic) · variable assignment · satisfaction (logic)

Definition 24.5 University Computer Science — Year 2 · अध्याय 24 — Predicate Logic and Formal Proofs

A structure A\mathcal{A} for a signature is a non-empty set DD, its domain, with a function fA:Dn→Df^{\mathcal{A}} : D^n \to D for each function symbol of arity nn and a relation PA⊆DnP^{\mathcal{A}} \subseteq D^n for each predicate symbol of arity nn. A variable assignment is a function ρ\rho from variables to DD. The value ⟦t⟧ρ\llbracket t \rrbracket_\rho of a term is ρ(x)\rho(x) for a variable and fA(⟦t1⟧ρ,…,⟦tn⟧ρ)f^{\mathcal{A}}(\llbracket t_1 \rrbracket_\rho, \dots, \llbracket t_n \rrbracket_\rho) for f(t1,…,tn)f(t_1, \dots, t_n). Satisfaction A,ρ⊨A\mathcal{A}, \rho \models A is defined by induction on AA:

  • A,ρ⊨P(t1,…,tn)\mathcal{A}, \rho \models P(t_1, \dots, t_n) when (⟦t1⟧ρ,…,⟦tn⟧ρ)∈PA(\llbracket t_1 \rrbracket_\rho, \dots, \llbracket t_n \rrbracket_\rho) \in P^{\mathcal{A}}; A,ρ⊨t1=t2\mathcal{A}, \rho \models t_1 = t_2 when the two values are equal; never A,ρ⊨⊥\mathcal{A}, \rho \models \bot;
  • the connectives as for valuations: A,ρ⊨A∧B\mathcal{A}, \rho \models A \wedge B when both hold, and so on;
  • A,ρ⊨∀x A\mathcal{A}, \rho \models \forall x\, A when A,ρ[x↦d]⊨A\mathcal{A}, \rho[x \mapsto d] \models A for every d∈Dd \in D, and A,ρ⊨∃x A\mathcal{A}, \rho \models \exists x\, A when it holds for at least one d∈Dd \in D, where ρ[x↦d]\rho[x \mapsto d] is ρ\rho changed at xx only.
अध्याय में पढ़ें →