Introduction to Logic
Assume a language with the object constants a and b and no function constants. Given q(a) and q(b), use the Fitch system with domain closure to prove ∀x.(p(x) ⇒ q(x)).
Show Instructions
To apply a rule of inference, check the lines you wish to use as premises and click the button for the rule of inference. Reiteration allows you to repeat an earlier item. To delete one or more lines from a proof, check the desired lines and click Delete. When entering expressions, use Ascii characters only. Use ~ for ¬; use & for ∧; use  for ∨; use => for ⇒; use <=> for ⇔; use A for ∀; use E for ∃; and use : for . in quantified sentences. Also, for variables use strings of alphanumeric characters that begin with a capital letter. For example, to write the sentence ∀x.∃y.(p(x) ∧ q(y) ⇒ r(y)∨¬s(y)), write AX:EY:(p(X)&q(Y)=>r(Y)~s(Y)).
1
q(a)
Premise
2
q(b)
Premise
3
p(a)
Assumption
4
q(a)
Reiteration
1
5
p(a) => q(a)
Implication Introduction
3
4
6
p(b)
Assumption
7
q(b)
Reiteration
2
8
p(b) => q(b)
Implication Introduction
6
7
9
AX:(p(X) => q(X))
Domain Closure
5
8
