Guest User

Untitled

a guest
Jun 8th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Inductive world : Type := MsgFromRealSatoshi | MsgFromFakeSatoshi.
  2.  
  3. Definition possible_world (w v:world) := True.
  4.  
  5. Definition msg_from_satoshi (w:world) : Prop :=
  6. match w with
  7. | MsgFromRealSatoshi => True
  8. | MsgFromFakeSatoshi => False
  9. end.
  10.  
  11. Definition know (p:world -> Prop) (w:world) : Prop :=
  12. forall v:world, possible_world w v -> p v.
  13.  
  14. Definition neg (p:world -> Prop) (w:world) : Prop := ~ p w.
  15.  
  16. Theorem not_know_not_real_satoshi : forall w, neg (know (neg msg_from_satoshi)) w.
  17. intros w H.
  18. exact (H MsgFromRealSatoshi I I).
  19. Qed.
  20.  
  21. Theorem not_know_real_satoshi : forall w, neg (know msg_from_satoshi) w.
  22. intros w H.
  23. exact (H MsgFromFakeSatoshi I).
  24. Qed.
Advertisement
Add Comment
Please, Sign In to add comment