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

Theorem comodular 38283
Description: A strong modular law for the composition of relations. The modular law is an axiom defining allegories. (Contributed by BJ, 7-Nov-2026.)
Assertion
Ref Expression
comodular ((𝐴 ∘ 𝐵) ∩ 𝐶) ⊆ ((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))

Proof of Theorem comodular
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 6126 . . 3 Rel (𝐴 ∘ 𝐵)
2 relin1 5802 . . 3 (Rel (𝐴 ∘ 𝐵) → Rel ((𝐴 ∘ 𝐵) ∩ 𝐶))
31, 2ax-mp 5 . 2 Rel ((𝐴 ∘ 𝐵) ∩ 𝐶)
4 brin 5166 . . . 4 (𝑥((𝐴 ∘ 𝐵) ∩ 𝐶)𝑦 ↔ (𝑥(𝐴 ∘ 𝐵)𝑦 ∧ 𝑥𝐶𝑦))
5 vex 3460 . . . . . . 7 𝑥 ∈ V
6 vex 3460 . . . . . . 7 𝑦 ∈ V
75, 6brco 5863 . . . . . 6 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
8 simprl 783 . . . . . . . . . 10 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑥𝐵𝑧)
9 simpl 488 . . . . . . . . . . 11 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑥𝐶𝑦)
10 simprr 785 . . . . . . . . . . . 12 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑧𝐴𝑦)
11 vex 3460 . . . . . . . . . . . . 13 𝑧 ∈ V
126, 11brcnv 5875 . . . . . . . . . . . 12 (𝑦◡𝐴𝑧 ↔ 𝑧𝐴𝑦)
1310, 12sylibr 237 . . . . . . . . . . 11 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑦◡𝐴𝑧)
145, 6, 11brcoi 5861 . . . . . . . . . . 11 ((𝑥𝐶𝑦 ∧ 𝑦◡𝐴𝑧) → 𝑥(◡𝐴 ∘ 𝐶)𝑧)
159, 13, 14syl2anc 596 . . . . . . . . . 10 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑥(◡𝐴 ∘ 𝐶)𝑧)
16 brin 5166 . . . . . . . . . 10 (𝑥(𝐵 ∩ (◡𝐴 ∘ 𝐶))𝑧 ↔ (𝑥𝐵𝑧 ∧ 𝑥(◡𝐴 ∘ 𝐶)𝑧))
178, 15, 16sylanbrc 595 . . . . . . . . 9 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑥(𝐵 ∩ (◡𝐴 ∘ 𝐶))𝑧)
1811, 5brcnv 5875 . . . . . . . . . . . 12 (𝑧◡𝐵𝑥 ↔ 𝑥𝐵𝑧)
198, 18sylibr 237 . . . . . . . . . . 11 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑧◡𝐵𝑥)
2011, 5, 6brcoi 5861 . . . . . . . . . . 11 ((𝑧◡𝐵𝑥 ∧ 𝑥𝐶𝑦) → 𝑧(𝐶 ∘ ◡𝐵)𝑦)
2119, 9, 20syl2anc 596 . . . . . . . . . 10 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑧(𝐶 ∘ ◡𝐵)𝑦)
22 brin 5166 . . . . . . . . . 10 (𝑧(𝐴 ∩ (𝐶 ∘ ◡𝐵))𝑦 ↔ (𝑧𝐴𝑦 ∧ 𝑧(𝐶 ∘ ◡𝐵)𝑦))
2310, 21, 22sylanbrc 595 . . . . . . . . 9 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑧(𝐴 ∩ (𝐶 ∘ ◡𝐵))𝑦)
245, 11, 6brcoi 5861 . . . . . . . . 9 ((𝑥(𝐵 ∩ (◡𝐴 ∘ 𝐶))𝑧 ∧ 𝑧(𝐴 ∩ (𝐶 ∘ ◡𝐵))𝑦) → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦)
2517, 23, 24syl2anc 596 . . . . . . . 8 ((𝑥𝐶𝑦 ∧ (𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦)) → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦)
2625ex 418 . . . . . . 7 (𝑥𝐶𝑦 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦))
2726exlimdv 1970 . . . . . 6 (𝑥𝐶𝑦 → (∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦))
287, 27biimtrid 245 . . . . 5 (𝑥𝐶𝑦 → (𝑥(𝐴 ∘ 𝐵)𝑦 → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦))
2928impcom 413 . . . 4 ((𝑥(𝐴 ∘ 𝐵)𝑦 ∧ 𝑥𝐶𝑦) → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦)
304, 29sylbi 220 . . 3 (𝑥((𝐴 ∘ 𝐵) ∩ 𝐶)𝑦 → 𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦)
31 df-br 5112 . . 3 (𝑥((𝐴 ∘ 𝐵) ∩ 𝐶)𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ ((𝐴 ∘ 𝐵) ∩ 𝐶))
32 df-br 5112 . . 3 (𝑥((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ ((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶))))
3330, 31, 323imtr3i 294 . 2 (⟨𝑥, 𝑦⟩ ∈ ((𝐴 ∘ 𝐵) ∩ 𝐶) → ⟨𝑥, 𝑦⟩ ∈ ((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶))))
343, 33relssi 5775 1 ((𝐴 ∘ 𝐵) ∩ 𝐶) ⊆ ((𝐴 ∩ (𝐶 ∘ ◡𝐵)) ∘ (𝐵 ∩ (◡𝐴 ∘ 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401  ∃wex 1814   ∈ wcel 2151   ⊆ wss 3902   ∩ cin 4094  ⟨cop 4843   class class class wbr 5111  ◡ccnv 5660   ∘ ccom 5665  Rel wrel 5666
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-ext 2741  ax-sep 5258  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-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  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-br 5112  df-opab 5177  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670
This theorem is used by:  coineq0  38284  coindir  38293  coindi  38295
  Copyright terms: Public domain W3C validator