ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  th3qlem1 GIF version

Theorem th3qlem1 6583
Description: Lemma for Exercise 44 version of Theorem 3Q of [Enderton] p. 60. The third hypothesis is the compatibility assumption. (Contributed by NM, 3-Aug-1995.) (Revised by Mario Carneiro, 9-Jul-2014.)
Hypotheses
Ref Expression
th3qlem1.1 Er 𝑆
th3qlem1.3 (((𝑦𝑆𝑤𝑆) ∧ (𝑧𝑆𝑣𝑆)) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
Assertion
Ref Expression
th3qlem1 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣, +   𝑥, ,𝑦,𝑧,𝑤,𝑣   𝑥,𝑆,𝑦,𝑧,𝑤,𝑣   𝑥,𝐴,𝑦,𝑧,𝑤,𝑣   𝑥,𝐵,𝑦,𝑧,𝑤,𝑣

Proof of Theorem th3qlem1
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 ee4anv 1914 . . . 4 (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
2 an4 576 . . . . . . 7 ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )))
3 eleq1 2220 . . . . . . . . . . . . 13 (𝐴 = [𝑦] → (𝐴 ∈ (𝑆 / ) ↔ [𝑦] ∈ (𝑆 / )))
4 eleq1 2220 . . . . . . . . . . . . 13 (𝐵 = [𝑧] → (𝐵 ∈ (𝑆 / ) ↔ [𝑧] ∈ (𝑆 / )))
53, 4bi2anan9 596 . . . . . . . . . . . 12 ((𝐴 = [𝑦] 𝐵 = [𝑧] ) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
65adantr 274 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
76biimpac 296 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )))
8 eqtr2 2176 . . . . . . . . . . . . 13 ((𝐴 = [𝑦] 𝐴 = [𝑤] ) → [𝑦] = [𝑤] )
9 eqtr2 2176 . . . . . . . . . . . . 13 ((𝐵 = [𝑧] 𝐵 = [𝑣] ) → [𝑧] = [𝑣] )
108, 9anim12i 336 . . . . . . . . . . . 12 (((𝐴 = [𝑦] 𝐴 = [𝑤] ) ∧ (𝐵 = [𝑧] 𝐵 = [𝑣] )) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
1110an4s 578 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
1211adantl 275 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
13 th3qlem1.1 . . . . . . . . . . . 12 Er 𝑆
1413a1i 9 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → Er 𝑆)
15 simprl 521 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] = [𝑤] )
16 erdm 6491 . . . . . . . . . . . . . . . 16 ( Er 𝑆 → dom = 𝑆)
1713, 16ax-mp 5 . . . . . . . . . . . . . . 15 dom = 𝑆
18 simpll 519 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] ∈ (𝑆 / ))
19 ecelqsdm 6551 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑦] ∈ (𝑆 / )) → 𝑦𝑆)
2017, 18, 19sylancr 411 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦𝑆)
2114, 20erth 6525 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 𝑤 ↔ [𝑦] = [𝑤] ))
2215, 21mpbird 166 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦 𝑤)
23 simprr 522 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] = [𝑣] )
24 simplr 520 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] ∈ (𝑆 / ))
25 ecelqsdm 6551 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑧] ∈ (𝑆 / )) → 𝑧𝑆)
2617, 24, 25sylancr 411 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧𝑆)
2714, 26erth 6525 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑧 𝑣 ↔ [𝑧] = [𝑣] ))
2823, 27mpbird 166 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧 𝑣)
2915, 18eqeltrrd 2235 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑤] ∈ (𝑆 / ))
30 ecelqsdm 6551 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑤] ∈ (𝑆 / )) → 𝑤𝑆)
3117, 29, 30sylancr 411 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑤𝑆)
3223, 24eqeltrrd 2235 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑣] ∈ (𝑆 / ))
33 ecelqsdm 6551 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑣] ∈ (𝑆 / )) → 𝑣𝑆)
3417, 32, 33sylancr 411 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑣𝑆)
35 th3qlem1.3 . . . . . . . . . . . . 13 (((𝑦𝑆𝑤𝑆) ∧ (𝑧𝑆𝑣𝑆)) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3620, 31, 26, 34, 35syl22anc 1221 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3722, 28, 36mp2and 430 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 + 𝑧) (𝑤 + 𝑣))
3814, 37erthi 6527 . . . . . . . . . 10 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
397, 12, 38syl2anc 409 . . . . . . . . 9 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
40 eqeq12 2170 . . . . . . . . 9 ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → (𝑥 = 𝑢 ↔ [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] ))
4139, 40syl5ibrcom 156 . . . . . . . 8 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → 𝑥 = 𝑢))
4241expimpd 361 . . . . . . 7 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
432, 42syl5bi 151 . . . . . 6 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4443exlimdvv 1877 . . . . 5 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4544exlimdvv 1877 . . . 4 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
461, 45syl5bir 152 . . 3 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4746alrimivv 1855 . 2 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
48 eqeq1 2164 . . . . . 6 (𝑥 = 𝑢 → (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑦 + 𝑧)] ))
4948anbi2d 460 . . . . 5 (𝑥 = 𝑢 → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
50492exbidv 1848 . . . 4 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
51 eceq1 6516 . . . . . . . 8 (𝑦 = 𝑤 → [𝑦] = [𝑤] )
5251eqeq2d 2169 . . . . . . 7 (𝑦 = 𝑤 → (𝐴 = [𝑦] 𝐴 = [𝑤] ))
53 eceq1 6516 . . . . . . . 8 (𝑧 = 𝑣 → [𝑧] = [𝑣] )
5453eqeq2d 2169 . . . . . . 7 (𝑧 = 𝑣 → (𝐵 = [𝑧] 𝐵 = [𝑣] ))
5552, 54bi2anan9 596 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ↔ (𝐴 = [𝑤] 𝐵 = [𝑣] )))
56 oveq12 5834 . . . . . . . 8 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑦 + 𝑧) = (𝑤 + 𝑣))
5756eceq1d 6517 . . . . . . 7 ((𝑦 = 𝑤𝑧 = 𝑣) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
5857eqeq2d 2169 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑢 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ))
5955, 58anbi12d 465 . . . . 5 ((𝑦 = 𝑤𝑧 = 𝑣) → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6059cbvex2v 1904 . . . 4 (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] ))
6150, 60bitrdi 195 . . 3 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6261mo4 2067 . 2 (∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
6347, 62sylibr 133 1 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1333   = wceq 1335  wex 1472  ∃*wmo 2007  wcel 2128   class class class wbr 3966  dom cdm 4587  (class class class)co 5825   Er wer 6478  [cec 6479   / cqs 6480
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-14 2131  ax-ext 2139  ax-sep 4083  ax-pow 4136  ax-pr 4170
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1338  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ral 2440  df-rex 2441  df-v 2714  df-sbc 2938  df-un 3106  df-in 3108  df-ss 3115  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3774  df-br 3967  df-opab 4027  df-xp 4593  df-rel 4594  df-cnv 4595  df-co 4596  df-dm 4597  df-rn 4598  df-res 4599  df-ima 4600  df-iota 5136  df-fv 5179  df-ov 5828  df-er 6481  df-ec 6483  df-qs 6487
This theorem is referenced by:  th3qlem2  6584
  Copyright terms: Public domain W3C validator