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

Theorem fnnfpeq0 7187
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 4337 . . 3 ({𝑥 ∈ 𝐴 ∣ (𝐹‘𝑥) ≠ 𝑥} = ∅ ↔ ∀𝑥 ∈ 𝐴 ¬ (𝐹‘𝑥) ≠ 𝑥)
2 nne 2959 . . . . 5 (¬ (𝐹‘𝑥) ≠ 𝑥 ↔ (𝐹‘𝑥) = 𝑥)
3 fvresi 7182 . . . . . . 7 (𝑥 ∈ 𝐴 → (( I ↾ 𝐴)‘𝑥) = 𝑥)
43eqeq2d 2771 . . . . . 6 (𝑥 ∈ 𝐴 → ((𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥) ↔ (𝐹‘𝑥) = 𝑥))
54adantl 487 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ((𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥) ↔ (𝐹‘𝑥) = 𝑥))
62, 5bitr4id 293 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (¬ (𝐹‘𝑥) ≠ 𝑥 ↔ (𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥)))
76ralbidva 3183 . . 3 (𝐹 Fn 𝐴 → (∀𝑥 ∈ 𝐴 ¬ (𝐹‘𝑥) ≠ 𝑥 ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥)))
81, 7bitrid 286 . 2 (𝐹 Fn 𝐴 → ({𝑥 ∈ 𝐴 ∣ (𝐹‘𝑥) ≠ 𝑥} = ∅ ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥)))
9 fndifnfp 7185 . . 3 (𝐹 Fn 𝐴 → dom (𝐹 ∖ I ) = {𝑥 ∈ 𝐴 ∣ (𝐹‘𝑥) ≠ 𝑥})
109eqeq1d 2762 . 2 (𝐹 Fn 𝐴 → (dom (𝐹 ∖ I ) = ∅ ↔ {𝑥 ∈ 𝐴 ∣ (𝐹‘𝑥) ≠ 𝑥} = ∅))
11 fnresi 6673 . . 3 ( I ↾ 𝐴) Fn 𝐴
12 eqfnfv 7034 . . 3 ((𝐹 Fn 𝐴 ∧ ( I ↾ 𝐴) Fn 𝐴) → (𝐹 = ( I ↾ 𝐴) ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥)))
1311, 12mpan2 704 . 2 (𝐹 Fn 𝐴 → (𝐹 = ( I ↾ 𝐴) ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (( I ↾ 𝐴)‘𝑥)))
148, 10, 133bitr4d 314 1 (𝐹 Fn 𝐴 → (dom (𝐹 ∖ I ) = ∅ ↔ 𝐹 = ( I ↾ 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  {crab 3412   ∖ cdif 4044  ∅c0 4277   I cid 5545  dom cdm 5651   ↾ cres 5653   Fn wfn 6538  ‘cfv 6543
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 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  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 6497  df-fun 6545  df-fn 6546  df-f 6547  df-fv 6551
This theorem is used by:  symggen  19693  m1detdiag  22921  mdetdiaglem  22922
  Copyright terms: Public domain W3C validator