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

Theorem fveqdmss 6938
Description: If the empty set is not contained in the range of a function, and the function values of another class (not necessarily a function) are equal to the function values of the function for all elements of the domain of the function, then the domain of the function is contained in the domain of the class. (Contributed by AV, 28-Jan-2020.)
Hypothesis
Ref Expression
fveqdmss.1 𝐷 = dom 𝐵
Assertion
Ref Expression
fveqdmss ((Fun 𝐵 ∧ ∅ ∉ ran 𝐵 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → 𝐷 ⊆ dom 𝐴)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐷

Proof of Theorem fveqdmss
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6756 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴𝑥) = (𝐴𝑎))
2 fveq2 6756 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐵𝑥) = (𝐵𝑎))
31, 2eqeq12d 2754 . . . . . . . 8 (𝑥 = 𝑎 → ((𝐴𝑥) = (𝐵𝑥) ↔ (𝐴𝑎) = (𝐵𝑎)))
43rspcva 3550 . . . . . . 7 ((𝑎𝐷 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → (𝐴𝑎) = (𝐵𝑎))
5 nelrnfvne 6937 . . . . . . . . . . . . 13 ((Fun 𝐵𝑎 ∈ dom 𝐵 ∧ ∅ ∉ ran 𝐵) → (𝐵𝑎) ≠ ∅)
6 n0 4277 . . . . . . . . . . . . . 14 ((𝐵𝑎) ≠ ∅ ↔ ∃𝑏 𝑏 ∈ (𝐵𝑎))
7 eleq2 2827 . . . . . . . . . . . . . . . . . 18 ((𝐵𝑎) = (𝐴𝑎) → (𝑏 ∈ (𝐵𝑎) ↔ 𝑏 ∈ (𝐴𝑎)))
87eqcoms 2746 . . . . . . . . . . . . . . . . 17 ((𝐴𝑎) = (𝐵𝑎) → (𝑏 ∈ (𝐵𝑎) ↔ 𝑏 ∈ (𝐴𝑎)))
9 elfvdm 6788 . . . . . . . . . . . . . . . . 17 (𝑏 ∈ (𝐴𝑎) → 𝑎 ∈ dom 𝐴)
108, 9syl6bi 252 . . . . . . . . . . . . . . . 16 ((𝐴𝑎) = (𝐵𝑎) → (𝑏 ∈ (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
1110com12 32 . . . . . . . . . . . . . . 15 (𝑏 ∈ (𝐵𝑎) → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
1211exlimiv 1934 . . . . . . . . . . . . . 14 (∃𝑏 𝑏 ∈ (𝐵𝑎) → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
136, 12sylbi 216 . . . . . . . . . . . . 13 ((𝐵𝑎) ≠ ∅ → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
145, 13syl 17 . . . . . . . . . . . 12 ((Fun 𝐵𝑎 ∈ dom 𝐵 ∧ ∅ ∉ ran 𝐵) → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
15143exp 1117 . . . . . . . . . . 11 (Fun 𝐵 → (𝑎 ∈ dom 𝐵 → (∅ ∉ ran 𝐵 → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))))
1615com12 32 . . . . . . . . . 10 (𝑎 ∈ dom 𝐵 → (Fun 𝐵 → (∅ ∉ ran 𝐵 → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))))
17 fveqdmss.1 . . . . . . . . . 10 𝐷 = dom 𝐵
1816, 17eleq2s 2857 . . . . . . . . 9 (𝑎𝐷 → (Fun 𝐵 → (∅ ∉ ran 𝐵 → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))))
1918com24 95 . . . . . . . 8 (𝑎𝐷 → ((𝐴𝑎) = (𝐵𝑎) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴))))
2019adantr 480 . . . . . . 7 ((𝑎𝐷 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → ((𝐴𝑎) = (𝐵𝑎) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴))))
214, 20mpd 15 . . . . . 6 ((𝑎𝐷 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴)))
2221ex 412 . . . . 5 (𝑎𝐷 → (∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴))))
2322com23 86 . . . 4 (𝑎𝐷 → (∅ ∉ ran 𝐵 → (∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥) → (Fun 𝐵𝑎 ∈ dom 𝐴))))
2423com14 96 . . 3 (Fun 𝐵 → (∅ ∉ ran 𝐵 → (∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥) → (𝑎𝐷𝑎 ∈ dom 𝐴))))
25243imp 1109 . 2 ((Fun 𝐵 ∧ ∅ ∉ ran 𝐵 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → (𝑎𝐷𝑎 ∈ dom 𝐴))
2625ssrdv 3923 1 ((Fun 𝐵 ∧ ∅ ∉ ran 𝐵 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → 𝐷 ⊆ dom 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wex 1783  wcel 2108  wne 2942  wnel 3048  wral 3063  wss 3883  c0 4253  dom cdm 5580  ran crn 5581  Fun wfun 6412  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426
This theorem is referenced by:  fveqressseq  6939
  Copyright terms: Public domain W3C validator