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

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

case pred_var_
v u : VarName
a✝¹ : PredName
a✝ : List VarName
binders : Finset VarName
h1 : ¬isFreeIn v (pred_var_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (pred_var_ a✝¹ a✝)

case eq_
v u a✝¹ a✝ : VarName
binders : Finset VarName
h1 : ¬isFreeIn v (eq_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (eq_ a✝¹ a✝)

case true_
v u : VarName
binders : Finset VarName
h1 : ¬isFreeIn v true_
⊢ fastAdmitsAux v u binders true_

case false_
v u : VarName
binders : Finset VarName
h1 : ¬isFreeIn v false_
⊢ fastAdmitsAux v u binders false_

case not_
v u : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v a✝.not_
⊢ fastAdmitsAux v u binders a✝.not_

case imp_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.imp_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.imp_ a✝)

case and_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.and_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.and_ a✝)

case or_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.or_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.or_ a✝)

case iff_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.iff_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.iff_ a✝)

case forall_
v u a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (forall_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (forall_ a✝¹ a✝)

case exists_
v u a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (exists_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (exists_ a✝¹ a✝)

case def_
v u : VarName
a✝¹ : DefName
a✝ : List VarName
binders : Finset VarName
h1 : ¬isFreeIn v (def_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (def_ a✝¹ a✝)

State before:
case pred_const_
v u : VarName
a✝¹ : PredName
a✝ : List VarName
binders : Finset VarName
h1 : ¬isFreeIn v (pred_const_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (pred_const_ a✝¹ a✝)

case pred_var_
v u : VarName
a✝¹ : PredName
a✝ : List VarName
binders : Finset VarName
h1 : ¬isFreeIn v (pred_var_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (pred_var_ a✝¹ a✝)

case eq_
v u a✝¹ a✝ : VarName
binders : Finset VarName
h1 : ¬isFreeIn v (eq_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (eq_ a✝¹ a✝)

case true_
v u : VarName
binders : Finset VarName
h1 : ¬isFreeIn v true_
⊢ fastAdmitsAux v u binders true_

case false_
v u : VarName
binders : Finset VarName
h1 : ¬isFreeIn v false_
⊢ fastAdmitsAux v u binders false_

case not_
v u : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v a✝.not_
⊢ fastAdmitsAux v u binders a✝.not_

case imp_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.imp_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.imp_ a✝)

case and_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.and_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.and_ a✝)

case or_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.or_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.or_ a✝)

case iff_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (a✝¹.iff_ a✝)
⊢ fastAdmitsAux v u binders (a✝¹.iff_ a✝)

case forall_
v u a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (forall_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (forall_ a✝¹ a✝)

case exists_
v u a✝¹ : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v (exists_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (exists_ a✝¹ a✝)

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

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

case eq_
v u a✝¹ a✝ : VarName
binders : Finset VarName
h1 : ¬(v = a✝¹ ∨ v = a✝)
⊢ v = a✝¹ ∨ v = a✝ → u ∉ binders

case not_
v u : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v a✝
⊢ fastAdmitsAux v u binders a✝

case imp_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

case and_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

case or_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

case iff_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

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

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

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

State before:
case pred_const_
v u : VarName
a✝¹ : PredName
a✝ : List VarName
binders : Finset VarName
h1 : v ∉ a✝
⊢ v ∈ a✝ → u ∉ binders

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

case eq_
v u a✝¹ a✝ : VarName
binders : Finset VarName
h1 : ¬(v = a✝¹ ∨ v = a✝)
⊢ v = a✝¹ ∨ v = a✝ → u ∉ binders

case not_
v u : VarName
a✝ : Formula
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬isFreeIn v a✝
⊢ fastAdmitsAux v u binders a✝

case imp_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

case and_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

case or_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

case iff_
v u : VarName
a✝¹ a✝ : Formula
a_ih✝¹ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝¹ → fastAdmitsAux v u binders a✝¹
a_ih✝ : ∀ (binders : Finset VarName), ¬isFreeIn v a✝ → fastAdmitsAux v u binders a✝
binders : Finset VarName
h1 : ¬(isFreeIn v a✝¹ ∨ isFreeIn v a✝)
⊢ fastAdmitsAux v u binders a✝¹ ∧ fastAdmitsAux v u binders a✝

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

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

case def_
v u : VarName
a✝¹ : DefName
a✝ : List VarName
binders : Finset VarName
h1 : v ∉ a✝
⊢ v ∈ a✝ → u ∉ binders
Tactic:
all_goals
  tauto
State after:
no goals

State before:
case def_
v u : VarName
a✝¹ : DefName
a✝ : List VarName
binders : Finset VarName
h1 : ¬isFreeIn v (def_ a✝¹ a✝)
⊢ fastAdmitsAux v u binders (def_ a✝¹ a✝)
Tactic:
simp only [isFreeIn] at h1
State after:
case def_
v u : VarName
a✝¹ : DefName
a✝ : List VarName
binders : Finset VarName
h1 : v ∉ a✝
⊢ fastAdmitsAux v u binders (def_ a✝¹ a✝)

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

State before:
case def_
v u : VarName
a✝¹ : DefName
a✝ : List VarName
binders : Finset VarName
h1 : v ∉ a✝
⊢ v ∈ a✝ → u ∉ binders
Tactic:
tauto
State after:
no goals