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 44929
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 44921 . . 3 (𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ↔ (𝐻:𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦))))
21simprbi 496 . 2 (𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)))
3 breq1 5126 . . . 4 (𝑥 = 𝐶 → (𝑥𝑅𝑦𝐶𝑅𝑦))
4 fveq2 6886 . . . . 5 (𝑥 = 𝐶 → (𝐻𝑥) = (𝐻𝐶))
54breq1d 5133 . . . 4 (𝑥 = 𝐶 → ((𝐻𝑥)𝑆(𝐻𝑦) ↔ (𝐻𝐶)𝑆(𝐻𝑦)))
63, 5imbi12d 344 . . 3 (𝑥 = 𝐶 → ((𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)) ↔ (𝐶𝑅𝑦 → (𝐻𝐶)𝑆(𝐻𝑦))))
7 breq2 5127 . . . 4 (𝑦 = 𝐷 → (𝐶𝑅𝑦𝐶𝑅𝐷))
8 fveq2 6886 . . . . 5 (𝑦 = 𝐷 → (𝐻𝑦) = (𝐻𝐷))
98breq2d 5135 . . . 4 (𝑦 = 𝐷 → ((𝐻𝐶)𝑆(𝐻𝑦) ↔ (𝐻𝐶)𝑆(𝐻𝐷)))
107, 9imbi12d 344 . . 3 (𝑦 = 𝐷 → ((𝐶𝑅𝑦 → (𝐻𝐶)𝑆(𝐻𝑦)) ↔ (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷))))
116, 10rspc2v 3616 . 2 ((𝐶𝐴𝐷𝐴) → (∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐻𝑥)𝑆(𝐻𝑦)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷))))
122, 11mpan9 506 1 ((𝐻 RelPres 𝑅, 𝑆(𝐴, 𝐵) ∧ (𝐶𝐴𝐷𝐴)) → (𝐶𝑅𝐷 → (𝐻𝐶)𝑆(𝐻𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2107  wral 3050   class class class wbr 5123  wf 6537  cfv 6541   RelPres wrelp 44920
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 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-ext 2706
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-sb 2064  df-clab 2713  df-cleq 2726  df-clel 2808  df-ral 3051  df-rab 3420  df-v 3465  df-dif 3934  df-un 3936  df-ss 3948  df-nul 4314  df-if 4506  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4888  df-br 5124  df-iota 6494  df-fv 6549  df-relp 44921
This theorem is referenced by:  relpmin  44930
  Copyright terms: Public domain W3C validator