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

Theorem fvmptt 7025
Description: Closed theorem form of fvmpt 7004. (Contributed by Scott Fenton, 21-Feb-2013.) (Revised by Mario Carneiro, 11-Sep-2015.)
Assertion
Ref Expression
fvmptt ((∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) ∧ 𝐹 = (𝑥 ∈ 𝐷 ↦ 𝐵) ∧ (𝐴 ∈ 𝐷 ∧ 𝐶 ∈ 𝑉)) → (𝐹‘𝐴) = 𝐶)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐶   𝑥,𝐷
Allowed substitution hints:   𝐵(𝑥)   𝐹(𝑥)   𝑉(𝑥)

Proof of Theorem fvmptt
StepHypRef Expression
1 simp2 1155 . . 3 ((∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) ∧ 𝐹 = (𝑥 ∈ 𝐷 ↦ 𝐵) ∧ (𝐴 ∈ 𝐷 ∧ 𝐶 ∈ 𝑉)) → 𝐹 = (𝑥 ∈ 𝐷 ↦ 𝐵))
21fveq1d 6898 . 2 ((∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) ∧ 𝐹 = (𝑥 ∈ 𝐷 ↦ 𝐵) ∧ (𝐴 ∈ 𝐷 ∧ 𝐶 ∈ 𝑉)) → (𝐹‘𝐴) = ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴))
3 risset 3241 . . . . 5 (𝐴 ∈ 𝐷 ↔ ∃𝑥 ∈ 𝐷 𝑥 = 𝐴)
4 elex 3475 . . . . . 6 (𝐶 ∈ 𝑉 → 𝐶 ∈ V)
5 nfa1 2190 . . . . . . 7 Ⅎ𝑥∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶)
6 nfv 1948 . . . . . . . 8 Ⅎ𝑥 𝐶 ∈ V
7 nffvmpt1 6907 . . . . . . . . 9 Ⅎ𝑥((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴)
87nfeq1 2941 . . . . . . . 8 Ⅎ𝑥((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶
96, 8nfim 1930 . . . . . . 7 Ⅎ𝑥(𝐶 ∈ V → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)
10 simprl 783 . . . . . . . . . . . . 13 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → 𝑥 ∈ 𝐷)
11 simplr 781 . . . . . . . . . . . . . 14 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → 𝐵 = 𝐶)
12 simprr 785 . . . . . . . . . . . . . 14 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → 𝐶 ∈ V)
1311, 12eqeltrd 2864 . . . . . . . . . . . . 13 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → 𝐵 ∈ V)
14 eqid 2763 . . . . . . . . . . . . . 14 (𝑥 ∈ 𝐷 ↦ 𝐵) = (𝑥 ∈ 𝐷 ↦ 𝐵)
1514fvmpt2 7016 . . . . . . . . . . . . 13 ((𝑥 ∈ 𝐷 ∧ 𝐵 ∈ V) → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝑥) = 𝐵)
1610, 13, 15syl2anc 596 . . . . . . . . . . . 12 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝑥) = 𝐵)
17 simpll 779 . . . . . . . . . . . . 13 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → 𝑥 = 𝐴)
1817fveq2d 6900 . . . . . . . . . . . 12 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝑥) = ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴))
1916, 18, 113eqtr3d 2806 . . . . . . . . . . 11 (((𝑥 = 𝐴 ∧ 𝐵 = 𝐶) ∧ (𝑥 ∈ 𝐷 ∧ 𝐶 ∈ V)) → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)
2019exp43 442 . . . . . . . . . 10 (𝑥 = 𝐴 → (𝐵 = 𝐶 → (𝑥 ∈ 𝐷 → (𝐶 ∈ V → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶))))
2120a2i 15 . . . . . . . . 9 ((𝑥 = 𝐴 → 𝐵 = 𝐶) → (𝑥 = 𝐴 → (𝑥 ∈ 𝐷 → (𝐶 ∈ V → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶))))
2221com23 87 . . . . . . . 8 ((𝑥 = 𝐴 → 𝐵 = 𝐶) → (𝑥 ∈ 𝐷 → (𝑥 = 𝐴 → (𝐶 ∈ V → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶))))
2322sps 2224 . . . . . . 7 (∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) → (𝑥 ∈ 𝐷 → (𝑥 = 𝐴 → (𝐶 ∈ V → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶))))
245, 9, 23rexlimd 3273 . . . . . 6 (∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) → (∃𝑥 ∈ 𝐷 𝑥 = 𝐴 → (𝐶 ∈ V → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)))
254, 24syl7 75 . . . . 5 (∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) → (∃𝑥 ∈ 𝐷 𝑥 = 𝐴 → (𝐶 ∈ 𝑉 → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)))
263, 25biimtrid 245 . . . 4 (∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) → (𝐴 ∈ 𝐷 → (𝐶 ∈ 𝑉 → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)))
2726imp32 424 . . 3 ((∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) ∧ (𝐴 ∈ 𝐷 ∧ 𝐶 ∈ 𝑉)) → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)
28273adant2 1149 . 2 ((∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) ∧ 𝐹 = (𝑥 ∈ 𝐷 ↦ 𝐵) ∧ (𝐴 ∈ 𝐷 ∧ 𝐶 ∈ 𝑉)) → ((𝑥 ∈ 𝐷 ↦ 𝐵)‘𝐴) = 𝐶)
292, 28eqtrd 2798 1 ((∀𝑥(𝑥 = 𝐴 → 𝐵 = 𝐶) ∧ 𝐹 = (𝑥 ∈ 𝐷 ↦ 𝐵) ∧ (𝐴 ∈ 𝐷 ∧ 𝐶 ∈ 𝑉)) → (𝐹‘𝐴) = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103  ∀wal 1567   = wceq 1569   ∈ wcel 2146  ∃wrex 3090  Vcvv 3454   ↦ cmpt 5189  ‘cfv 6547
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fv 6555
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator