Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ichexmpl1 Structured version   Visualization version   GIF version

Theorem ichexmpl1 43680
Description: Example for interchangeable setvar variables in a statement of predicate calculus with equality. (Contributed by AV, 31-Jul-2023.)
Assertion
Ref Expression
ichexmpl1 [𝑎𝑏]∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐)
Distinct variable group:   𝑎,𝑏,𝑐

Proof of Theorem ichexmpl1
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 equequ1 2032 . . . . . 6 (𝑎 = 𝑡 → (𝑎 = 𝑏𝑡 = 𝑏))
2 neeq1 3078 . . . . . 6 (𝑎 = 𝑡 → (𝑎𝑐𝑡𝑐))
31, 23anbi12d 1433 . . . . 5 (𝑎 = 𝑡 → ((𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ (𝑡 = 𝑏𝑡𝑐𝑏𝑐)))
432exbidv 1925 . . . 4 (𝑎 = 𝑡 → (∃𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ ∃𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐)))
54cbvexvw 2044 . . 3 (∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ ∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐))
65a1i 11 . 2 (𝑎 = 𝑡 → (∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ ∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐)))
7 equequ2 2033 . . . . . . 7 (𝑏 = 𝑎 → (𝑡 = 𝑏𝑡 = 𝑎))
8 neeq1 3078 . . . . . . 7 (𝑏 = 𝑎 → (𝑏𝑐𝑎𝑐))
97, 83anbi13d 1434 . . . . . 6 (𝑏 = 𝑎 → ((𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ (𝑡 = 𝑎𝑡𝑐𝑎𝑐)))
109exbidv 1922 . . . . 5 (𝑏 = 𝑎 → (∃𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐)))
1110cbvexvw 2044 . . . 4 (∃𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐))
1211exbii 1848 . . 3 (∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐))
1312a1i 11 . 2 (𝑏 = 𝑎 → (∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐)))
14 equequ1 2032 . . . . . . 7 (𝑡 = 𝑏 → (𝑡 = 𝑎𝑏 = 𝑎))
15 neeq1 3078 . . . . . . 7 (𝑡 = 𝑏 → (𝑡𝑐𝑏𝑐))
1614, 153anbi12d 1433 . . . . . 6 (𝑡 = 𝑏 → ((𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ (𝑏 = 𝑎𝑏𝑐𝑎𝑐)))
17162exbidv 1925 . . . . 5 (𝑡 = 𝑏 → (∃𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐)))
1817cbvexvw 2044 . . . 4 (∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑏𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐))
19 excom 2169 . . . . 5 (∃𝑏𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐))
20 3ancomb 1095 . . . . . . 7 ((𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ (𝑏 = 𝑎𝑎𝑐𝑏𝑐))
21 equcom 2025 . . . . . . . 8 (𝑏 = 𝑎𝑎 = 𝑏)
22213anbi1i 1153 . . . . . . 7 ((𝑏 = 𝑎𝑎𝑐𝑏𝑐) ↔ (𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2320, 22bitri 277 . . . . . 6 ((𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ (𝑎 = 𝑏𝑎𝑐𝑏𝑐))
24233exbii 1850 . . . . 5 (∃𝑎𝑏𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2519, 24bitri 277 . . . 4 (∃𝑏𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2618, 25bitri 277 . . 3 (∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2726a1i 11 . 2 (𝑡 = 𝑏 → (∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐)))
286, 13, 27ichcircshi 43661 1 [𝑎𝑏]∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐)
Colors of variables: wff setvar class
Syntax hints:  wb 208  w3a 1083  wex 1780  wne 3016  [wich 43654
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-9 2124  ax-11 2161  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-3an 1085  df-ex 1781  df-sb 2070  df-cleq 2814  df-ne 3017  df-ich 43655
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator