ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fndmdif GIF version

Theorem fndmdif 5601
Description: Two ways to express the locus of differences between two functions. (Contributed by Stefan O'Rear, 17-Jan-2015.)
Assertion
Ref Expression
fndmdif ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom (𝐹𝐺) = {𝑥𝐴 ∣ (𝐹𝑥) ≠ (𝐺𝑥)})
Distinct variable groups:   𝑥,𝐹   𝑥,𝐺   𝑥,𝐴

Proof of Theorem fndmdif
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 difss 3253 . . . . 5 (𝐹𝐺) ⊆ 𝐹
2 dmss 4810 . . . . 5 ((𝐹𝐺) ⊆ 𝐹 → dom (𝐹𝐺) ⊆ dom 𝐹)
31, 2ax-mp 5 . . . 4 dom (𝐹𝐺) ⊆ dom 𝐹
4 fndm 5297 . . . . 5 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
54adantr 274 . . . 4 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom 𝐹 = 𝐴)
63, 5sseqtrid 3197 . . 3 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom (𝐹𝐺) ⊆ 𝐴)
7 dfss1 3331 . . 3 (dom (𝐹𝐺) ⊆ 𝐴 ↔ (𝐴 ∩ dom (𝐹𝐺)) = dom (𝐹𝐺))
86, 7sylib 121 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐴 ∩ dom (𝐹𝐺)) = dom (𝐹𝐺))
9 vex 2733 . . . . 5 𝑥 ∈ V
109eldm 4808 . . . 4 (𝑥 ∈ dom (𝐹𝐺) ↔ ∃𝑦 𝑥(𝐹𝐺)𝑦)
11 eqcom 2172 . . . . . . . 8 ((𝐹𝑥) = (𝐺𝑥) ↔ (𝐺𝑥) = (𝐹𝑥))
12 fnbrfvb 5537 . . . . . . . 8 ((𝐺 Fn 𝐴𝑥𝐴) → ((𝐺𝑥) = (𝐹𝑥) ↔ 𝑥𝐺(𝐹𝑥)))
1311, 12syl5bb 191 . . . . . . 7 ((𝐺 Fn 𝐴𝑥𝐴) → ((𝐹𝑥) = (𝐺𝑥) ↔ 𝑥𝐺(𝐹𝑥)))
1413adantll 473 . . . . . 6 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝐹𝑥) = (𝐺𝑥) ↔ 𝑥𝐺(𝐹𝑥)))
1514necon3abid 2379 . . . . 5 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝐹𝑥) ≠ (𝐺𝑥) ↔ ¬ 𝑥𝐺(𝐹𝑥)))
16 funfvex 5513 . . . . . . . 8 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ V)
1716funfni 5298 . . . . . . 7 ((𝐹 Fn 𝐴𝑥𝐴) → (𝐹𝑥) ∈ V)
1817adantlr 474 . . . . . 6 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (𝐹𝑥) ∈ V)
19 breq2 3993 . . . . . . . 8 (𝑦 = (𝐹𝑥) → (𝑥𝐺𝑦𝑥𝐺(𝐹𝑥)))
2019notbid 662 . . . . . . 7 (𝑦 = (𝐹𝑥) → (¬ 𝑥𝐺𝑦 ↔ ¬ 𝑥𝐺(𝐹𝑥)))
2120ceqsexgv 2859 . . . . . 6 ((𝐹𝑥) ∈ V → (∃𝑦(𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ ¬ 𝑥𝐺(𝐹𝑥)))
2218, 21syl 14 . . . . 5 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (∃𝑦(𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ ¬ 𝑥𝐺(𝐹𝑥)))
23 eqcom 2172 . . . . . . . . . 10 (𝑦 = (𝐹𝑥) ↔ (𝐹𝑥) = 𝑦)
24 fnbrfvb 5537 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑥𝐴) → ((𝐹𝑥) = 𝑦𝑥𝐹𝑦))
2523, 24syl5bb 191 . . . . . . . . 9 ((𝐹 Fn 𝐴𝑥𝐴) → (𝑦 = (𝐹𝑥) ↔ 𝑥𝐹𝑦))
2625adantlr 474 . . . . . . . 8 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (𝑦 = (𝐹𝑥) ↔ 𝑥𝐹𝑦))
2726anbi1d 462 . . . . . . 7 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐺𝑦)))
28 brdif 4042 . . . . . . 7 (𝑥(𝐹𝐺)𝑦 ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐺𝑦))
2927, 28bitr4di 197 . . . . . 6 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ 𝑥(𝐹𝐺)𝑦))
3029exbidv 1818 . . . . 5 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (∃𝑦(𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ ∃𝑦 𝑥(𝐹𝐺)𝑦))
3115, 22, 303bitr2rd 216 . . . 4 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (∃𝑦 𝑥(𝐹𝐺)𝑦 ↔ (𝐹𝑥) ≠ (𝐺𝑥)))
3210, 31syl5bb 191 . . 3 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (𝑥 ∈ dom (𝐹𝐺) ↔ (𝐹𝑥) ≠ (𝐺𝑥)))
3332rabbi2dva 3335 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐴 ∩ dom (𝐹𝐺)) = {𝑥𝐴 ∣ (𝐹𝑥) ≠ (𝐺𝑥)})
348, 33eqtr3d 2205 1 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom (𝐹𝐺) = {𝑥𝐴 ∣ (𝐹𝑥) ≠ (𝐺𝑥)})
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1348  wex 1485  wcel 2141  wne 2340  {crab 2452  Vcvv 2730  cdif 3118  cin 3120  wss 3121   class class class wbr 3989  dom cdm 4611   Fn wfn 5193  cfv 5198
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-iota 5160  df-fun 5200  df-fn 5201  df-fv 5206
This theorem is referenced by:  fndmdifcom  5602
  Copyright terms: Public domain W3C validator