MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  kmlem16 Structured version   Visualization version   GIF version

Theorem kmlem16 10168
Description: Lemma for 5-quantifier AC of Kurt Maes, Th. 4 5 <=> 4. (Contributed by NM, 4-Apr-2004.)
Hypotheses
Ref Expression
kmlem14.1 (𝜑 ↔ (𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)))
kmlem14.2 (𝜓 ↔ (𝑧𝑥 → ((𝑣𝑧𝑣𝑦) ∧ ((𝑢𝑧𝑢𝑦) → 𝑢 = 𝑣))))
kmlem14.3 (𝜒 ↔ ∀𝑧𝑥 ∃!𝑣 𝑣 ∈ (𝑧𝑦))
Assertion
Ref Expression
kmlem16 ((∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ∨ ∃𝑦𝑦𝑥𝜒)) ↔ ∃𝑦𝑧𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢   𝜑,𝑢
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑤, 𝑣)   𝜓(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑢)   𝜒(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑢)

Proof of Theorem kmlem16
StepHypRef Expression
1 kmlem14.1 . . . 4 (𝜑 ↔ (𝑧𝑦 → ((𝑣𝑥𝑦𝑣) ∧ 𝑧𝑣)))
2 kmlem14.2 . . . 4 (𝜓 ↔ (𝑧𝑥 → ((𝑣𝑧𝑣𝑦) ∧ ((𝑢𝑧𝑢𝑦) → 𝑢 = 𝑣))))
3 kmlem14.3 . . . 4 (𝜒 ↔ ∀𝑧𝑥 ∃!𝑣 𝑣 ∈ (𝑧𝑦))
41, 2, 3kmlem14 10166 . . 3 (∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ↔ ∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑))
51, 2, 3kmlem15 10167 . . . 4 ((¬ 𝑦𝑥𝜒) ↔ ∀𝑧𝑣𝑢𝑦𝑥𝜓))
65exbii 1881 . . 3 (∃𝑦𝑦𝑥𝜒) ↔ ∃𝑦𝑧𝑣𝑢𝑦𝑥𝜓))
74, 6orbi12i 928 . 2 ((∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ∨ ∃𝑦𝑦𝑥𝜒)) ↔ (∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑦𝑧𝑣𝑢𝑦𝑥𝜓)))
8 19.43 1915 . 2 (∃𝑦(∀𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∀𝑧𝑣𝑢𝑦𝑥𝜓)) ↔ (∃𝑦𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑦𝑧𝑣𝑢𝑦𝑥𝜓)))
9 pm3.24 408 . . . . . 6 ¬ (𝑦𝑥 ∧ ¬ 𝑦𝑥)
10 simpl 488 . . . . . . . . 9 ((𝑦𝑥𝜑) → 𝑦𝑥)
1110sps 2224 . . . . . . . 8 (∀𝑢(𝑦𝑥𝜑) → 𝑦𝑥)
1211exlimivv 1965 . . . . . . 7 (∃𝑧𝑣𝑢(𝑦𝑥𝜑) → 𝑦𝑥)
13 simpl 488 . . . . . . . . 9 ((¬ 𝑦𝑥𝜓) → ¬ 𝑦𝑥)
1413sps 2224 . . . . . . . 8 (∀𝑢𝑦𝑥𝜓) → ¬ 𝑦𝑥)
1514exlimivv 1965 . . . . . . 7 (∃𝑧𝑣𝑢𝑦𝑥𝜓) → ¬ 𝑦𝑥)
1612, 15anim12i 625 . . . . . 6 ((∃𝑧𝑣𝑢(𝑦𝑥𝜑) ∧ ∃𝑧𝑣𝑢𝑦𝑥𝜓)) → (𝑦𝑥 ∧ ¬ 𝑦𝑥))
179, 16mto 200 . . . . 5 ¬ (∃𝑧𝑣𝑢(𝑦𝑥𝜑) ∧ ∃𝑧𝑣𝑢𝑦𝑥𝜓))
18 19.33b 1918 . . . . 5 (¬ (∃𝑧𝑣𝑢(𝑦𝑥𝜑) ∧ ∃𝑧𝑣𝑢𝑦𝑥𝜓)) → (∀𝑧(∃𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑣𝑢𝑦𝑥𝜓)) ↔ (∀𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∀𝑧𝑣𝑢𝑦𝑥𝜓))))
1917, 18ax-mp 5 . . . 4 (∀𝑧(∃𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑣𝑢𝑦𝑥𝜓)) ↔ (∀𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∀𝑧𝑣𝑢𝑦𝑥𝜓)))
2010exlimiv 1963 . . . . . . . . . 10 (∃𝑢(𝑦𝑥𝜑) → 𝑦𝑥)
2113exlimiv 1963 . . . . . . . . . 10 (∃𝑢𝑦𝑥𝜓) → ¬ 𝑦𝑥)
2220, 21anim12i 625 . . . . . . . . 9 ((∃𝑢(𝑦𝑥𝜑) ∧ ∃𝑢𝑦𝑥𝜓)) → (𝑦𝑥 ∧ ¬ 𝑦𝑥))
239, 22mto 200 . . . . . . . 8 ¬ (∃𝑢(𝑦𝑥𝜑) ∧ ∃𝑢𝑦𝑥𝜓))
24 19.33b 1918 . . . . . . . 8 (¬ (∃𝑢(𝑦𝑥𝜑) ∧ ∃𝑢𝑦𝑥𝜓)) → (∀𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)) ↔ (∀𝑢(𝑦𝑥𝜑) ∨ ∀𝑢𝑦𝑥𝜓))))
2523, 24ax-mp 5 . . . . . . 7 (∀𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)) ↔ (∀𝑢(𝑦𝑥𝜑) ∨ ∀𝑢𝑦𝑥𝜓)))
2625exbii 1881 . . . . . 6 (∃𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)) ↔ ∃𝑣(∀𝑢(𝑦𝑥𝜑) ∨ ∀𝑢𝑦𝑥𝜓)))
27 19.43 1915 . . . . . 6 (∃𝑣(∀𝑢(𝑦𝑥𝜑) ∨ ∀𝑢𝑦𝑥𝜓)) ↔ (∃𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑣𝑢𝑦𝑥𝜓)))
2826, 27bitr2i 279 . . . . 5 ((∃𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑣𝑢𝑦𝑥𝜓)) ↔ ∃𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)))
2928albii 1852 . . . 4 (∀𝑧(∃𝑣𝑢(𝑦𝑥𝜑) ∨ ∃𝑣𝑢𝑦𝑥𝜓)) ↔ ∀𝑧𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)))
3019, 29bitr3i 280 . . 3 ((∀𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∀𝑧𝑣𝑢𝑦𝑥𝜓)) ↔ ∀𝑧𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)))
3130exbii 1881 . 2 (∃𝑦(∀𝑧𝑣𝑢(𝑦𝑥𝜑) ∨ ∀𝑧𝑣𝑢𝑦𝑥𝜓)) ↔ ∃𝑦𝑧𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)))
327, 8, 313bitr2i 302 1 ((∃𝑧𝑥𝑣𝑧𝑤𝑥 (𝑧𝑤𝑣 ∈ (𝑧𝑤)) ∨ ∃𝑦𝑦𝑥𝜒)) ↔ ∃𝑦𝑧𝑣𝑢((𝑦𝑥𝜑) ∨ (¬ 𝑦𝑥𝜓)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 401  wo 861  wal 1568  wex 1812  wcel 2146  ∃!weu 2599  wne 2961  wral 3082  wrex 3092  cin 3907
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-ne 2962  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-in 3915
This theorem is used by:  dfackm  10169
  Copyright terms: Public domain W3C validator