url
stringclasses 147
values | commit
stringclasses 147
values | file_path
stringlengths 7
101
| full_name
stringlengths 1
94
| start
stringlengths 6
10
| end
stringlengths 6
11
| tactic
stringlengths 1
11.2k
| state_before
stringlengths 3
2.09M
| state_after
stringlengths 6
2.09M
|
---|---|---|---|---|---|---|---|---|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
case nil =>
apply Exists.intro []
simp
|
h1 : β v β [], Var.lc_at 0 v
β’ β xs, [] = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
case cons hd tl ih =>
simp at h1
cases h1
case intro h1_left h1_right =>
specialize ih h1_right
apply Exists.elim ih
intro xs a1
cases hd
case free_ x =>
apply Exists.intro (x :: xs)
simp
exact a1
case bound_ i =>
simp only [Var.lc_at] at h1_left
simp at h1_left
|
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
h1 : β v β hd :: tl, Var.lc_at 0 v
β’ β xs, hd :: tl = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
apply Exists.intro []
|
h1 : β v β [], Var.lc_at 0 v
β’ β xs, [] = List.map free_ xs
|
h1 : β v β [], Var.lc_at 0 v
β’ [] = List.map free_ []
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
simp
|
h1 : β v β [], Var.lc_at 0 v
β’ [] = List.map free_ []
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
simp at h1
|
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
h1 : β v β hd :: tl, Var.lc_at 0 v
β’ β xs, hd :: tl = List.map free_ xs
|
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
h1 : Var.lc_at 0 hd β§ β a β tl, Var.lc_at 0 a
β’ β xs, hd :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
cases h1
|
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
h1 : Var.lc_at 0 hd β§ β a β tl, Var.lc_at 0 a
β’ β xs, hd :: tl = List.map free_ xs
|
case intro
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
leftβ : Var.lc_at 0 hd
rightβ : β a β tl, Var.lc_at 0 a
β’ β xs, hd :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
case intro h1_left h1_right =>
specialize ih h1_right
apply Exists.elim ih
intro xs a1
cases hd
case free_ x =>
apply Exists.intro (x :: xs)
simp
exact a1
case bound_ i =>
simp only [Var.lc_at] at h1_left
simp at h1_left
|
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
β’ β xs, hd :: tl = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
specialize ih h1_right
|
hd : Var
tl : List Var
ih : (β v β tl, Var.lc_at 0 v) β β xs, tl = List.map free_ xs
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
β’ β xs, hd :: tl = List.map free_ xs
|
hd : Var
tl : List Var
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
β’ β xs, hd :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
apply Exists.elim ih
|
hd : Var
tl : List Var
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
β’ β xs, hd :: tl = List.map free_ xs
|
hd : Var
tl : List Var
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
β’ β (a : List String), tl = List.map free_ a β β xs, hd :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
intro xs a1
|
hd : Var
tl : List Var
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
β’ β (a : List String), tl = List.map free_ a β β xs, hd :: tl = List.map free_ xs
|
hd : Var
tl : List Var
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
β’ β xs, hd :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
cases hd
|
hd : Var
tl : List Var
h1_left : Var.lc_at 0 hd
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
β’ β xs, hd :: tl = List.map free_ xs
|
case free_
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
aβ : String
h1_left : Var.lc_at 0 (free_ aβ)
β’ β xs, free_ aβ :: tl = List.map free_ xs
case bound_
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
aβ : β
h1_left : Var.lc_at 0 (bound_ aβ)
β’ β xs, bound_ aβ :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
case free_ x =>
apply Exists.intro (x :: xs)
simp
exact a1
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
x : String
h1_left : Var.lc_at 0 (free_ x)
β’ β xs, free_ x :: tl = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
case bound_ i =>
simp only [Var.lc_at] at h1_left
simp at h1_left
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
i : β
h1_left : Var.lc_at 0 (bound_ i)
β’ β xs, bound_ i :: tl = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
apply Exists.intro (x :: xs)
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
x : String
h1_left : Var.lc_at 0 (free_ x)
β’ β xs, free_ x :: tl = List.map free_ xs
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
x : String
h1_left : Var.lc_at 0 (free_ x)
β’ free_ x :: tl = List.map free_ (x :: xs)
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
simp
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
x : String
h1_left : Var.lc_at 0 (free_ x)
β’ free_ x :: tl = List.map free_ (x :: xs)
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
x : String
h1_left : Var.lc_at 0 (free_ x)
β’ tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
exact a1
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
x : String
h1_left : Var.lc_at 0 (free_ x)
β’ tl = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
simp only [Var.lc_at] at h1_left
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
i : β
h1_left : Var.lc_at 0 (bound_ i)
β’ β xs, bound_ i :: tl = List.map free_ xs
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
i : β
h1_left : i < 0
β’ β xs, bound_ i :: tl = List.map free_ xs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.free_var_list_to_string_list
|
[186, 1]
|
[210, 24]
|
simp at h1_left
|
tl : List Var
h1_right : β a β tl, Var.lc_at 0 a
ih : β xs, tl = List.map free_ xs
xs : List String
a1 : tl = List.map free_ xs
i : β
h1_left : i < 0
β’ β xs, bound_ i :: tl = List.map free_ xs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
cases v
|
j : β
z : String
v : Var
β’ (Var.open j (free_ z) v).freeVarSet β v.freeVarSet βͺ {free_ z}
|
case free_
j : β
z aβ : String
β’ (Var.open j (free_ z) (free_ aβ)).freeVarSet β (free_ aβ).freeVarSet βͺ {free_ z}
case bound_
j : β
z : String
aβ : β
β’ (Var.open j (free_ z) (bound_ aβ)).freeVarSet β (bound_ aβ).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
case free_ x =>
simp only [Var.open]
simp only [Var.freeVarSet]
simp
|
j : β
z x : String
β’ (Var.open j (free_ z) (free_ x)).freeVarSet β (free_ x).freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
case bound_ i =>
simp only [Var.open]
split_ifs
case _ c1 =>
simp only [Var.freeVarSet]
simp
case _ c1 c2 =>
simp only [Var.freeVarSet]
simp
case _ c1 c2 =>
simp only [Var.freeVarSet]
simp
|
j : β
z : String
i : β
β’ (Var.open j (free_ z) (bound_ i)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp only [Var.open]
|
j : β
z x : String
β’ (Var.open j (free_ z) (free_ x)).freeVarSet β (free_ x).freeVarSet βͺ {free_ z}
|
j : β
z x : String
β’ (free_ x).freeVarSet β (free_ x).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp only [Var.freeVarSet]
|
j : β
z x : String
β’ (free_ x).freeVarSet β (free_ x).freeVarSet βͺ {free_ z}
|
j : β
z x : String
β’ {free_ x} β {free_ x} βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp
|
j : β
z x : String
β’ {free_ x} β {free_ x} βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp only [Var.open]
|
j : β
z : String
i : β
β’ (Var.open j (free_ z) (bound_ i)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
j : β
z : String
i : β
β’ (if i < j then bound_ i else if i = j then free_ z else bound_ (i - 1)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
split_ifs
|
j : β
z : String
i : β
β’ (if i < j then bound_ i else if i = j then free_ z else bound_ (i - 1)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
case pos
j : β
z : String
i : β
hβ : i < j
β’ (bound_ i).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
case pos
j : β
z : String
i : β
hβΒΉ : Β¬i < j
hβ : i = j
β’ (free_ z).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
case neg
j : β
z : String
i : β
hβΒΉ : Β¬i < j
hβ : Β¬i = j
β’ (bound_ (i - 1)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
case _ c1 =>
simp only [Var.freeVarSet]
simp
|
j : β
z : String
i : β
c1 : i < j
β’ (bound_ i).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
case _ c1 c2 =>
simp only [Var.freeVarSet]
simp
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : i = j
β’ (free_ z).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
case _ c1 c2 =>
simp only [Var.freeVarSet]
simp
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : Β¬i = j
β’ (bound_ (i - 1)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp only [Var.freeVarSet]
|
j : β
z : String
i : β
c1 : i < j
β’ (bound_ i).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
j : β
z : String
i : β
c1 : i < j
β’ β
β β
βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp
|
j : β
z : String
i : β
c1 : i < j
β’ β
β β
βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp only [Var.freeVarSet]
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : i = j
β’ (free_ z).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : i = j
β’ {free_ z} β β
βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : i = j
β’ {free_ z} β β
βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp only [Var.freeVarSet]
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : Β¬i = j
β’ (bound_ (i - 1)).freeVarSet β (bound_ i).freeVarSet βͺ {free_ z}
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : Β¬i = j
β’ β
β β
βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenFreeVarSet
|
[216, 1]
|
[238, 11]
|
simp
|
j : β
z : String
i : β
c1 : Β¬i < j
c2 : Β¬i = j
β’ β
β β
βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
induction F generalizing j
|
j : β
z : String
F : Formula
β’ (Formula.open j (free_ z) F).freeVarSet β F.freeVarSet βͺ {free_ z}
|
case pred_
z aβΒΉ : String
aβ : List Var
j : β
β’ (Formula.open j (free_ z) (pred_ aβΒΉ aβ)).freeVarSet β (pred_ aβΒΉ aβ).freeVarSet βͺ {free_ z}
case not_
z : String
aβ : Formula
a_ihβ : β (j : β), (Formula.open j (free_ z) aβ).freeVarSet β aβ.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) aβ.not_).freeVarSet β aβ.not_.freeVarSet βͺ {free_ z}
case imp_
z : String
aβΒΉ aβ : Formula
a_ihβΒΉ : β (j : β), (Formula.open j (free_ z) aβΒΉ).freeVarSet β aβΒΉ.freeVarSet βͺ {free_ z}
a_ihβ : β (j : β), (Formula.open j (free_ z) aβ).freeVarSet β aβ.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) (aβΒΉ.imp_ aβ)).freeVarSet β (aβΒΉ.imp_ aβ).freeVarSet βͺ {free_ z}
case forall_
z aβΒΉ : String
aβ : Formula
a_ihβ : β (j : β), (Formula.open j (free_ z) aβ).freeVarSet β aβ.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) (forall_ aβΒΉ aβ)).freeVarSet β (forall_ aβΒΉ aβ).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
case not_ phi phi_ih =>
simp only [Formula.open]
simp only [Formula.freeVarSet]
apply phi_ih
|
z : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi.not_).freeVarSet β phi.not_.freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
case forall_ x phi phi_ih =>
simp only [Formula.open]
simp only [Formula.freeVarSet]
apply phi_ih
|
z x : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) (forall_ x phi)).freeVarSet β (forall_ x phi).freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.open]
|
z X : String
vs : List Var
j : β
β’ (Formula.open j (free_ z) (pred_ X vs)).freeVarSet β (pred_ X vs).freeVarSet βͺ {free_ z}
|
z X : String
vs : List Var
j : β
β’ (pred_ X (List.map (Var.open j (free_ z)) vs)).freeVarSet β (pred_ X vs).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.freeVarSet]
|
z X : String
vs : List Var
j : β
β’ (pred_ X (List.map (Var.open j (free_ z)) vs)).freeVarSet β (pred_ X vs).freeVarSet βͺ {free_ z}
|
z X : String
vs : List Var
j : β
β’ (List.map (Var.open j (free_ z)) vs).toFinset.biUnion Var.freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp
|
z X : String
vs : List Var
j : β
β’ (List.map (Var.open j (free_ z)) vs).toFinset.biUnion Var.freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
z X : String
vs : List Var
j : β
β’ β a β vs, (Var.open j (free_ z) a).freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
intro v a1
|
z X : String
vs : List Var
j : β
β’ β a β vs, (Var.open j (free_ z) a).freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.open j (free_ z) v).freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
trans Var.freeVarSet v βͺ {free_ z}
|
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.open j (free_ z) v).freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.open j (free_ z) v).freeVarSet β v.freeVarSet βͺ {free_ z}
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet βͺ {free_ z} β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
exact VarOpenFreeVarSet j z v
|
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.open j (free_ z) v).freeVarSet β v.freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
apply Finset.union_subset_union_left
|
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet βͺ {free_ z} β vs.toFinset.biUnion Var.freeVarSet βͺ {free_ z}
|
case h
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet β vs.toFinset.biUnion Var.freeVarSet
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
apply Finset.subset_biUnion_of_mem
|
case h
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet β vs.toFinset.biUnion Var.freeVarSet
|
case h.xs
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs.toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp
|
case h.xs
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs.toFinset
|
case h.xs
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
exact a1
|
case h.xs
z X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.open]
|
z : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi.not_).freeVarSet β phi.not_.freeVarSet βͺ {free_ z}
|
z : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).not_.freeVarSet β phi.not_.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.freeVarSet]
|
z : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).not_.freeVarSet β phi.not_.freeVarSet βͺ {free_ z}
|
z : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
apply phi_ih
|
z : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.open]
|
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) (phi.imp_ psi)).freeVarSet β (phi.imp_ psi).freeVarSet βͺ {free_ z}
|
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ ((Formula.open j (free_ z) phi).imp_ (Formula.open j (free_ z) psi)).freeVarSet β
(phi.imp_ psi).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.freeVarSet]
|
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ ((Formula.open j (free_ z) phi).imp_ (Formula.open j (free_ z) psi)).freeVarSet β
(phi.imp_ psi).freeVarSet βͺ {free_ z}
|
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).freeVarSet βͺ (Formula.open j (free_ z) psi).freeVarSet β
phi.freeVarSet βͺ psi.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
apply Finset.union_subset_union_left_right
|
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).freeVarSet βͺ (Formula.open j (free_ z) psi).freeVarSet β
phi.freeVarSet βͺ psi.freeVarSet βͺ {free_ z}
|
case h1
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
case h2
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
exact phi_ih j
|
case h1
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
exact psi_ih j
|
case h2
z : String
phi psi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
psi_ih : β (j : β), (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) psi).freeVarSet β psi.freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.open]
|
z x : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open j (free_ z) (forall_ x phi)).freeVarSet β (forall_ x phi).freeVarSet βͺ {free_ z}
|
z x : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (forall_ x (Formula.open (j + 1) (free_ z) phi)).freeVarSet β (forall_ x phi).freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
simp only [Formula.freeVarSet]
|
z x : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (forall_ x (Formula.open (j + 1) (free_ z) phi)).freeVarSet β (forall_ x phi).freeVarSet βͺ {free_ z}
|
z x : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open (j + 1) (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenFreeVarSet
|
[241, 1]
|
[273, 17]
|
apply phi_ih
|
z x : String
phi : Formula
phi_ih : β (j : β), (Formula.open j (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
j : β
β’ (Formula.open (j + 1) (free_ z) phi).freeVarSet β phi.freeVarSet βͺ {free_ z}
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
cases v
|
j : β
zs : List String
v : Var
β’ (Var.openList j (List.map free_ zs) v).freeVarSet β v.freeVarSet βͺ (List.map free_ zs).toFinset
|
case free_
j : β
zs : List String
aβ : String
β’ (Var.openList j (List.map free_ zs) (free_ aβ)).freeVarSet β (free_ aβ).freeVarSet βͺ (List.map free_ zs).toFinset
case bound_
j : β
zs : List String
aβ : β
β’ (Var.openList j (List.map free_ zs) (bound_ aβ)).freeVarSet β (bound_ aβ).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
case free_ x =>
simp only [Var.openList]
simp only [Var.freeVarSet]
simp
|
j : β
zs : List String
x : String
β’ (Var.openList j (List.map free_ zs) (free_ x)).freeVarSet β (free_ x).freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
case bound_ i =>
simp only [Var.openList]
split_ifs
case pos c1 =>
simp only [Var.freeVarSet]
simp
case pos c1 c2 =>
simp
simp only [Var.freeVarSet]
simp
apply List.get_mem
case neg c1 c2 =>
simp only [Var.freeVarSet]
simp
|
j : β
zs : List String
i : β
β’ (Var.openList j (List.map free_ zs) (bound_ i)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp only [Var.openList]
|
j : β
zs : List String
x : String
β’ (Var.openList j (List.map free_ zs) (free_ x)).freeVarSet β (free_ x).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
x : String
β’ (free_ x).freeVarSet β (free_ x).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp only [Var.freeVarSet]
|
j : β
zs : List String
x : String
β’ (free_ x).freeVarSet β (free_ x).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
x : String
β’ {free_ x} β {free_ x} βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp
|
j : β
zs : List String
x : String
β’ {free_ x} β {free_ x} βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp only [Var.openList]
|
j : β
zs : List String
i : β
β’ (Var.openList j (List.map free_ zs) (bound_ i)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
i : β
β’ (if i < j then bound_ i
else
if x : i - j < (List.map free_ zs).length then (List.map free_ zs)[i - j]
else bound_ (i - j - (List.map free_ zs).length + j)).freeVarSet β
(bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
split_ifs
|
j : β
zs : List String
i : β
β’ (if i < j then bound_ i
else
if x : i - j < (List.map free_ zs).length then (List.map free_ zs)[i - j]
else bound_ (i - j - (List.map free_ zs).length + j)).freeVarSet β
(bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
case pos
j : β
zs : List String
i : β
hβ : i < j
β’ (bound_ i).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
case pos
j : β
zs : List String
i : β
hβΒΉ : Β¬i < j
hβ : i - j < (List.map free_ zs).length
β’ (List.map free_ zs)[i - j].freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
case neg
j : β
zs : List String
i : β
hβΒΉ : Β¬i < j
hβ : Β¬i - j < (List.map free_ zs).length
β’ (bound_ (i - j - (List.map free_ zs).length + j)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
case pos c1 =>
simp only [Var.freeVarSet]
simp
|
j : β
zs : List String
i : β
c1 : i < j
β’ (bound_ i).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
case pos c1 c2 =>
simp
simp only [Var.freeVarSet]
simp
apply List.get_mem
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ (List.map free_ zs)[i - j].freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
case neg c1 c2 =>
simp only [Var.freeVarSet]
simp
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : Β¬i - j < (List.map free_ zs).length
β’ (bound_ (i - j - (List.map free_ zs).length + j)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp only [Var.freeVarSet]
|
j : β
zs : List String
i : β
c1 : i < j
β’ (bound_ i).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
i : β
c1 : i < j
β’ β
β β
βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp
|
j : β
zs : List String
i : β
c1 : i < j
β’ β
β β
βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ (List.map free_ zs)[i - j].freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ (free_ (zs.get β¨i - j, β―β©)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp only [Var.freeVarSet]
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ (free_ (zs.get β¨i - j, β―β©)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ {free_ (zs.get β¨i - j, β―β©)} β β
βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ {free_ (zs.get β¨i - j, β―β©)} β β
βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ zs.get β¨i - j, β―β© β zs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
apply List.get_mem
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : i - j < (List.map free_ zs).length
β’ zs.get β¨i - j, β―β© β zs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp only [Var.freeVarSet]
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : Β¬i - j < (List.map free_ zs).length
β’ (bound_ (i - j - (List.map free_ zs).length + j)).freeVarSet β (bound_ i).freeVarSet βͺ (List.map free_ zs).toFinset
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : Β¬i - j < (List.map free_ zs).length
β’ β
β β
βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.VarOpenListFreeVarSet
|
[279, 1]
|
[303, 11]
|
simp
|
j : β
zs : List String
i : β
c1 : Β¬i < j
c2 : Β¬i - j < (List.map free_ zs).length
β’ β
β β
βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
induction F generalizing j
|
j : β
zs : List String
F : Formula
β’ (Formula.openList j (List.map free_ zs) F).freeVarSet β F.freeVarSet βͺ (List.map free_ zs).toFinset
|
case pred_
zs : List String
aβΒΉ : String
aβ : List Var
j : β
β’ (Formula.openList j (List.map free_ zs) (pred_ aβΒΉ aβ)).freeVarSet β
(pred_ aβΒΉ aβ).freeVarSet βͺ (List.map free_ zs).toFinset
case not_
zs : List String
aβ : Formula
a_ihβ : β (j : β), (Formula.openList j (List.map free_ zs) aβ).freeVarSet β aβ.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) aβ.not_).freeVarSet β aβ.not_.freeVarSet βͺ (List.map free_ zs).toFinset
case imp_
zs : List String
aβΒΉ aβ : Formula
a_ihβΒΉ :
β (j : β), (Formula.openList j (List.map free_ zs) aβΒΉ).freeVarSet β aβΒΉ.freeVarSet βͺ (List.map free_ zs).toFinset
a_ihβ : β (j : β), (Formula.openList j (List.map free_ zs) aβ).freeVarSet β aβ.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) (aβΒΉ.imp_ aβ)).freeVarSet β
(aβΒΉ.imp_ aβ).freeVarSet βͺ (List.map free_ zs).toFinset
case forall_
zs : List String
aβΒΉ : String
aβ : Formula
a_ihβ : β (j : β), (Formula.openList j (List.map free_ zs) aβ).freeVarSet β aβ.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) (forall_ aβΒΉ aβ)).freeVarSet β
(forall_ aβΒΉ aβ).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
case not_ phi phi_ih =>
simp only [Formula.openList]
simp only [Formula.freeVarSet]
apply phi_ih
|
zs : List String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi.not_).freeVarSet β phi.not_.freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
case forall_ x phi phi_ih =>
simp only [Formula.openList]
simp only [Formula.freeVarSet]
apply phi_ih
|
zs : List String
x : String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) (forall_ x phi)).freeVarSet β
(forall_ x phi).freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.openList]
|
zs : List String
X : String
vs : List Var
j : β
β’ (Formula.openList j (List.map free_ zs) (pred_ X vs)).freeVarSet β
(pred_ X vs).freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
X : String
vs : List Var
j : β
β’ (pred_ X (List.map (Var.openList j (List.map free_ zs)) vs)).freeVarSet β
(pred_ X vs).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.freeVarSet]
|
zs : List String
X : String
vs : List Var
j : β
β’ (pred_ X (List.map (Var.openList j (List.map free_ zs)) vs)).freeVarSet β
(pred_ X vs).freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
X : String
vs : List Var
j : β
β’ (List.map (Var.openList j (List.map free_ zs)) vs).toFinset.biUnion Var.freeVarSet β
vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp
|
zs : List String
X : String
vs : List Var
j : β
β’ (List.map (Var.openList j (List.map free_ zs)) vs).toFinset.biUnion Var.freeVarSet β
vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
X : String
vs : List Var
j : β
β’ β a β vs,
(Var.openList j (List.map free_ zs) a).freeVarSet β
vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
intro v a1
|
zs : List String
X : String
vs : List Var
j : β
β’ β a β vs,
(Var.openList j (List.map free_ zs) a).freeVarSet β
vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.openList j (List.map free_ zs) v).freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
trans v.freeVarSet βͺ (zs.map free_).toFinset
|
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.openList j (List.map free_ zs) v).freeVarSet β vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.openList j (List.map free_ zs) v).freeVarSet β v.freeVarSet βͺ (List.map free_ zs).toFinset
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet βͺ (List.map free_ zs).toFinset β vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
exact VarOpenListFreeVarSet j zs v
|
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ (Var.openList j (List.map free_ zs) v).freeVarSet β v.freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
apply Finset.union_subset_union_left
|
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet βͺ (List.map free_ zs).toFinset β vs.toFinset.biUnion Var.freeVarSet βͺ (List.map free_ zs).toFinset
|
case h
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet β vs.toFinset.biUnion Var.freeVarSet
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
apply Finset.subset_biUnion_of_mem
|
case h
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v.freeVarSet β vs.toFinset.biUnion Var.freeVarSet
|
case h.xs
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs.toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp
|
case h.xs
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs.toFinset
|
case h.xs
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
exact a1
|
case h.xs
zs : List String
X : String
vs : List Var
j : β
v : Var
a1 : v β vs
β’ v β vs
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.openList]
|
zs : List String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi.not_).freeVarSet β phi.not_.freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).not_.freeVarSet β phi.not_.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.freeVarSet]
|
zs : List String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).not_.freeVarSet β phi.not_.freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
apply phi_ih
|
zs : List String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.openList]
|
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) (phi.imp_ psi)).freeVarSet β
(phi.imp_ psi).freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ ((Formula.openList j (List.map free_ zs) phi).imp_ (Formula.openList j (List.map free_ zs) psi)).freeVarSet β
(phi.imp_ psi).freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.freeVarSet]
|
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ ((Formula.openList j (List.map free_ zs) phi).imp_ (Formula.openList j (List.map free_ zs) psi)).freeVarSet β
(phi.imp_ psi).freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).freeVarSet βͺ (Formula.openList j (List.map free_ zs) psi).freeVarSet β
phi.freeVarSet βͺ psi.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
apply Finset.union_subset_union_left_right
|
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).freeVarSet βͺ (Formula.openList j (List.map free_ zs) psi).freeVarSet β
phi.freeVarSet βͺ psi.freeVarSet βͺ (List.map free_ zs).toFinset
|
case h1
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
case h2
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
exact phi_ih j
|
case h1
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
exact psi_ih j
|
case h2
zs : List String
phi psi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
psi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) psi).freeVarSet β psi.freeVarSet βͺ (List.map free_ zs).toFinset
|
no goals
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Paper.lean
|
LN.FormulaOpenListFreeVarSet
|
[306, 1]
|
[338, 17]
|
simp only [Formula.openList]
|
zs : List String
x : String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (Formula.openList j (List.map free_ zs) (forall_ x phi)).freeVarSet β
(forall_ x phi).freeVarSet βͺ (List.map free_ zs).toFinset
|
zs : List String
x : String
phi : Formula
phi_ih :
β (j : β), (Formula.openList j (List.map free_ zs) phi).freeVarSet β phi.freeVarSet βͺ (List.map free_ zs).toFinset
j : β
β’ (forall_ x (Formula.openList (j + 1) (List.map free_ zs) phi)).freeVarSet β
(forall_ x phi).freeVarSet βͺ (List.map free_ zs).toFinset
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.