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 37520
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 7112 . . . 4 (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))) ∈ V
31, 2eqeltri 2909 . . 3 𝐶 ∈ V
4 ifexg 4514 . . 3 ((𝐶 ∈ V ∧ 𝑋𝐵) → if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V)
53, 4mpan 688 . 2 (𝑋𝐵 → if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V)
6 breq1 5062 . . . . . 6 (𝑥 = 𝑋 → (𝑥 𝑊𝑋 𝑊))
76notbid 320 . . . . 5 (𝑥 = 𝑋 → (¬ 𝑥 𝑊 ↔ ¬ 𝑋 𝑊))
87anbi2d 630 . . . 4 (𝑥 = 𝑋 → ((𝑃𝑄 ∧ ¬ 𝑥 𝑊) ↔ (𝑃𝑄 ∧ ¬ 𝑋 𝑊)))
9 oveq1 7157 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥 𝑊) = (𝑋 𝑊))
109oveq2d 7166 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑠 (𝑥 𝑊)) = (𝑠 (𝑋 𝑊)))
11 id 22 . . . . . . . . . 10 (𝑥 = 𝑋𝑥 = 𝑋)
1210, 11eqeq12d 2837 . . . . . . . . 9 (𝑥 = 𝑋 → ((𝑠 (𝑥 𝑊)) = 𝑥 ↔ (𝑠 (𝑋 𝑊)) = 𝑋))
1312anbi2d 630 . . . . . . . 8 (𝑥 = 𝑋 → ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) ↔ (¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋)))
149oveq2d 7166 . . . . . . . . 9 (𝑥 = 𝑋 → (𝑁 (𝑥 𝑊)) = (𝑁 (𝑋 𝑊)))
1514eqeq2d 2832 . . . . . . . 8 (𝑥 = 𝑋 → (𝑧 = (𝑁 (𝑥 𝑊)) ↔ 𝑧 = (𝑁 (𝑋 𝑊))))
1613, 15imbi12d 347 . . . . . . 7 (𝑥 = 𝑋 → (((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))) ↔ ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
1716ralbidv 3197 . . . . . 6 (𝑥 = 𝑋 → (∀𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))) ↔ ∀𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
1817riotabidv 7110 . . . . 5 (𝑥 = 𝑋 → (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊)))) = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
19 cdleme31.o . . . . 5 𝑂 = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))))
2018, 19, 13eqtr4g 2881 . . . 4 (𝑥 = 𝑋𝑂 = 𝐶)
218, 20, 11ifbieq12d 4494 . . 3 (𝑥 = 𝑋 → if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
22 cdleme31.f . . 3 𝐹 = (𝑥𝐵 ↦ if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥))
2321, 22fvmptg 6761 . 2 ((𝑋𝐵 ∧ if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V) → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
245, 23mpdan 685 1 (𝑋𝐵 → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1533  wcel 2110  wne 3016  wral 3138  Vcvv 3495  ifcif 4467   class class class wbr 5059  cmpt 5139  cfv 6350  crio 7107  (class class class)co 7150
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-iota 6309  df-fun 6352  df-fv 6358  df-riota 7108  df-ov 7153
This theorem is referenced by:  cdleme31fv1  37521
  Copyright terms: Public domain W3C validator