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

Theorem fnnfpeq0 6327
Description: A function is the identity iff it moves no points. (Contributed by Stefan O'Rear, 25-Aug-2015.)
Assertion
Ref Expression
fnnfpeq0 (𝐹 Fn 𝐴 → (dom (𝐹 ∖ I ) = ∅ ↔ 𝐹 = ( I ↾ 𝐴)))

Proof of Theorem fnnfpeq0
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 rabeq0 3910 . . 3 ({𝑥𝐴 ∣ (𝐹𝑥) ≠ 𝑥} = ∅ ↔ ∀𝑥𝐴 ¬ (𝐹𝑥) ≠ 𝑥)
2 fvresi 6322 . . . . . . 7 (𝑥𝐴 → (( I ↾ 𝐴)‘𝑥) = 𝑥)
32eqeq2d 2619 . . . . . 6 (𝑥𝐴 → ((𝐹𝑥) = (( I ↾ 𝐴)‘𝑥) ↔ (𝐹𝑥) = 𝑥))
43adantl 480 . . . . 5 ((𝐹 Fn 𝐴𝑥𝐴) → ((𝐹𝑥) = (( I ↾ 𝐴)‘𝑥) ↔ (𝐹𝑥) = 𝑥))
5 nne 2785 . . . . 5 (¬ (𝐹𝑥) ≠ 𝑥 ↔ (𝐹𝑥) = 𝑥)
64, 5syl6rbbr 277 . . . 4 ((𝐹 Fn 𝐴𝑥𝐴) → (¬ (𝐹𝑥) ≠ 𝑥 ↔ (𝐹𝑥) = (( I ↾ 𝐴)‘𝑥)))
76ralbidva 2967 . . 3 (𝐹 Fn 𝐴 → (∀𝑥𝐴 ¬ (𝐹𝑥) ≠ 𝑥 ↔ ∀𝑥𝐴 (𝐹𝑥) = (( I ↾ 𝐴)‘𝑥)))
81, 7syl5bb 270 . 2 (𝐹 Fn 𝐴 → ({𝑥𝐴 ∣ (𝐹𝑥) ≠ 𝑥} = ∅ ↔ ∀𝑥𝐴 (𝐹𝑥) = (( I ↾ 𝐴)‘𝑥)))
9 fndifnfp 6325 . . 3 (𝐹 Fn 𝐴 → dom (𝐹 ∖ I ) = {𝑥𝐴 ∣ (𝐹𝑥) ≠ 𝑥})
109eqeq1d 2611 . 2 (𝐹 Fn 𝐴 → (dom (𝐹 ∖ I ) = ∅ ↔ {𝑥𝐴 ∣ (𝐹𝑥) ≠ 𝑥} = ∅))
11 fnresi 5908 . . 3 ( I ↾ 𝐴) Fn 𝐴
12 eqfnfv 6204 . . 3 ((𝐹 Fn 𝐴 ∧ ( I ↾ 𝐴) Fn 𝐴) → (𝐹 = ( I ↾ 𝐴) ↔ ∀𝑥𝐴 (𝐹𝑥) = (( I ↾ 𝐴)‘𝑥)))
1311, 12mpan2 702 . 2 (𝐹 Fn 𝐴 → (𝐹 = ( I ↾ 𝐴) ↔ ∀𝑥𝐴 (𝐹𝑥) = (( I ↾ 𝐴)‘𝑥)))
148, 10, 133bitr4d 298 1 (𝐹 Fn 𝐴 → (dom (𝐹 ∖ I ) = ∅ ↔ 𝐹 = ( I ↾ 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wa 382   = wceq 1474  wcel 1976  wne 2779  wral 2895  {crab 2899  cdif 3536  c0 3873   I cid 4938  dom cdm 5028  cres 5030   Fn wfn 5785  cfv 5790
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2232  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-br 4578  df-opab 4638  df-mpt 4639  df-id 4943  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-fv 5798
This theorem is referenced by:  symggen  17659  m1detdiag  20164  mdetdiaglem  20165
  Copyright terms: Public domain W3C validator