2024-2025学年下学期第一二章测验题
Please say which of the following formulas are tautologies, which are contradictions, and which are contingencies. In each case, use truth tables plus accompanying text to prove your claims.
(i) (p→q)∨(q→p)
(ii) p⊕p (where ⊕ is the exclusive disjunction)
(iii) (p→q)→(¬q→¬p)
-------- Aberdeen 2005
Translate the following argument into propositional logic, and prove it.
Premises: If it rains then it's wet. If it's wet then I'm miserable. I'm not miserable.
Conclusion: It does not rain.
-------- Aberdeen 2006
True or False. You do not need to justify your answers on this problem.
N denotes the set of natural numbers, {0,1,2,…}.
Z denotes the integers, {…,−2,−1,0,1,2,…}.
( ) (a) If the implication P→Q is true, then its converse is guaranteed to be true.
( ) (b) ∀w∈Z.∃x∈Z.∀y∈Z.∃z∈Z.w+x=y+z
( ) (c) ∃x∈N.∀p∈Z.p>5→x2≡1(modp)
( ) (d) ∀p∈Z.p>5→∃x∈N.x2≡1(modp)
-------- Berkeley Fall 2003 Midterm
(a) Consider the function f(x)=20−4x2 from the set {−3,−2,−1,0,1,2,3} to the set {−16,4,16,20,36}. Is it an injection? Is it a surjection? Explain your answer.
(b) Is the function f(x)=2x−1 a bijection from the set of positive integers to the set of positive integers? Explain your answer.
(c) What is the inverse of f(x)=5−2x3/2?
(d) Let f(x)=x2/3+2x+7 and g(x)=3x+4 be functions from the set of real numbers to the set of real numbers. What is f∘g? And what is g∘f?
-------- Queens Univ October 2006 Test1
Give an example of a function f:N→Z that is:
(a) Neither injective nor surjective.
(b) Injective but not surjective.
(c) Surjective but not injective.
(d) Surjective and injective.
-------- Stanford February 2006
Prove or give a counterexample for each of the following:
(a) If A⊆B and B⊆C, then A⊆C.
(b) If A∈B and B∈C, then A∈C.
-------- Stanford February 2007
Let us add the following two operations to our dealings with sets:
- Pairwise addition: A⊕B:={a+b∣a∈A, b∈B} (This is also called the Minkowski addition of sets A and B.)
- Pairwise multiplication: A⊗B:={a×b∣a∈A, b∈B}
For example, if A is {1,2} and B is {10,100}, then A⊕B={11,12,101,102} and A⊗B={10,20,100,200}. Please describe the following sets:
i. N⊕∅;
ii. N⊕N
iii. N+⊕N+
iv. N+⊗N+
-------- Stanford Homework
用一阶谓词公式描述下列命题的结构(使用全总个体域)
(a) 自然数不是奇数就是偶数
(b) 没有最大的自然数
构造下面推理的证明
前提:
∃xF(x)→∀y(G(y)→H(y)),
∃xM(x)→∃y(G(y))
结论:
∃x(F(x)∧M(x))→∃y(H(y))
设 A,B,C 为任意的集合,证明:
(1) (A−B)−C=(A−C)−B
(2) A∩(B⊕C)=(A∩B)⊕(A∩C)
说明:B⊕C 表示集合 B 和集合 C 的对称差,即 (B∪C)−(B∩C),也即:(B−C)∪(C−B)。
十一、
若 A 是不可列的无限集,B 为无限可列集,且 A∩B=∅,试建立 A∪B 到 A 的一一对应。
十二、
若 A1,A2,…,Am 都是无限集,且都是可列集,并且它们两两互不相交,证明:
i=1⋃mAi
是可列集。
十三、
(ECNU 2024, midterm) Let A, B and C be sets. Prove that B−C⊆A if and only if A∩B⊆C.