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

Theorem onelfvnef1 8449
Description: A sufficient condition for a function on ordinals to be one-to-one. (Contributed by NM, 9-Feb-1997.) Extract from tz7.48lem 8450 and generalize statement. (Revised by Matthew House, 6-Sep-2026.)
Assertion
Ref Expression
onelfvnef1 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) → 𝐹:𝐴–1-1→𝐵)
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐹,𝑦
Allowed substitution hints:   𝐵(𝑥, 𝑦)

Proof of Theorem onelfvnef1
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 1154 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) → 𝐹:𝐴⟶𝐵)
2 elequ12 2162 . . . . . . . . . . . . 13 ((𝑦 = 𝑧 ∧ 𝑥 = 𝑤) → (𝑦 ∈ 𝑥 ↔ 𝑧 ∈ 𝑤))
32ancoms 464 . . . . . . . . . . . 12 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → (𝑦 ∈ 𝑥 ↔ 𝑧 ∈ 𝑤))
4 fveq2 6885 . . . . . . . . . . . . . 14 (𝑥 = 𝑤 → (𝐹‘𝑥) = (𝐹‘𝑤))
5 fveq2 6885 . . . . . . . . . . . . . 14 (𝑦 = 𝑧 → (𝐹‘𝑦) = (𝐹‘𝑧))
64, 5eqeqan12d 2774 . . . . . . . . . . . . 13 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ (𝐹‘𝑤) = (𝐹‘𝑧)))
76necon3bid 2999 . . . . . . . . . . . 12 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → ((𝐹‘𝑥) ≠ (𝐹‘𝑦) ↔ (𝐹‘𝑤) ≠ (𝐹‘𝑧)))
83, 7imbi12d 347 . . . . . . . . . . 11 ((𝑥 = 𝑤 ∧ 𝑦 = 𝑧) → ((𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ↔ (𝑧 ∈ 𝑤 → (𝐹‘𝑤) ≠ (𝐹‘𝑧))))
98rspc2gv 3585 . . . . . . . . . 10 ((𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴) → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) → (𝑧 ∈ 𝑤 → (𝐹‘𝑤) ≠ (𝐹‘𝑧))))
109ancoms 464 . . . . . . . . 9 ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴) → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) → (𝑧 ∈ 𝑤 → (𝐹‘𝑤) ≠ (𝐹‘𝑧))))
1110impcom 413 . . . . . . . 8 ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → (𝑧 ∈ 𝑤 → (𝐹‘𝑤) ≠ (𝐹‘𝑧)))
12 necom 3008 . . . . . . . 8 ((𝐹‘𝑧) ≠ (𝐹‘𝑤) ↔ (𝐹‘𝑤) ≠ (𝐹‘𝑧))
1311, 12imbitrrdi 255 . . . . . . 7 ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → (𝑧 ∈ 𝑤 → (𝐹‘𝑧) ≠ (𝐹‘𝑤)))
14 elequ12 2162 . . . . . . . . . . 11 ((𝑦 = 𝑤 ∧ 𝑥 = 𝑧) → (𝑦 ∈ 𝑥 ↔ 𝑤 ∈ 𝑧))
1514ancoms 464 . . . . . . . . . 10 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝑥 ↔ 𝑤 ∈ 𝑧))
16 fveq2 6885 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝐹‘𝑥) = (𝐹‘𝑧))
17 fveq2 6885 . . . . . . . . . . . 12 (𝑦 = 𝑤 → (𝐹‘𝑦) = (𝐹‘𝑤))
1816, 17eqeqan12d 2774 . . . . . . . . . . 11 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ (𝐹‘𝑧) = (𝐹‘𝑤)))
1918necon3bid 2999 . . . . . . . . . 10 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝐹‘𝑥) ≠ (𝐹‘𝑦) ↔ (𝐹‘𝑧) ≠ (𝐹‘𝑤)))
2015, 19imbi12d 347 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ↔ (𝑤 ∈ 𝑧 → (𝐹‘𝑧) ≠ (𝐹‘𝑤))))
2120rspc2gv 3585 . . . . . . . 8 ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴) → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) → (𝑤 ∈ 𝑧 → (𝐹‘𝑧) ≠ (𝐹‘𝑤))))
2221impcom 413 . . . . . . 7 ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → (𝑤 ∈ 𝑧 → (𝐹‘𝑧) ≠ (𝐹‘𝑤)))
2313, 22jaod 873 . . . . . 6 ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → ((𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧) → (𝐹‘𝑧) ≠ (𝐹‘𝑤)))
2423necon2bd 2971 . . . . 5 ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦)) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → ((𝐹‘𝑧) = (𝐹‘𝑤) → ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
25243ad2antl3 1206 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → ((𝐹‘𝑧) = (𝐹‘𝑤) → ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
26 ssel2 3903 . . . . . . 7 ((𝐴 ⊆ On ∧ 𝑧 ∈ 𝐴) → 𝑧 ∈ On)
27 ssel2 3903 . . . . . . 7 ((𝐴 ⊆ On ∧ 𝑤 ∈ 𝐴) → 𝑤 ∈ On)
28 eloni 6372 . . . . . . . 8 (𝑧 ∈ On → Ord 𝑧)
29 eloni 6372 . . . . . . . 8 (𝑤 ∈ On → Ord 𝑤)
30 ordtri3 6399 . . . . . . . 8 ((Ord 𝑧 ∧ Ord 𝑤) → (𝑧 = 𝑤 ↔ ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
3128, 29, 30syl2an 608 . . . . . . 7 ((𝑧 ∈ On ∧ 𝑤 ∈ On) → (𝑧 = 𝑤 ↔ ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
3226, 27, 31syl2an 608 . . . . . 6 (((𝐴 ⊆ On ∧ 𝑧 ∈ 𝐴) ∧ (𝐴 ⊆ On ∧ 𝑤 ∈ 𝐴)) → (𝑧 = 𝑤 ↔ ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
3332anandis 691 . . . . 5 ((𝐴 ⊆ On ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → (𝑧 = 𝑤 ↔ ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
34333ad2antl2 1205 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → (𝑧 = 𝑤 ↔ ¬ (𝑧 ∈ 𝑤 ∨ 𝑤 ∈ 𝑧)))
3525, 34sylibrd 262 . . 3 (((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) ∧ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴)) → ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤))
3635ralrimivva 3205 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) → ∀𝑧 ∈ 𝐴 ∀𝑤 ∈ 𝐴 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤))
37 dff13 7258 . 2 (𝐹:𝐴–1-1→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑧 ∈ 𝐴 ∀𝑤 ∈ 𝐴 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)))
381, 36, 37sylanbrc 595 1 ((𝐹:𝐴⟶𝐵 ∧ 𝐴 ⊆ On ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑦 ∈ 𝑥 → (𝐹‘𝑥) ≠ (𝐹‘𝑦))) → 𝐹:𝐴–1-1→𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076   ⊆ wss 3895  Ord word 6361  Oncon0 6362  ⟶wf 6534  –1-1→wf1 6535  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-ord 6365  df-on 6366  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fv 6546
This theorem is used by:  tz7.48lem  8450  mh-inf3f1  37371
  Copyright terms: Public domain W3C validator