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

Theorem ax11 214
Description: Axiom of Variable Substitution. It is based on Lemma 16 of [Tarski] p. 70 and Axiom C8 of [Monk2] p. 105, from which it can be proved by cases. (Contributed by Mario Carneiro, 10-Oct-2014.)
Hypothesis
Ref Expression
ax11.1 ⊢ A:∗
Assertion
Ref Expression
ax11 ⊢ ⊤⊧[[x:α = y:α] ⇒ [(∀λy:α A) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]]
Distinct variable groups:   x,A   x,y,α

Proof of Theorem ax11
StepHypRef Expression
1 wal 134 . . . . . . . 8 ⊢ ∀:((α → ∗) → ∗)
2 ax11.1 . . . . . . . . 9 ⊢ A:∗
32wl 66 . . . . . . . 8 ⊢ λy:α A:(α → ∗)
41, 3wc 50 . . . . . . 7 ⊢ (∀λy:α A):∗
54id 25 . . . . . 6 ⊢ (∀λy:α A)⊧(∀λy:α A)
6 wv 64 . . . . . . . . . 10 ⊢ x:α:α
73, 6wc 50 . . . . . . . . 9 ⊢ (λy:α Ax:α):∗
87wl 66 . . . . . . . 8 ⊢ λx:α (λy:α Ax:α):(α → ∗)
93eta 178 . . . . . . . 8 ⊢ ⊤⊧[λx:α (λy:α Ax:α) = λy:α A]
101, 8, 9ceq2 90 . . . . . . 7 ⊢ ⊤⊧[(∀λx:α (λy:α Ax:α)) = (∀λy:α A)]
114, 10a1i 28 . . . . . 6 ⊢ (∀λy:α A)⊧[(∀λx:α (λy:α Ax:α)) = (∀λy:α A)]
125, 11mpbir 87 . . . . 5 ⊢ (∀λy:α A)⊧(∀λx:α (λy:α Ax:α))
13 wim 137 . . . . . . . . 9 ⊢ ⇒ :(∗ → (∗ → ∗))
14 wv 64 . . . . . . . . . 10 ⊢ y:α:α
156, 14weqi 76 . . . . . . . . 9 ⊢ [x:α = y:α]:∗
1613, 15, 2wov 72 . . . . . . . 8 ⊢ [[x:α = y:α] ⇒ A]:∗
1716wl 66 . . . . . . 7 ⊢ λx:α [[x:α = y:α] ⇒ A]:(α → ∗)
181, 17wc 50 . . . . . 6 ⊢ (∀λx:α [[x:α = y:α] ⇒ A]):∗
191, 8wc 50 . . . . . . 7 ⊢ (∀λx:α (λy:α Ax:α)):∗
2019id 25 . . . . . 6 ⊢ (∀λx:α (λy:α Ax:α))⊧(∀λx:α (λy:α Ax:α))
2115, 4simpr 23 . . . . . . . . . . 11 ⊢ ([x:α = y:α], (∀λy:α A))⊧(∀λy:α A)
2221ax-cb1 29 . . . . . . . . . . . 12 ⊢ ([x:α = y:α], (∀λy:α A)):∗
2322, 10a1i 28 . . . . . . . . . . 11 ⊢ ([x:α = y:α], (∀λy:α A))⊧[(∀λx:α (λy:α Ax:α)) = (∀λy:α A)]
2421, 23mpbir 87 . . . . . . . . . 10 ⊢ ([x:α = y:α], (∀λy:α A))⊧(∀λx:α (λy:α Ax:α))
2524ax-cb2 30 . . . . . . . . 9 ⊢ (∀λx:α (λy:α Ax:α)):∗
2613, 25, 18wov 72 . . . . . . . 8 ⊢ [(∀λx:α (λy:α Ax:α)) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]:∗
277, 15simpl 22 . . . . . . . . . . . . 13 ⊢ ((λy:α Ax:α), [x:α = y:α])⊧(λy:α Ax:α)
287, 15simpr 23 . . . . . . . . . . . . . . 15 ⊢ ((λy:α Ax:α), [x:α = y:α])⊧[x:α = y:α]
293, 6, 28ceq2 90 . . . . . . . . . . . . . 14 ⊢ ((λy:α Ax:α), [x:α = y:α])⊧[(λy:α Ax:α) = (λy:α Ay:α)]
307, 15wct 48 . . . . . . . . . . . . . . 15 ⊢ ((λy:α Ax:α), [x:α = y:α]):∗
312beta 92 . . . . . . . . . . . . . . 15 ⊢ ⊤⊧[(λy:α Ay:α) = A]
3230, 31a1i 28 . . . . . . . . . . . . . 14 ⊢ ((λy:α Ax:α), [x:α = y:α])⊧[(λy:α Ay:α) = A]
337, 29, 32eqtri 95 . . . . . . . . . . . . 13 ⊢ ((λy:α Ax:α), [x:α = y:α])⊧[(λy:α Ax:α) = A]
3427, 33mpbi 82 . . . . . . . . . . . 12 ⊢ ((λy:α Ax:α), [x:α = y:α])⊧A
3534ex 158 . . . . . . . . . . 11 ⊢ (λy:α Ax:α)⊧[[x:α = y:α] ⇒ A]
36 wtru 43 . . . . . . . . . . 11 ⊢ ⊤:∗
3735, 36adantl 56 . . . . . . . . . 10 ⊢ (⊤, (λy:α Ax:α))⊧[[x:α = y:α] ⇒ A]
3837ex 158 . . . . . . . . 9 ⊢ ⊤⊧[(λy:α Ax:α) ⇒ [[x:α = y:α] ⇒ A]]
3938alrimiv 151 . . . . . . . 8 ⊢ ⊤⊧(∀λx:α [(λy:α Ax:α) ⇒ [[x:α = y:α] ⇒ A]])
407, 16ax5 207 . . . . . . . 8 ⊢ ⊤⊧[(∀λx:α [(λy:α Ax:α) ⇒ [[x:α = y:α] ⇒ A]]) ⇒ [(∀λx:α (λy:α Ax:α)) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]]
4126, 39, 40mpd 156 . . . . . . 7 ⊢ ⊤⊧[(∀λx:α (λy:α Ax:α)) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]
4219, 41a1i 28 . . . . . 6 ⊢ (∀λx:α (λy:α Ax:α))⊧[(∀λx:α (λy:α Ax:α)) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]
4318, 20, 42mpd 156 . . . . 5 ⊢ (∀λx:α (λy:α Ax:α))⊧(∀λx:α [[x:α = y:α] ⇒ A])
4412, 43syl 16 . . . 4 ⊢ (∀λy:α A)⊧(∀λx:α [[x:α = y:α] ⇒ A])
4536, 15wct 48 . . . 4 ⊢ (⊤, [x:α = y:α]):∗
4644, 45adantl 56 . . 3 ⊢ ((⊤, [x:α = y:α]), (∀λy:α A))⊧(∀λx:α [[x:α = y:α] ⇒ A])
4746ex 158 . 2 ⊢ (⊤, [x:α = y:α])⊧[(∀λy:α A) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]
4847ex 158 1 ⊢ ⊤⊧[[x:α = y:α] ⇒ [(∀λy:α A) ⇒ (∀λx:α [[x:α = y:α] ⇒ A])]]
Colors of variables:    type var term
This proof depends on syntax axioms:  tv 1   → ht 2  ∗hb 3  kc 5  λkl 6   = ke 7  ⊤kt 8  [kbr 9  kct 10  ⊧wffMMJ2 11  wffMMJ2t 12   ⇒ tim 121  ∀tal 122
This proof depends on 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-wctl 31  ax-wctr 32  ax-weq 40  ax-refl 42  ax-eqmp 45  ax-ded 46  ax-wct 47  ax-wc 49  ax-ceq 51  ax-wv 63  ax-wl 65  ax-beta 67  ax-distrc 68  ax-leq 69  ax-distrl 70  ax-wov 71  ax-eqtypi 77  ax-eqtypri 80  ax-hbl1 103  ax-17 105  ax-inst 113  ax-eta 177
This proof depends on definitions:  df-ov 73  df-al 126  df-an 128  df-im 129
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator