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

Theorem kmlem16 10225
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 10223 . . 3 (∃𝑧 ∈ 𝑥 ∀𝑣 ∈ 𝑧 ∃𝑤 ∈ 𝑥 (𝑧 ≠ 𝑤 ∧ 𝑣 ∈ (𝑧 ∩ 𝑤)) ↔ ∃𝑦∀𝑧∃𝑣∀𝑢(𝑦 ∈ 𝑥 ∧ 𝜑))
51, 2, 3kmlem15 10224 . . . 4 ((¬ 𝑦 ∈ 𝑥 ∧ 𝜒) ↔ ∀𝑧∃𝑣∀𝑢(¬ 𝑦 ∈ 𝑥 ∧ 𝜓))
65exbii 1881 . . 3 (∃𝑦(¬ 𝑦 ∈ 𝑥 ∧ 𝜒) ↔ ∃𝑦∀𝑧∃𝑣∀𝑢(¬ 𝑦 ∈ 𝑥 ∧ 𝜓))
74, 6orbi12i 928 . 2 ((∃𝑧 ∈ 𝑥 ∀𝑣 ∈ 𝑧 ∃𝑤 ∈ 𝑥 (𝑧 ≠ 𝑤 ∧ 𝑣 ∈ (𝑧 ∩ 𝑤)) ∨ ∃𝑦(¬ 𝑦 ∈ 𝑥 ∧ 𝜒)) ↔ (∃𝑦∀𝑧∃𝑣∀𝑢(𝑦 ∈ 𝑥 ∧ 𝜑) ∨ ∃𝑦∀𝑧∃𝑣∀𝑢(¬ 𝑦 ∈ 𝑥 ∧ 𝜓)))
8 19.43 1915 . 2 (∃𝑦(∀𝑧∃𝑣∀𝑢(𝑦 ∈ 𝑥 ∧ 𝜑) ∨ ∀𝑧∃𝑣∀𝑢(¬ 𝑦 ∈ 𝑥 ∧ 𝜓)) ↔ (∃𝑦∀𝑧∃𝑣∀𝑢(𝑦 ∈ 𝑥 ∧ 𝜑) ∨ ∃𝑦∀𝑧∃𝑣∀𝑢(¬ 𝑦 ∈ 𝑥 ∧ 𝜓)))
9 pm3.24 408 . . . . . 6 ¬ (𝑦 ∈ 𝑥 ∧ ¬ 𝑦 ∈ 𝑥)
10 simpl 488 . . . . . . . . 9 ((𝑦 ∈ 𝑥 ∧ 𝜑) → 𝑦 ∈ 𝑥)
1110sps 2222 . . . . . . . 8 (∀𝑢(𝑦 ∈ 𝑥 ∧ 𝜑) → 𝑦 ∈ 𝑥)
1211exlimivv 1965 . . . . . . 7 (∃𝑧∃𝑣∀𝑢(𝑦 ∈ 𝑥 ∧ 𝜑) → 𝑦 ∈ 𝑥)
13 simpl 488 . . . . . . . . 9 ((¬ 𝑦 ∈ 𝑥 ∧ 𝜓) → ¬ 𝑦 ∈ 𝑥)
1413sps 2222 . . . . . . . 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 2145  ∃!weu 2594   ≠ wne 2956  ∀wral 3077  ∃wrex 3087   ∩ cin 3898
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-in 3906
This theorem is used by:  dfackm  10226
  Copyright terms: Public domain W3C validator