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

Theorem fndmdif 5590
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 3248 . . . . 5 (𝐹𝐺) ⊆ 𝐹
2 dmss 4803 . . . . 5 ((𝐹𝐺) ⊆ 𝐹 → dom (𝐹𝐺) ⊆ dom 𝐹)
31, 2ax-mp 5 . . . 4 dom (𝐹𝐺) ⊆ dom 𝐹
4 fndm 5287 . . . . 5 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
54adantr 274 . . . 4 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom 𝐹 = 𝐴)
63, 5sseqtrid 3192 . . 3 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom (𝐹𝐺) ⊆ 𝐴)
7 dfss1 3326 . . 3 (dom (𝐹𝐺) ⊆ 𝐴 ↔ (𝐴 ∩ dom (𝐹𝐺)) = dom (𝐹𝐺))
86, 7sylib 121 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐴 ∩ dom (𝐹𝐺)) = dom (𝐹𝐺))
9 vex 2729 . . . . 5 𝑥 ∈ V
109eldm 4801 . . . 4 (𝑥 ∈ dom (𝐹𝐺) ↔ ∃𝑦 𝑥(𝐹𝐺)𝑦)
11 eqcom 2167 . . . . . . . 8 ((𝐹𝑥) = (𝐺𝑥) ↔ (𝐺𝑥) = (𝐹𝑥))
12 fnbrfvb 5527 . . . . . . . 8 ((𝐺 Fn 𝐴𝑥𝐴) → ((𝐺𝑥) = (𝐹𝑥) ↔ 𝑥𝐺(𝐹𝑥)))
1311, 12syl5bb 191 . . . . . . 7 ((𝐺 Fn 𝐴𝑥𝐴) → ((𝐹𝑥) = (𝐺𝑥) ↔ 𝑥𝐺(𝐹𝑥)))
1413adantll 468 . . . . . 6 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝐹𝑥) = (𝐺𝑥) ↔ 𝑥𝐺(𝐹𝑥)))
1514necon3abid 2375 . . . . 5 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝐹𝑥) ≠ (𝐺𝑥) ↔ ¬ 𝑥𝐺(𝐹𝑥)))
16 funfvex 5503 . . . . . . . 8 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ V)
1716funfni 5288 . . . . . . 7 ((𝐹 Fn 𝐴𝑥𝐴) → (𝐹𝑥) ∈ V)
1817adantlr 469 . . . . . 6 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (𝐹𝑥) ∈ V)
19 breq2 3986 . . . . . . . 8 (𝑦 = (𝐹𝑥) → (𝑥𝐺𝑦𝑥𝐺(𝐹𝑥)))
2019notbid 657 . . . . . . 7 (𝑦 = (𝐹𝑥) → (¬ 𝑥𝐺𝑦 ↔ ¬ 𝑥𝐺(𝐹𝑥)))
2120ceqsexgv 2855 . . . . . 6 ((𝐹𝑥) ∈ V → (∃𝑦(𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ ¬ 𝑥𝐺(𝐹𝑥)))
2218, 21syl 14 . . . . 5 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (∃𝑦(𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ ¬ 𝑥𝐺(𝐹𝑥)))
23 eqcom 2167 . . . . . . . . . 10 (𝑦 = (𝐹𝑥) ↔ (𝐹𝑥) = 𝑦)
24 fnbrfvb 5527 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝑥𝐴) → ((𝐹𝑥) = 𝑦𝑥𝐹𝑦))
2523, 24syl5bb 191 . . . . . . . . 9 ((𝐹 Fn 𝐴𝑥𝐴) → (𝑦 = (𝐹𝑥) ↔ 𝑥𝐹𝑦))
2625adantlr 469 . . . . . . . 8 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (𝑦 = (𝐹𝑥) ↔ 𝑥𝐹𝑦))
2726anbi1d 461 . . . . . . 7 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐺𝑦)))
28 brdif 4035 . . . . . . 7 (𝑥(𝐹𝐺)𝑦 ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐺𝑦))
2927, 28bitr4di 197 . . . . . 6 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → ((𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ 𝑥(𝐹𝐺)𝑦))
3029exbidv 1813 . . . . 5 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (∃𝑦(𝑦 = (𝐹𝑥) ∧ ¬ 𝑥𝐺𝑦) ↔ ∃𝑦 𝑥(𝐹𝐺)𝑦))
3115, 22, 303bitr2rd 216 . . . 4 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (∃𝑦 𝑥(𝐹𝐺)𝑦 ↔ (𝐹𝑥) ≠ (𝐺𝑥)))
3210, 31syl5bb 191 . . 3 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ 𝑥𝐴) → (𝑥 ∈ dom (𝐹𝐺) ↔ (𝐹𝑥) ≠ (𝐺𝑥)))
3332rabbi2dva 3330 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐴 ∩ dom (𝐹𝐺)) = {𝑥𝐴 ∣ (𝐹𝑥) ≠ (𝐺𝑥)})
348, 33eqtr3d 2200 1 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → dom (𝐹𝐺) = {𝑥𝐴 ∣ (𝐹𝑥) ≠ (𝐺𝑥)})
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1343  wex 1480  wcel 2136  wne 2336  {crab 2448  Vcvv 2726  cdif 3113  cin 3115  wss 3116   class class class wbr 3982  dom cdm 4604   Fn wfn 5183  cfv 5188
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 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-iota 5153  df-fun 5190  df-fn 5191  df-fv 5196
This theorem is referenced by:  fndmdifcom  5591
  Copyright terms: Public domain W3C validator