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 36880
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 36877 . . 3 ((𝑥𝐶𝑥𝐴) ↔ (((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
21albii 1737 . 2 (∀𝑥(𝑥𝐶𝑥𝐴) ↔ ∀𝑥(((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
3 dfss2 3557 . 2 (𝐶𝐴 ↔ ∀𝑥(𝑥𝐶𝑥𝐴))
4 dfcleq 2604 . . 3 (((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)) ↔ ∀𝑥(𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵𝐶))))
5 elun 3715 . . . . . 6 (𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ (𝑥 ∈ (𝐴𝐵) ∨ 𝑥𝐶))
6 elin 3758 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
76orbi1i 541 . . . . . 6 ((𝑥 ∈ (𝐴𝐵) ∨ 𝑥𝐶) ↔ ((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶))
85, 7bitri 263 . . . . 5 (𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ ((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶))
9 elin 3758 . . . . . 6 (𝑥 ∈ (𝐴 ∩ (𝐵𝐶)) ↔ (𝑥𝐴𝑥 ∈ (𝐵𝐶)))
10 elun 3715 . . . . . . 7 (𝑥 ∈ (𝐵𝐶) ↔ (𝑥𝐵𝑥𝐶))
1110anbi2i 726 . . . . . 6 ((𝑥𝐴𝑥 ∈ (𝐵𝐶)) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
129, 11bitri 263 . . . . 5 (𝑥 ∈ (𝐴 ∩ (𝐵𝐶)) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
138, 12bibi12i 328 . . . 4 ((𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵𝐶))) ↔ (((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
1413albii 1737 . . 3 (∀𝑥(𝑥 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵𝐶))) ↔ ∀𝑥(((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
154, 14bitri 263 . 2 (((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)) ↔ ∀𝑥(((𝑥𝐴𝑥𝐵) ∨ 𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶))))
162, 3, 153bitr4i 291 1 (𝐶𝐴 ↔ ((𝐴𝐵) ∪ 𝐶) = (𝐴 ∩ (𝐵𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wo 382  wa 383  wal 1473   = wceq 1475  wcel 1977  cun 3538  cin 3539  wss 3540
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-v 3175  df-un 3545  df-in 3547  df-ss 3554
This theorem is referenced by:  rp-fakeuninass  36881
  Copyright terms: Public domain W3C validator