ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ifpnst GIF version

Theorem ifpnst 996
Description: Conditional operator for the negation of a proposition. (Contributed by BJ, 30-Sep-2019.) (Proof shortened by Wolf Lammen, 5-May-2024.)
Assertion
Ref Expression
ifpnst (STAB 𝜑 → (if-(𝜑, 𝜓, 𝜒) ↔ if-(¬ 𝜑, 𝜒, 𝜓)))

Proof of Theorem ifpnst
StepHypRef Expression
1 ifpdc 987 . . 3 (if-(𝜑, 𝜓, 𝜒) → DECID 𝜑)
21adantl 277 . 2 ((STAB 𝜑 ∧ if-(𝜑, 𝜓, 𝜒)) → DECID 𝜑)
3 ifpdc 987 . . 3 (if-(¬ 𝜑, 𝜒, 𝜓) → DECID ¬ 𝜑)
4 stdcndc 852 . . . 4 ((STAB 𝜑DECID ¬ 𝜑) ↔ DECID 𝜑)
54biimpi 120 . . 3 ((STAB 𝜑DECID ¬ 𝜑) → DECID 𝜑)
63, 5sylan2 286 . 2 ((STAB 𝜑 ∧ if-(¬ 𝜑, 𝜒, 𝜓)) → DECID 𝜑)
7 dfifp5dc 992 . . . 4 (DECID 𝜑 → (if-(𝜑, 𝜓, 𝜒) ↔ ((¬ 𝜑𝜓) ∧ (¬ 𝜑𝜒))))
87biancomd 271 . . 3 (DECID 𝜑 → (if-(𝜑, 𝜓, 𝜒) ↔ ((¬ 𝜑𝜒) ∧ (¬ 𝜑𝜓))))
9 dcn 849 . . . 4 (DECID 𝜑DECID ¬ 𝜑)
10 dfifp3dc 990 . . . 4 (DECID ¬ 𝜑 → (if-(¬ 𝜑, 𝜒, 𝜓) ↔ ((¬ 𝜑𝜒) ∧ (¬ 𝜑𝜓))))
119, 10syl 14 . . 3 (DECID 𝜑 → (if-(¬ 𝜑, 𝜒, 𝜓) ↔ ((¬ 𝜑𝜒) ∧ (¬ 𝜑𝜓))))
128, 11bitr4d 191 . 2 (DECID 𝜑 → (if-(𝜑, 𝜓, 𝜒) ↔ if-(¬ 𝜑, 𝜒, 𝜓)))
132, 6, 12pm5.21nd 923 1 (STAB 𝜑 → (if-(𝜑, 𝜓, 𝜒) ↔ if-(¬ 𝜑, 𝜒, 𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 715  STAB wstab 837  DECID wdc 841  if-wif 985
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 716
This theorem depends on definitions:  df-bi 117  df-stab 838  df-dc 842  df-ifp 986
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator