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

Theorem dmrelrnrel 42303
Description: A relation preserving function. (Contributed by Glauco Siliprandi, 26-Jun-2021.)
Hypotheses
Ref Expression
dmrelrnrel.x 𝑥𝜑
dmrelrnrel.y 𝑦𝜑
dmrelrnrel.i (𝜑 → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐹𝑥)𝑆(𝐹𝑦)))
dmrelrnrel.b (𝜑𝐵𝐴)
dmrelrnrel.c (𝜑𝐶𝐴)
dmrelrnrel.r (𝜑𝐵𝑅𝐶)
Assertion
Ref Expression
dmrelrnrel (𝜑 → (𝐹𝐵)𝑆(𝐹𝐶))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑦,𝐶   𝑥,𝐹,𝑦   𝑥,𝑅,𝑦   𝑥,𝑆,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐶(𝑥)

Proof of Theorem dmrelrnrel
StepHypRef Expression
1 id 22 . . 3 (𝜑𝜑)
2 dmrelrnrel.b . . 3 (𝜑𝐵𝐴)
3 dmrelrnrel.c . . 3 (𝜑𝐶𝐴)
41, 2, 3jca31 518 . 2 (𝜑 → ((𝜑𝐵𝐴) ∧ 𝐶𝐴))
5 dmrelrnrel.r . 2 (𝜑𝐵𝑅𝐶)
6 nfv 1921 . . . . 5 𝑦 𝐵𝐴
7 dmrelrnrel.y . . . . . . . 8 𝑦𝜑
87, 6nfan 1906 . . . . . . 7 𝑦(𝜑𝐵𝐴)
9 nfv 1921 . . . . . . 7 𝑦 𝐶𝐴
108, 9nfan 1906 . . . . . 6 𝑦((𝜑𝐵𝐴) ∧ 𝐶𝐴)
11 nfv 1921 . . . . . 6 𝑦(𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶))
1210, 11nfim 1903 . . . . 5 𝑦(((𝜑𝐵𝐴) ∧ 𝐶𝐴) → (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶)))
136, 12nfim 1903 . . . 4 𝑦(𝐵𝐴 → (((𝜑𝐵𝐴) ∧ 𝐶𝐴) → (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶))))
14 eleq1 2820 . . . . . . 7 (𝑦 = 𝐶 → (𝑦𝐴𝐶𝐴))
1514anbi2d 632 . . . . . 6 (𝑦 = 𝐶 → (((𝜑𝐵𝐴) ∧ 𝑦𝐴) ↔ ((𝜑𝐵𝐴) ∧ 𝐶𝐴)))
16 breq2 5034 . . . . . . 7 (𝑦 = 𝐶 → (𝐵𝑅𝑦𝐵𝑅𝐶))
17 fveq2 6674 . . . . . . . 8 (𝑦 = 𝐶 → (𝐹𝑦) = (𝐹𝐶))
1817breq2d 5042 . . . . . . 7 (𝑦 = 𝐶 → ((𝐹𝐵)𝑆(𝐹𝑦) ↔ (𝐹𝐵)𝑆(𝐹𝐶)))
1916, 18imbi12d 348 . . . . . 6 (𝑦 = 𝐶 → ((𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦)) ↔ (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶))))
2015, 19imbi12d 348 . . . . 5 (𝑦 = 𝐶 → ((((𝜑𝐵𝐴) ∧ 𝑦𝐴) → (𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦))) ↔ (((𝜑𝐵𝐴) ∧ 𝐶𝐴) → (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶)))))
2120imbi2d 344 . . . 4 (𝑦 = 𝐶 → ((𝐵𝐴 → (((𝜑𝐵𝐴) ∧ 𝑦𝐴) → (𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦)))) ↔ (𝐵𝐴 → (((𝜑𝐵𝐴) ∧ 𝐶𝐴) → (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶))))))
22 dmrelrnrel.x . . . . . . . 8 𝑥𝜑
23 nfv 1921 . . . . . . . 8 𝑥 𝐵𝐴
2422, 23nfan 1906 . . . . . . 7 𝑥(𝜑𝐵𝐴)
25 nfv 1921 . . . . . . 7 𝑥 𝑦𝐴
2624, 25nfan 1906 . . . . . 6 𝑥((𝜑𝐵𝐴) ∧ 𝑦𝐴)
27 nfv 1921 . . . . . 6 𝑥(𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦))
2826, 27nfim 1903 . . . . 5 𝑥(((𝜑𝐵𝐴) ∧ 𝑦𝐴) → (𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦)))
29 eleq1 2820 . . . . . . . 8 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
3029anbi2d 632 . . . . . . 7 (𝑥 = 𝐵 → ((𝜑𝑥𝐴) ↔ (𝜑𝐵𝐴)))
3130anbi1d 633 . . . . . 6 (𝑥 = 𝐵 → (((𝜑𝑥𝐴) ∧ 𝑦𝐴) ↔ ((𝜑𝐵𝐴) ∧ 𝑦𝐴)))
32 breq1 5033 . . . . . . 7 (𝑥 = 𝐵 → (𝑥𝑅𝑦𝐵𝑅𝑦))
33 fveq2 6674 . . . . . . . 8 (𝑥 = 𝐵 → (𝐹𝑥) = (𝐹𝐵))
3433breq1d 5040 . . . . . . 7 (𝑥 = 𝐵 → ((𝐹𝑥)𝑆(𝐹𝑦) ↔ (𝐹𝐵)𝑆(𝐹𝑦)))
3532, 34imbi12d 348 . . . . . 6 (𝑥 = 𝐵 → ((𝑥𝑅𝑦 → (𝐹𝑥)𝑆(𝐹𝑦)) ↔ (𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦))))
3631, 35imbi12d 348 . . . . 5 (𝑥 = 𝐵 → ((((𝜑𝑥𝐴) ∧ 𝑦𝐴) → (𝑥𝑅𝑦 → (𝐹𝑥)𝑆(𝐹𝑦))) ↔ (((𝜑𝐵𝐴) ∧ 𝑦𝐴) → (𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦)))))
37 dmrelrnrel.i . . . . . . 7 (𝜑 → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦 → (𝐹𝑥)𝑆(𝐹𝑦)))
3837r19.21bi 3121 . . . . . 6 ((𝜑𝑥𝐴) → ∀𝑦𝐴 (𝑥𝑅𝑦 → (𝐹𝑥)𝑆(𝐹𝑦)))
3938r19.21bi 3121 . . . . 5 (((𝜑𝑥𝐴) ∧ 𝑦𝐴) → (𝑥𝑅𝑦 → (𝐹𝑥)𝑆(𝐹𝑦)))
4028, 36, 39vtoclg1f 3469 . . . 4 (𝐵𝐴 → (((𝜑𝐵𝐴) ∧ 𝑦𝐴) → (𝐵𝑅𝑦 → (𝐹𝐵)𝑆(𝐹𝑦))))
4113, 21, 40vtoclg1f 3469 . . 3 (𝐶𝐴 → (𝐵𝐴 → (((𝜑𝐵𝐴) ∧ 𝐶𝐴) → (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶)))))
423, 2, 41sylc 65 . 2 (𝜑 → (((𝜑𝐵𝐴) ∧ 𝐶𝐴) → (𝐵𝑅𝐶 → (𝐹𝐵)𝑆(𝐹𝐶))))
434, 5, 42mp2d 49 1 (𝜑 → (𝐹𝐵)𝑆(𝐹𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wnf 1790  wcel 2114  wral 3053   class class class wbr 5030  cfv 6339
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-12 2179  ax-ext 2710
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-ex 1787  df-nf 1791  df-sb 2075  df-clab 2717  df-cleq 2730  df-clel 2811  df-ral 3058  df-v 3400  df-un 3848  df-in 3850  df-ss 3860  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-iota 6297  df-fv 6347
This theorem is referenced by:  pimincfltioc  43792  pimincfltioo  43794
  Copyright terms: Public domain W3C validator