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

Theorem th3qlem1 6603
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 1922 . . . 4 (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
2 an4 576 . . . . . . 7 ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )))
3 eleq1 2229 . . . . . . . . . . . . 13 (𝐴 = [𝑦] → (𝐴 ∈ (𝑆 / ) ↔ [𝑦] ∈ (𝑆 / )))
4 eleq1 2229 . . . . . . . . . . . . 13 (𝐵 = [𝑧] → (𝐵 ∈ (𝑆 / ) ↔ [𝑧] ∈ (𝑆 / )))
53, 4bi2anan9 596 . . . . . . . . . . . 12 ((𝐴 = [𝑦] 𝐵 = [𝑧] ) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
65adantr 274 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
76biimpac 296 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )))
8 eqtr2 2184 . . . . . . . . . . . . 13 ((𝐴 = [𝑦] 𝐴 = [𝑤] ) → [𝑦] = [𝑤] )
9 eqtr2 2184 . . . . . . . . . . . . 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 6511 . . . . . . . . . . . . . . . 16 ( Er 𝑆 → dom = 𝑆)
1713, 16ax-mp 5 . . . . . . . . . . . . . . 15 dom = 𝑆
18 simpll 519 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] ∈ (𝑆 / ))
19 ecelqsdm 6571 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑦] ∈ (𝑆 / )) → 𝑦𝑆)
2017, 18, 19sylancr 411 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦𝑆)
2114, 20erth 6545 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 𝑤 ↔ [𝑦] = [𝑤] ))
2215, 21mpbird 166 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦 𝑤)
23 simprr 522 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] = [𝑣] )
24 simplr 520 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] ∈ (𝑆 / ))
25 ecelqsdm 6571 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑧] ∈ (𝑆 / )) → 𝑧𝑆)
2617, 24, 25sylancr 411 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧𝑆)
2714, 26erth 6545 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑧 𝑣 ↔ [𝑧] = [𝑣] ))
2823, 27mpbird 166 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧 𝑣)
2915, 18eqeltrrd 2244 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑤] ∈ (𝑆 / ))
30 ecelqsdm 6571 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑤] ∈ (𝑆 / )) → 𝑤𝑆)
3117, 29, 30sylancr 411 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑤𝑆)
3223, 24eqeltrrd 2244 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑣] ∈ (𝑆 / ))
33 ecelqsdm 6571 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑣] ∈ (𝑆 / )) → 𝑣𝑆)
3417, 32, 33sylancr 411 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑣𝑆)
35 th3qlem1.3 . . . . . . . . . . . . 13 (((𝑦𝑆𝑤𝑆) ∧ (𝑧𝑆𝑣𝑆)) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3620, 31, 26, 34, 35syl22anc 1229 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3722, 28, 36mp2and 430 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 + 𝑧) (𝑤 + 𝑣))
3814, 37erthi 6547 . . . . . . . . . 10 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
397, 12, 38syl2anc 409 . . . . . . . . 9 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
40 eqeq12 2178 . . . . . . . . 9 ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → (𝑥 = 𝑢 ↔ [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] ))
4139, 40syl5ibrcom 156 . . . . . . . 8 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → 𝑥 = 𝑢))
4241expimpd 361 . . . . . . 7 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
432, 42syl5bi 151 . . . . . 6 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4443exlimdvv 1885 . . . . 5 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4544exlimdvv 1885 . . . 4 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
461, 45syl5bir 152 . . 3 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4746alrimivv 1863 . 2 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
48 eqeq1 2172 . . . . . 6 (𝑥 = 𝑢 → (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑦 + 𝑧)] ))
4948anbi2d 460 . . . . 5 (𝑥 = 𝑢 → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
50492exbidv 1856 . . . 4 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
51 eceq1 6536 . . . . . . . 8 (𝑦 = 𝑤 → [𝑦] = [𝑤] )
5251eqeq2d 2177 . . . . . . 7 (𝑦 = 𝑤 → (𝐴 = [𝑦] 𝐴 = [𝑤] ))
53 eceq1 6536 . . . . . . . 8 (𝑧 = 𝑣 → [𝑧] = [𝑣] )
5453eqeq2d 2177 . . . . . . 7 (𝑧 = 𝑣 → (𝐵 = [𝑧] 𝐵 = [𝑣] ))
5552, 54bi2anan9 596 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ↔ (𝐴 = [𝑤] 𝐵 = [𝑣] )))
56 oveq12 5851 . . . . . . . 8 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑦 + 𝑧) = (𝑤 + 𝑣))
5756eceq1d 6537 . . . . . . 7 ((𝑦 = 𝑤𝑧 = 𝑣) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
5857eqeq2d 2177 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑢 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ))
5955, 58anbi12d 465 . . . . 5 ((𝑦 = 𝑤𝑧 = 𝑣) → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6059cbvex2v 1912 . . . 4 (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] ))
6150, 60bitrdi 195 . . 3 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6261mo4 2075 . 2 (∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
6347, 62sylibr 133 1 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341   = wceq 1343  wex 1480  ∃*wmo 2015  wcel 2136   class class class wbr 3982  dom cdm 4604  (class class class)co 5842   Er wer 6498  [cec 6499   / cqs 6500
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fv 5196  df-ov 5845  df-er 6501  df-ec 6503  df-qs 6507
This theorem is referenced by:  th3qlem2  6604
  Copyright terms: Public domain W3C validator