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 44961
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 44953 . . 3 (𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ↔ (𝐻:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦))))
21simprbi 496 . 2 (𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)))
3 breq1 5154 . . . 4 (𝑥 = 𝐶 → (𝑥𝑅𝑦𝐶𝑅𝑦))
4 fveq2 6914 . . . . 5 (𝑥 = 𝐶 → (𝐻𝑥) = (𝐻𝐶))
54breq1d 5161 . . . 4 (𝑥 = 𝐶 → ((𝐻𝑥)𝑆(𝐻𝑦) ↔ (𝐻𝐶)𝑆(𝐻𝑦)))
63, 5imbi12d 344 . . 3 (𝑥 = 𝐶 → ((𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)) ↔ (𝐶𝑅𝑦 → (𝐻𝐶)𝑆(𝐻𝑦))))
7 breq2 5155 . . . 4 (𝑦 = 𝐷 → (𝐶𝑅𝑦𝐶𝑅𝐷))
8 fveq2 6914 . . . . 5 (𝑦 = 𝐷 → (𝐻𝑦) = (𝐻𝐷))
98breq2d 5163 . . . 4 (𝑦 = 𝐷 → ((𝐻𝐶)𝑆(𝐻𝑦) ↔ (𝐻𝐶)𝑆(𝐻𝐷)))
107, 9imbi12d 344 . . 3 (𝑦 = 𝐷 → ((𝐶𝑅𝑦 → (𝐻𝐶)𝑆(𝐻𝑦)) ↔ (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷))))
116, 10rspc2v 3636 . 2 ((𝐶𝐴𝐷𝐴) → (∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷))))
122, 11mpan9 506 1 ((𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ∧ (𝐶𝐴𝐷𝐴)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3061   class class class wbr 5151  wf 6565  cfv 6569   RelPres wrelp 44952
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1779  df-sb 2065  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3062  df-rab 3437  df-v 3483  df-dif 3969  df-un 3971  df-ss 3983  df-nul 4343  df-if 4535  df-sn 4635  df-pr 4637  df-op 4641  df-uni 4916  df-br 5152  df-iota 6522  df-fv 6577  df-relp 44953
This theorem is referenced by:  relpmin  44962
  Copyright terms: Public domain W3C validator