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

Theorem th3qlem1 6615
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 1927 . . . 4 (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
2 an4 581 . . . . . . 7 ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )))
3 eleq1 2233 . . . . . . . . . . . . 13 (𝐴 = [𝑦] → (𝐴 ∈ (𝑆 / ) ↔ [𝑦] ∈ (𝑆 / )))
4 eleq1 2233 . . . . . . . . . . . . 13 (𝐵 = [𝑧] → (𝐵 ∈ (𝑆 / ) ↔ [𝑧] ∈ (𝑆 / )))
53, 4bi2anan9 601 . . . . . . . . . . . 12 ((𝐴 = [𝑦] 𝐵 = [𝑧] ) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
65adantr 274 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
76biimpac 296 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )))
8 eqtr2 2189 . . . . . . . . . . . . 13 ((𝐴 = [𝑦] 𝐴 = [𝑤] ) → [𝑦] = [𝑤] )
9 eqtr2 2189 . . . . . . . . . . . . 13 ((𝐵 = [𝑧] 𝐵 = [𝑣] ) → [𝑧] = [𝑣] )
108, 9anim12i 336 . . . . . . . . . . . 12 (((𝐴 = [𝑦] 𝐴 = [𝑤] ) ∧ (𝐵 = [𝑧] 𝐵 = [𝑣] )) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
1110an4s 583 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
1211adantl 275 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
13 th3qlem1.1 . . . . . . . . . . . 12 Er 𝑆
1413a1i 9 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → Er 𝑆)
15 simprl 526 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] = [𝑤] )
16 erdm 6523 . . . . . . . . . . . . . . . 16 ( Er 𝑆 → dom = 𝑆)
1713, 16ax-mp 5 . . . . . . . . . . . . . . 15 dom = 𝑆
18 simpll 524 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] ∈ (𝑆 / ))
19 ecelqsdm 6583 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑦] ∈ (𝑆 / )) → 𝑦𝑆)
2017, 18, 19sylancr 412 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦𝑆)
2114, 20erth 6557 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 𝑤 ↔ [𝑦] = [𝑤] ))
2215, 21mpbird 166 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦 𝑤)
23 simprr 527 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] = [𝑣] )
24 simplr 525 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] ∈ (𝑆 / ))
25 ecelqsdm 6583 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑧] ∈ (𝑆 / )) → 𝑧𝑆)
2617, 24, 25sylancr 412 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧𝑆)
2714, 26erth 6557 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑧 𝑣 ↔ [𝑧] = [𝑣] ))
2823, 27mpbird 166 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧 𝑣)
2915, 18eqeltrrd 2248 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑤] ∈ (𝑆 / ))
30 ecelqsdm 6583 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑤] ∈ (𝑆 / )) → 𝑤𝑆)
3117, 29, 30sylancr 412 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑤𝑆)
3223, 24eqeltrrd 2248 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑣] ∈ (𝑆 / ))
33 ecelqsdm 6583 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑣] ∈ (𝑆 / )) → 𝑣𝑆)
3417, 32, 33sylancr 412 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑣𝑆)
35 th3qlem1.3 . . . . . . . . . . . . 13 (((𝑦𝑆𝑤𝑆) ∧ (𝑧𝑆𝑣𝑆)) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3620, 31, 26, 34, 35syl22anc 1234 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3722, 28, 36mp2and 431 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 + 𝑧) (𝑤 + 𝑣))
3814, 37erthi 6559 . . . . . . . . . 10 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
397, 12, 38syl2anc 409 . . . . . . . . 9 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
40 eqeq12 2183 . . . . . . . . 9 ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → (𝑥 = 𝑢 ↔ [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] ))
4139, 40syl5ibrcom 156 . . . . . . . 8 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → 𝑥 = 𝑢))
4241expimpd 361 . . . . . . 7 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
432, 42syl5bi 151 . . . . . 6 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4443exlimdvv 1890 . . . . 5 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4544exlimdvv 1890 . . . 4 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
461, 45syl5bir 152 . . 3 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4746alrimivv 1868 . 2 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
48 eqeq1 2177 . . . . . 6 (𝑥 = 𝑢 → (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑦 + 𝑧)] ))
4948anbi2d 461 . . . . 5 (𝑥 = 𝑢 → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
50492exbidv 1861 . . . 4 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
51 eceq1 6548 . . . . . . . 8 (𝑦 = 𝑤 → [𝑦] = [𝑤] )
5251eqeq2d 2182 . . . . . . 7 (𝑦 = 𝑤 → (𝐴 = [𝑦] 𝐴 = [𝑤] ))
53 eceq1 6548 . . . . . . . 8 (𝑧 = 𝑣 → [𝑧] = [𝑣] )
5453eqeq2d 2182 . . . . . . 7 (𝑧 = 𝑣 → (𝐵 = [𝑧] 𝐵 = [𝑣] ))
5552, 54bi2anan9 601 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ↔ (𝐴 = [𝑤] 𝐵 = [𝑣] )))
56 oveq12 5862 . . . . . . . 8 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑦 + 𝑧) = (𝑤 + 𝑣))
5756eceq1d 6549 . . . . . . 7 ((𝑦 = 𝑤𝑧 = 𝑣) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
5857eqeq2d 2182 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑢 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ))
5955, 58anbi12d 470 . . . . 5 ((𝑦 = 𝑤𝑧 = 𝑣) → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6059cbvex2v 1917 . . . 4 (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] ))
6150, 60bitrdi 195 . . 3 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6261mo4 2080 . 2 (∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
6347, 62sylibr 133 1 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1346   = wceq 1348  wex 1485  ∃*wmo 2020  wcel 2141   class class class wbr 3989  dom cdm 4611  (class class class)co 5853   Er wer 6510  [cec 6511   / cqs 6512
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 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fv 5206  df-ov 5856  df-er 6513  df-ec 6515  df-qs 6519
This theorem is referenced by:  th3qlem2  6616
  Copyright terms: Public domain W3C validator