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

Theorem kqt0lem 24082
Description: Lemma for kqt0 24092. (Contributed by Mario Carneiro, 23-Mar-2015.)
Hypothesis
Ref Expression
kqval.2 𝐹 = (𝑥 ∈ 𝑋 ↦ {𝑦 ∈ 𝐽 ∣ 𝑥 ∈ 𝑦})
Assertion
Ref Expression
kqt0lem (𝐽 ∈ (TopOn‘𝑋) → (KQ‘𝐽) ∈ Kol2)
Distinct variable groups:   𝑥,𝑦,𝐽   𝑥,𝑋,𝑦
Allowed substitution hints:   𝐹(𝑥, 𝑦)

Proof of Theorem kqt0lem
Dummy variables 𝑤 𝑧 𝑎 𝑏 𝑢 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 kqval.2 . . . . . . . . . 10 𝐹 = (𝑥 ∈ 𝑋 ↦ {𝑦 ∈ 𝐽 ∣ 𝑥 ∈ 𝑦})
21kqopn 24080 . . . . . . . . 9 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽) → (𝐹 “ 𝑤) ∈ (KQ‘𝐽))
32adantlr 728 . . . . . . . 8 (((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) ∧ 𝑤 ∈ 𝐽) → (𝐹 “ 𝑤) ∈ (KQ‘𝐽))
4 eleq2 2853 . . . . . . . . . 10 (𝑧 = (𝐹 “ 𝑤) → ((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑎) ∈ (𝐹 “ 𝑤)))
5 eleq2 2853 . . . . . . . . . 10 (𝑧 = (𝐹 “ 𝑤) → ((𝐹‘𝑏) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤)))
64, 5bibi12d 348 . . . . . . . . 9 (𝑧 = (𝐹 “ 𝑤) → (((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) ↔ ((𝐹‘𝑎) ∈ (𝐹 “ 𝑤) ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤))))
76rspcv 3576 . . . . . . . 8 ((𝐹 “ 𝑤) ∈ (KQ‘𝐽) → (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → ((𝐹‘𝑎) ∈ (𝐹 “ 𝑤) ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤))))
83, 7syl 18 . . . . . . 7 (((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) ∧ 𝑤 ∈ 𝐽) → (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → ((𝐹‘𝑎) ∈ (𝐹 “ 𝑤) ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤))))
91kqfvima 24076 . . . . . . . . . . 11 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽 ∧ 𝑎 ∈ 𝑋) → (𝑎 ∈ 𝑤 ↔ (𝐹‘𝑎) ∈ (𝐹 “ 𝑤)))
1093expa 1136 . . . . . . . . . 10 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽) ∧ 𝑎 ∈ 𝑋) → (𝑎 ∈ 𝑤 ↔ (𝐹‘𝑎) ∈ (𝐹 “ 𝑤)))
1110adantrr 730 . . . . . . . . 9 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → (𝑎 ∈ 𝑤 ↔ (𝐹‘𝑎) ∈ (𝐹 “ 𝑤)))
121kqfvima 24076 . . . . . . . . . . 11 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽 ∧ 𝑏 ∈ 𝑋) → (𝑏 ∈ 𝑤 ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤)))
13123expa 1136 . . . . . . . . . 10 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽) ∧ 𝑏 ∈ 𝑋) → (𝑏 ∈ 𝑤 ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤)))
1413adantrl 729 . . . . . . . . 9 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → (𝑏 ∈ 𝑤 ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤)))
1511, 14bibi12d 348 . . . . . . . 8 (((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑤 ∈ 𝐽) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → ((𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤) ↔ ((𝐹‘𝑎) ∈ (𝐹 “ 𝑤) ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤))))
1615an32s 665 . . . . . . 7 (((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) ∧ 𝑤 ∈ 𝐽) → ((𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤) ↔ ((𝐹‘𝑎) ∈ (𝐹 “ 𝑤) ↔ (𝐹‘𝑏) ∈ (𝐹 “ 𝑤))))
178, 16sylibrd 262 . . . . . 6 (((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) ∧ 𝑤 ∈ 𝐽) → (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤)))
1817ralrimdva 3166 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → ∀𝑤 ∈ 𝐽 (𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤)))
191kqfeq 24070 . . . . . . 7 ((𝐽 ∈ (TopOn‘𝑋) ∧ 𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋) → ((𝐹‘𝑎) = (𝐹‘𝑏) ↔ ∀𝑦 ∈ 𝐽 (𝑎 ∈ 𝑦 ↔ 𝑏 ∈ 𝑦)))
20193expb 1138 . . . . . 6 ((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → ((𝐹‘𝑎) = (𝐹‘𝑏) ↔ ∀𝑦 ∈ 𝐽 (𝑎 ∈ 𝑦 ↔ 𝑏 ∈ 𝑦)))
21 elequ2 2162 . . . . . . . 8 (𝑦 = 𝑤 → (𝑎 ∈ 𝑦 ↔ 𝑎 ∈ 𝑤))
22 elequ2 2162 . . . . . . . 8 (𝑦 = 𝑤 → (𝑏 ∈ 𝑦 ↔ 𝑏 ∈ 𝑤))
2321, 22bibi12d 348 . . . . . . 7 (𝑦 = 𝑤 → ((𝑎 ∈ 𝑦 ↔ 𝑏 ∈ 𝑦) ↔ (𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤)))
2423cbvralvw 3244 . . . . . 6 (∀𝑦 ∈ 𝐽 (𝑎 ∈ 𝑦 ↔ 𝑏 ∈ 𝑦) ↔ ∀𝑤 ∈ 𝐽 (𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤))
2520, 24bitrdi 290 . . . . 5 ((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → ((𝐹‘𝑎) = (𝐹‘𝑏) ↔ ∀𝑤 ∈ 𝐽 (𝑎 ∈ 𝑤 ↔ 𝑏 ∈ 𝑤)))
2618, 25sylibrd 262 . . . 4 ((𝐽 ∈ (TopOn‘𝑋) ∧ (𝑎 ∈ 𝑋 ∧ 𝑏 ∈ 𝑋)) → (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏)))
2726ralrimivva 3209 . . 3 (𝐽 ∈ (TopOn‘𝑋) → ∀𝑎 ∈ 𝑋 ∀𝑏 ∈ 𝑋 (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏)))
281kqffn 24071 . . . 4 (𝐽 ∈ (TopOn‘𝑋) → 𝐹 Fn 𝑋)
29 eleq1 2852 . . . . . . . . . 10 (𝑢 = (𝐹‘𝑎) → (𝑢 ∈ 𝑧 ↔ (𝐹‘𝑎) ∈ 𝑧))
3029bibi1d 346 . . . . . . . . 9 (𝑢 = (𝐹‘𝑎) → ((𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) ↔ ((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧)))
3130ralbidv 3189 . . . . . . . 8 (𝑢 = (𝐹‘𝑎) → (∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) ↔ ∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧)))
32 eqeq1 2767 . . . . . . . 8 (𝑢 = (𝐹‘𝑎) → (𝑢 = 𝑣 ↔ (𝐹‘𝑎) = 𝑣))
3331, 32imbi12d 347 . . . . . . 7 (𝑢 = (𝐹‘𝑎) → ((∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣) ↔ (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → (𝐹‘𝑎) = 𝑣)))
3433ralbidv 3189 . . . . . 6 (𝑢 = (𝐹‘𝑎) → (∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣) ↔ ∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → (𝐹‘𝑎) = 𝑣)))
3534ralrn 7109 . . . . 5 (𝐹 Fn 𝑋 → (∀𝑢 ∈ ran 𝐹∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣) ↔ ∀𝑎 ∈ 𝑋 ∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → (𝐹‘𝑎) = 𝑣)))
36 eleq1 2852 . . . . . . . . . 10 (𝑣 = (𝐹‘𝑏) → (𝑣 ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧))
3736bibi2d 345 . . . . . . . . 9 (𝑣 = (𝐹‘𝑏) → (((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) ↔ ((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧)))
3837ralbidv 3189 . . . . . . . 8 (𝑣 = (𝐹‘𝑏) → (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) ↔ ∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧)))
39 eqeq2 2775 . . . . . . . 8 (𝑣 = (𝐹‘𝑏) → ((𝐹‘𝑎) = 𝑣 ↔ (𝐹‘𝑎) = (𝐹‘𝑏)))
4038, 39imbi12d 347 . . . . . . 7 (𝑣 = (𝐹‘𝑏) → ((∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → (𝐹‘𝑎) = 𝑣) ↔ (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏))))
4140ralrn 7109 . . . . . 6 (𝐹 Fn 𝑋 → (∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → (𝐹‘𝑎) = 𝑣) ↔ ∀𝑏 ∈ 𝑋 (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏))))
4241ralbidv 3189 . . . . 5 (𝐹 Fn 𝑋 → (∀𝑎 ∈ 𝑋 ∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → (𝐹‘𝑎) = 𝑣) ↔ ∀𝑎 ∈ 𝑋 ∀𝑏 ∈ 𝑋 (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏))))
4335, 42bitrd 282 . . . 4 (𝐹 Fn 𝑋 → (∀𝑢 ∈ ran 𝐹∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣) ↔ ∀𝑎 ∈ 𝑋 ∀𝑏 ∈ 𝑋 (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏))))
4428, 43syl 18 . . 3 (𝐽 ∈ (TopOn‘𝑋) → (∀𝑢 ∈ ran 𝐹∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣) ↔ ∀𝑎 ∈ 𝑋 ∀𝑏 ∈ 𝑋 (∀𝑧 ∈ (KQ‘𝐽)((𝐹‘𝑎) ∈ 𝑧 ↔ (𝐹‘𝑏) ∈ 𝑧) → (𝐹‘𝑎) = (𝐹‘𝑏))))
4527, 44mpbird 260 . 2 (𝐽 ∈ (TopOn‘𝑋) → ∀𝑢 ∈ ran 𝐹∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣))
461kqtopon 24073 . . 3 (𝐽 ∈ (TopOn‘𝑋) → (KQ‘𝐽) ∈ (TopOn‘ran 𝐹))
47 ist0-2 23689 . . 3 ((KQ‘𝐽) ∈ (TopOn‘ran 𝐹) → ((KQ‘𝐽) ∈ Kol2 ↔ ∀𝑢 ∈ ran 𝐹∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣)))
4846, 47syl 18 . 2 (𝐽 ∈ (TopOn‘𝑋) → ((KQ‘𝐽) ∈ Kol2 ↔ ∀𝑢 ∈ ran 𝐹∀𝑣 ∈ ran 𝐹(∀𝑧 ∈ (KQ‘𝐽)(𝑢 ∈ 𝑧 ↔ 𝑣 ∈ 𝑧) → 𝑢 = 𝑣)))
4945, 48mpbird 260 1 (𝐽 ∈ (TopOn‘𝑋) → (KQ‘𝐽) ∈ Kol2)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  {crab 3416   ↦ cmpt 5189  ran crn 5656   “ cima 5658   Fn wfn 6550  ‘cfv 6555  TopOnctopon 23255  Kol2ct0 23651  KQckq 24039
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-qtop 17705  df-top 23239  df-topon 23256  df-t0 23658  df-kq 24040
This theorem is used by:  kqt0  24092  t0kq  24164
  Copyright terms: Public domain W3C validator