Assuming that A
, B
, and C
are propositions, how does one write that all of them are
satisfied?
the correct answer is answer no. 1:
A /\ B /\ C
Assuming that A
, B
, and C
are propositions, which of the following formulas expresses that
one of them is not satisfied?
the correct answer is answer no. 3:
~A \/ ~B \/ ~C
Assuming that x
, y
, z
are
natural numbers, and even
has type nat -> Prop
,
How do you write "if x
is even, then y
is the same as z
?"
the correct answer is answer no. 4:
even x -> y = z
assuming x
and y
, how do you express that
x
is a multiple of y
?
the correct answer is answer no. 2:
exists z : nat, x = z * y
How do you define the prime
predicate on natural numbers?
the correct answer is answer no. 4:
Definition prime (x : nat) := (1 < x) /\ forall y z, 1 < y < x -> x <> y * z.
Which of the following expresses that the square root of 2 is not rational the correct answer is answer no. 1:
forall p q : nat, p <> 0 -> p * p <> q * q * 2
With a goal of the following shape:
A, B : Prop Ha : A ============ A /\ BWhat should be the effect of the following tactic?
split; assumption.the correct answer is answer no. 3: There will be one goal
With a goal of the following shape:
A, B : Prop Ha : A ============ A \/ BWhat should be the effect of the following tactic?
destruct Ha as [h1 | h2]; assumption.the correct answer is answer no. 3: The behavior is not covered by the other answers
With a goal of the following shape:
P, Q : nat -> Prop f : forall y : nat, P y -> Q y x : nat r : P x =========== Q xWhat should be the effect of the following tactic?
apply f.the correct answer is answer no. 1: A new goal, whose conclusion is
P x