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

Theorem fveqdmss 6846
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 6670 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴𝑥) = (𝐴𝑎))
2 fveq2 6670 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐵𝑥) = (𝐵𝑎))
31, 2eqeq12d 2837 . . . . . . . 8 (𝑥 = 𝑎 → ((𝐴𝑥) = (𝐵𝑥) ↔ (𝐴𝑎) = (𝐵𝑎)))
43rspcva 3621 . . . . . . 7 ((𝑎𝐷 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → (𝐴𝑎) = (𝐵𝑎))
5 nelrnfvne 6845 . . . . . . . . . . . . 13 ((Fun 𝐵𝑎 ∈ dom 𝐵 ∧ ∅ ∉ ran 𝐵) → (𝐵𝑎) ≠ ∅)
6 n0 4310 . . . . . . . . . . . . . 14 ((𝐵𝑎) ≠ ∅ ↔ ∃𝑏 𝑏 ∈ (𝐵𝑎))
7 eleq2 2901 . . . . . . . . . . . . . . . . . 18 ((𝐵𝑎) = (𝐴𝑎) → (𝑏 ∈ (𝐵𝑎) ↔ 𝑏 ∈ (𝐴𝑎)))
87eqcoms 2829 . . . . . . . . . . . . . . . . 17 ((𝐴𝑎) = (𝐵𝑎) → (𝑏 ∈ (𝐵𝑎) ↔ 𝑏 ∈ (𝐴𝑎)))
9 elfvdm 6702 . . . . . . . . . . . . . . . . 17 (𝑏 ∈ (𝐴𝑎) → 𝑎 ∈ dom 𝐴)
108, 9syl6bi 255 . . . . . . . . . . . . . . . 16 ((𝐴𝑎) = (𝐵𝑎) → (𝑏 ∈ (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
1110com12 32 . . . . . . . . . . . . . . 15 (𝑏 ∈ (𝐵𝑎) → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
1211exlimiv 1931 . . . . . . . . . . . . . 14 (∃𝑏 𝑏 ∈ (𝐵𝑎) → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
136, 12sylbi 219 . . . . . . . . . . . . 13 ((𝐵𝑎) ≠ ∅ → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
145, 13syl 17 . . . . . . . . . . . 12 ((Fun 𝐵𝑎 ∈ dom 𝐵 ∧ ∅ ∉ ran 𝐵) → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))
15143exp 1115 . . . . . . . . . . 11 (Fun 𝐵 → (𝑎 ∈ dom 𝐵 → (∅ ∉ ran 𝐵 → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))))
1615com12 32 . . . . . . . . . 10 (𝑎 ∈ dom 𝐵 → (Fun 𝐵 → (∅ ∉ ran 𝐵 → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))))
17 fveqdmss.1 . . . . . . . . . 10 𝐷 = dom 𝐵
1816, 17eleq2s 2931 . . . . . . . . 9 (𝑎𝐷 → (Fun 𝐵 → (∅ ∉ ran 𝐵 → ((𝐴𝑎) = (𝐵𝑎) → 𝑎 ∈ dom 𝐴))))
1918com24 95 . . . . . . . 8 (𝑎𝐷 → ((𝐴𝑎) = (𝐵𝑎) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴))))
2019adantr 483 . . . . . . 7 ((𝑎𝐷 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → ((𝐴𝑎) = (𝐵𝑎) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴))))
214, 20mpd 15 . . . . . 6 ((𝑎𝐷 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴)))
2221ex 415 . . . . 5 (𝑎𝐷 → (∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥) → (∅ ∉ ran 𝐵 → (Fun 𝐵𝑎 ∈ dom 𝐴))))
2322com23 86 . . . 4 (𝑎𝐷 → (∅ ∉ ran 𝐵 → (∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥) → (Fun 𝐵𝑎 ∈ dom 𝐴))))
2423com14 96 . . 3 (Fun 𝐵 → (∅ ∉ ran 𝐵 → (∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥) → (𝑎𝐷𝑎 ∈ dom 𝐴))))
25243imp 1107 . 2 ((Fun 𝐵 ∧ ∅ ∉ ran 𝐵 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → (𝑎𝐷𝑎 ∈ dom 𝐴))
2625ssrdv 3973 1 ((Fun 𝐵 ∧ ∅ ∉ ran 𝐵 ∧ ∀𝑥𝐷 (𝐴𝑥) = (𝐵𝑥)) → 𝐷 ⊆ dom 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wex 1780  wcel 2114  wne 3016  wnel 3123  wral 3138  wss 3936  c0 4291  dom cdm 5555  ran crn 5556  Fun wfun 6349  cfv 6355
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-iota 6314  df-fun 6357  df-fn 6358  df-fv 6363
This theorem is referenced by:  fveqressseq  6847
  Copyright terms: Public domain W3C validator