リストに存在する変数を証明することに問題があります。 Lemma exists_in_list_helper: forall (X : Type) (a : X) (P : X -> Prop),
(exists b : X, In b [a] -> P b) ->
P a.
Proof.
Admitted.
私は別の質問があります。リスト内の値に対してケース分析を
私はこの補題の証明を仕上げ問題を抱えていました。 Require Import Arith Omega Nat.
Lemma l1 : forall m n : nat, m * m = n * n -> m = n.
Proof.
intros.
destruct (Nat.eq_dec m n).
trivial.
induction n.
induction m.
auto.
私はchapter 4 of the reference manual of Coqを読んでいます。参考文献に記載されているタイピング規則によれば、用語fun x: nat => xのタイプはforall x: nat, natである。 I Check Coqのことで、この用語は、それがnat -> nat入力されしかし Assume that E is [nat: Set].
私はCoqを初めて使用しており、仮説H3のためにInsufficient Justificationエラーが発生しています。私はそれを数回書き直そうとしましたが、エラーは持続します。誰かが理由を説明できますか?ありがとう。 Section GroupTheory.
Variable G: Set.
Variable operation: G -> G -> G.
Variable e : G