url
stringclasses
147 values
commit
stringclasses
147 values
file_path
stringlengths
7
101
full_name
stringlengths
1
94
start
stringlengths
6
10
end
stringlengths
6
11
tactic
stringlengths
1
11.2k
state_before
stringlengths
3
2.09M
state_after
stringlengths
6
2.09M
input
stringlengths
73
2.09M
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/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 = ...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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
Please generate a tactic in lean4 to solve the state. STATE: 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...
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 ...
Please generate a tactic in lean4 to solve the state. STATE: 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, ...
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 ...
Please generate a tactic in lean4 to solve the state. STATE: 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 βˆ‰ b...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 βˆ‰ b...
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 ...
Please generate a tactic in lean4 to solve the state. STATE: 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 βˆ‰ b...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 βˆ‰ b...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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) TACTIC:
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
Please generate a tactic in lean4 to solve the state. STATE: 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 TACTIC:
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
Please generate a tactic in lean4 to solve the state. STATE: 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 TACTIC:
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
Please generate a tactic in lean4 to solve the state. STATE: F : Formula P : PredName zs : List VarName H : Formula h1 : admits P zs H F h2 : F.IsValid ⊒ (replace P zs H F).IsValid TACTIC:
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)
Please generate a tactic in lean4 to solve the state. STATE: 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 TACTIC:
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)
Please generate a tactic in lean4 to solve the state. STATE: 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...
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
Please generate a tactic in lean4 to solve the state. STATE: 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]
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
Please generate a tactic in lean4 to solve the state. STATE: 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/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)...
Please generate a tactic in lean4 to solve the state. STATE: 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 TACTIC:
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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✝¹ : PredNam...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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' : ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 : ...
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 ...
Please generate a tactic in lean4 to solve the state. STATE: 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✝ : L...
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 ...
Please generate a tactic in lean4 to solve the state. STATE: 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✝ : L...
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 ⊒ ...
Please generate a tactic in lean4 to solve the state. STATE: 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'...
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 ⊒ ...
Please generate a tactic in lean4 to solve the state. STATE: 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 : Lis...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 : Lis...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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_i...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 p...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 p...
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),...
Please generate a tactic in lean4 to solve the state. STATE: 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 p...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 : Formu...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 p...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 p...
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),...
Please generate a tactic in lean4 to solve the state. STATE: 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 p...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 : Formu...
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 ...
Please generate a tactic in lean4 to solve the state. STATE: 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 : ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 : ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ph...
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),...
Please generate a tactic in lean4 to solve the state. STATE: 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 ph...
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),...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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),...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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
Please generate a tactic in lean4 to solve the state. STATE: 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...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 : ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 : ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ...
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
Please generate a tactic in lean4 to solve the state. STATE: 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' : VarAssig...
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_ ...
Please generate a tactic in lean4 to solve the state. STATE: 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 TACTI...
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
Please generate a tactic in lean4 to solve the state. STATE: 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)...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 d...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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.p...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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 ↔ ...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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
Please generate a tactic in lean4 to solve the state. STATE: 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_va...
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 ↔ ...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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_va...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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✝...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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.pr...
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
Please generate a tactic in lean4 to solve the state. STATE: 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....
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...
Please generate a tactic in lean4 to solve the state. STATE: 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_va...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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✝...
Please generate a tactic in lean4 to solve the state. STATE: 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...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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.pr...
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
Please generate a tactic in lean4 to solve the state. STATE: 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....
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...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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 ↔...
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
Please generate a tactic in lean4 to solve the state. STATE: 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 ↔...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...
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...
Please generate a tactic in lean4 to solve the state. STATE: 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'.pre...