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
| input
stringlengths 73
2.09M
|
|---|---|---|---|---|---|---|---|---|---|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
exact phi_ih
|
v : Var
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β phi.varSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β phi.varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
simp only [occursIn]
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v (phi.imp_ psi) β v β (phi.imp_ psi).varSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β (phi.imp_ psi).varSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v (phi.imp_ psi) β v β (phi.imp_ psi).varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
simp only [varSet]
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β (phi.imp_ psi).varSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β phi.varSet βͺ psi.varSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β (phi.imp_ psi).varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
simp
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β phi.varSet βͺ psi.varSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β phi.varSet β¨ v β psi.varSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β phi.varSet βͺ psi.varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
congr!
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β phi.varSet β¨ v β psi.varSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β v β phi.varSet
psi_ih : occursIn v psi β v β psi.varSet
β’ occursIn v phi β¨ occursIn v psi β v β phi.varSet β¨ v β psi.varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
simp only [occursIn]
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v (forall_ aβ phi) β v β (forall_ aβ phi).varSet
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β (forall_ aβ phi).varSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v (forall_ aβ phi) β v β (forall_ aβ phi).varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
simp only [varSet]
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β (forall_ aβ phi).varSet
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β phi.varSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β (forall_ aβ phi).varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.occursIn_iff_mem_varSet
|
[186, 1]
|
[208, 17]
|
exact phi_ih
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β phi.varSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β v β phi.varSet
β’ occursIn v phi β v β phi.varSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
induction F
|
v : Var
F : Formula
β’ occursIn v F β§ v.isFree β v β F.freeVarSet
|
case pred_
v : Var
aβΒΉ : String
aβ : List Var
β’ occursIn v (pred_ aβΒΉ aβ) β§ v.isFree β v β (pred_ aβΒΉ aβ).freeVarSet
case not_
v : Var
aβ : Formula
a_ihβ : occursIn v aβ β§ v.isFree β v β aβ.freeVarSet
β’ occursIn v aβ.not_ β§ v.isFree β v β aβ.not_.freeVarSet
case imp_
v : Var
aβΒΉ aβ : Formula
a_ihβΒΉ : occursIn v aβΒΉ β§ v.isFree β v β aβΒΉ.freeVarSet
a_ihβ : occursIn v aβ β§ v.isFree β v β aβ.freeVarSet
β’ occursIn v (aβΒΉ.imp_ aβ) β§ v.isFree β v β (aβΒΉ.imp_ aβ).freeVarSet
case forall_
v : Var
aβΒΉ : String
aβ : Formula
a_ihβ : occursIn v aβ β§ v.isFree β v β aβ.freeVarSet
β’ occursIn v (forall_ aβΒΉ aβ) β§ v.isFree β v β (forall_ aβΒΉ aβ).freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
F : Formula
β’ occursIn v F β§ v.isFree β v β F.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case not_ phi phi_ih =>
simp only [Formula.freeVarSet]
simp only [occursIn]
exact phi_ih
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.not_.freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.not_.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case imp_ phi psi phi_ih psi_ih =>
simp only [Formula.freeVarSet]
simp only [occursIn]
simp
tauto
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β (phi.imp_ psi).freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β (phi.imp_ psi).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case forall_ _ phi phi_ih =>
simp only [Formula.freeVarSet]
simp only [occursIn]
exact phi_ih
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β (forall_ aβ phi).freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β (forall_ aβ phi).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Formula.freeVarSet]
|
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isFree β v β (pred_ X vs).freeVarSet
|
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isFree β v β vs.toFinset.biUnion Var.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isFree β v β (pred_ X vs).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [occursIn]
|
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isFree β v β vs.toFinset.biUnion Var.freeVarSet
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β v β vs.toFinset.biUnion Var.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isFree β v β vs.toFinset.biUnion Var.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β v β vs.toFinset.biUnion Var.freeVarSet
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β β a β vs, v β a.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β v β vs.toFinset.biUnion Var.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
constructor
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β β a β vs, v β a.freeVarSet
|
case mp
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β β a β vs, v β a.freeVarSet
case mpr
v : Var
X : String
vs : List Var
β’ (β a β vs, v β a.freeVarSet) β v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β β a β vs, v β a.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
intro a1
|
case mp
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β β a β vs, v β a.freeVarSet
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isFree
β’ β a β vs, v β a.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mp
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isFree β β a β vs, v β a.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
apply Exists.intro v
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isFree
β’ β a β vs, v β a.freeVarSet
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isFree
β’ v β vs β§ v β v.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isFree
β’ β a β vs, v β a.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
cases v
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isFree
β’ v β vs β§ v β v.freeVarSet
|
case mp.free_
X : String
vs : List Var
aβ : String
a1 : free_ aβ β vs β§ (free_ aβ).isFree
β’ free_ aβ β vs β§ free_ aβ β (free_ aβ).freeVarSet
case mp.bound_
X : String
vs : List Var
aβ : β
a1 : bound_ aβ β vs β§ (bound_ aβ).isFree
β’ bound_ aβ β vs β§ bound_ aβ β (bound_ aβ).freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isFree
β’ v β vs β§ v β v.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ x =>
simp only [Var.freeVarSet]
simp
cases a1
case _ a1_left a1_right =>
exact a1_left
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β (free_ x).freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β (free_ x).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ i =>
simp only [isFree] at a1
cases a1
case _ a1_left a1_right =>
contradiction
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isFree
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isFree
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Var.freeVarSet]
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β (free_ x).freeVarSet
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β {free_ x}
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β (free_ x).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β {free_ x}
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs β§ free_ x β {free_ x}
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
cases a1
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs
|
case intro
X : String
vs : List Var
x : String
leftβ : free_ x β vs
rightβ : (free_ x).isFree
β’ free_ x β vs
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isFree
β’ free_ x β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ a1_left a1_right =>
exact a1_left
|
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : (free_ x).isFree
β’ free_ x β vs
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : (free_ x).isFree
β’ free_ x β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
exact a1_left
|
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : (free_ x).isFree
β’ free_ x β vs
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : (free_ x).isFree
β’ free_ x β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [isFree] at a1
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isFree
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isFree
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
cases a1
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
case intro
X : String
vs : List Var
i : β
leftβ : bound_ i β vs
rightβ : False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ a1_left a1_right =>
contradiction
|
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
contradiction
|
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : False
β’ bound_ i β vs β§ bound_ i β (bound_ i).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
intro a1
|
case mpr
v : Var
X : String
vs : List Var
β’ (β a β vs, v β a.freeVarSet) β v β vs β§ v.isFree
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
β’ (β a β vs, v β a.freeVarSet) β v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
apply Exists.elim a1
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
β’ v β vs β§ v.isFree
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
β’ β (a : Var), a β vs β§ v β a.freeVarSet β v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
intro u a2
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
β’ β (a : Var), a β vs β§ v β a.freeVarSet β v β vs β§ v.isFree
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
u : Var
a2 : u β vs β§ v β u.freeVarSet
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
β’ β (a : Var), a β vs β§ v β a.freeVarSet β v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
cases u
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
u : Var
a2 : u β vs β§ v β u.freeVarSet
β’ v β vs β§ v.isFree
|
case mpr.free_
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
aβ : String
a2 : free_ aβ β vs β§ v β (free_ aβ).freeVarSet
β’ v β vs β§ v.isFree
case mpr.bound_
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
aβ : β
a2 : bound_ aβ β vs β§ v β (bound_ aβ).freeVarSet
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
u : Var
a2 : u β vs β§ v β u.freeVarSet
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ x =>
simp only [Var.freeVarSet] at a2
simp at a2
cases a2
case _ a2_left a2_right =>
subst a2_right
simp only [isFree]
simp
exact a2_left
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).freeVarSet
β’ v β vs β§ v.isFree
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).freeVarSet
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ i =>
simp only [Var.freeVarSet] at a2
simp at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).freeVarSet
β’ v β vs β§ v.isFree
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).freeVarSet
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Var.freeVarSet] at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).freeVarSet
β’ v β vs β§ v.isFree
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β {free_ x}
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).freeVarSet
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β {free_ x}
β’ v β vs β§ v.isFree
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v = free_ x
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v β {free_ x}
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
cases a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v = free_ x
β’ v β vs β§ v.isFree
|
case intro
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
leftβ : free_ x β vs
rightβ : v = free_ x
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2 : free_ x β vs β§ v = free_ x
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
case _ a2_left a2_right =>
subst a2_right
simp only [isFree]
simp
exact a2_left
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2_left : free_ x β vs
a2_right : v = free_ x
β’ v β vs β§ v.isFree
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2_left : free_ x β vs
a2_right : v = free_ x
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
subst a2_right
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2_left : free_ x β vs
a2_right : v = free_ x
β’ v β vs β§ v.isFree
|
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs β§ (free_ x).isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
x : String
a2_left : free_ x β vs
a2_right : v = free_ x
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [isFree]
|
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs β§ (free_ x).isFree
|
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs β§ True
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs β§ (free_ x).isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp
|
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs β§ True
|
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs β§ True
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
exact a2_left
|
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a2_left : free_ x β vs
a1 : β a β vs, free_ x β a.freeVarSet
β’ free_ x β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Var.freeVarSet] at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).freeVarSet
β’ v β vs β§ v.isFree
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β β
β’ v β vs β§ v.isFree
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).freeVarSet
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β β
β’ v β vs β§ v.isFree
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.freeVarSet
i : β
a2 : bound_ i β vs β§ v β β
β’ v β vs β§ v.isFree
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Formula.freeVarSet]
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.not_.freeVarSet
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.not_.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [occursIn]
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.freeVarSet
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi β§ v.isFree β v β phi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi.not_ β§ v.isFree β v β phi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
exact phi_ih
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi β§ v.isFree β v β phi.freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi β§ v.isFree β v β phi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Formula.freeVarSet]
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β (phi.imp_ psi).freeVarSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β phi.freeVarSet βͺ psi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β (phi.imp_ psi).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [occursIn]
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β phi.freeVarSet βͺ psi.freeVarSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isFree β v β phi.freeVarSet βͺ psi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isFree β v β phi.freeVarSet βͺ psi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isFree β v β phi.freeVarSet βͺ psi.freeVarSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isFree β v β phi.freeVarSet β¨ v β psi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isFree β v β phi.freeVarSet βͺ psi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
tauto
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isFree β v β phi.freeVarSet β¨ v β psi.freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
psi_ih : occursIn v psi β§ v.isFree β v β psi.freeVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isFree β v β phi.freeVarSet β¨ v β psi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [Formula.freeVarSet]
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β (forall_ aβ phi).freeVarSet
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β phi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β (forall_ aβ phi).freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
simp only [occursIn]
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β phi.freeVarSet
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi β§ v.isFree β v β phi.freeVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isFree β v β phi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isFreeIn_iff_mem_freeVarSet
|
[211, 1]
|
[264, 17]
|
exact phi_ih
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi β§ v.isFree β v β phi.freeVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isFree β v β phi.freeVarSet
β’ occursIn v phi β§ v.isFree β v β phi.freeVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
induction F
|
v : Var
F : Formula
β’ occursIn v F β§ v.isBound β v β F.boundVarSet
|
case pred_
v : Var
aβΒΉ : String
aβ : List Var
β’ occursIn v (pred_ aβΒΉ aβ) β§ v.isBound β v β (pred_ aβΒΉ aβ).boundVarSet
case not_
v : Var
aβ : Formula
a_ihβ : occursIn v aβ β§ v.isBound β v β aβ.boundVarSet
β’ occursIn v aβ.not_ β§ v.isBound β v β aβ.not_.boundVarSet
case imp_
v : Var
aβΒΉ aβ : Formula
a_ihβΒΉ : occursIn v aβΒΉ β§ v.isBound β v β aβΒΉ.boundVarSet
a_ihβ : occursIn v aβ β§ v.isBound β v β aβ.boundVarSet
β’ occursIn v (aβΒΉ.imp_ aβ) β§ v.isBound β v β (aβΒΉ.imp_ aβ).boundVarSet
case forall_
v : Var
aβΒΉ : String
aβ : Formula
a_ihβ : occursIn v aβ β§ v.isBound β v β aβ.boundVarSet
β’ occursIn v (forall_ aβΒΉ aβ) β§ v.isBound β v β (forall_ aβΒΉ aβ).boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
F : Formula
β’ occursIn v F β§ v.isBound β v β F.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case not_ phi phi_ih =>
simp only [Formula.boundVarSet]
simp only [occursIn]
exact phi_ih
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.not_.boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.not_.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case imp_ phi psi phi_ih psi_ih =>
simp only [Formula.boundVarSet]
simp only [occursIn]
simp
tauto
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β (phi.imp_ psi).boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β (phi.imp_ psi).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case forall_ _ phi phi_ih =>
simp only [Formula.boundVarSet]
simp only [occursIn]
exact phi_ih
|
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isBound β v β (forall_ aβ phi).boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
aβ : String
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v (forall_ aβ phi) β§ v.isBound β v β (forall_ aβ phi).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Formula.boundVarSet]
|
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isBound β v β (pred_ X vs).boundVarSet
|
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isBound β v β vs.toFinset.biUnion Var.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isBound β v β (pred_ X vs).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [occursIn]
|
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isBound β v β vs.toFinset.biUnion Var.boundVarSet
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β v β vs.toFinset.biUnion Var.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ occursIn v (pred_ X vs) β§ v.isBound β v β vs.toFinset.biUnion Var.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β v β vs.toFinset.biUnion Var.boundVarSet
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β β a β vs, v β a.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β v β vs.toFinset.biUnion Var.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
constructor
|
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β β a β vs, v β a.boundVarSet
|
case mp
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β β a β vs, v β a.boundVarSet
case mpr
v : Var
X : String
vs : List Var
β’ (β a β vs, v β a.boundVarSet) β v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β β a β vs, v β a.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
intro a1
|
case mp
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β β a β vs, v β a.boundVarSet
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isBound
β’ β a β vs, v β a.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mp
v : Var
X : String
vs : List Var
β’ v β vs β§ v.isBound β β a β vs, v β a.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
apply Exists.intro v
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isBound
β’ β a β vs, v β a.boundVarSet
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isBound
β’ v β vs β§ v β v.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isBound
β’ β a β vs, v β a.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
cases v
|
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isBound
β’ v β vs β§ v β v.boundVarSet
|
case mp.free_
X : String
vs : List Var
aβ : String
a1 : free_ aβ β vs β§ (free_ aβ).isBound
β’ free_ aβ β vs β§ free_ aβ β (free_ aβ).boundVarSet
case mp.bound_
X : String
vs : List Var
aβ : β
a1 : bound_ aβ β vs β§ (bound_ aβ).isBound
β’ bound_ aβ β vs β§ bound_ aβ β (bound_ aβ).boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mp
v : Var
X : String
vs : List Var
a1 : v β vs β§ v.isBound
β’ v β vs β§ v β v.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ x =>
simp only [Var.isBound] at a1
cases a1
case _ a1_left a1_right =>
contradiction
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isBound
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isBound
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ i =>
simp only [Var.boundVarSet]
simp
cases a1
case _ a1_left a1_right =>
exact a1_left
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β (bound_ i).boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β (bound_ i).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Var.isBound] at a1
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isBound
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ (free_ x).isBound
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
cases a1
|
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
case intro
X : String
vs : List Var
x : String
leftβ : free_ x β vs
rightβ : False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1 : free_ x β vs β§ False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ a1_left a1_right =>
contradiction
|
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
contradiction
|
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
x : String
a1_left : free_ x β vs
a1_right : False
β’ free_ x β vs β§ free_ x β (free_ x).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Var.boundVarSet]
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β (bound_ i).boundVarSet
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β {bound_ i}
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β (bound_ i).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β {bound_ i}
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs β§ bound_ i β {bound_ i}
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
cases a1
|
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs
|
case intro
X : String
vs : List Var
i : β
leftβ : bound_ i β vs
rightβ : (bound_ i).isBound
β’ bound_ i β vs
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1 : bound_ i β vs β§ (bound_ i).isBound
β’ bound_ i β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ a1_left a1_right =>
exact a1_left
|
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : (bound_ i).isBound
β’ bound_ i β vs
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : (bound_ i).isBound
β’ bound_ i β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
exact a1_left
|
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : (bound_ i).isBound
β’ bound_ i β vs
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a1_left : bound_ i β vs
a1_right : (bound_ i).isBound
β’ bound_ i β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
intro a1
|
case mpr
v : Var
X : String
vs : List Var
β’ (β a β vs, v β a.boundVarSet) β v β vs β§ v.isBound
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
β’ (β a β vs, v β a.boundVarSet) β v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
apply Exists.elim a1
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
β’ v β vs β§ v.isBound
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
β’ β (a : Var), a β vs β§ v β a.boundVarSet β v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
intro u a2
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
β’ β (a : Var), a β vs β§ v β a.boundVarSet β v β vs β§ v.isBound
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
u : Var
a2 : u β vs β§ v β u.boundVarSet
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
β’ β (a : Var), a β vs β§ v β a.boundVarSet β v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
cases u
|
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
u : Var
a2 : u β vs β§ v β u.boundVarSet
β’ v β vs β§ v.isBound
|
case mpr.free_
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
aβ : String
a2 : free_ aβ β vs β§ v β (free_ aβ).boundVarSet
β’ v β vs β§ v.isBound
case mpr.bound_
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
aβ : β
a2 : bound_ aβ β vs β§ v β (bound_ aβ).boundVarSet
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
case mpr
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
u : Var
a2 : u β vs β§ v β u.boundVarSet
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ x =>
simp only [Var.boundVarSet] at a2
simp at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).boundVarSet
β’ v β vs β§ v.isBound
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).boundVarSet
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ i =>
simp only [Var.boundVarSet] at a2
simp at a2
cases a2
case _ a2_left a2_right =>
subst a2_right
simp only [isBound]
simp
exact a2_left
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).boundVarSet
β’ v β vs β§ v.isBound
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).boundVarSet
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Var.boundVarSet] at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).boundVarSet
β’ v β vs β§ v.isBound
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β β
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β (free_ x).boundVarSet
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β β
β’ v β vs β§ v.isBound
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
x : String
a2 : free_ x β vs β§ v β β
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Var.boundVarSet] at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).boundVarSet
β’ v β vs β§ v.isBound
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β {bound_ i}
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β (bound_ i).boundVarSet
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp at a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β {bound_ i}
β’ v β vs β§ v.isBound
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v = bound_ i
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v β {bound_ i}
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
cases a2
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v = bound_ i
β’ v β vs β§ v.isBound
|
case intro
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
leftβ : bound_ i β vs
rightβ : v = bound_ i
β’ v β vs β§ v.isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2 : bound_ i β vs β§ v = bound_ i
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
case _ a2_left a2_right =>
subst a2_right
simp only [isBound]
simp
exact a2_left
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2_left : bound_ i β vs
a2_right : v = bound_ i
β’ v β vs β§ v.isBound
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2_left : bound_ i β vs
a2_right : v = bound_ i
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
subst a2_right
|
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2_left : bound_ i β vs
a2_right : v = bound_ i
β’ v β vs β§ v.isBound
|
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs β§ (bound_ i).isBound
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
X : String
vs : List Var
a1 : β a β vs, v β a.boundVarSet
i : β
a2_left : bound_ i β vs
a2_right : v = bound_ i
β’ v β vs β§ v.isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [isBound]
|
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs β§ (bound_ i).isBound
|
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs β§ True
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs β§ (bound_ i).isBound
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp
|
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs β§ True
|
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs β§ True
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
exact a2_left
|
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
X : String
vs : List Var
i : β
a2_left : bound_ i β vs
a1 : β a β vs, bound_ i β a.boundVarSet
β’ bound_ i β vs
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Formula.boundVarSet]
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.not_.boundVarSet
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.not_.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [occursIn]
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.boundVarSet
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi β§ v.isBound β v β phi.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi.not_ β§ v.isBound β v β phi.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
exact phi_ih
|
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi β§ v.isBound β v β phi.boundVarSet
|
no goals
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
β’ occursIn v phi β§ v.isBound β v β phi.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [Formula.boundVarSet]
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β (phi.imp_ psi).boundVarSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β phi.boundVarSet βͺ psi.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β (phi.imp_ psi).boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp only [occursIn]
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β phi.boundVarSet βͺ psi.boundVarSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isBound β v β phi.boundVarSet βͺ psi.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ occursIn v (phi.imp_ psi) β§ v.isBound β v β phi.boundVarSet βͺ psi.boundVarSet
TACTIC:
|
https://github.com/pthomas505/FOL.git
|
097a4abea51b641d144539b9a0f7516f3b9d818c
|
FOL/LN/Binders.lean
|
LN.isBoundIn_iff_mem_boundVarSet
|
[267, 1]
|
[320, 17]
|
simp
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isBound β v β phi.boundVarSet βͺ psi.boundVarSet
|
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isBound β v β phi.boundVarSet β¨ v β psi.boundVarSet
|
Please generate a tactic in lean4 to solve the state.
STATE:
v : Var
phi psi : Formula
phi_ih : occursIn v phi β§ v.isBound β v β phi.boundVarSet
psi_ih : occursIn v psi β§ v.isBound β v β psi.boundVarSet
β’ (occursIn v phi β¨ occursIn v psi) β§ v.isBound β v β phi.boundVarSet βͺ psi.boundVarSet
TACTIC:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.