Users' Mathboxes Mathbox for Norm Megill < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cdleme31fv Structured version   Visualization version   GIF version

Theorem cdleme31fv 37541
Description: Part of proof of Lemma E in [Crawley] p. 113. (Contributed by NM, 10-Feb-2013.)
Hypotheses
Ref Expression
cdleme31.o 𝑂 = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))))
cdleme31.f 𝐹 = (𝑥𝐵 ↦ if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥))
cdleme31.c 𝐶 = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊))))
Assertion
Ref Expression
cdleme31fv (𝑋𝐵 → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
Distinct variable groups:   𝑥,𝐵   𝑥,𝐶   𝑥,   𝑥,𝑃   𝑥,𝑄   𝑥,𝑊   𝑥,𝑠,𝑧,𝑋
Allowed substitution hints:   𝐴(𝑥,𝑧,𝑠)   𝐵(𝑧,𝑠)   𝐶(𝑧,𝑠)   𝑃(𝑧,𝑠)   𝑄(𝑧,𝑠)   𝐹(𝑥,𝑧,𝑠)   (𝑥,𝑧,𝑠)   (𝑧,𝑠)   (𝑥,𝑧,𝑠)   𝑁(𝑥,𝑧,𝑠)   𝑂(𝑥,𝑧,𝑠)   𝑊(𝑧,𝑠)

Proof of Theorem cdleme31fv
StepHypRef Expression
1 cdleme31.c . . . 4 𝐶 = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊))))
2 riotaex 7118 . . . 4 (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))) ∈ V
31, 2eqeltri 2909 . . 3 𝐶 ∈ V
4 ifexg 4514 . . 3 ((𝐶 ∈ V ∧ 𝑋𝐵) → if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V)
53, 4mpan 688 . 2 (𝑋𝐵 → if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V)
6 breq1 5069 . . . . . 6 (𝑥 = 𝑋 → (𝑥 𝑊𝑋 𝑊))
76notbid 320 . . . . 5 (𝑥 = 𝑋 → (¬ 𝑥 𝑊 ↔ ¬ 𝑋 𝑊))
87anbi2d 630 . . . 4 (𝑥 = 𝑋 → ((𝑃𝑄 ∧ ¬ 𝑥 𝑊) ↔ (𝑃𝑄 ∧ ¬ 𝑋 𝑊)))
9 oveq1 7163 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥 𝑊) = (𝑋 𝑊))
109oveq2d 7172 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑠 (𝑥 𝑊)) = (𝑠 (𝑋 𝑊)))
11 id 22 . . . . . . . . . 10 (𝑥 = 𝑋𝑥 = 𝑋)
1210, 11eqeq12d 2837 . . . . . . . . 9 (𝑥 = 𝑋 → ((𝑠 (𝑥 𝑊)) = 𝑥 ↔ (𝑠 (𝑋 𝑊)) = 𝑋))
1312anbi2d 630 . . . . . . . 8 (𝑥 = 𝑋 → ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) ↔ (¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋)))
149oveq2d 7172 . . . . . . . . 9 (𝑥 = 𝑋 → (𝑁 (𝑥 𝑊)) = (𝑁 (𝑋 𝑊)))
1514eqeq2d 2832 . . . . . . . 8 (𝑥 = 𝑋 → (𝑧 = (𝑁 (𝑥 𝑊)) ↔ 𝑧 = (𝑁 (𝑋 𝑊))))
1613, 15imbi12d 347 . . . . . . 7 (𝑥 = 𝑋 → (((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))) ↔ ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
1716ralbidv 3197 . . . . . 6 (𝑥 = 𝑋 → (∀𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))) ↔ ∀𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
1817riotabidv 7116 . . . . 5 (𝑥 = 𝑋 → (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊)))) = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
19 cdleme31.o . . . . 5 𝑂 = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))))
2018, 19, 13eqtr4g 2881 . . . 4 (𝑥 = 𝑋𝑂 = 𝐶)
218, 20, 11ifbieq12d 4494 . . 3 (𝑥 = 𝑋 → if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
22 cdleme31.f . . 3 𝐹 = (𝑥𝐵 ↦ if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥))
2321, 22fvmptg 6766 . 2 ((𝑋𝐵 ∧ if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V) → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
245, 23mpdan 685 1 (𝑋𝐵 → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1537  wcel 2114  wne 3016  wral 3138  Vcvv 3494  ifcif 4467   class class class wbr 5066  cmpt 5146  cfv 6355  crio 7113  (class class class)co 7156
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-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-iota 6314  df-fun 6357  df-fv 6363  df-riota 7114  df-ov 7159
This theorem is referenced by:  cdleme31fv1  37542
  Copyright terms: Public domain W3C validator