MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nf1const Structured version   Visualization version   GIF version

Theorem nf1const 7304
Description: A constant function from at least two elements is not one-to-one. (Contributed by AV, 30-Mar-2024.)
Assertion
Ref Expression
nf1const ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → ¬ 𝐹:𝐴–1-1→𝐶)

Proof of Theorem nf1const
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 1154 . . . . 5 ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌) → 𝑋 ∈ 𝐴)
2 simp2 1155 . . . . 5 ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌) → 𝑌 ∈ 𝐴)
3 fvconst 7159 . . . . . . . 8 ((𝐹:𝐴⟶{𝐵} ∧ 𝑋 ∈ 𝐴) → (𝐹‘𝑋) = 𝐵)
41, 3sylan2 605 . . . . . . 7 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → (𝐹‘𝑋) = 𝐵)
5 fvconst 7159 . . . . . . . 8 ((𝐹:𝐴⟶{𝐵} ∧ 𝑌 ∈ 𝐴) → (𝐹‘𝑌) = 𝐵)
62, 5sylan2 605 . . . . . . 7 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → (𝐹‘𝑌) = 𝐵)
74, 6eqtr4d 2799 . . . . . 6 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → (𝐹‘𝑋) = (𝐹‘𝑌))
8 neneq 2962 . . . . . . . 8 (𝑋 ≠ 𝑌 → ¬ 𝑋 = 𝑌)
983ad2ant3 1153 . . . . . . 7 ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌) → ¬ 𝑋 = 𝑌)
109adantl 487 . . . . . 6 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → ¬ 𝑋 = 𝑌)
117, 10jcnd 164 . . . . 5 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → ¬ ((𝐹‘𝑋) = (𝐹‘𝑌) → 𝑋 = 𝑌))
12 fveqeq2 6886 . . . . . . . 8 (𝑥 = 𝑋 → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ (𝐹‘𝑋) = (𝐹‘𝑦)))
13 eqeq1 2765 . . . . . . . 8 (𝑥 = 𝑋 → (𝑥 = 𝑦 ↔ 𝑋 = 𝑦))
1412, 13imbi12d 347 . . . . . . 7 (𝑥 = 𝑋 → (((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦) ↔ ((𝐹‘𝑋) = (𝐹‘𝑦) → 𝑋 = 𝑦)))
1514notbid 321 . . . . . 6 (𝑥 = 𝑋 → (¬ ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦) ↔ ¬ ((𝐹‘𝑋) = (𝐹‘𝑦) → 𝑋 = 𝑦)))
16 fveq2 6877 . . . . . . . . 9 (𝑦 = 𝑌 → (𝐹‘𝑦) = (𝐹‘𝑌))
1716eqeq2d 2772 . . . . . . . 8 (𝑦 = 𝑌 → ((𝐹‘𝑋) = (𝐹‘𝑦) ↔ (𝐹‘𝑋) = (𝐹‘𝑌)))
18 eqeq2 2773 . . . . . . . 8 (𝑦 = 𝑌 → (𝑋 = 𝑦 ↔ 𝑋 = 𝑌))
1917, 18imbi12d 347 . . . . . . 7 (𝑦 = 𝑌 → (((𝐹‘𝑋) = (𝐹‘𝑦) → 𝑋 = 𝑦) ↔ ((𝐹‘𝑋) = (𝐹‘𝑌) → 𝑋 = 𝑌)))
2019notbid 321 . . . . . 6 (𝑦 = 𝑌 → (¬ ((𝐹‘𝑋) = (𝐹‘𝑦) → 𝑋 = 𝑦) ↔ ¬ ((𝐹‘𝑋) = (𝐹‘𝑌) → 𝑋 = 𝑌)))
2115, 20rspc2ev 3589 . . . . 5 ((𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ ¬ ((𝐹‘𝑋) = (𝐹‘𝑌) → 𝑋 = 𝑌)) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 ¬ ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
221, 2, 11, 21syl2an23an 1450 . . . 4 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 ¬ ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
23 rexnal2 3145 . . . 4 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐴 ¬ ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦) ↔ ¬ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
2422, 23sylib 221 . . 3 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → ¬ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
2524olcd 888 . 2 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → (¬ 𝐹:𝐴⟶𝐶 ∨ ¬ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
26 ianor 997 . . 3 (¬ (𝐹:𝐴⟶𝐶 ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)) ↔ (¬ 𝐹:𝐴⟶𝐶 ∨ ¬ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
27 dff13 7250 . . 3 (𝐹:𝐴–1-1→𝐶 ↔ (𝐹:𝐴⟶𝐶 ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
2826, 27xchnxbir 336 . 2 (¬ 𝐹:𝐴–1-1→𝐶 ↔ (¬ 𝐹:𝐴⟶𝐶 ∨ ¬ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
2925, 28sylibr 237 1 ((𝐹:𝐴⟶{𝐵} ∧ (𝑋 ∈ 𝐴 ∧ 𝑌 ∈ 𝐴 ∧ 𝑋 ≠ 𝑌)) → ¬ 𝐹:𝐴–1-1→𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  {csn 4584  ⟶wf 6527  –1-1→wf1 6528  ‘cfv 6531
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-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fv 6539
This theorem is used by:  nf1oconst  7305
  Copyright terms: Public domain W3C validator