|
| 1 | +simplify |
| 2 | +solve( (∃ m1 m2 m3 m4 #i. |
| 3 | + (IN_SECURE_RECEIVE( m1, m2, m3, m4 ) @ #i) |
| 4 | + ∧ |
| 5 | + ∀ #j. (SecureChannel_In( m1, m2, m3, m4 ) @ #j) ⇒ ¬(#j < #i)) ∥ |
| 6 | + (∃ m1 m2 m3 m4 m5 m6 m7 #i. |
| 7 | + (IN_BALLOTCHECK_VA_CHECK( m1, m2, m3, m4, m5, m6, m7 ) @ #i) |
| 8 | + ∧ |
| 9 | + ∀ #j. |
| 10 | + (OUT_BALLOTCHECK_VA_CHECK( m1, m2, m3, m4, m5, m6, m7 ) @ #j) |
| 11 | + ⇒ |
| 12 | + ¬(#j < #i)) ∥ |
| 13 | + (∃ m x #i. |
| 14 | + (IN_PSEUDO_TERM( m, x ) @ #i) |
| 15 | + ∧ |
| 16 | + (∀ #j. (!KU( x ) @ #j) ⇒ ¬(#j < #i)) ∧ |
| 17 | + (∀ #j. (OUT_PSEUDO_TERM( m ) @ #j) ⇒ ¬(#j < #i))) ) |
| 18 | + case case_1 |
| 19 | + solve( IN_SECURE_RECEIVE( m1, m2, m3, m4 ) @ #i ) |
| 20 | + case BallotCheck_DBB_ForwardRandomizers |
| 21 | + solve( DBB_State_ForwardRandomizers( ~ec, ~va_id, ~cid_va, ~bca_id, |
| 22 | + ~cid_bca, |
| 23 | + < |
| 24 | + <'BCA_Check_Request', ~ec, tracker, pk_bca_encrypt, |
| 25 | + pk_bca_sign>, |
| 26 | + sig_bca_req> |
| 27 | + ) ▶₀ #i ) |
| 28 | + case BallotCheck_DBB_ReceiveCheckRequest |
| 29 | + solve( SecureReceive( ~cid_va, ~va_id, <~ec, 'DBB'>, |
| 30 | + < |
| 31 | + <'VA_Check_Randomizers', |
| 32 | + < |
| 33 | + <'BCA_Check_Request', ~ec, |
| 34 | + h(< |
| 35 | + <'BBEntry_Ballot_Submission', ~ec, timestamp, |
| 36 | + <'VA_Submit_Ballot', ~ec, pseudo, pk_voter, ~bs, |
| 37 | + ny_encrypt_c1(x, x.1, x.2), ny_encrypt_c2(x, x.1, x.2), |
| 38 | + ny_encrypt_p(x, x.1, x.2)>, |
| 39 | + sig>, |
| 40 | + ch>), |
| 41 | + pk_bca_encrypt, pk_bca_sign>, |
| 42 | + sig_bca_req>, |
| 43 | + encrypted_randomizers, pk_voter.1>, |
| 44 | + sig_randomizers> |
| 45 | + ) ▶₁ #i ) |
| 46 | + case SecureChannel_Receive_case_1 |
| 47 | + by contradiction /* from formulas */ |
| 48 | + next |
| 49 | + case SecureChannel_Receive_case_2 |
| 50 | + by contradiction /* from formulas */ |
| 51 | + qed |
| 52 | + qed |
| 53 | + next |
| 54 | + case BallotCheck_DBB_ReceiveCheckRequest |
| 55 | + solve( SecureReceive( ~cid_bca, ~bca_id, <~ec, 'DBB'>, |
| 56 | + <<'BCA_Check_Request', ~ec, tracker, pk_bca_encrypt, pk_bca_sign>, |
| 57 | + sig_bca_req> |
| 58 | + ) ▶₃ #i ) |
| 59 | + case SecureChannel_Receive_case_1 |
| 60 | + by contradiction /* from formulas */ |
| 61 | + next |
| 62 | + case SecureChannel_Receive_case_2 |
| 63 | + by contradiction /* from formulas */ |
| 64 | + qed |
| 65 | + next |
| 66 | + case BallotCheck_VA_RequestRandomizers |
| 67 | + solve( SecureReceive( ~cid, <~ec, 'DBB'>, ~va_id, |
| 68 | + <'DBB_Check_Request', |
| 69 | + <'BCA_Check_Request', ~ec, tracker, pk_bca_encrypt, pk_bca_sign>, |
| 70 | + sig_bca_req> |
| 71 | + ) ▶₃ #i ) |
| 72 | + case SecureChannel_Receive_case_1 |
| 73 | + by contradiction /* from formulas */ |
| 74 | + next |
| 75 | + case SecureChannel_Receive_case_2 |
| 76 | + by contradiction /* from formulas */ |
| 77 | + qed |
| 78 | + next |
| 79 | + case VoterAuthentication_AS_AuthenticationRequest |
| 80 | + solve( SecureReceive( ~cid, m2, 'AS', |
| 81 | + <'EAS_Request_Authentication_Session', ~project_id, ~api_key> |
| 82 | + ) ▶₁ #i ) |
| 83 | + case SecureChannel_Receive_case_1 |
| 84 | + by contradiction /* from formulas */ |
| 85 | + next |
| 86 | + case SecureChannel_Receive_case_2 |
| 87 | + by contradiction /* from formulas */ |
| 88 | + qed |
| 89 | + next |
| 90 | + case VoterAuthentication_AS_ReportAuthenticationResult |
| 91 | + solve( SecureReceive( ~cid, m2, 'AS', |
| 92 | + <'EAS_Request_Authentication_Result', ~session_id> |
| 93 | + ) ▶₁ #i ) |
| 94 | + case SecureChannel_Receive_case_1 |
| 95 | + by contradiction /* from formulas */ |
| 96 | + next |
| 97 | + case SecureChannel_Receive_case_2 |
| 98 | + by contradiction /* from formulas */ |
| 99 | + qed |
| 100 | + next |
| 101 | + case VoterAuthentication_AS_ReportIncompleteAuthenticationResult |
| 102 | + solve( SecureReceive( ~cid, m2, 'AS', |
| 103 | + <'EAS_Request_Authentication_Result', ~session_id> |
| 104 | + ) ▶₁ #i ) |
| 105 | + case SecureChannel_Receive_case_1 |
| 106 | + by contradiction /* from formulas */ |
| 107 | + next |
| 108 | + case SecureChannel_Receive_case_2 |
| 109 | + by contradiction /* from formulas */ |
| 110 | + qed |
| 111 | + next |
| 112 | + case VoterAuthentication_EAS_ReceiveAuthenticationComplete |
| 113 | + solve( SecureReceive( ~cid_va, ~va_id, <~ec, 'EAS'>, |
| 114 | + <'VA_Authentication_Complete', ~ec, pk_voter, ~token> |
| 115 | + ) ▶₁ #i ) |
| 116 | + case SecureChannel_Receive_case_1 |
| 117 | + by contradiction /* from formulas */ |
| 118 | + next |
| 119 | + case SecureChannel_Receive_case_2 |
| 120 | + by contradiction /* from formulas */ |
| 121 | + qed |
| 122 | + next |
| 123 | + case VoterAuthentication_EAS_RequestAuthentication |
| 124 | + solve( SecureReceive( ~cid_va, ~va_id, <~ec, 'EAS'>, |
| 125 | + <'VA_Request_Authentication', ~ec, pk_voter> |
| 126 | + ) ▶₂ #i ) |
| 127 | + case SecureChannel_Receive_case_1 |
| 128 | + by contradiction /* from formulas */ |
| 129 | + next |
| 130 | + case SecureChannel_Receive_case_2 |
| 131 | + by contradiction /* from formulas */ |
| 132 | + qed |
| 133 | + next |
| 134 | + case VoterAuthentication_VA_ReceiveAuthenticationResult_Eligible |
| 135 | + solve( SecureReceive( ~cid, <~ec, 'EAS'>, ~va_id, |
| 136 | + <'EAS_Authentication_Result', 'eligible', ~ec, pseudo, |
| 137 | + pk(~sk_voter), ballot_style> |
| 138 | + ) ▶₁ #i ) |
| 139 | + case SecureChannel_Receive_case_1 |
| 140 | + by contradiction /* from formulas */ |
| 141 | + next |
| 142 | + case SecureChannel_Receive_case_2 |
| 143 | + by contradiction /* from formulas */ |
| 144 | + qed |
| 145 | + qed |
| 146 | +next |
| 147 | + case case_2 |
| 148 | + solve( VA_State_CheckOrCast( ~ec, ~va_id, $V, ~ballot, m5, ~r, m7 |
| 149 | + ) ▶₀ #i ) |
| 150 | + case BallotCheck_VA_CheckResult_OK |
| 151 | + by contradiction /* from formulas */ |
| 152 | + next |
| 153 | + case BallotSubmission_VA_BallotSubmitResponse_BallotTracker_Success |
| 154 | + by contradiction /* from formulas */ |
| 155 | + qed |
| 156 | +next |
| 157 | + case case_3 |
| 158 | + solve( !BB_Entry( ~bbid, |
| 159 | + <'BBEntry_Ballot_Submission', ~ec, timestamp, |
| 160 | + <'VA_Submit_Ballot', ~ec, x, pk(~sk_voter), ballot_style, |
| 161 | + cryptograms>, |
| 162 | + sign(<'VA_Submit_Ballot', ~ec, x, pk(~sk_voter), ballot_style, |
| 163 | + cryptograms>, |
| 164 | + '1', ~sk_voter) |
| 165 | + >, |
| 166 | + tracker, %idx |
| 167 | + ) ▶₃ #i ) |
| 168 | + case BulletinBoard_Append |
| 169 | + solve( SecureReceive( ~cid, <~ec, 'DBB'>, ~va_id, |
| 170 | + <'DBB_Ballot_Tracker', ~ec, |
| 171 | + h(< |
| 172 | + <'BBEntry_Ballot_Submission', ~ec, timestamp, |
| 173 | + <'VA_Submit_Ballot', ~ec, x, pk(~sk_voter), ballot_style, |
| 174 | + cryptograms>, |
| 175 | + sign(<'VA_Submit_Ballot', ~ec, x, pk(~sk_voter), ballot_style, |
| 176 | + cryptograms>, |
| 177 | + '1', ~sk_voter) |
| 178 | + >, |
| 179 | + ch>) |
| 180 | + > |
| 181 | + ) ▶₄ #i ) |
| 182 | + case SecureChannel_Receive_case_1 |
| 183 | + by contradiction /* from formulas */ |
| 184 | + next |
| 185 | + case SecureChannel_Receive_case_2 |
| 186 | + by contradiction /* from formulas */ |
| 187 | + next |
| 188 | + case SecureChannel_Receive_case_3 |
| 189 | + solve( BB_Append_Request( ~bbid, |
| 190 | + <'BBEntry_Ballot_Submission', ~ec, timestamp, |
| 191 | + <'VA_Submit_Ballot', ~ec, x, pk(~sk_voter), ballot_style, |
| 192 | + cryptograms>, |
| 193 | + sign(<'VA_Submit_Ballot', ~ec, x, pk(~sk_voter), ballot_style, |
| 194 | + cryptograms>, |
| 195 | + '1', ~sk_voter) |
| 196 | + >, |
| 197 | + %idx |
| 198 | + )[+] ▶₂ #vr ) |
| 199 | + case BallotSubmission_DBB_AppendSubmittedBallot_case_1 |
| 200 | + by contradiction /* from formulas */ |
| 201 | + next |
| 202 | + case BallotSubmission_DBB_AppendSubmittedBallot_case_2 |
| 203 | + by contradiction /* from formulas */ |
| 204 | + qed |
| 205 | + qed |
| 206 | + qed |
| 207 | +qed |
0 commit comments