HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem elimdhyp 2392
Description: Version of elimhyp 2387 where the hypothesis is deduced from the final antecedent. See ghomgrplem 10345 for an example of its use. (Contributed by Paul Chapman, 25-Mar-2008.)
Hypotheses
Ref Expression
elimdhyp.1 (φψ)
elimdhyp.2 (A = if(φ, A, B) → (ψχ))
elimdhyp.3 (B = if(φ, A, B) → (θχ))
elimdhyp.4 θ
Assertion
Ref Expression
elimdhyp χ

Proof of Theorem elimdhyp
StepHypRef Expression
1 elimdhyp.1 . . 3 (φψ)
2 iftrue 2363 . . . . 5 (φ → if(φ, A, B) = A)
32eqcomd 1478 . . . 4 (φA = if(φ, A, B))
4 elimdhyp.2 . . . 4 (A = if(φ, A, B) → (ψχ))
53, 4syl 10 . . 3 (φ → (ψχ))
61, 5mpbid 195 . 2 (φχ)
7 elimdhyp.4 . . 3 θ
8 iffalse 2364 . . . . 5 φ → if(φ, A, B) = B)
98eqcomd 1478 . . . 4 φB = if(φ, A, B))
10 elimdhyp.3 . . . 4 (B = if(φ, A, B) → (θχ))
119, 10syl 10 . . 3 φ → (θχ))
127, 11mpbii 193 . 2 φχ)
136, 12pm2.61i 126 1 χ
Colors of variables: wff set class
Syntax hints:  ¬ wn 2   → wi 3   ↔ wb 146   = wceq 955   ifcif 2358
This theorem is referenced by:  ghomgrplem 10345
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 961  ax-gen 962  ax-8 963  ax-10 965  ax-12 967  ax-17 970  ax-4 972  ax-5o 974  ax-6o 977  ax-9o 1122  ax-10o 1139  ax-16 1209  ax-11o 1217  ax-ext 1458
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 980  df-sb 1171  df-clab 1463  df-cleq 1468  df-clel 1471  df-if 2359
Copyright terms: Public domain