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

Theorem th3qlem1 6208
 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 1809 . . . 4 (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
2 an4 520 . . . . . . 7 ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) ↔ (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )))
3 eleq1 2100 . . . . . . . . . . . . 13 (𝐴 = [𝑦] → (𝐴 ∈ (𝑆 / ) ↔ [𝑦] ∈ (𝑆 / )))
4 eleq1 2100 . . . . . . . . . . . . 13 (𝐵 = [𝑧] → (𝐵 ∈ (𝑆 / ) ↔ [𝑧] ∈ (𝑆 / )))
53, 4bi2anan9 538 . . . . . . . . . . . 12 ((𝐴 = [𝑦] 𝐵 = [𝑧] ) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
65adantr 261 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ↔ ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / ))))
76biimpac 282 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )))
8 eqtr2 2058 . . . . . . . . . . . . 13 ((𝐴 = [𝑦] 𝐴 = [𝑤] ) → [𝑦] = [𝑤] )
9 eqtr2 2058 . . . . . . . . . . . . 13 ((𝐵 = [𝑧] 𝐵 = [𝑣] ) → [𝑧] = [𝑣] )
108, 9anim12i 321 . . . . . . . . . . . 12 (((𝐴 = [𝑦] 𝐴 = [𝑤] ) ∧ (𝐵 = [𝑧] 𝐵 = [𝑣] )) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
1110an4s 522 . . . . . . . . . . 11 (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
1211adantl 262 . . . . . . . . . 10 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] ))
13 th3qlem1.1 . . . . . . . . . . . 12 Er 𝑆
1413a1i 9 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → Er 𝑆)
15 simprl 483 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] = [𝑤] )
16 erdm 6116 . . . . . . . . . . . . . . . 16 ( Er 𝑆 → dom = 𝑆)
1713, 16ax-mp 7 . . . . . . . . . . . . . . 15 dom = 𝑆
18 simpll 481 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑦] ∈ (𝑆 / ))
19 ecelqsdm 6176 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑦] ∈ (𝑆 / )) → 𝑦𝑆)
2017, 18, 19sylancr 393 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦𝑆)
2114, 20erth 6150 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 𝑤 ↔ [𝑦] = [𝑤] ))
2215, 21mpbird 156 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑦 𝑤)
23 simprr 484 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] = [𝑣] )
24 simplr 482 . . . . . . . . . . . . . . 15 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑧] ∈ (𝑆 / ))
25 ecelqsdm 6176 . . . . . . . . . . . . . . 15 ((dom = 𝑆 ∧ [𝑧] ∈ (𝑆 / )) → 𝑧𝑆)
2617, 24, 25sylancr 393 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧𝑆)
2714, 26erth 6150 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑧 𝑣 ↔ [𝑧] = [𝑣] ))
2823, 27mpbird 156 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑧 𝑣)
2915, 18eqeltrrd 2115 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑤] ∈ (𝑆 / ))
30 ecelqsdm 6176 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑤] ∈ (𝑆 / )) → 𝑤𝑆)
3117, 29, 30sylancr 393 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑤𝑆)
3223, 24eqeltrrd 2115 . . . . . . . . . . . . . 14 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [𝑣] ∈ (𝑆 / ))
33 ecelqsdm 6176 . . . . . . . . . . . . . 14 ((dom = 𝑆 ∧ [𝑣] ∈ (𝑆 / )) → 𝑣𝑆)
3417, 32, 33sylancr 393 . . . . . . . . . . . . 13 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → 𝑣𝑆)
35 th3qlem1.3 . . . . . . . . . . . . 13 (((𝑦𝑆𝑤𝑆) ∧ (𝑧𝑆𝑣𝑆)) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3620, 31, 26, 34, 35syl22anc 1136 . . . . . . . . . . . 12 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → ((𝑦 𝑤𝑧 𝑣) → (𝑦 + 𝑧) (𝑤 + 𝑣)))
3722, 28, 36mp2and 409 . . . . . . . . . . 11 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → (𝑦 + 𝑧) (𝑤 + 𝑣))
3814, 37erthi 6152 . . . . . . . . . 10 ((([𝑦] ∈ (𝑆 / ) ∧ [𝑧] ∈ (𝑆 / )) ∧ ([𝑦] = [𝑤] ∧ [𝑧] = [𝑣] )) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
397, 12, 38syl2anc 391 . . . . . . . . 9 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
40 eqeq12 2052 . . . . . . . . 9 ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → (𝑥 = 𝑢 ↔ [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] ))
4139, 40syl5ibrcom 146 . . . . . . . 8 (((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) ∧ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] ))) → ((𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ) → 𝑥 = 𝑢))
4241expimpd 345 . . . . . . 7 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ (𝐴 = [𝑤] 𝐵 = [𝑣] )) ∧ (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
432, 42syl5bi 141 . . . . . 6 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4443exlimdvv 1777 . . . . 5 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4544exlimdvv 1777 . . . 4 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → (∃𝑦𝑧𝑤𝑣(((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
461, 45syl5bir 142 . . 3 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
4746alrimivv 1755 . 2 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
48 eqeq1 2046 . . . . . 6 (𝑥 = 𝑢 → (𝑥 = [(𝑦 + 𝑧)] 𝑢 = [(𝑦 + 𝑧)] ))
4948anbi2d 437 . . . . 5 (𝑥 = 𝑢 → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
50492exbidv 1748 . . . 4 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] )))
51 eceq1 6141 . . . . . . . 8 (𝑦 = 𝑤 → [𝑦] = [𝑤] )
5251eqeq2d 2051 . . . . . . 7 (𝑦 = 𝑤 → (𝐴 = [𝑦] 𝐴 = [𝑤] ))
53 eceq1 6141 . . . . . . . 8 (𝑧 = 𝑣 → [𝑧] = [𝑣] )
5453eqeq2d 2051 . . . . . . 7 (𝑧 = 𝑣 → (𝐵 = [𝑧] 𝐵 = [𝑣] ))
5552, 54bi2anan9 538 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → ((𝐴 = [𝑦] 𝐵 = [𝑧] ) ↔ (𝐴 = [𝑤] 𝐵 = [𝑣] )))
56 oveq12 5521 . . . . . . . 8 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑦 + 𝑧) = (𝑤 + 𝑣))
5756eceq1d 6142 . . . . . . 7 ((𝑦 = 𝑤𝑧 = 𝑣) → [(𝑦 + 𝑧)] = [(𝑤 + 𝑣)] )
5857eqeq2d 2051 . . . . . 6 ((𝑦 = 𝑤𝑧 = 𝑣) → (𝑢 = [(𝑦 + 𝑧)] 𝑢 = [(𝑤 + 𝑣)] ))
5955, 58anbi12d 442 . . . . 5 ((𝑦 = 𝑤𝑧 = 𝑣) → (((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6059cbvex2v 1799 . . . 4 (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑢 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] ))
6150, 60syl6bb 185 . . 3 (𝑥 = 𝑢 → (∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )))
6261mo4 1961 . 2 (∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ↔ ∀𝑥𝑢((∃𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ) ∧ ∃𝑤𝑣((𝐴 = [𝑤] 𝐵 = [𝑣] ) ∧ 𝑢 = [(𝑤 + 𝑣)] )) → 𝑥 = 𝑢))
6347, 62sylibr 137 1 ((𝐴 ∈ (𝑆 / ) ∧ 𝐵 ∈ (𝑆 / )) → ∃*𝑥𝑦𝑧((𝐴 = [𝑦] 𝐵 = [𝑧] ) ∧ 𝑥 = [(𝑦 + 𝑧)] ))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 97   ↔ wb 98  ∀wal 1241   = wceq 1243  ∃wex 1381   ∈ wcel 1393  ∃*wmo 1901   class class class wbr 3764  dom cdm 4345  (class class class)co 5512   Er wer 6103  [cec 6104   / cqs 6105 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944 This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-sbc 2765  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-br 3765  df-opab 3819  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-iota 4867  df-fv 4910  df-ov 5515  df-er 6106  df-ec 6108  df-qs 6112 This theorem is referenced by:  th3qlem2  6209
 Copyright terms: Public domain W3C validator