Skip to main content

Questions tagged [logic]

Questions related to mathematical logic and its use in computer science

0 votes
1 answer
37 views

I'm trying to do variable elimination by resolution in CNF SAT formulas. According to Wikipedia and other sources, the resolution rule states that $$ \dfrac{(p \lor a) \land (\neg p \lor b)}{(a \lor b)...
Grisu47's user avatar
  • 121
3 votes
1 answer
124 views

I'm trying to understand how to interpret the turnstile notation Γ ⊢ A when it appears in natural deduction systems, and I'm confused about the relationship between natural deduction and sequent ...
gwyng bgl's user avatar
1 vote
2 answers
94 views

The following encodes the existential quantifier in λC, in a context where $S:*, \; P,Q : S \to *$. $$\Pi \alpha:*. (\Pi x:S.(Px \to \alpha)) \to \alpha$$ I can work through the mechanics showing ...
Penelope's user avatar
  • 169
2 votes
1 answer
160 views

I wanted to develop a tree-format natural deduction of the following tautology. $$ \exists_{x \in S}(P(x)) \quad \implies \quad ( \forall_{y \in S}(P(y) \implies Q(y)) \implies \exists_{z \in S}(Q(z))...
Penelope's user avatar
  • 169
1 vote
1 answer
62 views

I'm really struggling with this exercise 7.8(b) from Type Theory and Formal Proof. Give λC-derivations verifying the following tautologies of constructive logic (hint: use Exercise 7.7 and Section 7....
Penelope's user avatar
  • 169
0 votes
1 answer
56 views

I am trying to understand the complexity of a problem that involves solving some $\mathsf{PSPACE}$-complete problem exponentially many times. Namely, one can imagine $\Xi=\{\phi_1,\ldots,\phi_n\}$ to ...
Daniil Kozhemiachenko's user avatar
1 vote
1 answer
67 views

Exercise 7.6(c) from Type Theory and Formal Proof (Nederpelt) asks us to derive in λC an inhabitant of a type that corresponds to the following logical statement: $$\neg(A \land B) \implies (A \...
Penelope's user avatar
  • 169
0 votes
0 answers
36 views

In my Theory of Computability class, our final project is to write a Turing Machine in JFLAP. My project is to write one able to validade a logic formula in postfix notation. So, for example: input: ...
Joana da Matta's user avatar
0 votes
0 answers
27 views

I am currently trying to understand the IC3/PDR algorithm. My intuitive understanding is that in each iteration, IC3 tries to find a counterexample $c$ (which is a single, concrete state) such that $c ...
BlockchainThomas's user avatar
5 votes
1 answer
387 views

I'm following this online guide to quantifier inference rules for natural deduction [pdf]. Question: I need help as I don't understand two of the rules, $\forall$-intro and $\exists$-elim. I discuss ...
Penelope's user avatar
  • 169
3 votes
2 answers
140 views

I reading about the Law of the Excluded Middle, that in Classical Logic the following holds for any proposition $P$ $$P \lor \neg P$$ Question: Is that an "OR" or is it an "XOR"? ...
Penelope's user avatar
  • 169
3 votes
1 answer
192 views

I'm worried that my question might be ill-posed, but I've tried to formulate it as precisely as possible. As a computational model, lambda calculus has numerous alternatives, including Turing machines....
gwyng bgl's user avatar
0 votes
0 answers
33 views

Exercise 6.5 of Type Theory and Formal Proof (Nederpelt) asks us to interpret logically the following judgement: $$ S : * \quad \vdash \quad \lambda Q : S \to S \to *. \lambda x : S. Qxx \quad : \...
Penelope's user avatar
  • 395
0 votes
1 answer
111 views

I'm continuing to work through Chapter 5 of Type Theory and Formal Proof (Nederpelt). Doing exercise 5.10 I've run into a wall. I know there is a correspondence between λP types and logical ...
Penelope's user avatar
  • 395
2 votes
1 answer
416 views

Exercise 5.6 in Type Theory and Formal Proof asks us to first develop a natural deduction proof of the following logical statement (before doing a λP derivation). $$ (A \implies (A \implies B)) \...
Penelope's user avatar
  • 395

15 30 50 per page
1
2 3 4 5
70