Theorem: FOL.NV.Sub.Var.One.Rec.fastAdmitsAux_del_binders (FOL/NV/Sub/Var/One/Rec/Admits.lean)

State before:
F : Formula
v u : VarName
S T : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) F
⊢ fastAdmitsAux v u S F
Tactic:
induction F generalizing S
State after:
case pred_const_
v u : VarName
T : Finset VarName
a✝¹ : PredName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (pred_const_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (pred_const_ a✝¹ a✝)

case pred_var_
v u : VarName
T : Finset VarName
a✝¹ : PredName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (pred_var_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (pred_var_ a✝¹ a✝)

case eq_
v u : VarName
T : Finset VarName
a✝¹ a✝ : VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (eq_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (eq_ a✝¹ a✝)

case true_
v u : VarName
T S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) true_
⊢ fastAdmitsAux v u S true_

case false_
v u : VarName
T S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) false_
⊢ fastAdmitsAux v u S false_

case not_
v u : VarName
T : Finset VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝.not_
⊢ fastAdmitsAux v u S a✝.not_

case imp_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.imp_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.imp_ a✝)

case and_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.and_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.and_ a✝)

case or_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.or_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.or_ a✝)

case iff_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.iff_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.iff_ a✝)

case forall_
v u : VarName
T : Finset VarName
a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (forall_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (forall_ a✝¹ a✝)

case exists_
v u : VarName
T : Finset VarName
a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (exists_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (exists_ a✝¹ a✝)

case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (def_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (def_ a✝¹ a✝)

State before:
case pred_const_
v u : VarName
T : Finset VarName
a✝¹ : PredName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (pred_const_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (pred_const_ a✝¹ a✝)

case pred_var_
v u : VarName
T : Finset VarName
a✝¹ : PredName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (pred_var_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (pred_var_ a✝¹ a✝)

case eq_
v u : VarName
T : Finset VarName
a✝¹ a✝ : VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (eq_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (eq_ a✝¹ a✝)

case true_
v u : VarName
T S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) true_
⊢ fastAdmitsAux v u S true_

case false_
v u : VarName
T S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) false_
⊢ fastAdmitsAux v u S false_

case not_
v u : VarName
T : Finset VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝.not_
⊢ fastAdmitsAux v u S a✝.not_

case imp_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.imp_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.imp_ a✝)

case and_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.and_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.and_ a✝)

case or_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.or_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.or_ a✝)

case iff_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (a✝¹.iff_ a✝)
⊢ fastAdmitsAux v u S (a✝¹.iff_ a✝)

case forall_
v u : VarName
T : Finset VarName
a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (forall_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (forall_ a✝¹ a✝)

case exists_
v u : VarName
T : Finset VarName
a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (exists_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (exists_ a✝¹ a✝)

case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (def_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (def_ a✝¹ a✝)
Tactic:
all_goals
  simp only [fastAdmitsAux] at h1
  simp only [fastAdmitsAux]
State after:
case pred_const_
v u : VarName
T : Finset VarName
a✝¹ : PredName
a✝ : List VarName
S : Finset VarName
h1 : v ∈ a✝ → u ∉ S ∪ T
⊢ v ∈ a✝ → u ∉ S

case pred_var_
v u : VarName
T : Finset VarName
a✝¹ : PredName
a✝ : List VarName
S : Finset VarName
h1 : v ∈ a✝ → u ∉ S ∪ T
⊢ v ∈ a✝ → u ∉ S

case eq_
v u : VarName
T : Finset VarName
a✝¹ a✝ : VarName
S : Finset VarName
h1 : v = a✝¹ ∨ v = a✝ → u ∉ S ∪ T
⊢ v = a✝¹ ∨ v = a✝ → u ∉ S

case not_
v u : VarName
T : Finset VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝
⊢ fastAdmitsAux v u S a✝

case imp_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝¹ ∧ fastAdmitsAux v u (S ∪ T) a✝
⊢ fastAdmitsAux v u S a✝¹ ∧ fastAdmitsAux v u S a✝

case and_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝¹ ∧ fastAdmitsAux v u (S ∪ T) a✝
⊢ fastAdmitsAux v u S a✝¹ ∧ fastAdmitsAux v u S a✝

case or_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝¹ ∧ fastAdmitsAux v u (S ∪ T) a✝
⊢ fastAdmitsAux v u S a✝¹ ∧ fastAdmitsAux v u S a✝

case iff_
v u : VarName
T : Finset VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝¹ → fastAdmitsAux v u S a✝¹
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) a✝¹ ∧ fastAdmitsAux v u (S ∪ T) a✝
⊢ fastAdmitsAux v u S a✝¹ ∧ fastAdmitsAux v u S a✝

case forall_
v u : VarName
T : Finset VarName
a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : v = a✝¹ ∨ fastAdmitsAux v u (S ∪ T ∪ {a✝¹}) a✝
⊢ v = a✝¹ ∨ fastAdmitsAux v u (S ∪ {a✝¹}) a✝

case exists_
v u : VarName
T : Finset VarName
a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) a✝ → fastAdmitsAux v u S a✝
S : Finset VarName
h1 : v = a✝¹ ∨ fastAdmitsAux v u (S ∪ T ∪ {a✝¹}) a✝
⊢ v = a✝¹ ∨ fastAdmitsAux v u (S ∪ {a✝¹}) a✝

case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : v ∈ a✝ → u ∉ S ∪ T
⊢ v ∈ a✝ → u ∉ S

State before:
v u : VarName
T : Finset VarName
X : DefName
xs : List VarName
S : Finset VarName
h1 : v ∈ xs → u ∉ S ∪ T
⊢ v ∈ xs → u ∉ S
Tactic:
case pred_const_ X xs | pred_var_ X xs | def_ X xs =>
  simp at h1
  tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
x y : VarName
S : Finset VarName
h1 : v = x ∨ v = y → u ∉ S ∪ T
⊢ v = x ∨ v = y → u ∉ S
Tactic:
case eq_ x y =>
  simp at h1
  tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
phi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) phi
⊢ fastAdmitsAux v u S phi
Tactic:
case not_ phi phi_ih =>
  tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
phi psi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
psi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) psi → fastAdmitsAux v u S psi
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) phi ∧ fastAdmitsAux v u (S ∪ T) psi
⊢ fastAdmitsAux v u S phi ∧ fastAdmitsAux v u S psi
Tactic:
case
    imp_ phi psi phi_ih psi_ih
  | and_ phi psi phi_ih psi_ih
  | or_ phi psi phi_ih psi_ih
  | iff_ phi psi phi_ih psi_ih =>
  tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
