-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathQuantum_Prisoners_Dilemma.thy
More file actions
934 lines (832 loc) · 47.8 KB
/
Quantum_Prisoners_Dilemma.thy
File metadata and controls
934 lines (832 loc) · 47.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
(*
authors:
Yijun He, University of Cambridge, yh403@cam.ac.uk
with contributions by Anthony Bordg and Hanna Lachnitt.
*)
theory Quantum_Prisoners_Dilemma
imports
More_Tensor
Measurement
Basics
begin
text \<open>
In the 2-parameter strategic space of Eisert, Wilkens and Lewenstein [EWL], Prisoner's Dilemma
ceases to pose a dilemma if quantum strategies are allowed for. Indeed, Alice and Bob both choosing
to defect is no longer a Nash equilibrium. However, a new Nash equilibrium appears which is at the
same time Pareto optimal. Moreover, there exists a quantum strategy which always gives reward if
played against any classical strategy.
Below the parameter \<gamma> can be seen as a measure of the game's entanglement. The game behaves
classically if \<gamma> = 0, and for the maximally entangled case (\<gamma> = 2*$\pi$) the dilemma disappears
as pointed out above.
\<close>
section \<open>The Set-Up\<close>
locale prisoner =
fixes \<gamma>:: "real"
assumes "\<gamma> \<le> pi/2" and "\<gamma> \<ge> 0"
abbreviation (in prisoner) J :: "complex Matrix.mat" where
"J \<equiv> mat_of_cols_list 4 [[cos(\<gamma>/2), 0, 0, \<i>*sin(\<gamma>/2)],
[0, cos(\<gamma>/2), -\<i>*sin(\<gamma>/2), 0],
[0, -\<i>*sin(\<gamma>/2), cos(\<gamma>/2), 0],
[\<i>*sin(\<gamma>/2), 0, 0, cos(\<gamma>/2)]]"
abbreviation (in prisoner) \<psi>\<^sub>1 :: "complex Matrix.mat" where
"\<psi>\<^sub>1 \<equiv> mat_of_cols_list 4 [[cos(\<gamma>/2), 0, 0, \<i>*sin(\<gamma>/2)]]"
lemma (in prisoner) psi_one:
shows "J * |unit_vec 4 0\<rangle> = \<psi>\<^sub>1"
proof
fix i j assume a0:"i < dim_row \<psi>\<^sub>1" and a1:"j < dim_col \<psi>\<^sub>1"
then have "(J * |unit_vec 4 0\<rangle>) $$ (i,j) = (\<Sum>k<4. (J $$ (i,k)) * ( |unit_vec 4 0\<rangle> $$ (k,j)))"
using mat_of_cols_list_def ket_vec_def by auto
also have "... = (\<Sum>k\<in>{0,1,2,3}. (J $$ (i,k)) * ( |unit_vec 4 0\<rangle> $$ (k,j)))"
using set_4 atLeast0LessThan by simp
also have "... = \<psi>\<^sub>1 $$ (i,j)"
proof-
have "i\<in>{0,1,2,3} \<and> j=0"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def by auto
qed
finally show "(J * |unit_vec 4 0\<rangle>) $$ (i,j) = \<psi>\<^sub>1 $$ (i,j)" by simp
next
show "dim_row (J * |unit_vec 4 0\<rangle>) = dim_row \<psi>\<^sub>1"
using mat_of_cols_list_def by simp
next
show "dim_col (J*|unit_vec 4 0\<rangle>) = dim_col \<psi>\<^sub>1"
using mat_of_cols_list_def by (simp add: ket_vec_def)
qed
locale strategic_space_2p = prisoner +
fixes \<theta>\<^sub>A:: "real"
and \<phi>\<^sub>A:: "real"
and \<theta>\<^sub>B:: "real"
and \<phi>\<^sub>B:: "real"
assumes "0 \<le> \<theta>\<^sub>A \<and> \<theta>\<^sub>A \<le> pi"
and "0 \<le> \<phi>\<^sub>A \<and> \<phi>\<^sub>A \<le> pi/2"
and "0 \<le> \<theta>\<^sub>B \<and> \<theta>\<^sub>B \<le> pi"
and "0 \<le> \<phi>\<^sub>B \<and> \<phi>\<^sub>B \<le> pi/2"
abbreviation (in strategic_space_2p) U\<^sub>A :: "complex Matrix.mat" where
"U\<^sub>A \<equiv> mat_of_cols_list 2 [[exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2), -sin(\<theta>\<^sub>A/2)],
[sin(\<theta>\<^sub>A/2), exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2)]]"
abbreviation (in strategic_space_2p) U\<^sub>B :: "complex Matrix.mat" where
"U\<^sub>B \<equiv> mat_of_cols_list 2 [[exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2), -sin(\<theta>\<^sub>B/2)],
[sin(\<theta>\<^sub>B/2), exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2)]]"
abbreviation (in strategic_space_2p) \<psi>\<^sub>2 :: "complex Matrix.mat" where
"\<psi>\<^sub>2 \<equiv>
mat_of_cols_list 4 [[exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2),
exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * -sin(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + sin(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2),
-sin(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2),
sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2)]]"
abbreviation (in strategic_space_2p) U\<^sub>A\<^sub>B :: "complex Matrix.mat" where
"U\<^sub>A\<^sub>B \<equiv>
mat_of_cols_list 4 [[exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2), exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * -sin(\<theta>\<^sub>B/2),
-sin(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2), -sin(\<theta>\<^sub>A/2) * -sin(\<theta>\<^sub>B/2)],
[exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2), exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2),
-sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2), -sin(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2)],
[sin(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2), -sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2),
exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp (\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2), exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * -sin(\<theta>\<^sub>B/2)],
[sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2), sin(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2),
exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2), exp (-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2)]]"
lemma (in strategic_space_2p) U\<^sub>A_tensor_U\<^sub>B:
shows "(U\<^sub>A \<Otimes> U\<^sub>B) = U\<^sub>A\<^sub>B"
proof
fix i j assume a0: "i<dim_row U\<^sub>A\<^sub>B" and a1: "j<dim_col U\<^sub>A\<^sub>B"
then have "i\<in>{0,1,2,3} \<and> j\<in>{0,1,2,3}"
using mat_of_cols_list_def by auto
then show "(U\<^sub>A \<Otimes> U\<^sub>B) $$ (i,j) = U\<^sub>A\<^sub>B $$ (i,j)"
using mat_of_cols_list_def by auto
next
show "dim_row (U\<^sub>A \<Otimes> U\<^sub>B) = dim_row U\<^sub>A\<^sub>B"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>A \<Otimes> U\<^sub>B) = dim_col U\<^sub>A\<^sub>B"
using mat_of_cols_list_def by simp
qed
lemma (in strategic_space_2p) psi_two:
shows "(U\<^sub>A \<Otimes> U\<^sub>B) * \<psi>\<^sub>1 = \<psi>\<^sub>2"
proof
fix i j
assume a0:"i < dim_row \<psi>\<^sub>2" and a1:"j < dim_col \<psi>\<^sub>2"
then show "((U\<^sub>A \<Otimes> U\<^sub>B) * \<psi>\<^sub>1) $$ (i,j) = \<psi>\<^sub>2 $$ (i,j)"
proof-
have "i\<in>{0,1,2,3} \<and> j=0"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def U\<^sub>A_tensor_U\<^sub>B set_4 by auto
qed
next
show "dim_row ((U\<^sub>A \<Otimes> U\<^sub>B)*\<psi>\<^sub>1) = dim_row \<psi>\<^sub>2"
using mat_of_cols_list_def by simp
next
show "dim_col ((U\<^sub>A \<Otimes> U\<^sub>B)*\<psi>\<^sub>1) = dim_col \<psi>\<^sub>2"
using mat_of_cols_list_def by simp
qed
abbreviation (in prisoner) J_cnj :: "complex Matrix.mat" where
"J_cnj \<equiv> mat_of_cols_list 4 [[cos(\<gamma>/2), 0, 0, -\<i>*sin(\<gamma>/2)],
[0, cos(\<gamma>/2), \<i>*sin(\<gamma>/2), 0],
[0, \<i>*sin(\<gamma>/2), cos(\<gamma>/2), 0],
[-\<i>*sin(\<gamma>/2), 0, 0, cos(\<gamma>/2)]]"
lemma (in prisoner) hermite_cnj_of_J [simp]:
shows "J\<^sup>\<dagger> = J_cnj"
proof
fix i j assume a0:"i < dim_row J_cnj" and a1:"j < dim_col J_cnj"
then show "J\<^sup>\<dagger> $$ (i,j) = J_cnj $$ (i,j)"
proof-
have "i\<in>{0,1,2,3} \<and> j\<in>{0,1,2,3}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def dagger_def by auto
qed
next
show "dim_row (J\<^sup>\<dagger>) = dim_row J_cnj"
using mat_of_cols_list_def by simp
next
show "dim_col (J\<^sup>\<dagger>) = dim_col J_cnj"
using mat_of_cols_list_def by simp
qed
abbreviation (in strategic_space_2p) \<psi>\<^sub>f :: "complex Matrix.mat" where
"\<psi>\<^sub>f \<equiv> mat_of_cols_list 4 [[
cos(\<gamma>/2) * (exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2))
+ (-\<i>*sin(\<gamma>/2)) * (sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2)),
cos(\<gamma>/2) * (exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * -sin(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + sin(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2))
+ (\<i>*sin(\<gamma>/2)) * (-sin(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2)),
(\<i>*sin(\<gamma>/2)) * (exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * -sin(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + sin(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2))
+ cos(\<gamma>/2) * (-sin(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2)),
(-\<i>*sin(\<gamma>/2)) * (exp(\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2))
+ cos(\<gamma>/2) * (sin(\<theta>\<^sub>A/2) * sin(\<theta>\<^sub>B/2) * cos(\<gamma>/2) + exp(-\<i>*\<phi>\<^sub>A)*cos(\<theta>\<^sub>A/2) * exp(-\<i>*\<phi>\<^sub>B)*cos(\<theta>\<^sub>B/2) * \<i>*sin(\<gamma>/2))
]]"
lemma (in strategic_space_2p) psi_f:
shows "(J\<^sup>\<dagger>) * \<psi>\<^sub>2 = \<psi>\<^sub>f"
proof
fix i j assume a0:"i < dim_row \<psi>\<^sub>f" and a1:"j < dim_col \<psi>\<^sub>f"
then show "((J\<^sup>\<dagger>) * \<psi>\<^sub>2) $$ (i,j) = \<psi>\<^sub>f $$ (i,j)"
proof-
have "i\<in>{0,1,2,3} \<and> j=0"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def set_4 hermite_cnj_of_J by auto
qed
next
show "dim_row ((J\<^sup>\<dagger>) * \<psi>\<^sub>2) = dim_row \<psi>\<^sub>f"
using mat_of_cols_list_def by simp
next
show "dim_col ((J\<^sup>\<dagger>) * \<psi>\<^sub>2) = dim_col \<psi>\<^sub>f"
using mat_of_cols_list_def by simp
qed
lemma (in prisoner) unit_vec_4_0_ket_is_state:
shows "state 2 |unit_vec 4 0\<rangle>"
using state_def cpx_vec_length_def ket_vec_def unit_vec_def by (auto simp add: set_4)
lemma cos_sin_squared_add_cpx:
"complex_of_real (cos (\<gamma>/2)) * complex_of_real (cos (\<gamma>/2)) -
\<i>*complex_of_real (sin (\<gamma>/2)) * (\<i>*complex_of_real (sin (\<gamma>/2))) = 1"
apply (auto simp add: algebra_simps)
by (metis of_real_add of_real_hom.hom_one of_real_mult sin_cos_squared_add3)
lemma sin_cos_squared_add_cpx:
"\<i>*complex_of_real (sin (\<gamma>/2)) * (\<i>*complex_of_real (sin (\<gamma>/2))) -
complex_of_real (cos (\<gamma>/2)) * complex_of_real (cos (\<gamma>/2)) = -1"
apply (auto simp add: algebra_simps)
by (metis of_real_add of_real_hom.hom_one of_real_mult sin_cos_squared_add3)
lemma (in prisoner) J_cnj_times_J:
shows "J\<^sup>\<dagger> * J = 1\<^sub>m 4"
proof
fix i j assume a0:"i < dim_row (1\<^sub>m 4)" and a1:"j < dim_col (1\<^sub>m 4)"
then show "(J\<^sup>\<dagger> * J) $$ (i,j) = 1\<^sub>m 4 $$ (i,j)"
proof-
have "i\<in>{0,1,2,3} \<and> j\<in>{0,1,2,3}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def hermite_cnj_of_J set_4 cos_sin_squared_add_cpx by auto
qed
next
show "dim_row (J\<^sup>\<dagger> * J) = dim_row (1\<^sub>m 4)"
using mat_of_cols_list_def by simp
next
show "dim_col (J\<^sup>\<dagger> * J) = dim_col (1\<^sub>m 4)"
using mat_of_cols_list_def by simp
qed
lemma (in prisoner) J_times_J_cnj:
shows "J * (J\<^sup>\<dagger>) = 1\<^sub>m 4"
proof
fix i j assume a0:"i < dim_row (1\<^sub>m 4)" and a1:"j < dim_col (1\<^sub>m 4)"
then show "(J * (J\<^sup>\<dagger>)) $$ (i,j) = 1\<^sub>m 4 $$ (i,j)"
proof-
have "i\<in>{0,1,2,3} \<and> j\<in>{0,1,2,3}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def hermite_cnj_of_J set_4 cos_sin_squared_add_cpx by auto
qed
next
show "dim_row (J * (J\<^sup>\<dagger>)) = dim_row (1\<^sub>m 4)"
using mat_of_cols_list_def by simp
next
show "dim_col (J * (J\<^sup>\<dagger>)) = dim_col (1\<^sub>m 4)"
using mat_of_cols_list_def by simp
qed
lemma (in prisoner) J_is_gate:
shows "gate 2 J"
proof
show "dim_row J = 2\<^sup>2"
using mat_of_cols_list_def by simp
moreover show "square_mat J"
using mat_of_cols_list_def by simp
ultimately show "unitary J"
using mat_of_cols_list_def unitary_def J_cnj_times_J J_times_J_cnj by auto
qed
lemma (in strategic_space_2p) psi_one_is_state:
shows "state 2 \<psi>\<^sub>1"
proof-
have "state 2 (J * |unit_vec 4 0\<rangle>)"
using unit_vec_4_0_ket_is_state J_is_gate by auto
then show ?thesis
using psi_one by simp
qed
abbreviation (in strategic_space_2p) U\<^sub>A_cnj :: "complex Matrix.mat" where
"U\<^sub>A_cnj \<equiv> mat_of_cols_list 2 [[(exp(-\<i>*\<phi>\<^sub>A))*cos(\<theta>\<^sub>A/2), sin(\<theta>\<^sub>A/2)],
[-sin(\<theta>\<^sub>A/2), (exp (\<i>*\<phi>\<^sub>A))*cos(\<theta>\<^sub>A/2)]]"
abbreviation (in strategic_space_2p) U\<^sub>B_cnj :: "complex Matrix.mat" where
"U\<^sub>B_cnj \<equiv> mat_of_cols_list 2 [[(exp(-\<i>*\<phi>\<^sub>B))*cos(\<theta>\<^sub>B/2), sin(\<theta>\<^sub>B/2)],
[-sin(\<theta>\<^sub>B/2), (exp(\<i>*\<phi>\<^sub>B))*cos(\<theta>\<^sub>B/2)]]"
lemma (in strategic_space_2p) hermite_cnj_of_U\<^sub>A:
shows "U\<^sub>A\<^sup>\<dagger> = U\<^sub>A_cnj"
proof
fix i j assume a0:"i < dim_row U\<^sub>A_cnj" and a1:"j < dim_col U\<^sub>A_cnj"
then show "U\<^sub>A\<^sup>\<dagger> $$ (i,j) = U\<^sub>A_cnj $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def dagger_def exp_of_real_cnj exp_of_real_cnj2 by auto
qed
next
show "dim_row (U\<^sub>A\<^sup>\<dagger>) = dim_row U\<^sub>A_cnj"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>A\<^sup>\<dagger>) = dim_col U\<^sub>A_cnj"
using mat_of_cols_list_def by simp
qed
lemma (in strategic_space_2p) hermite_cnj_of_U\<^sub>B:
shows "U\<^sub>B\<^sup>\<dagger> = U\<^sub>B_cnj"
proof
fix i j assume a0:"i < dim_row U\<^sub>B_cnj" and a1:"j < dim_col U\<^sub>B_cnj"
then show "U\<^sub>B\<^sup>\<dagger> $$ (i,j) = U\<^sub>B_cnj $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def dagger_def exp_of_real_cnj exp_of_real_cnj2 by auto
qed
next
show "dim_row (U\<^sub>B\<^sup>\<dagger>) = dim_row U\<^sub>B_cnj"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>B\<^sup>\<dagger>) = dim_col U\<^sub>B_cnj"
using mat_of_cols_list_def by simp
qed
lemma exp_sin_cos_squared_add:
fixes x y :: real
shows "exp (- (\<i> * x)) * cos (y) * (exp (\<i> * x) * cos (y)) + sin(y) * sin(y) = 1"
proof-
have "exp (- (\<i> * x)) * cos (y) * (exp (\<i> * x) * cos (y)) = cos(y) * cos(y)"
using exp_minus_inverse by (auto simp add: algebra_simps)
then show ?thesis
by (metis of_real_add of_real_hom.hom_one sin_cos_squared_add3)
qed
lemma (in strategic_space_2p) U\<^sub>A_cnj_times_U\<^sub>A:
shows "U\<^sub>A\<^sup>\<dagger> * U\<^sub>A = 1\<^sub>m 2"
proof
fix i j assume a0:"i < dim_row (1\<^sub>m 2)" and a1:"j < dim_col (1\<^sub>m 2)"
then show "(U\<^sub>A\<^sup>\<dagger> * U\<^sub>A) $$ (i,j) = 1\<^sub>m 2 $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def cos_sin_squared_add_cpx hermite_cnj_of_U\<^sub>A exp_sin_cos_squared_add[of "\<phi>\<^sub>A" "\<theta>\<^sub>A / 2"]
by (auto simp add: set_2 algebra_simps)
qed
next
show "dim_row (U\<^sub>A\<^sup>\<dagger> * U\<^sub>A) = dim_row (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>A\<^sup>\<dagger> * U\<^sub>A) = dim_col (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
qed
lemma (in strategic_space_2p) U\<^sub>A_times_U\<^sub>A_cnj:
shows "U\<^sub>A * (U\<^sub>A\<^sup>\<dagger>) = 1\<^sub>m 2"
proof
fix i j assume a0:"i < dim_row (1\<^sub>m 2)" and a1:"j < dim_col (1\<^sub>m 2)"
then show "(U\<^sub>A * (U\<^sub>A\<^sup>\<dagger>)) $$ (i,j) = 1\<^sub>m 2 $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def cos_sin_squared_add_cpx hermite_cnj_of_U\<^sub>A exp_sin_cos_squared_add[of "\<phi>\<^sub>A" "\<theta>\<^sub>A / 2"]
by (auto simp add: set_2 algebra_simps)
qed
next
show "dim_row (U\<^sub>A * (U\<^sub>A\<^sup>\<dagger>)) = dim_row (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>A * (U\<^sub>A\<^sup>\<dagger>)) = dim_col (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
qed
lemma (in strategic_space_2p) U\<^sub>B_cnj_times_U\<^sub>B:
shows "U\<^sub>B\<^sup>\<dagger> * U\<^sub>B = 1\<^sub>m 2"
proof
fix i j assume a0:"i < dim_row (1\<^sub>m 2)" and a1:"j < dim_col (1\<^sub>m 2)"
then show "(U\<^sub>B\<^sup>\<dagger> * U\<^sub>B) $$ (i,j) = 1\<^sub>m 2 $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def cos_sin_squared_add_cpx hermite_cnj_of_U\<^sub>B exp_sin_cos_squared_add[of "\<phi>\<^sub>B" "\<theta>\<^sub>B / 2"]
by (auto simp add: set_2 algebra_simps)
qed
next
show "dim_row (U\<^sub>B\<^sup>\<dagger> * U\<^sub>B) = dim_row (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>B\<^sup>\<dagger> * U\<^sub>B) = dim_col (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
qed
lemma (in strategic_space_2p) U\<^sub>B_times_U\<^sub>B_cnj:
shows "U\<^sub>B * (U\<^sub>B\<^sup>\<dagger>) = 1\<^sub>m 2"
proof
fix i j assume a0:"i < dim_row (1\<^sub>m 2)" and a1:"j < dim_col (1\<^sub>m 2)"
then show "(U\<^sub>B * (U\<^sub>B\<^sup>\<dagger>)) $$ (i,j) = 1\<^sub>m 2 $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def cos_sin_squared_add_cpx hermite_cnj_of_U\<^sub>B exp_sin_cos_squared_add[of "\<phi>\<^sub>B" "\<theta>\<^sub>B / 2"]
by (auto simp add: set_2 algebra_simps)
qed
next
show "dim_row (U\<^sub>B * (U\<^sub>B\<^sup>\<dagger>)) = dim_row (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
next
show "dim_col (U\<^sub>B * (U\<^sub>B\<^sup>\<dagger>)) = dim_col (1\<^sub>m 2)"
using mat_of_cols_list_def by simp
qed
lemma (in strategic_space_2p) U\<^sub>A\<^sub>_is_gate:
shows "gate 1 U\<^sub>A"
proof
show "dim_row U\<^sub>A = 2^1"
using mat_of_cols_list_def by simp
moreover show "square_mat U\<^sub>A"
using mat_of_cols_list_def by simp
ultimately show "unitary U\<^sub>A"
using mat_of_cols_list_def unitary_def U\<^sub>A_cnj_times_U\<^sub>A U\<^sub>A_times_U\<^sub>A_cnj by auto
qed
lemma (in strategic_space_2p) U\<^sub>B_is_gate:
shows "gate 1 U\<^sub>B"
proof
show "dim_row U\<^sub>B = 2^1"
using mat_of_cols_list_def by simp
moreover show "square_mat U\<^sub>B"
using mat_of_cols_list_def by simp
ultimately show "unitary U\<^sub>B"
using mat_of_cols_list_def unitary_def U\<^sub>B_cnj_times_U\<^sub>B U\<^sub>B_times_U\<^sub>B_cnj by auto
qed
lemma (in strategic_space_2p) U\<^sub>A\<^sub>B_is_gate:
shows "gate 2 (U\<^sub>A \<Otimes> U\<^sub>B)"
proof-
have "gate (1+1) (U\<^sub>A \<Otimes> U\<^sub>B)"
using U\<^sub>A\<^sub>_is_gate U\<^sub>B_is_gate tensor_gate[of "1" "U\<^sub>A" "1" "U\<^sub>B"] by auto
then show ?thesis
by (auto simp add: numeral_2_eq_2)
qed
lemma (in strategic_space_2p) psi_two_is_state:
shows "state 2 \<psi>\<^sub>2"
proof-
have "state 2 ((U\<^sub>A \<Otimes> U\<^sub>B) * \<psi>\<^sub>1)"
using psi_one_is_state U\<^sub>A\<^sub>B_is_gate by auto
then show ?thesis
using psi_two by simp
qed
lemma (in strategic_space_2p) J_cnj_is_gate:
shows "gate 2 (J\<^sup>\<dagger>)"
proof
show "dim_row (J\<^sup>\<dagger>) = 2\<^sup>2"
using mat_of_cols_list_def by simp
moreover show "square_mat (J\<^sup>\<dagger>)"
using mat_of_cols_list_def by simp
moreover have "(J\<^sup>\<dagger>)\<^sup>\<dagger> = J"
using dagger_of_dagger_is_id by auto
ultimately show "unitary (J\<^sup>\<dagger>)"
using mat_of_cols_list_def unitary_def J_cnj_times_J J_times_J_cnj by auto
qed
lemma (in strategic_space_2p) psi_f_is_state:
shows "state 2 \<psi>\<^sub>f"
proof-
have "state 2 ((J\<^sup>\<dagger>) * \<psi>\<^sub>2)"
using psi_two_is_state J_cnj_is_gate by auto
then show ?thesis
using psi_f by simp
qed
(* equation (1) in the paper *)
lemma (in strategic_space_2p) equation_one:
shows "(J\<^sup>\<dagger>) * ((U\<^sub>A \<Otimes> U\<^sub>B) * (J * |unit_vec 4 0\<rangle>)) = \<psi>\<^sub>f"
using psi_one psi_two psi_f by auto
abbreviation (in strategic_space_2p) prob00 :: "complex Matrix.mat \<Rightarrow> real" where
"prob00 v \<equiv> if state 2 v then (cmod (v $$ (0,0)))\<^sup>2 else undefined"
abbreviation (in strategic_space_2p) prob01 :: "complex Matrix.mat \<Rightarrow> real" where
"prob01 v \<equiv> if state 2 v then (cmod (v $$ (1,0)))\<^sup>2 else undefined"
abbreviation (in strategic_space_2p) prob10 :: "complex Matrix.mat \<Rightarrow> real" where
"prob10 v \<equiv> if state 2 v then (cmod (v $$ (2,0)))\<^sup>2 else undefined"
abbreviation (in strategic_space_2p) prob11 :: "complex Matrix.mat \<Rightarrow> real" where
"prob11 v \<equiv> if state 2 v then (cmod (v $$ (3,0)))\<^sup>2 else undefined"
definition (in strategic_space_2p) alice_payoff :: "real" where
"alice_payoff \<equiv> 3 * (prob00 \<psi>\<^sub>f) + 1 * (prob11 \<psi>\<^sub>f) + 0 * (prob01 \<psi>\<^sub>f) + 5 * (prob10 \<psi>\<^sub>f)"
definition (in strategic_space_2p) bob_payoff :: "real" where
"bob_payoff \<equiv> 3 * (prob00 \<psi>\<^sub>f) + 1 * (prob11 \<psi>\<^sub>f) + 5 * (prob01 \<psi>\<^sub>f) + 0 * (prob10 \<psi>\<^sub>f)"
definition (in strategic_space_2p) is_nash_eq :: "bool" where
"is_nash_eq \<equiv>
(\<forall>tA pA. strategic_space_2p \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<longrightarrow>
alice_payoff \<ge> strategic_space_2p.alice_payoff \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B)
\<and>
(\<forall>tB pB. strategic_space_2p \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<longrightarrow>
bob_payoff \<ge> strategic_space_2p.bob_payoff \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB)"
definition (in strategic_space_2p) is_pareto_opt :: "bool" where
"is_pareto_opt \<equiv> \<forall>tA pA tB pB. strategic_space_2p \<gamma> tA pA tB pB \<longrightarrow>
((strategic_space_2p.alice_payoff \<gamma> tA pA tB pB > alice_payoff \<longrightarrow>
strategic_space_2p.bob_payoff \<gamma> tA pA tB pB < bob_payoff) \<and>
(strategic_space_2p.bob_payoff \<gamma> tA pA tB pB > bob_payoff \<longrightarrow>
strategic_space_2p.alice_payoff \<gamma> tA pA tB pB < alice_payoff))"
lemma (in strategic_space_2p) sum_of_prob:
fixes v :: "complex Matrix.mat"
assumes "state 2 v"
shows "(prob00 v) + (prob11 v) + (prob01 v) + (prob10 v) = 1"
proof-
have "(prob00 v) + (prob11 v) + (prob01 v) + (prob10 v) =
(cmod (v $$ (0,0)))\<^sup>2 + (cmod (v $$ (1,0)))\<^sup>2 + (cmod (v $$ (2,0)))\<^sup>2 + (cmod (v $$ (3,0)))\<^sup>2"
using assms by auto
then show ?thesis
using state_def assms cpx_vec_length_def by (auto simp add: set_4)
qed
lemma (in strategic_space_2p) sum_payoff_le_6:
fixes tA pA tB pB :: real
shows "alice_payoff + bob_payoff \<le> 6"
proof-
have "alice_payoff + bob_payoff = 6 * (prob00 \<psi>\<^sub>f) + 2 * (prob11 \<psi>\<^sub>f) + 5 * (prob01 \<psi>\<^sub>f) + 5 * (prob10 \<psi>\<^sub>f)"
using alice_payoff_def bob_payoff_def psi_f_is_state by auto
then have "alice_payoff + bob_payoff \<le> 6 * ((prob00 \<psi>\<^sub>f) + (prob11 \<psi>\<^sub>f) + (prob01 \<psi>\<^sub>f) + (prob10 \<psi>\<^sub>f))"
using psi_f_is_state by (auto simp add: algebra_simps)
moreover have "(prob00 \<psi>\<^sub>f) + (prob11 \<psi>\<^sub>f) + (prob01 \<psi>\<^sub>f) + (prob10 \<psi>\<^sub>f) = 1"
using sum_of_prob[of "\<psi>\<^sub>f"] psi_f_is_state by auto
ultimately show ?thesis
by auto
qed
lemma (in strategic_space_2p) coop_is_pareto_opt:
assumes "alice_payoff = 3 \<and> bob_payoff = 3"
shows "is_pareto_opt"
using is_pareto_opt_def strategic_space_2p.sum_payoff_le_6 assms by fastforce
section \<open>The Separable Case\<close>
lemma (in strategic_space_2p) separable_case_CC: (* both player cooperate *)
assumes "\<gamma> = 0"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> alice_payoff = 3 \<and> bob_payoff = 3"
using alice_payoff_def bob_payoff_def cos_sin_squared_add_cpx psi_f_is_state by auto
lemma (in strategic_space_2p) separable_case_DD: (* both player defect *)
assumes "\<gamma> = 0"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi \<longrightarrow> alice_payoff = 1 \<and> bob_payoff = 1"
using alice_payoff_def bob_payoff_def cos_sin_squared_add_cpx psi_f_is_state by auto
lemma (in strategic_space_2p) separable_case_DC: (* Alice defects, and Bob cooperates *)
assumes "\<gamma> = 0"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> alice_payoff = 5 \<and> bob_payoff = 0"
using alice_payoff_def bob_payoff_def sin_cos_squared_add_cpx psi_f_is_state by auto
lemma (in strategic_space_2p) separable_alice_payoff_D\<^sub>B:
(* Alice's payoff in the separable case given that Bob defects *)
assumes "\<gamma> = 0" and "\<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi"
shows "alice_payoff \<le> 1"
using alice_payoff_def assms sin_squared_le_one psi_f_is_state by auto
lemma (in strategic_space_2p) separable_bob_payoff_D\<^sub>A:
(* Bob's payoff in the separable case given that Alice defects *)
assumes "\<gamma> = 0" and "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi"
shows "bob_payoff \<le> 1"
using bob_payoff_def assms sin_squared_le_one psi_f_is_state by auto
lemma (in strategic_space_2p) separable_case_DD_alice_opt:
assumes "\<gamma> = 0" and "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi"
shows "\<And>tA pA. strategic_space_2p \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<longrightarrow> strategic_space_2p.alice_payoff \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<le> alice_payoff"
proof
fix tA pA assume "strategic_space_2p \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B"
then show "strategic_space_2p.alice_payoff \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<le> alice_payoff"
using separable_case_DD strategic_space_2p.separable_alice_payoff_D\<^sub>B assms by auto
qed
lemma (in strategic_space_2p) separable_case_DD_bob_opt:
assumes "\<gamma> = 0" and "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi"
shows "\<And>tB pB. strategic_space_2p \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<longrightarrow> strategic_space_2p.bob_payoff \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<le> bob_payoff"
proof
fix tB pB assume "strategic_space_2p \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB"
then show "strategic_space_2p.bob_payoff \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<le> bob_payoff"
using separable_case_DD strategic_space_2p.separable_bob_payoff_D\<^sub>A assms by auto
qed
lemma (in strategic_space_2p) separable_case_DD_is_nash_eq:
assumes "\<gamma> = 0"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi \<longrightarrow> is_nash_eq"
using is_nash_eq_def separable_case_DD_alice_opt separable_case_DD_bob_opt assms by auto
lemma (in strategic_space_2p) separable_case_CC_is_not_nash_eq:
assumes "\<gamma> = 0"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> \<not> is_nash_eq"
proof
assume asm:"\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0"
then have f0:"strategic_space_2p \<gamma> pi 0 \<theta>\<^sub>B \<phi>\<^sub>B"
using strategic_space_2p_def strategic_space_2p_axioms_def prisoner_def asm by (simp add: assms)
then have "strategic_space_2p.alice_payoff \<gamma> pi 0 \<theta>\<^sub>B \<phi>\<^sub>B = 5"
using strategic_space_2p.separable_case_DC assms asm by blast
moreover have "alice_payoff = 3"
using separable_case_CC assms asm by blast
ultimately have "strategic_space_2p \<gamma> pi 0 \<theta>\<^sub>B \<phi>\<^sub>B \<and> strategic_space_2p.alice_payoff \<gamma> pi 0 \<theta>\<^sub>B \<phi>\<^sub>B > alice_payoff"
using f0 by simp
then show "\<not>is_nash_eq"
using is_nash_eq_def by fastforce
qed
lemma (in strategic_space_2p) separable_case_CC_is_pareto_optimal:
assumes "\<gamma> = 0"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> is_pareto_opt"
using coop_is_pareto_opt separable_case_CC assms by auto
section \<open>The Maximally Entangled Case\<close>
lemma exp_to_sin:
fixes x:: real
shows "exp (\<i> * x) - exp (-(\<i> * x)) = 2 * \<i> * (sin x)"
using exp_of_real exp_of_real_inv by simp
lemma exp_to_cos:
fixes x:: real
shows "exp (\<i> * x) + exp (-(\<i> * x)) = 2 * (cos x)"
using exp_of_real exp_of_real_inv by simp
lemma cmod_real_prod_squared:
fixes x y:: real
shows "(cmod (complex_of_real x * complex_of_real y))\<^sup>2 = x\<^sup>2 * y\<^sup>2"
by (simp add: norm_mult power_mult_distrib)
lemma quantum_payoff_simp:
fixes x y:: real
shows "3 * (cmod (complex_of_real (sin x) * complex_of_real (cos y)))\<^sup>2 +
(cmod (complex_of_real (cos x) * complex_of_real (cos y)))\<^sup>2 =
2 * (sin x)\<^sup>2 * (cos y)\<^sup>2 + (cos y)\<^sup>2"
proof-
have "3 * (sin x)\<^sup>2 * (cos y)\<^sup>2 + (cos x)\<^sup>2 * (cos y)\<^sup>2 =
(2 * (sin x)\<^sup>2 * (cos y)\<^sup>2) + ((sin x)\<^sup>2 + (cos x)\<^sup>2) * (cos y)\<^sup>2"
by (auto simp add: algebra_simps simp del: sin_cos_squared_add2)
then show ?thesis
by (simp add: cmod_real_prod_squared power_mult_distrib)
qed
lemma quantum_payoff_le_3:
fixes x y:: real
shows "2 * (sin x)\<^sup>2 * (cos y)\<^sup>2 + (cos y)\<^sup>2 \<le> 3"
proof-
have "(sin x)\<^sup>2 * (cos y)\<^sup>2 \<le> 1" by (simp add: sin_squared_le_one cos_squared_le_one mult_le_one)
then have "2 * (sin x)\<^sup>2 * (cos y)\<^sup>2 \<le> 2" by simp
moreover have "(cos y)\<^sup>2 \<le> 1"
using cos_squared_le_one[of "y"] by simp
ultimately show ?thesis by simp
qed
lemma sqrt_two_squared_cpx: "complex_of_real (sqrt 2) * complex_of_real (sqrt 2) = 2"
by (metis mult_2_right numeral_Bit0 of_real_mult of_real_numeral real_sqrt_four real_sqrt_mult)
lemma hidden_sqrt_two_squared_cpx: "complex_of_real (sqrt 2) * (complex_of_real (sqrt 2) * x) / 4 = x/2"
using sqrt_two_squared_cpx by (auto simp add: algebra_simps)
lemma (in strategic_space_2p) max_entangled_DD:
(* both players defects in the maximally entangled case *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi \<longrightarrow> alice_payoff = 1 \<and> bob_payoff = 1"
using alice_payoff_def bob_payoff_def cos_sin_squared_add_cpx psi_f_is_state
by auto
lemma (in strategic_space_2p) max_entangled_QQ:
(* both players play the move Q in the maximally entangled case *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> alice_payoff = 3 \<and> bob_payoff = 3"
using alice_payoff_def bob_payoff_def sin_cos_squared_add_cpx exp_of_half_pi exp_of_minus_half_pi psi_f_is_state
by auto
lemma (in strategic_space_2p) max_entangled_QD:
(* Alice plays the move Q, and Bob defects in the maximally entangled case *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi \<longrightarrow> alice_payoff = 5 \<and> bob_payoff = 0"
using alice_payoff_def bob_payoff_def cos_sin_squared_add_cpx exp_of_half_pi exp_of_minus_half_pi
psi_f_is_state sqrt_two_squared_cpx
by (auto simp add: assms algebra_simps sin_45 cos_45)
lemma (in strategic_space_2p) max_entangled_alice_payoff_Q\<^sub>B:
(* Alice's payoff in the maximally entangled case given that Bob plays the move Q *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> alice_payoff \<le> 3"
proof
assume asm:"\<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0"
have "\<psi>\<^sub>f $$ (0,0) = -(sin \<phi>\<^sub>A) * (cos (\<theta>\<^sub>A/2))"
proof-
have "\<psi>\<^sub>f $$ (0,0) = \<i> * (sqrt 2/2) * (sqrt 2/2) * (cos (\<theta>\<^sub>A/2)) * exp (\<i> * \<phi>\<^sub>A) +
\<i> * (sqrt 2/2) * (sqrt 2/2) * (cos (\<theta>\<^sub>A/2)) * -exp (-(\<i> * \<phi>\<^sub>A))"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
then have "\<psi>\<^sub>f $$ (0,0) = \<i> * (sqrt 2/2) * (sqrt 2/2) * (cos (\<theta>\<^sub>A/2)) * (exp (\<i> * \<phi>\<^sub>A) - exp (-(\<i> * \<phi>\<^sub>A)))"
by (auto simp add: algebra_simps)
then have "\<psi>\<^sub>f $$ (0,0) = \<i> * (cos (\<theta>\<^sub>A/2)) * (1/2) * (exp (\<i> * \<phi>\<^sub>A) - exp (-(\<i> * \<phi>\<^sub>A)))"
using sqrt_two_squared_cpx by (auto simp add: algebra_simps)
then show ?thesis
using exp_to_sin by (simp add: algebra_simps)
qed
moreover have "\<psi>\<^sub>f $$ (1,0) = sin (\<theta>\<^sub>A/2)"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi sqrt_two_squared_cpx
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"])
moreover have "\<psi>\<^sub>f $$ (2,0) = 0"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi sqrt_two_squared_cpx
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
moreover have "\<psi>\<^sub>f $$ (3,0) = (cos \<phi>\<^sub>A) * (cos (\<theta>\<^sub>A/2))"
proof-
have "\<psi>\<^sub>f $$ (3,0) = exp (\<i> * \<phi>\<^sub>A) * (cos (\<theta>\<^sub>A/2)) * (sqrt 2/2) * (sqrt 2/2) +
exp (- (\<i> * \<phi>\<^sub>A)) * (cos (\<theta>\<^sub>A/2)) * (sqrt 2/2) * (sqrt 2/2)"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
then have "\<psi>\<^sub>f $$ (3,0) = (exp (\<i> * \<phi>\<^sub>A) + exp (-(\<i> * \<phi>\<^sub>A))) * (cos (\<theta>\<^sub>A/2)) * (sqrt 2/2) * (sqrt 2/2)"
by (auto simp add: algebra_simps)
then have "\<psi>\<^sub>f $$ (3,0) = (exp (\<i> * \<phi>\<^sub>A) + exp (-(\<i> * \<phi>\<^sub>A))) * (cos (\<theta>\<^sub>A/2)) * (1/2)"
using sqrt_two_squared_cpx hidden_sqrt_two_squared_cpx by (auto simp add: algebra_simps)
then show ?thesis
using exp_to_cos by (simp add: algebra_simps)
qed
ultimately show "alice_payoff \<le> 3"
using alice_payoff_def psi_f_is_state quantum_payoff_simp quantum_payoff_le_3
by auto
qed
lemma (in strategic_space_2p) max_entangled_bob_payoff_Q\<^sub>A:
(* Bob's payoff in the maximally entangled case given that Alice plays the move Q *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<longrightarrow> bob_payoff \<le> 3"
proof
assume asm:"\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0"
have "\<psi>\<^sub>f $$ (0,0) = -(sin \<phi>\<^sub>B) * (cos (\<theta>\<^sub>B/2))"
proof-
have "\<psi>\<^sub>f $$ (0,0) = \<i> * (sqrt 2/2) * (sqrt 2/2) * (cos (\<theta>\<^sub>B/2)) * exp (\<i> * \<phi>\<^sub>B) +
\<i> * (sqrt 2/2) * (sqrt 2/2) * (cos (\<theta>\<^sub>B/2)) * -exp (-(\<i> * \<phi>\<^sub>B))"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
then have "\<psi>\<^sub>f $$ (0,0) = \<i> * (sqrt 2/2) * (sqrt 2/2) * (cos (\<theta>\<^sub>B/2)) * (exp (\<i> * \<phi>\<^sub>B) - exp (-(\<i> * \<phi>\<^sub>B)))"
by (auto simp add: algebra_simps)
then have "\<psi>\<^sub>f $$ (0,0) = \<i> * (cos (\<theta>\<^sub>B/2)) * (1/2) * (exp (\<i> * \<phi>\<^sub>B) - exp (-(\<i> * \<phi>\<^sub>B)))"
using sqrt_two_squared_cpx by (auto simp add: algebra_simps)
then show ?thesis
using exp_to_sin by (simp add: algebra_simps)
qed
moreover have "\<psi>\<^sub>f $$ (1,0) = 0"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi sqrt_two_squared_cpx
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
moreover have "\<psi>\<^sub>f $$ (2,0) = sin (\<theta>\<^sub>B/2)"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi sqrt_two_squared_cpx
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
moreover have "\<psi>\<^sub>f $$ (3,0) = (cos \<phi>\<^sub>B) * (cos (\<theta>\<^sub>B/2))"
proof-
have "\<psi>\<^sub>f $$ (3,0) = exp (\<i> * \<phi>\<^sub>B) * (cos (\<theta>\<^sub>B/2)) * (sqrt 2/2) * (sqrt 2/2) +
exp (- (\<i> * \<phi>\<^sub>B)) * (cos (\<theta>\<^sub>B/2)) * (sqrt 2/2) * (sqrt 2/2)"
using mat_of_cols_list_def asm assms exp_of_half_pi exp_of_minus_half_pi
by (auto simp add: sin_of_quarter_pi[of "\<gamma>"] cos_of_quarter_pi[of "\<gamma>"] algebra_simps)
then have "\<psi>\<^sub>f $$ (3,0) = (exp (\<i> * \<phi>\<^sub>B) + exp (-(\<i> * \<phi>\<^sub>B))) * (cos (\<theta>\<^sub>B/2)) * (sqrt 2/2) * (sqrt 2/2)"
by (auto simp add: algebra_simps)
then have "\<psi>\<^sub>f $$ (3,0) = (exp (\<i> * \<phi>\<^sub>B) + exp (-(\<i> * \<phi>\<^sub>B))) * (cos (\<theta>\<^sub>B/2)) * (1/2)"
using sqrt_two_squared_cpx hidden_sqrt_two_squared_cpx by (auto simp add: algebra_simps)
then show ?thesis
using exp_to_cos by (simp add: algebra_simps)
qed
ultimately show "bob_payoff \<le> 3"
using bob_payoff_def psi_f_is_state quantum_payoff_simp quantum_payoff_le_3
by auto
qed
lemma (in strategic_space_2p) max_entangled_DD_is_not_nash_eq:
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi \<longrightarrow> \<not>is_nash_eq"
proof
assume asm:"\<phi>\<^sub>A = 0 \<and> \<theta>\<^sub>A = pi \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi"
then have f0:"strategic_space_2p \<gamma> 0 (pi/2) \<theta>\<^sub>B \<phi>\<^sub>B"
using strategic_space_2p_def strategic_space_2p_axioms_def prisoner_def asm by (simp add: assms)
then have "strategic_space_2p.alice_payoff \<gamma> 0 (pi/2) \<theta>\<^sub>B \<phi>\<^sub>B = 5"
using strategic_space_2p.max_entangled_QD assms asm by blast
moreover have "alice_payoff = 1"
using max_entangled_DD assms asm by blast
ultimately have "strategic_space_2p \<gamma> 0 (pi/2) \<theta>\<^sub>B \<phi>\<^sub>B \<and> strategic_space_2p.alice_payoff \<gamma> 0 (pi/2) \<theta>\<^sub>B \<phi>\<^sub>B > alice_payoff"
using f0 by simp
then show "\<not>is_nash_eq"
using is_nash_eq_def by fastforce
qed
lemma (in strategic_space_2p) max_entangled_alice_opt:
assumes "\<gamma> = pi/2" and "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0"
shows "\<And>tA pA. strategic_space_2p \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<longrightarrow> strategic_space_2p.alice_payoff \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<le> alice_payoff"
proof
fix tA pA assume "strategic_space_2p \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B"
then have "strategic_space_2p.alice_payoff \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<le> 3"
using strategic_space_2p.max_entangled_alice_payoff_Q\<^sub>B assms by blast
moreover have "alice_payoff = 3"
using max_entangled_QQ assms by blast
ultimately show "strategic_space_2p.alice_payoff \<gamma> tA pA \<theta>\<^sub>B \<phi>\<^sub>B \<le> alice_payoff"
by simp
qed
lemma (in strategic_space_2p) max_entangled_bob_opt:
assumes "\<gamma> = pi/2" and "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0"
shows "\<And>tB pB. strategic_space_2p \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<longrightarrow> strategic_space_2p.bob_payoff \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<le> bob_payoff"
proof
fix tB pB assume "strategic_space_2p \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB"
then have "strategic_space_2p.bob_payoff \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<le> 3"
using strategic_space_2p.max_entangled_bob_payoff_Q\<^sub>A assms by blast
moreover have "bob_payoff = 3"
using max_entangled_QQ assms by blast
ultimately show "strategic_space_2p.bob_payoff \<gamma> \<theta>\<^sub>A \<phi>\<^sub>A tB pB \<le> bob_payoff"
by simp
qed
lemma (in strategic_space_2p) max_entangled_QQ_is_nash_eq:
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> is_nash_eq"
using max_entangled_alice_opt max_entangled_bob_opt is_nash_eq_def assms by blast
lemma (in strategic_space_2p) max_entangled_QQ_is_pareto_optimal:
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = 0 \<and> \<phi>\<^sub>B = pi/2 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> is_pareto_opt"
using coop_is_pareto_opt max_entangled_QQ assms by blast
section \<open>The Unfair Strategy Case\<close>
lemma half_sqrt_two_squared: "2 * (sqrt 2 / 2)\<^sup>2 = 1"
by (auto simp add: power2_eq_square)
lemma (in strategic_space_2p) max_entangled_MD:
(* Alice plays the "miracle move", and Bob plays the classical defect move in the maximally entangled case *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi \<longrightarrow> alice_payoff = 3 \<and> bob_payoff = 1/2"
proof
assume asm:"\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi"
show "alice_payoff = 3 \<and> bob_payoff = 1/2"
using alice_payoff_def bob_payoff_def sqrt_two_squared_cpx half_sqrt_two_squared
exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"] psi_f_is_state
by (auto simp add: asm assms sin_45 cos_45 algebra_simps)
qed
lemma (in strategic_space_2p) max_entangled_MC:
(* Alice plays the "miracle move", and Bob plays the classical defect move in the maximally entangled case *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0 \<longrightarrow> alice_payoff = 3 \<and> bob_payoff = 1/2"
proof
assume asm:"\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = 0"
show "alice_payoff = 3 \<and> bob_payoff = 1/2"
using alice_payoff_def bob_payoff_def sqrt_two_squared_cpx half_sqrt_two_squared
exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"] psi_f_is_state
by (auto simp add: asm assms sin_45 cos_45 algebra_simps)
qed
lemma (in strategic_space_2p) max_entangled_MH:
(* Alice plays the "miracle move", and Bob plays the classical half move in the maximally entangled case *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi/2 \<longrightarrow> alice_payoff = 1 \<and> bob_payoff = 1"
proof
assume asm:"\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>B = pi/2"
show "alice_payoff = 1 \<and> bob_payoff = 1"
using alice_payoff_def bob_payoff_def sqrt_two_squared_cpx half_sqrt_two_squared
exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"] psi_f_is_state
by (auto simp add: asm assms sin_45 cos_45 algebra_simps)
qed
(* This is the definition of M in equation (9) *)
abbreviation M :: "complex Matrix.mat" where
"M \<equiv> mat_of_cols_list 2 [[\<i> * sqrt(2)/2, -1 * sqrt(2)/2],
[1 * sqrt(2)/2, -\<i> * sqrt(2)/2]]"
lemma (in strategic_space_2p) M_correct:
assumes "\<phi>\<^sub>A = pi/2 \<and> \<theta>\<^sub>A = pi/2"
shows "U\<^sub>A = M"
proof
show "dim_row U\<^sub>A = dim_row M" using mat_of_cols_list_def by simp
show "dim_col U\<^sub>A = dim_col M" using mat_of_cols_list_def by simp
fix i j assume a0:"i < dim_row M" and a1:"j < dim_col M"
then show "U\<^sub>A $$ (i,j) = M $$ (i,j)"
proof-
have "i\<in>{0,1} \<and> j\<in>{0,1}"
using a0 a1 mat_of_cols_list_def by auto
thus ?thesis
using mat_of_cols_list_def exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"]
by (auto simp add: assms sin_45 cos_45)
qed
qed
lemma hidden_sqrt_two_squared_cpx2:
fixes x y :: complex
shows "(sqrt 2) * ((sqrt 2) * (x * y)) / 2 = x * y"
using sqrt_two_squared_cpx by auto
lemma (in strategic_space_2p) unfair_strategy_no_benefit:
(* Two players' payoffs in the maximally entangled case given that Alice plays a quantum move and Bob
plays a classical move with the same \<theta> *)
assumes "\<gamma> = pi/2"
shows "\<phi>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>A = \<theta>\<^sub>B \<longrightarrow> alice_payoff = 1 \<and> bob_payoff = 1"
proof
assume asm:"\<phi>\<^sub>A = pi/2 \<and> \<phi>\<^sub>B = 0 \<and> \<theta>\<^sub>A = \<theta>\<^sub>B"
have "\<psi>\<^sub>f $$ (0,0) = 0"
using exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"]
by (auto simp add: asm assms sin_45 cos_45 algebra_simps)
moreover have "\<psi>\<^sub>f $$ (1,0) = 0"
using exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"]
by (auto simp add: asm assms sin_45 cos_45 algebra_simps)
moreover have "\<psi>\<^sub>f $$ (2,0) = 0"
using exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"]
by (auto simp add: asm assms sin_45 cos_45 hidden_sqrt_two_squared_cpx2 algebra_simps)
moreover have "\<psi>\<^sub>f $$ (3,0) = 1"
using exp_of_half_pi[of "pi/2"] exp_of_minus_half_pi[of "pi/2"] cos_sin_squared_add_cpx
by (auto simp add: asm assms sin_45 cos_45 hidden_sqrt_two_squared_cpx2 algebra_simps)
ultimately show "alice_payoff = 1 \<and> bob_payoff = 1"
using alice_payoff_def bob_payoff_def psi_f_is_state
by auto
qed
(*
Bibliography:
@ARTICLE{EWL,
author = {{Eisert}, J. and {Wilkens}, M. and {Lewenstein}, M.},
title = "{Quantum Games and Quantum Strategies}",
journal = {Physical Review Letters},
eprint = {quant-ph/9806088},
year = 1999,
month = oct,
volume = 83,
pages = {3077-3080},
doi = {10.1103/PhysRevLett.83.3077},
adsurl = {https://ui.adsabs.harvard.edu/abs/1999PhRvL..83.3077E},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
*)
end