Login / Get an account Logout
  • view
  • revert
  • history
  • discuss

Revision 5f58a6622a88dda9e75186afe361e08fec2e9691

Schedule/ProofCafe_23

  • 練習問題: ★★ (ev_plus4)
  • 練習問題: ★★★ (ev_ev_even)

練習問題: ★★ (ev_plus4)

Definition ev_plus4 : forall n, ev n -> ev (4 + n) :=
  fun n : nat => fun H : ev n => (ev_SS (S (S n)) (ev_SS n H)).

Theorem ev_plus4' : forall n,
  ev n -> ev (4 + n).
Proof.
  intros.
  simpl.
  apply ev_SS.                              (* Goal : ev SSSSn *)
  apply ev_SS.                              (* Goal : ev SSn *)
  apply H.                                  (* Goal : n *)
Qed.

練習問題: ★★★ (ev_ev_even)

Theorem ev_ev_even : forall n m,
  ev (n+m) -> ev n -> ev m.
Proof.
  intros n m H1 H2.
  induction H2.
  apply H1.

  apply IHev.
  simpl in H1.  
  SearchAbout ev.
  apply SSev_even.
  apply H1.
Qed.
powered by gitit , hosted on proofserver
Site
  • Front page
  • All pages
  • Categories
  • Random page
  • Recent activity
  • Upload a file
  • Help
This page
  • Raw page source
  • Printable version
  • Delete this page