Theorem: FOL.NV.Sub.Var.All.Rec.Fresh.substitution_is_valid (FOL/NV/Sub/Var/All/Rec/Fresh/Sub.lean)

State before:
σ : VarName → VarName
c : Char
F : Formula
h1 : F.IsValid
⊢ (sub σ c F).IsValid
Tactic:
simp only [IsValid] at h1
State after:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
⊢ (sub σ c F).IsValid

State before:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
⊢ (sub σ c F).IsValid
Tactic:
simp only [IsValid]
State after:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
⊢ ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E (sub σ c F)

State before:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
⊢ ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E (sub σ c F)
Tactic:
intro D I V E
State after:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
⊢ Holds D I V E (sub σ c F)

State before:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
⊢ Holds D I V E (sub σ c F)
Tactic:
simp only [substitution_theorem]
State after:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
⊢ Holds D I (V ∘ σ) E F

State before:
σ : VarName → VarName
c : Char
F : Formula
h1 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
⊢ Holds D I (V ∘ σ) E F
Tactic:
apply h1
State after:
no goals