url stringclasses 147
values | commit stringclasses 147
values | file_path stringlengths 7 101 | full_name stringlengths 1 94 | start stringlengths 6 10 | end stringlengths 6 11 | tactic stringlengths 1 11.2k | state_before stringlengths 3 2.09M | state_after stringlengths 6 2.09M |
|---|---|---|---|---|---|---|---|---|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | simp only [hd.h2] | case h2
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
E_ref : Env := hd :: tl
X : DefName
xs : List VarName
V : VarAssignment D
binders : Finset VarName
h1 : admitsAux P zs H binders (def_ X xs)
h2 : ∀ x ∉ binders, V x = V' x
c1 : X = ... | case h2
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
E_ref : Env := hd :: tl
X : DefName
xs : List VarName
V : VarAssignment D
binders : Finset VarName
h1 : admitsAux P zs H binders (def_ X xs)
h2 : ∀ x ∉ binders, V x = V' x
c1 : X = ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | simp | case h2
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
E_ref : Env := hd :: tl
X : DefName
xs : List VarName
V : VarAssignment D
binders : Finset VarName
h1 : admitsAux P zs H binders (def_ X xs)
h2 : ∀ x ∉ binders, V x = V' x
c1 : X = ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | apply Holds_coincide_PredVar | D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds D (I' D ... | case h1
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | simp only [I'] | case h1
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... | case h1
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | simp only [Interpretation.usingPred] | case h1
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | simp only [predVarOccursIn] | case h2
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... | case h2
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem_aux | [188, 1] | [334, 13] | simp | case h2
D : Type
I : Interpretation D
V' : VarAssignment D
P : PredName
zs : List VarName
H : Formula
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula) (binders : Finset VarName),
admitsAux P zs H binders F →
(∀ x ∉ binders, V x = V' x) →
let E_ref := tl;
Holds ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem | [337, 1] | [352, 9] | apply substitution_theorem_aux D I V V E F P zs H ∅ | D : Type
I : Interpretation D
V : VarAssignment D
E : Env
F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
⊢ Holds D (I' D I V E P zs H) V E F ↔ Holds D I V E (replace P zs H F) | case h1
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
⊢ admitsAux P zs H ∅ F
case h2
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
⊢ ∀ x ∉ ∅, V... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem | [337, 1] | [352, 9] | exact h1 | case h1
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
⊢ admitsAux P zs H ∅ F | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_theorem | [337, 1] | [352, 9] | simp | case h2
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
⊢ ∀ x ∉ ∅, V x = V x | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_is_valid | [355, 1] | [369, 11] | simp only [IsValid] at h2 | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : F.IsValid
⊢ (replace P zs H F).IsValid | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
⊢ (replace P zs H F).IsValid |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_is_valid | [355, 1] | [369, 11] | simp only [IsValid] | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), Holds D I V E F
⊢ (replace P zs H F).IsValid | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (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 (replace P zs H F) |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_is_valid | [355, 1] | [369, 11] | intro D I V E | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (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 (replace P zs H F) | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (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 (replace P zs H F) |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_is_valid | [355, 1] | [369, 11] | simp only [← substitution_theorem D I V E F P zs H h1] | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (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 (replace P zs H F) | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (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' D I V E P zs H) V E F |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Pred/One/Rec/Sub.lean | FOL.NV.Sub.Pred.One.Rec.substitution_is_valid | [355, 1] | [369, 11] | apply h2 | F : Formula
P : PredName
zs : List VarName
H : Formula
h1 : admits P zs H F
h2 : ∀ (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' D I V E P zs H) V E F | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | induction E generalizing F V V' | D : Type
I : Interpretation D
V V' : VarAssignment D
E : Env
F : Formula
h1 : ∀ (v : VarName), isFreeIn v F → V v = V' v
⊢ Holds D I V E F ↔ Holds D I V' E F | case nil
D : Type
I : Interpretation D
V V' : VarAssignment D
F : Formula
h1 : ∀ (v : VarName), isFreeIn v F → V v = V' v
⊢ Holds D I V [] F ↔ Holds D I V' [] F
case cons
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName)... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case cons.def_ hd tl ih X xs =>
split_ifs
case pos c1 =>
apply ih
intro v a1
simp only [isFreeIn_iff_mem_freeVarSet v hd.q] at a1
have s1 : v ∈ List.toFinset hd.args
apply Finset.mem_of_subset hd.h1 a1
simp only [List.mem_toFinset] at s1
apply Function.updateListITE_fun_coincide_mem_eq_l... | D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ (if X = hd.name ∧ xs.length = hd.... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | induction F generalizing V V' | case cons
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
V V' : VarAssignment D
F : Formula
h1 : ∀ (v : VarName), isFreeIn v F → V v = V' v
⊢ H... | case cons.pred_const_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : PredName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ (v : VarNam... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | all_goals
simp only [isFreeIn] at h1
simp only [Holds] | case cons.pred_const_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : PredName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ (v : VarNam... | case cons.pred_const_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : PredName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ a✝, V v... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case pred_const_ X xs | pred_var_ X xs =>
congr! 1
simp only [List.map_eq_map_iff]
exact h1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
X : PredName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ I.pred_var_ X ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case eq_ x y =>
simp at h1
cases h1
case intro h1_left h1_right =>
congr! 1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
h1 : ∀ (v : VarName), v = x ∨ v = y → V v = V' v
⊢ V x = V ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case not_ phi phi_ih =>
congr! 1
exact phi_ih V V' h1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn v phi → V v ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case forall_ x phi phi_ih | exists_ x phi phi_ih =>
simp at h1
first | apply forall_congr' | apply exists_congr
intro d
apply phi_ih
intro v a1
simp only [Function.updateITE]
split_ifs <;> tauto | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp only [isFreeIn] at h1 | case cons.def_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : DefName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ (v : VarName), isFr... | case cons.def_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : DefName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ a✝, V v = V' v
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp only [Holds] | case cons.def_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : DefName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ a✝, V v = V' v
... | case cons.def_
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
a✝¹ : DefName
a✝ : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ a✝, V v = V' v
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | congr! 1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
X : PredName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ I.pred_var_ X ... | case a.h.e'_4
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
X : PredName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp only [List.map_eq_map_iff] | case a.h.e'_4
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
X : PredName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ ... | case a.h.e'_4
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
X : PredName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | exact h1 | case a.h.e'_4
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
X : PredName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp at h1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
h1 : ∀ (v : VarName), v = x ∨ v = y → V v = V' v
⊢ V x = V ... | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
h1 : V x = V' x ∧ V y = V' y
⊢ V x = V y ↔ V' x = V' y |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | cases h1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
h1 : V x = V' x ∧ V y = V' y
⊢ V x = V y ↔ V' x = V' y | case intro
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
left✝ : V x = V' x
right✝ : V y = V' y
⊢ V x = V... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case intro h1_left h1_right =>
congr! 1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
h1_left : V x = V' x
h1_right : V y = V' y
⊢ V x = V y ↔ V'... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | congr! 1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x y : VarName
V V' : VarAssignment D
h1_left : V x = V' x
h1_right : V y = V' y
⊢ V x = V y ↔ V'... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | congr! 1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn v phi → V v ... | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFre... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | exact phi_ih V V' h1 | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFre... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | congr! 1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn v phi → ... | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply phi_ih V V' | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | intro v a1 | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply h1 | case a.h.e'_1.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... | case a.h.e'_1.a.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | left | case a.h.e'_1.a.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... | case a.h.e'_1.a.a.h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | exact a1 | case a.h.e'_1.a.a.h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply psi_ih V V' | case a.h.e'_2.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... | case a.h.e'_2.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | intro v a1 | case a.h.e'_2.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... | case a.h.e'_2.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply h1 | case a.h.e'_2.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), i... | case a.h.e'_2.a.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | right | case a.h.e'_2.a.a
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... | case a.h.e'_2.a.a.h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | exact a1 | case a.h.e'_2.a.a.h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
phi psi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp at h1 | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn ... | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | first | apply forall_congr' | apply exists_congr | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn ... | case h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), is... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | intro d | case h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), is... | case h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), is... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply phi_ih | case h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), is... | case h.h1
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | intro v a1 | case h.h1
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... | case h.h1
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp only [Function.updateITE] | case h.h1
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... | case h.h1
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | split_ifs <;> tauto | case h.h1
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName),... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply forall_congr' | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn ... | case h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), is... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply exists_congr | D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), isFreeIn ... | case h
D : Type
I : Interpretation D
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tail✝ F ↔ Holds D I V' tail✝ F)
x : VarName
phi : Formula
phi_ih :
∀ (V V' : VarAssignment D),
(∀ (v : VarName), is... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | split_ifs | D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
⊢ (if X = hd.name ∧ xs.length = hd.... | case pos
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
h✝ : X = hd.name ∧ xs.leng... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case pos c1 =>
apply ih
intro v a1
simp only [isFreeIn_iff_mem_freeVarSet v hd.q] at a1
have s1 : v ∈ List.toFinset hd.args
apply Finset.mem_of_subset hd.h1 a1
simp only [List.mem_toFinset] at s1
apply Function.updateListITE_fun_coincide_mem_eq_len V V' hd.args xs v h1 s1
tauto | D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.length = hd.a... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | case neg c1 =>
apply ih
tauto | D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : ¬(X = hd.name ∧ xs.length = hd... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply ih | D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.length = hd.a... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | intro v a1 | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp only [isFreeIn_iff_mem_freeVarSet v hd.q] at a1 | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | have s1 : v ∈ List.toFinset hd.args | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | case s1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply Finset.mem_of_subset hd.h1 a1 | case s1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | simp only [List.mem_toFinset] at s1 | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply Function.updateListITE_fun_coincide_mem_eq_len V V' hd.args xs v h1 s1 | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | tauto | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : X = hd.name ∧ xs.lengt... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | apply ih | D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : ¬(X = hd.name ∧ xs.length = hd... | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : ¬(X = hd.name ∧ xs.len... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_Var | [101, 1] | [172, 12] | tauto | case h1
D : Type
I : Interpretation D
hd : Definition
tl : List Definition
ih :
∀ (V V' : VarAssignment D) (F : Formula),
(∀ (v : VarName), isFreeIn v F → V v = V' v) → (Holds D I V tl F ↔ Holds D I V' tl F)
X : DefName
xs : List VarName
V V' : VarAssignment D
h1 : ∀ v ∈ xs, V v = V' v
c1 : ¬(X = hd.name ∧ xs.len... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | induction E generalizing F V | D : Type
I I' : Interpretation D
V : VarAssignment D
E : Env
F : Formula
h1 : I.pred_const_ = I'.pred_const_
h2 : ∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)
⊢ Holds D I V E F ↔ Holds D I' V E F | case nil
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
V : VarAssignment D
F : Formula
h2 : ∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)
⊢ Holds D I V [] F ↔ Holds D I' V [] F
case cons
D : Type
I I' : Interpretation D
h1 : I.pred_const_ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | case cons.def_ hd tl ih X xs =>
split_ifs
case pos c1 =>
apply ih
intro P ds a1
simp only [predVarOccursIn_iff_mem_predVarSet P ds.length] at a1
simp only [hd.h2] at a1
simp at a1
case neg c1 =>
apply ih
intro P ds a1
simp only [predVarOccursIn] at a1 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tl F ↔ Holds D I' V tl F)
X : DefName
... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | induction F generalizing V | case cons
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds ... | case cons.pred_const_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | all_goals
simp only [predVarOccursIn] at h2
simp only [Holds] | case cons.pred_const_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail... | case cons.pred_const_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | case pred_const_ X xs =>
simp only [h1] | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | case pred_var_ X xs =>
simp at h2
specialize h2 X (List.map V xs)
simp at h2
exact h2 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | case not_ phi phi_ih =>
congr! 1
exact phi_ih V h2 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | case forall_ x phi phi_ih | exists_ x phi phi_ih =>
first | apply forall_congr' | apply exists_congr
intro d
exact phi_ih (Function.updateITE V x d) h2 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | simp only [predVarOccursIn] at h2 | case cons.def_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ H... | case cons.def_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ H... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | simp only [Holds] | case cons.def_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ H... | case cons.def_
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ H... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | simp only [h1] | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | simp at h2 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | specialize h2 X (List.map V xs) | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | simp at h2 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | exact h2 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | congr! 1 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | case a.h.e'_1.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | exact phi_ih V h2 | case a.h.e'_1.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ ... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | congr! 1 | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | case a.h.e'_1.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | apply phi_ih | case a.h.e'_1.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ ... | case a.h.e'_1.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | intro P ds a1 | case a.h.e'_1.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... | case a.h.e'_1.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | apply h2 | case a.h.e'_1.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... | case a.h.e'_1.a.h2.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | left | case a.h.e'_1.a.h2.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝... | case a.h.e'_1.a.h2.a.h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tai... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | exact a1 | case a.h.e'_1.a.h2.a.h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | apply psi_ih | case a.h.e'_2.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ ... | case a.h.e'_2.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | intro P ds a1 | case a.h.e'_2.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... | case a.h.e'_2.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | apply h2 | case a.h.e'_2.a.h2
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F... | case a.h.e'_2.a.h2.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | right | case a.h.e'_2.a.h2.a
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝... | case a.h.e'_2.a.h2.a.h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tai... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | exact a1 | case a.h.e'_2.a.h2.a.h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tai... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | first | apply forall_congr' | apply exists_congr | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | case h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | intro d | case h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I... | case h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | exact phi_ih (Function.updateITE V x d) h2 | case h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I... | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | apply forall_congr' | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | case h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Semantics.lean | FOL.NV.Holds_coincide_PredVar | [175, 1] | [236, 40] | apply exists_congr | D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I' V tai... | case h
D : Type
I I' : Interpretation D
h1 : I.pred_const_ = I'.pred_const_
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
(∀ (P : PredName) (ds : List D), predVarOccursIn P ds.length F → (I.pred_var_ P ds ↔ I'.pred_var_ P ds)) →
(Holds D I V tail✝ F ↔ Holds D I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.