Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rp-fakeinunass Structured version   Visualization version   GIF version

Theorem rp-fakeinunass 38178
Description: A special case where a mixture of intersection and union appears to conform to a mixed associative law. (Contributed by Richard Penner, 26-Feb-2020.)
Assertion
Ref Expression
rp-fakeinunass (𝐶𝐴 ↔ ((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)))

Proof of Theorem rp-fakeinunass
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 rp-fakeanorass 38175 . . 3 ((𝑥𝐶𝑥𝐴) ↔ (((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
21albii 1787 . 2 (∀𝑥(𝑥𝐶𝑥𝐴) ↔ ∀𝑥(((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
3 dfss2 3624 . 2 (𝐶𝐴 ↔ ∀𝑥(𝑥𝐶𝑥𝐴))
4 dfcleq 2645 . . 3 (((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)) ↔ ∀𝑥(𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵𝐶))))
5 elun 3786 . . . . . 6 (𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ (𝑥 ∈ (𝐴𝐵) ∨ 𝑥𝐶))
6 elin 3829 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
76orbi1i 541 . . . . . 6 ((𝑥 ∈ (𝐴𝐵) ∨ 𝑥𝐶) ↔ ((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶))
85, 7bitri 264 . . . . 5 (𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ ((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶))
9 elin 3829 . . . . . 6 (𝑥 ∈ (𝐴 ∩ (𝐵𝐶)) ↔ (𝑥𝐴𝑥 ∈ (𝐵𝐶)))
10 elun 3786 . . . . . . 7 (𝑥 ∈ (𝐵𝐶) ↔ (𝑥𝐵𝑥𝐶))
1110anbi2i 730 . . . . . 6 ((𝑥𝐴𝑥 ∈ (𝐵𝐶)) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
129, 11bitri 264 . . . . 5 (𝑥 ∈ (𝐴 ∩ (𝐵𝐶)) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
138, 12bibi12i 328 . . . 4 ((𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵𝐶))) ↔ (((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
1413albii 1787 . . 3 (∀𝑥(𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵𝐶))) ↔ ∀𝑥(((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
154, 14bitri 264 . 2 (((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)) ↔ ∀𝑥(((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
162, 3, 153bitr4i 292 1 (𝐶𝐴 ↔ ((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wo 382  wa 383  wal 1521   = wceq 1523  wcel 2030  cun 3605  cin 3606  wss 3607
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-v 3233  df-un 3612  df-in 3614  df-ss 3621
This theorem is referenced by:  rp-fakeuninass  38179
  Copyright terms: Public domain W3C validator