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 35678
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 6615 . . . 4 (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))) ∈ V
31, 2eqeltri 2697 . . 3 𝐶 ∈ V
4 ifexg 4157 . . 3 ((𝐶 ∈ V ∧ 𝑋𝐵) → if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V)
53, 4mpan 706 . 2 (𝑋𝐵 → if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V)
6 breq1 4656 . . . . . 6 (𝑥 = 𝑋 → (𝑥 𝑊𝑋 𝑊))
76notbid 308 . . . . 5 (𝑥 = 𝑋 → (¬ 𝑥 𝑊 ↔ ¬ 𝑋 𝑊))
87anbi2d 740 . . . 4 (𝑥 = 𝑋 → ((𝑃𝑄 ∧ ¬ 𝑥 𝑊) ↔ (𝑃𝑄 ∧ ¬ 𝑋 𝑊)))
9 oveq1 6657 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥 𝑊) = (𝑋 𝑊))
109oveq2d 6666 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑠 (𝑥 𝑊)) = (𝑠 (𝑋 𝑊)))
11 id 22 . . . . . . . . . 10 (𝑥 = 𝑋𝑥 = 𝑋)
1210, 11eqeq12d 2637 . . . . . . . . 9 (𝑥 = 𝑋 → ((𝑠 (𝑥 𝑊)) = 𝑥 ↔ (𝑠 (𝑋 𝑊)) = 𝑋))
1312anbi2d 740 . . . . . . . 8 (𝑥 = 𝑋 → ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) ↔ (¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋)))
149oveq2d 6666 . . . . . . . . 9 (𝑥 = 𝑋 → (𝑁 (𝑥 𝑊)) = (𝑁 (𝑋 𝑊)))
1514eqeq2d 2632 . . . . . . . 8 (𝑥 = 𝑋 → (𝑧 = (𝑁 (𝑥 𝑊)) ↔ 𝑧 = (𝑁 (𝑋 𝑊))))
1613, 15imbi12d 334 . . . . . . 7 (𝑥 = 𝑋 → (((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))) ↔ ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
1716ralbidv 2986 . . . . . 6 (𝑥 = 𝑋 → (∀𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))) ↔ ∀𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
1817riotabidv 6613 . . . . 5 (𝑥 = 𝑋 → (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊)))) = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑋 𝑊)) = 𝑋) → 𝑧 = (𝑁 (𝑋 𝑊)))))
19 cdleme31.o . . . . 5 𝑂 = (𝑧𝐵𝑠𝐴 ((¬ 𝑠 𝑊 ∧ (𝑠 (𝑥 𝑊)) = 𝑥) → 𝑧 = (𝑁 (𝑥 𝑊))))
2018, 19, 13eqtr4g 2681 . . . 4 (𝑥 = 𝑋𝑂 = 𝐶)
218, 20, 11ifbieq12d 4113 . . 3 (𝑥 = 𝑋 → if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
22 cdleme31.f . . 3 𝐹 = (𝑥𝐵 ↦ if((𝑃𝑄 ∧ ¬ 𝑥 𝑊), 𝑂, 𝑥))
2321, 22fvmptg 6280 . 2 ((𝑋𝐵 ∧ if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋) ∈ V) → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
245, 23mpdan 702 1 (𝑋𝐵 → (𝐹𝑋) = if((𝑃𝑄 ∧ ¬ 𝑋 𝑊), 𝐶, 𝑋))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384   = wceq 1483  wcel 1990  wne 2794  wral 2912  Vcvv 3200  ifcif 4086   class class class wbr 4653  cmpt 4729  cfv 5888  crio 6610  (class class class)co 6650
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-iota 5851  df-fun 5890  df-fv 5896  df-riota 6611  df-ov 6653
This theorem is referenced by:  cdleme31fv1  35679
  Copyright terms: Public domain W3C validator