Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fwfffunres Structured version   Visualization version   GIF version

Theorem fwfffunres 35848
Description: If 𝜓 is function-like over 𝐴, then 𝐹 matches its behavior over 𝑥. (Contributed by BTernaryTau, 28-Sep-2026.)
Hypotheses
Ref Expression
fwfffunres.1 Ⅎ𝑦𝜓
fwfffunres.2 (𝜑 → ∀𝑤 ∈ 𝐴 ∃𝑦∀𝑧 ∈ 𝐴 (𝜓 → 𝑧 = 𝑦))
fwfffunres.3 𝐹 = ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ↾ 𝑥)
Assertion
Ref Expression
fwfffunres (𝜑 → ((𝑧 ∈ 𝐴 ∧ (𝑤 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥 ∧ 𝜓)) ↔ (𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧)))
Distinct variable groups:   𝑧,𝑤   𝑦,𝐴,𝑧
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑤)   𝜓(𝑥, 𝑦, 𝑧, 𝑤)   𝐴(𝑥, 𝑤)   𝐹(𝑥, 𝑦, 𝑧, 𝑤)

Proof of Theorem fwfffunres
StepHypRef Expression
1 fwfffunres.1 . . . . . 6 Ⅎ𝑦𝜓
2 fwfffunres.2 . . . . . 6 (𝜑 → ∀𝑤 ∈ 𝐴 ∃𝑦∀𝑧 ∈ 𝐴 (𝜓 → 𝑧 = 𝑦))
3 eqid 2769 . . . . . 6 {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}
41, 2, 3fwfffun 35847 . . . . 5 (𝜑 → ((𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓) ↔ (𝑤 ∈ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ∧ ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤) = 𝑧)))
54adantr 486 . . . 4 ((𝜑 ∧ 𝑤 ∈ 𝑥) → ((𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓) ↔ (𝑤 ∈ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ∧ ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤) = 𝑧)))
6 fwfffunres.3 . . . . . . . . . 10 𝐹 = ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ↾ 𝑥)
76dmeqi 5901 . . . . . . . . 9 dom 𝐹 = dom ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ↾ 𝑥)
8 dmres 6023 . . . . . . . . 9 dom ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ↾ 𝑥) = (𝑥 ∩ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)})
97, 8eqtri 2792 . . . . . . . 8 dom 𝐹 = (𝑥 ∩ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)})
109elin2 4105 . . . . . . 7 (𝑤 ∈ dom 𝐹 ↔ (𝑤 ∈ 𝑥 ∧ 𝑤 ∈ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}))
1110baib 545 . . . . . 6 (𝑤 ∈ 𝑥 → (𝑤 ∈ dom 𝐹 ↔ 𝑤 ∈ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}))
126fveq1i 6927 . . . . . . . 8 (𝐹‘𝑤) = (({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ↾ 𝑥)‘𝑤)
13 fvres 6945 . . . . . . . 8 (𝑤 ∈ 𝑥 → (({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ↾ 𝑥)‘𝑤) = ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤))
1412, 13eqtrid 2816 . . . . . . 7 (𝑤 ∈ 𝑥 → (𝐹‘𝑤) = ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤))
1514eqeq1d 2771 . . . . . 6 (𝑤 ∈ 𝑥 → ((𝐹‘𝑤) = 𝑧 ↔ ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤) = 𝑧))
1611, 15anbi12d 644 . . . . 5 (𝑤 ∈ 𝑥 → ((𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧) ↔ (𝑤 ∈ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ∧ ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤) = 𝑧)))
1716adantl 487 . . . 4 ((𝜑 ∧ 𝑤 ∈ 𝑥) → ((𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧) ↔ (𝑤 ∈ dom {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)} ∧ ({⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)}‘𝑤) = 𝑧)))
185, 17bitr4d 285 . . 3 ((𝜑 ∧ 𝑤 ∈ 𝑥) → ((𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓) ↔ (𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧)))
1918pm5.32da 590 . 2 (𝜑 → ((𝑤 ∈ 𝑥 ∧ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)) ↔ (𝑤 ∈ 𝑥 ∧ (𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧))))
20 an4 669 . . . 4 (((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴) ∧ (𝑤 ∈ 𝑥 ∧ 𝜓)) ↔ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥) ∧ (𝑤 ∈ 𝐴 ∧ 𝜓)))
21 ancom 466 . . . . 5 ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥) ↔ (𝑤 ∈ 𝑥 ∧ 𝑧 ∈ 𝐴))
2221anbi1i 636 . . . 4 (((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥) ∧ (𝑤 ∈ 𝐴 ∧ 𝜓)) ↔ ((𝑤 ∈ 𝑥 ∧ 𝑧 ∈ 𝐴) ∧ (𝑤 ∈ 𝐴 ∧ 𝜓)))
23 an4 669 . . . 4 (((𝑤 ∈ 𝑥 ∧ 𝑧 ∈ 𝐴) ∧ (𝑤 ∈ 𝐴 ∧ 𝜓)) ↔ ((𝑤 ∈ 𝑥 ∧ 𝑤 ∈ 𝐴) ∧ (𝑧 ∈ 𝐴 ∧ 𝜓)))
2420, 22, 233bitri 300 . . 3 (((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴) ∧ (𝑤 ∈ 𝑥 ∧ 𝜓)) ↔ ((𝑤 ∈ 𝑥 ∧ 𝑤 ∈ 𝐴) ∧ (𝑧 ∈ 𝐴 ∧ 𝜓)))
25 13an22anass 1381 . . 3 ((𝑧 ∈ 𝐴 ∧ (𝑤 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥 ∧ 𝜓)) ↔ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ 𝐴) ∧ (𝑤 ∈ 𝑥 ∧ 𝜓)))
26 13an22anass 1381 . . 3 ((𝑤 ∈ 𝑥 ∧ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)) ↔ ((𝑤 ∈ 𝑥 ∧ 𝑤 ∈ 𝐴) ∧ (𝑧 ∈ 𝐴 ∧ 𝜓)))
2724, 25, 263bitr4i 306 . 2 ((𝑧 ∈ 𝐴 ∧ (𝑤 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥 ∧ 𝜓)) ↔ (𝑤 ∈ 𝑥 ∧ (𝑤 ∈ 𝐴 ∧ 𝑧 ∈ 𝐴 ∧ 𝜓)))
2810simplbi 502 . . . 4 (𝑤 ∈ dom 𝐹 → 𝑤 ∈ 𝑥)
2928adantr 486 . . 3 ((𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧) → 𝑤 ∈ 𝑥)
3029pm4.71ri 570 . 2 ((𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧) ↔ (𝑤 ∈ 𝑥 ∧ (𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧)))
3119, 27, 303bitr4g 317 1 (𝜑 → ((𝑧 ∈ 𝐴 ∧ (𝑤 ∈ 𝐴 ∧ 𝑤 ∈ 𝑥 ∧ 𝜓)) ↔ (𝑤 ∈ dom 𝐹 ∧ (𝐹‘𝑤) = 𝑧)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ∃wex 1814  Ⅎwnf 1818   ∈ wcel 2151  ∀wral 3086   ∩ cin 4094  {copab 5176  dom cdm 5661   ↾ cres 5663  ‘cfv 6573
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-res 5673  df-iota 6527  df-fun 6575  df-fn 6576  df-fv 6581
This theorem is used by:  srepdflem1  36151
  Copyright terms: Public domain W3C validator