x : VarName
phi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
S : Finset VarName
h1 : v = x ∨ fastAdmitsAux v u (S ∪ T ∪ {x}) phi
⊢ v = x ∨ fastAdmitsAux v u (S ∪ {x}) phi
Tactic:
case forall_ x phi phi_ih | exists_ x phi phi_ih =>
  simp only [Finset.union_right_comm S T {x}] at h1
  tauto
State after:
no goals

State before:
case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) (def_ a✝¹ a✝)
⊢ fastAdmitsAux v u S (def_ a✝¹ a✝)
Tactic:
simp only [fastAdmitsAux] at h1
State after:
case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : v ∈ a✝ → u ∉ S ∪ T
⊢ fastAdmitsAux v u S (def_ a✝¹ a✝)

State before:
case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : v ∈ a✝ → u ∉ S ∪ T
⊢ fastAdmitsAux v u S (def_ a✝¹ a✝)
Tactic:
simp only [fastAdmitsAux]
State after:
case def_
v u : VarName
T : Finset VarName
a✝¹ : DefName
a✝ : List VarName
S : Finset VarName
h1 : v ∈ a✝ → u ∉ S ∪ T
⊢ v ∈ a✝ → u ∉ S

State before:
v u : VarName
T : Finset VarName
X : DefName
xs : List VarName
S : Finset VarName
h1 : v ∈ xs → u ∉ S ∪ T
⊢ v ∈ xs → u ∉ S
Tactic:
simp at h1
State after:
v u : VarName
T : Finset VarName
X : DefName
xs : List VarName
S : Finset VarName
h1 : v ∈ xs → u ∉ S ∧ u ∉ T
⊢ v ∈ xs → u ∉ S

State before:
v u : VarName
T : Finset VarName
X : DefName
xs : List VarName
S : Finset VarName
h1 : v ∈ xs → u ∉ S ∧ u ∉ T
⊢ v ∈ xs → u ∉ S
Tactic:
tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
x y : VarName
S : Finset VarName
h1 : v = x ∨ v = y → u ∉ S ∪ T
⊢ v = x ∨ v = y → u ∉ S
Tactic:
simp at h1
State after:
v u : VarName
T : Finset VarName
x y : VarName
S : Finset VarName
h1 : v = x ∨ v = y → u ∉ S ∧ u ∉ T
⊢ v = x ∨ v = y → u ∉ S

State before:
v u : VarName
T : Finset VarName
x y : VarName
S : Finset VarName
h1 : v = x ∨ v = y → u ∉ S ∧ u ∉ T
⊢ v = x ∨ v = y → u ∉ S
Tactic:
tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
phi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) phi
⊢ fastAdmitsAux v u S phi
Tactic:
tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
phi psi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
psi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) psi → fastAdmitsAux v u S psi
S : Finset VarName
h1 : fastAdmitsAux v u (S ∪ T) phi ∧ fastAdmitsAux v u (S ∪ T) psi
⊢ fastAdmitsAux v u S phi ∧ fastAdmitsAux v u S psi
Tactic:
tauto
State after:
no goals

State before:
v u : VarName
T : Finset VarName
x : VarName
phi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
S : Finset VarName
h1 : v = x ∨ fastAdmitsAux v u (S ∪ T ∪ {x}) phi
⊢ v = x ∨ fastAdmitsAux v u (S ∪ {x}) phi
Tactic:
simp only [Finset.union_right_comm S T {x}] at h1
State after:
v u : VarName
T : Finset VarName
x : VarName
phi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
S : Finset VarName
h1 : v = x ∨ fastAdmitsAux v u (S ∪ {x} ∪ T) phi
⊢ v = x ∨ fastAdmitsAux v u (S ∪ {x}) phi

State before:
v u : VarName
T : Finset VarName
x : VarName
phi : Formula
phi_ih : ∀ (S : Finset VarName), fastAdmitsAux v u (S ∪ T) phi → fastAdmitsAux v u S phi
S : Finset VarName
h1 : v = x ∨ fastAdmitsAux v u (S ∪ {x} ∪ T) phi
⊢ v = x ∨ fastAdmitsAux v u (S ∪ {x}) phi
Tactic:
tauto
State after:
no goals