Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fphpdo Structured version   Visualization version   GIF version

Theorem fphpdo 43823
Description: Pigeonhole principle for sets of real numbers with implicit output reordering. (Contributed by Stefan O'Rear, 12-Sep-2014.)
Hypotheses
Ref Expression
fphpdo.1 (𝜑 → 𝐴 ⊆ ℝ)
fphpdo.2 (𝜑 → 𝐵 ∈ V)
fphpdo.3 (𝜑 → 𝐵 ≺ 𝐴)
fphpdo.4 ((𝜑 ∧ 𝑧 ∈ 𝐴) → 𝐶 ∈ 𝐵)
fphpdo.5 (𝑧 = 𝑥 → 𝐶 = 𝐷)
fphpdo.6 (𝑧 = 𝑦 → 𝐶 = 𝐸)
Assertion
Ref Expression
fphpdo (𝜑 → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸))
Distinct variable groups:   𝜑,𝑥,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧   𝑧,𝐵   𝑥,𝐶,𝑦   𝑦,𝐷,𝑧   𝑥,𝐸,𝑧
Allowed substitution hints:   𝐵(𝑥, 𝑦)   𝐶(𝑧)   𝐷(𝑥)   𝐸(𝑦)

Proof of Theorem fphpdo
Dummy variables 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fphpdo.3 . . 3 (𝜑 → 𝐵 ≺ 𝐴)
2 fphpdo.4 . . . . 5 ((𝜑 ∧ 𝑧 ∈ 𝐴) → 𝐶 ∈ 𝐵)
32fmpttd 7115 . . . 4 (𝜑 → (𝑧 ∈ 𝐴 ↦ 𝐶):𝐴⟶𝐵)
43ffvelcdmda 7084 . . 3 ((𝜑 ∧ 𝑏 ∈ 𝐴) → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) ∈ 𝐵)
5 fveq2 6885 . . 3 (𝑏 = 𝑐 → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐))
61, 4, 5fphpd 43822 . 2 (𝜑 → ∃𝑏 ∈ 𝐴 ∃𝑐 ∈ 𝐴 (𝑏 ≠ 𝑐 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)))
7 fphpdo.1 . . . . . . . . . 10 (𝜑 → 𝐴 ⊆ ℝ)
87sselda 3931 . . . . . . . . 9 ((𝜑 ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ ℝ)
98adantrr 730 . . . . . . . 8 ((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) → 𝑏 ∈ ℝ)
109adantr 486 . . . . . . 7 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → 𝑏 ∈ ℝ)
117sselda 3931 . . . . . . . . 9 ((𝜑 ∧ 𝑐 ∈ 𝐴) → 𝑐 ∈ ℝ)
1211adantrl 729 . . . . . . . 8 ((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) → 𝑐 ∈ ℝ)
1312adantr 486 . . . . . . 7 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → 𝑐 ∈ ℝ)
1410, 13lttri2d 11449 . . . . . 6 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → (𝑏 ≠ 𝑐 ↔ (𝑏 < 𝑐 ∨ 𝑐 < 𝑏)))
15 simprl 783 . . . . . . . . . . 11 ((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) → 𝑏 ∈ 𝐴)
1615ad2antrr 739 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑏 < 𝑐) → 𝑏 ∈ 𝐴)
17 simprr 785 . . . . . . . . . . 11 ((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) → 𝑐 ∈ 𝐴)
1817ad2antrr 739 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑏 < 𝑐) → 𝑐 ∈ 𝐴)
19 simpr 490 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑏 < 𝑐) → 𝑏 < 𝑐)
20 simplr 781 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑏 < 𝑐) → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐))
21 breq1 5106 . . . . . . . . . . . 12 (𝑥 = 𝑏 → (𝑥 < 𝑦 ↔ 𝑏 < 𝑦))
22 fveqeq2 6894 . . . . . . . . . . . 12 (𝑥 = 𝑏 → (((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
2321, 22anbi12d 644 . . . . . . . . . . 11 (𝑥 = 𝑏 → ((𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) ↔ (𝑏 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦))))
24 breq2 5107 . . . . . . . . . . . 12 (𝑦 = 𝑐 → (𝑏 < 𝑦 ↔ 𝑏 < 𝑐))
25 fveq2 6885 . . . . . . . . . . . . 13 (𝑦 = 𝑐 → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐))
2625eqeq2d 2772 . . . . . . . . . . . 12 (𝑦 = 𝑐 → (((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)))
2724, 26anbi12d 644 . . . . . . . . . . 11 (𝑦 = 𝑐 → ((𝑏 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) ↔ (𝑏 < 𝑐 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐))))
2823, 27rspc2ev 3589 . . . . . . . . . 10 ((𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴 ∧ (𝑏 < 𝑐 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐))) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
2916, 18, 19, 20, 28syl112anc 1401 . . . . . . . . 9 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑏 < 𝑐) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
3029ex 418 . . . . . . . 8 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → (𝑏 < 𝑐 → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦))))
3117ad2antrr 739 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑐 < 𝑏) → 𝑐 ∈ 𝐴)
3215ad2antrr 739 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑐 < 𝑏) → 𝑏 ∈ 𝐴)
33 simpr 490 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑐 < 𝑏) → 𝑐 < 𝑏)
34 simplr 781 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑐 < 𝑏) → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐))
3534eqcomd 2767 . . . . . . . . . 10 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑐 < 𝑏) → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏))
36 breq1 5106 . . . . . . . . . . . 12 (𝑥 = 𝑐 → (𝑥 < 𝑦 ↔ 𝑐 < 𝑦))
37 fveqeq2 6894 . . . . . . . . . . . 12 (𝑥 = 𝑐 → (((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
3836, 37anbi12d 644 . . . . . . . . . . 11 (𝑥 = 𝑐 → ((𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) ↔ (𝑐 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦))))
39 breq2 5107 . . . . . . . . . . . 12 (𝑦 = 𝑏 → (𝑐 < 𝑦 ↔ 𝑐 < 𝑏))
40 fveq2 6885 . . . . . . . . . . . . 13 (𝑦 = 𝑏 → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏))
4140eqeq2d 2772 . . . . . . . . . . . 12 (𝑦 = 𝑏 → (((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏)))
4239, 41anbi12d 644 . . . . . . . . . . 11 (𝑦 = 𝑏 → ((𝑐 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) ↔ (𝑐 < 𝑏 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏))))
4338, 42rspc2ev 3589 . . . . . . . . . 10 ((𝑐 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴 ∧ (𝑐 < 𝑏 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏))) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
4431, 32, 33, 35, 43syl112anc 1401 . . . . . . . . 9 ((((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) ∧ 𝑐 < 𝑏) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)))
4544ex 418 . . . . . . . 8 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → (𝑐 < 𝑏 → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦))))
4630, 45jaod 873 . . . . . . 7 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → ((𝑏 < 𝑐 ∨ 𝑐 < 𝑏) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦))))
47 eqid 2761 . . . . . . . . . . . . . 14 (𝑧 ∈ 𝐴 ↦ 𝐶) = (𝑧 ∈ 𝐴 ↦ 𝐶)
48 fphpdo.5 . . . . . . . . . . . . . 14 (𝑧 = 𝑥 → 𝐶 = 𝐷)
49 simplr 781 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → 𝑥 ∈ 𝐴)
50 eleq1w 2844 . . . . . . . . . . . . . . . . . 18 (𝑧 = 𝑥 → (𝑧 ∈ 𝐴 ↔ 𝑥 ∈ 𝐴))
5150anbi2d 642 . . . . . . . . . . . . . . . . 17 (𝑧 = 𝑥 → ((𝜑 ∧ 𝑧 ∈ 𝐴) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴)))
5248eleq1d 2846 . . . . . . . . . . . . . . . . 17 (𝑧 = 𝑥 → (𝐶 ∈ 𝐵 ↔ 𝐷 ∈ 𝐵))
5351, 52imbi12d 347 . . . . . . . . . . . . . . . 16 (𝑧 = 𝑥 → (((𝜑 ∧ 𝑧 ∈ 𝐴) → 𝐶 ∈ 𝐵) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐷 ∈ 𝐵)))
5453, 2chvarvv 2022 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐷 ∈ 𝐵)
5554adantr 486 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → 𝐷 ∈ 𝐵)
5647, 48, 49, 55fvmptd3 7017 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐷)
57 fphpdo.6 . . . . . . . . . . . . . 14 (𝑧 = 𝑦 → 𝐶 = 𝐸)
58 simpr 490 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → 𝑦 ∈ 𝐴)
59 eleq1w 2844 . . . . . . . . . . . . . . . . . 18 (𝑧 = 𝑦 → (𝑧 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
6059anbi2d 642 . . . . . . . . . . . . . . . . 17 (𝑧 = 𝑦 → ((𝜑 ∧ 𝑧 ∈ 𝐴) ↔ (𝜑 ∧ 𝑦 ∈ 𝐴)))
6157eleq1d 2846 . . . . . . . . . . . . . . . . 17 (𝑧 = 𝑦 → (𝐶 ∈ 𝐵 ↔ 𝐸 ∈ 𝐵))
6260, 61imbi12d 347 . . . . . . . . . . . . . . . 16 (𝑧 = 𝑦 → (((𝜑 ∧ 𝑧 ∈ 𝐴) → 𝐶 ∈ 𝐵) ↔ ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐸 ∈ 𝐵)))
6362, 2chvarvv 2022 . . . . . . . . . . . . . . 15 ((𝜑 ∧ 𝑦 ∈ 𝐴) → 𝐸 ∈ 𝐵)
6463adantlr 728 . . . . . . . . . . . . . 14 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → 𝐸 ∈ 𝐵)
6547, 57, 58, 64fvmptd3 7017 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐸)
6656, 65eqeq12d 2777 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → (((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ 𝐷 = 𝐸))
6766biimpd 232 . . . . . . . . . . 11 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → (((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦) → 𝐷 = 𝐸))
6867anim2d 624 . . . . . . . . . 10 (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) → (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
6968reximdva 3176 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) → ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7069reximdva 3176 . . . . . . . 8 (𝜑 → (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7170ad2antrr 739 . . . . . . 7 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑦)) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7246, 71syld 48 . . . . . 6 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → ((𝑏 < 𝑐 ∨ 𝑐 < 𝑏) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7314, 72sylbid 243 . . . . 5 (((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → (𝑏 ≠ 𝑐 → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7473expimpd 459 . . . 4 ((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) → ((((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐) ∧ 𝑏 ≠ 𝑐) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7574ancomsd 471 . . 3 ((𝜑 ∧ (𝑏 ∈ 𝐴 ∧ 𝑐 ∈ 𝐴)) → ((𝑏 ≠ 𝑐 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
7675rexlimdvva 3220 . 2 (𝜑 → (∃𝑏 ∈ 𝐴 ∃𝑐 ∈ 𝐴 (𝑏 ≠ 𝑐 ∧ ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑏) = ((𝑧 ∈ 𝐴 ↦ 𝐶)‘𝑐)) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸)))
776, 76mpd 16 1 (𝜑 → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 (𝑥 < 𝑦 ∧ 𝐷 = 𝐸))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899   class class class wbr 5103   ↦ cmpt 5186  ‘cfv 6538   ≺ csdm 8972  ℝcr 11199   < clt 11343
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-resscn 11257  ax-pre-lttri 11274  ax-pre-lttrn 11275
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-po 5559  df-so 5560  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-ltxr 11348
This theorem is used by:  irrapxlem1  43828
  Copyright terms: Public domain W3C validator