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 44873
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 2031 . . . . . 6 (𝑎 = 𝑡 → (𝑎 = 𝑏𝑡 = 𝑏))
2 neeq1 3007 . . . . . 6 (𝑎 = 𝑡 → (𝑎𝑐𝑡𝑐))
31, 23anbi12d 1435 . . . . 5 (𝑎 = 𝑡 → ((𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ (𝑡 = 𝑏𝑡𝑐𝑏𝑐)))
432exbidv 1930 . . . 4 (𝑎 = 𝑡 → (∃𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ ∃𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐)))
54cbvexvw 2043 . . 3 (∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ ∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐))
65a1i 11 . 2 (𝑎 = 𝑡 → (∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐) ↔ ∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐)))
7 equequ2 2032 . . . . . . 7 (𝑏 = 𝑎 → (𝑡 = 𝑏𝑡 = 𝑎))
8 neeq1 3007 . . . . . . 7 (𝑏 = 𝑎 → (𝑏𝑐𝑎𝑐))
97, 83anbi13d 1436 . . . . . 6 (𝑏 = 𝑎 → ((𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ (𝑡 = 𝑎𝑡𝑐𝑎𝑐)))
109exbidv 1927 . . . . 5 (𝑏 = 𝑎 → (∃𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐)))
1110cbvexvw 2043 . . . 4 (∃𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐))
1211exbii 1853 . . 3 (∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐))
1312a1i 11 . 2 (𝑏 = 𝑎 → (∃𝑡𝑏𝑐(𝑡 = 𝑏𝑡𝑐𝑏𝑐) ↔ ∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐)))
14 equequ1 2031 . . . . . . 7 (𝑡 = 𝑏 → (𝑡 = 𝑎𝑏 = 𝑎))
15 neeq1 3007 . . . . . . 7 (𝑡 = 𝑏 → (𝑡𝑐𝑏𝑐))
1614, 153anbi12d 1435 . . . . . 6 (𝑡 = 𝑏 → ((𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ (𝑏 = 𝑎𝑏𝑐𝑎𝑐)))
17162exbidv 1930 . . . . 5 (𝑡 = 𝑏 → (∃𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐)))
1817cbvexvw 2043 . . . 4 (∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑏𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐))
19 excom 2165 . . . . 5 (∃𝑏𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐))
20 3ancomb 1097 . . . . . . 7 ((𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ (𝑏 = 𝑎𝑎𝑐𝑏𝑐))
21 equcom 2024 . . . . . . . 8 (𝑏 = 𝑎𝑎 = 𝑏)
22213anbi1i 1155 . . . . . . 7 ((𝑏 = 𝑎𝑎𝑐𝑏𝑐) ↔ (𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2320, 22bitri 274 . . . . . 6 ((𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ (𝑎 = 𝑏𝑎𝑐𝑏𝑐))
24233exbii 1855 . . . . 5 (∃𝑎𝑏𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2519, 24bitri 274 . . . 4 (∃𝑏𝑎𝑐(𝑏 = 𝑎𝑏𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2618, 25bitri 274 . . 3 (∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐))
2726a1i 11 . 2 (𝑡 = 𝑏 → (∃𝑡𝑎𝑐(𝑡 = 𝑎𝑡𝑐𝑎𝑐) ↔ ∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐)))
286, 13, 27ichcircshi 44858 1 [𝑎𝑏]∃𝑎𝑏𝑐(𝑎 = 𝑏𝑎𝑐𝑏𝑐)
Colors of variables: wff setvar class
Syntax hints:  wb 205  w3a 1085  wex 1785  wne 2944  [wich 44849
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-9 2119  ax-11 2157  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-3an 1087  df-ex 1786  df-sb 2071  df-cleq 2731  df-ne 2945  df-ich 44850
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator