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

Theorem relprel 45301
Description: A relation-preserving function preserves the relation. (Contributed by Eric Schmidt, 11-Oct-2025.)
Assertion
Ref Expression
relprel ((𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ∧ (𝐶𝐴𝐷𝐴)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷)))

Proof of Theorem relprel
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-relp 45293 . . 3 (𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ↔ (𝐻:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦))))
21simprbi 497 . 2 (𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)))
3 breq1 5103 . . . 4 (𝑥 = 𝐶 → (𝑥𝑅𝑦𝐶𝑅𝑦))
4 fveq2 6842 . . . . 5 (𝑥 = 𝐶 → (𝐻𝑥) = (𝐻𝐶))
54breq1d 5110 . . . 4 (𝑥 = 𝐶 → ((𝐻𝑥)𝑆(𝐻𝑦) ↔ (𝐻𝐶)𝑆(𝐻𝑦)))
63, 5imbi12d 344 . . 3 (𝑥 = 𝐶 → ((𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)) ↔ (𝐶𝑅𝑦 → (𝐻𝐶)𝑆(𝐻𝑦))))
7 breq2 5104 . . . 4 (𝑦 = 𝐷 → (𝐶𝑅𝑦𝐶𝑅𝐷))
8 fveq2 6842 . . . . 5 (𝑦 = 𝐷 → (𝐻𝑦) = (𝐻𝐷))
98breq2d 5112 . . . 4 (𝑦 = 𝐷 → ((𝐻𝐶)𝑆(𝐻𝑦) ↔ (𝐻𝐶)𝑆(𝐻𝐷)))
107, 9imbi12d 344 . . 3 (𝑦 = 𝐷 → ((𝐶𝑅𝑦 → (𝐻𝐶)𝑆(𝐻𝑦)) ↔ (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷))))
116, 10rspc2v 3589 . 2 ((𝐶𝐴𝐷𝐴) → (∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷))))
122, 11mpan9 506 1 ((𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ∧ (𝐶𝐴𝐷𝐴)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  wral 3052   class class class wbr 5100  wf 6496  cfv 6500   RelPres wrelp 45292
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-iota 6456  df-fv 6508  df-relp 45293
This theorem is referenced by:  relpmin  45302
  Copyright terms: Public domain W3C validator