HOLE Home Higher-Order Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  HOLE Home  >  Th. List  >  orc GIF version

Theorem orc 155
Description: Or introduction.
Hypotheses
Ref Expression
olc.1 A:∗
olc.2 B:∗
Assertion
Ref Expression
orc A⊧[A B]

Proof of Theorem orc
Dummy variable x is distinct from all other variables.
StepHypRef Expression
1 wim 127 . . . 4 ⇒ :(∗ → (∗ → ∗))
2 olc.1 . . . . 5 A:∗
3 wv 58 . . . . 5 x:∗:∗
41, 2, 3wov 64 . . . 4 [Ax:∗]:∗
5 olc.2 . . . . . 6 B:∗
61, 5, 3wov 64 . . . . 5 [Bx:∗]:∗
71, 6, 3wov 64 . . . 4 [[Bx:∗] ⇒ x:∗]:∗
81, 4, 7wov 64 . . 3 [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]]:∗
9 wtru 40 . . . 4 ⊤:∗
102, 4simpl 22 . . . . . . . . 9 (A, [Ax:∗])⊧A
112, 4simpr 23 . . . . . . . . 9 (A, [Ax:∗])⊧[Ax:∗]
123, 10, 11mpd 146 . . . . . . . 8 (A, [Ax:∗])⊧x:∗
1312, 6adantr 50 . . . . . . 7 ((A, [Ax:∗]), [Bx:∗])⊧x:∗
1413ex 148 . . . . . 6 (A, [Ax:∗])⊧[[Bx:∗] ⇒ x:∗]
1514ex 148 . . . . 5 A⊧[[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]]
1615eqtru 76 . . . 4 A⊧[⊤ = [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]]]
179, 16eqcomi 70 . . 3 A⊧[[[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]] = ⊤]
188, 17leq 81 . 2 A⊧[λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]] = λx:∗ ⊤]
19 wor 130 . . . . 5 :(∗ → (∗ → ∗))
2019, 2, 5wov 64 . . . 4 [A B]:∗
212, 5orval 137 . . . 4 ⊤⊧[[A B] = (λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]])]
228wl 59 . . . . 5 λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]]:(∗ → ∗)
2322alval 132 . . . 4 ⊤⊧[(λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]]) = [λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]] = λx:∗ ⊤]]
2420, 21, 23eqtri 85 . . 3 ⊤⊧[[A B] = [λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]] = λx:∗ ⊤]]
252, 24a1i 28 . 2 A⊧[[A B] = [λx:∗ [[Ax:∗] ⇒ [[Bx:∗] ⇒ x:∗]] = λx:∗ ⊤]]
2618, 25mpbir 77 1 A⊧[A B]
Colors of variables: type var term
Syntax hints:  tv 1  hb 3  kc 5  λkl 6   = ke 7  kt 8  [kbr 9  kct 10  wffMMJ2 11  wffMMJ2t 12  tim 111  tal 112   tor 114
This theorem was proved from axioms:  ax-syl 15  ax-jca 17  ax-simpl 20  ax-simpr 21  ax-id 24  ax-trud 26  ax-cb1 29  ax-cb2 30  ax-refl 39  ax-eqmp 42  ax-ded 43  ax-ceq 46  ax-beta 60  ax-distrc 61  ax-leq 62  ax-distrl 63  ax-hbl1 93  ax-17 95  ax-inst 103
This theorem depends on definitions:  df-ov 65  df-al 116  df-an 118  df-im 119  df-or 122
This theorem is referenced by:  exmid  186
  Copyright terms: Public domain W3C validator