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/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | unfold exists_ | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (exists_ h1_x (eq_ h1_x h1_y)) | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_ | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (exists_ h1_x (eq_ h1_x h1_y))
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | repeat first | constructor | assumption | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | first | constructor | assumption | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | constructor | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
⊢ IsMetaVarOrAllDefInEnv E (forall_ h1_x (eq_ h1_x h1_y).not_).not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | unfold IsMetaVarOrAllDefInEnv | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E ((eq_ h1_x h1_y).imp_ ((eq_ h1_x h1_z).imp_ (eq_ h1_y h1_z))) | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_x h1_y) ∧ IsMetaVarOrAllDefInEnv E ((eq_ h1_x h1_z).imp_ (eq_ h1_y h1_z)) | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E ((eq_ h1_x h1_y).imp_ ((eq_ h1_x h1_z).imp_ (eq_ h1_y h1_z)))
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | repeat first | constructor | assumption | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_x h1_y) ∧ IsMetaVarOrAllDefInEnv E ((eq_ h1_x h1_z).imp_ (eq_ h1_y h1_z)) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_x h1_y) ∧ IsMetaVarOrAllDefInEnv E ((eq_ h1_x h1_z).imp_ (eq_ h1_y h1_z))... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | first | constructor | assumption | case right.right
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_y h1_z) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case right.right
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_y h1_z)
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | constructor | case right.right
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_y h1_z) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case right.right
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y h1_z : VarName
⊢ IsMetaVarOrAllDefInEnv E (eq_ h1_y h1_z)
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | sorry | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_n : ℕ
h1_name : PredName
h1_xs h1_ys : Fin h1_n → VarName
⊢ IsMetaVarOrAllDefInEnv E (eqSubPred h1_name h1_n h1_xs h1_ys) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_n : ℕ
h1_name : PredName
h1_xs h1_ys : Fin h1_n → VarName
⊢ IsMetaVarOrAllDefInEnv E (eqSubPred h1_name h1_n h1_xs h1_ys)
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | exact lem_2_a E h1_σ h1_τ h1_phi h1_ih_2 h1_1 | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ h1_Γ' : List (VarName × MetaVarName)
h1_Δ h1_Δ' : List Formula
h1_phi : Formula
h1_σ : Instantiation
h1_τ : MetaInstantiation
h1_1 : ∀ X ∈ h1_phi.metaVarSet, IsMetaVarOrAllDefInEnv E (h1_τ X)
h1_2 : ∀ (x : VarName) (X : MetaVarName), (x, X) ∈ h1... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ h1_Γ' : List (VarName × MetaVarName)
h1_Δ h1_Δ' : List Formula
h1_phi : Formula
h1_σ : Instantiation
h1_τ : MetaInstantiation
h1_1 : ∀ X ∈ h1_phi.metaVarSet, IsMetaVarOrAllDefInEnv E (... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.is_proof_imp_is_meta_var_or_all_def_in_env | [1892, 1] | [1932, 15] | exact h1_1 | E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_phi' : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi'
h1_2 : IsProof E h1_Γ h1_Δ h1_phi
h1_3 : IsConv E h1_phi h1_phi'
h1_ih : IsMetaVarOrAllDefInEnv E h1_phi
⊢ IsMetaVarOrAllDefInEnv... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_phi' : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi'
h1_2 : IsProof E h1_Γ h1_Δ h1_phi
h1_3 : IsConv E h1_phi h1_phi'
h1_... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | induction E | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
E : Env
d : Definition
name : DefName
args : List VarName
h1 : E.WellFormed
h2 : d ∈ E
h3 : name = d.name ∧ args.length = d.args.length
⊢ Holds D I (Function.updateListITE V d.args (List.map V args)) M E d.F ↔ Holds D I V M E (def_ name args) | case nil
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
h1 : Env.WellFormed []
h2 : d ∈ []
⊢ Holds D I (Function.updateListITE V d.args (List.map V args)) M [] d.F ↔ Holds D I V M [] (def_ name args)
c... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
E : Env
d : Definition
name : DefName
args : List VarName
h1 : E.WellFormed
h2 : d ∈ E
h3 : name = d.name ∧ args.length = d.args.length
⊢ Holds D I (Function.updateListITE V d.args (List.map V ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | case nil =>
simp at h2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
h1 : Env.WellFormed []
h2 : d ∈ []
⊢ Holds D I (Function.updateListITE V d.args (List.map V args)) M [] d.F ↔ Holds D I V M [] (def_ name args) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
h1 : Env.WellFormed []
h2 : d ∈ []
⊢ Holds D I (Function.updateListITE V d.args (List.map V ar... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp at h2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
h1 : Env.WellFormed []
h2 : d ∈ []
⊢ Holds D I (Function.updateListITE V d.args (List.map V args)) M [] d.F ↔ Holds D I V M [] (def_ name args) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
h1 : Env.WellFormed []
h2 : d ∈ []
⊢ Holds D I (Function.updateListITE V d.args (List.map V ar... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | have s1 : Env.Nodup (hd :: tl) := well_formed_env_has_no_dup (hd :: tl) h1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | have s2 : ∃ E1 : Env, (hd :: tl) = E1 ++ tl | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case s2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | apply Exists.intro [hd] | case s2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M... | case s2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M... | Please generate a tactic in lean4 to solve the state.
STATE:
case s2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp | case s2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | Please generate a tactic in lean4 to solve the state.
STATE:
case s2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | unfold Env.WellFormed at h1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp at h2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases h1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case intro
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases h1_right | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case intro
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp only [Holds] | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | split_ifs | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case pos
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | case _ c1 =>
cases h2
case inl c2 =>
subst c2
simp at c1
cases h3
case intro h3_left h3_right =>
exfalso
exact c1 h3_left h3_right
case inr c2 =>
specialize ih h1_right_right c2
simp only [← ih]
apply holds_coincide_env D I (Function.updateListITE V d.args (List.map V args)... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases h2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case inl
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | case inl c2 =>
subst c2
exact holds_coincide_env D I (Function.updateListITE V d.args (List.map V args)) M tl (d :: tl) d.F s2 h1_right_left s1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | subst c2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exact holds_coincide_env D I (Function.updateListITE V d.args (List.map V args)) M tl (d :: tl) d.F s2 h1_right_left s1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.update... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases h3 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case intro
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases c1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : Env.Nod... | case intro
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exfalso | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : Env.Nod... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : Env.Nod... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | apply h1_left d c2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : Env.Nod... | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp only [← c1_left] | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | Please generate a tactic in lean4 to solve the state.
STATE:
case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exact h3_left | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp only [← c1_right] | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | Please generate a tactic in lean4 to solve the state.
STATE:
case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exact h3_right | case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
s1 : ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases h2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | case inl
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | case inl c2 =>
subst c2
simp at c1
cases h3
case intro h3_left h3_right =>
exfalso
exact c1 h3_left h3_right | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | case inr c2 =>
specialize ih h1_right_right c2
simp only [← ih]
apply holds_coincide_env D I (Function.updateListITE V d.args (List.map V args)) M tl (hd :: tl) d.F s2
apply def_in_well_formed_env_is_meta_var_or_all_def_in_env tl d h1_right_right c2
exact s1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | subst c2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp at c1 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.update... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | cases h3 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M ... | case intro
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
h1_right_right : ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.update... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | case intro h3_left h3_right =>
exfalso
exact c1 h3_left h3_right | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
h1_right_right : Env.WellFor... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exfalso | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
h1_right_right : Env.WellFor... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
h1_right_right : Env.WellFor... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exact c1 h3_left h3_right | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Holds D I V M tl (def_ name args))
h1_right_right : Env.WellFor... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ↔ Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | specialize ih h1_right_right c2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F ... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.length = d'.... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
ih :
Env.WellFormed tl →
d ∈ tl →
(Holds D I ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | simp only [← ih] | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.length = d'.... | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.length = d'.... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | apply holds_coincide_env D I (Function.updateListITE V d.args (List.map V args)) M tl (hd :: tl) d.F s2 | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.length = d'.... | case h2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.leng... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | apply def_in_well_formed_env_is_meta_var_or_all_def_in_env tl d h1_right_right c2 | case h2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.leng... | case h3
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.leng... | Please generate a tactic in lean4 to solve the state.
STATE:
case h2
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.lem_4 | [1935, 1] | [1999, 21] | exact s1 | case h3
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E1 ++ tl
h1_left : ∀ d' ∈ tl, hd.name = d'.name → hd.args.leng... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h3
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
d : Definition
name : DefName
args : List VarName
h3 : name = d.name ∧ args.length = d.args.length
hd : Definition
tl : List Definition
s1 : Env.Nodup (hd :: tl)
s2 : ∃ E1, hd :: tl = E... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | induction h2 generalizing V | D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2 : IsConv E F F'
⊢ Holds D I V M E F ↔ Holds D I V M E F' | case conv_refl
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
phi✝ : Formula
V : Valuation D
⊢ Holds D I V M E phi✝ ↔ Holds D I V M E phi✝
case conv_symm
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
phi✝ phi'✝ : Formula
a✝ : IsCo... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : Valuation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2 : IsConv E F F'
⊢ Holds D I V M E F ↔ Holds D I V M E F'
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | case conv_refl h2_phi =>
rfl | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi : Formula
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi : Formula
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | case conv_symm h2_phi h2_phi' _ h2_ih =>
symm
exact h2_ih V | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi' ↔ Holds D I V M E h2_phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | case conv_trans h2_phi h2_phi' h2_phi'' _ _ h2_ih_1 h2_ih_2 =>
trans Holds D I V M E h2_phi'
exact h2_ih_1 V
exact h2_ih_2 V | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_phi'... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | case conv_not h2_phi h2_phi' _ h2_ih =>
simp only [Holds]
congr! 1
exact h2_ih V | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi.not_ ↔ Holds D I V M E h2_phi'.not_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | case conv_forall h2_x h2_phi h2_phi' _ h2_ih =>
simp only [Holds]
apply forall_congr'
intro a
exact h2_ih (Function.updateITE V h2_x a) | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E (forall_ h2_x h2_phi) ↔ Holds D I V M E (forall_... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Hol... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | case conv_unfold d σ h2 =>
obtain ⟨σ', a1⟩ := σ.2
have s1 : IsMetaVarOrAllDefInEnv E d.F := def_in_well_formed_env_is_meta_var_or_all_def_in_env E d h1 h2
simp only [← holds_sub D I V M E σ σ' meta_var_ d.F s1 a1]
clear s1
have s2 : d.name = d.name ∧ (List.map σ.val d.args).length = d.args.length
simp
sim... | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V M E (sub σ meta_var_ d.F) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V M E (sub σ meta_var_ d.F)
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | rfl | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi : Formula
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi : Formula
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | symm | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi' ↔ Holds D I V M E h2_phi | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi' | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih V | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi' | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | trans Holds D I V M E h2_phi' | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_phi'... | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_phi'... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih_1 V | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_phi'... | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_phi'... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih_2 V | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_phi'... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_phi'' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_phi' h2_phi''
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp only [Holds] | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi.not_ ↔ Holds D I V M E h2_phi'.not_ | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ ¬Holds D I V M E h2_phi ↔ ¬Holds D I V M E h2_phi' | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | congr! 1 | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ ¬Holds D I V M E h2_phi ↔ ¬Holds D I V M E h2_phi' | case a.h.e'_1.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi' | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ ¬Holds D I V M E h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih V | case a.h.e'_1.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi' | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a.h.e'_1.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp only [Holds] | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_... | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | congr! 1 | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D I V M E h2_... | case a.h.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih_1 V | case a.h.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds D ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a.h.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝¹ : IsConv E h2_phi h2_phi'
a✝ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih_2 V | case a.h'.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝² : IsConv E h2_phi h2_phi'
a✝¹ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
h2_ih_2 : ∀ (V : Valuation D), Holds ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a.h'.a
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_phi h2_phi' h2_psi h2_psi' : Formula
a✝² : IsConv E h2_phi h2_phi'
a✝¹ : IsConv E h2_psi h2_psi'
h2_ih_1 : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp only [Holds] | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Holds D I V M E (forall_ h2_x h2_phi) ↔ Holds D I V M E (forall_... | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ (∀ (d : D), Holds D I (Function.updateITE V h2_x d) M E h2_phi) ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ Hol... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | apply forall_congr' | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ (∀ (d : D), Holds D I (Function.updateITE V h2_x d) M E h2_phi) ... | case h
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ ∀ (a : D), Holds D I (Function.updateITE V h2_x a) M E h2... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ (∀ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | intro a | case h
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
⊢ ∀ (a : D), Holds D I (Function.updateITE V h2_x a) M E h2... | case h
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
a : D
⊢ Holds D I (Function.updateITE V h2_x a) M E h2_phi ... | Please generate a tactic in lean4 to solve the state.
STATE:
case h
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact h2_ih (Function.updateITE V h2_x a) | case h
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation D
a : D
⊢ Holds D I (Function.updateITE V h2_x a) M E h2_phi ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
h2_x : VarName
h2_phi h2_phi' : Formula
a✝ : IsConv E h2_phi h2_phi'
h2_ih : ∀ (V : Valuation D), Holds D I V M E h2_phi ↔ Holds D I V M E h2_phi'
V : Valuation ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | obtain ⟨σ', a1⟩ := σ.2 | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V M E (sub σ meta_var_ d.F) | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V M E (sub σ meta_var_ d.F) | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V M E (sub σ meta_var_ d.F)
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | have s1 : IsMetaVarOrAllDefInEnv E d.F := def_in_well_formed_env_is_meta_var_or_all_def_in_env E d h1 h2 | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V M E (sub σ meta_var_ d.F) | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s1 : IsMetaVarOrAllDefInEnv E d.F
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I V M E (def_ d.name (List.map ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp only [← holds_sub D I V M E σ σ' meta_var_ d.F s1 a1] | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s1 : IsMetaVarOrAllDefInEnv E d.F
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔ Holds D I V... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s1 : IsMetaVarOrAllDefInEnv E d.F
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔
Holds D... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s1 : IsMetaVarOrAllDefInEnv E d.F
⊢ Holds... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | clear s1 | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s1 : IsMetaVarOrAllDefInEnv E d.F
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔
Holds D... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔
Holds D I (V ∘ ↑σ) (fun X' V' => Holds D ... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s1 : IsMetaVarOrAllDefInEnv E d.F
⊢ Holds... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | have s2 : d.name = d.name ∧ (List.map σ.val d.args).length = d.args.length | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I V M E (def_ d.name (List.map (↑σ) d.args)) ↔
Holds D I (V ∘ ↑σ) (fun X' V' => Holds D ... | case s2
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ d.name = d.name ∧ (List.map (↑σ) d.args).length = d.args.length
case intro
D : Type
I : Interpretation... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I V M E (def_ d.name (List.map ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp | case s2
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ d.name = d.name ∧ (List.map (↑σ) d.args).length = d.args.length
case intro
D : Type
I : Interpretation... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s2 : d.name = d.name ∧ (List.map (↑σ) d.args).length = d.args.length
⊢ Holds D I V M E (def_ d.name (L... | Please generate a tactic in lean4 to solve the state.
STATE:
case s2
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ d.name = d.name ∧ (List.map (↑σ) d.args).l... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp only [← lem_4 D I V M E d d.name (List.map σ.val d.args) h1 h2 s2] | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s2 : d.name = d.name ∧ (List.map (↑σ) d.args).length = d.args.length
⊢ Holds D I V M E (def_ d.name (L... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s2 : d.name = d.name ∧ (List.map (↑σ) d.args).length = d.args.length
⊢ Holds D I (Function.updateListI... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s2 : d.name = d.name ∧ (List.map (↑σ) d.a... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | clear s2 | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s2 : d.name = d.name ∧ (List.map (↑σ) d.args).length = d.args.length
⊢ Holds D I (Function.updateListI... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args))) M E d.F ↔
Holds ... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s2 : d.name = d.name ∧ (List.map (↑σ) d.a... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | have s3 : d.F.metaVarSet = ∅ := no_meta_var_imp_meta_var_set_is_empty d.F d.args d.nf | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args))) M E d.F ↔
Holds ... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s3 : d.F.metaVarSet = ∅
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I (Function.updateListITE V d.a... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp only [holds_coincide_meta_var_no_meta_var D I (V ∘ σ.val) (fun (X' : MetaVarName) (V' : Valuation D) => Holds D I (V' ∘ σ') M E (meta_var_ X')) M E d.F s3] | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s3 : d.F.metaVarSet = ∅
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s3 : d.F.metaVarSet = ∅
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s3 : d.F.metaVarSet = ∅
⊢ Holds D I (Func... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | clear s3 | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s3 : d.F.metaVarSet = ∅
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args))) M E d.F ↔ Holds D I ... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
s3 : d.F.metaVarSet = ∅
⊢ Holds D I (Func... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | apply holds_coincide_var D I (Function.updateListITE V d.args (List.map V (List.map σ.val d.args))) (V ∘ σ.val) M E d.F d.args d.nf | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I (Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args))) M E d.F ↔ Holds D I ... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ ∀ v ∈ d.args, Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args)) v = (V ∘ ↑σ) v | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ Holds D I (Function.updateListITE V d.a... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | intro v a2 | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ ∀ v ∈ d.args, Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args)) v = (V ∘ ↑σ) v | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
v : VarName
a2 : v ∈ d.args
⊢ Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args)) v = ... | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
⊢ ∀ v ∈ d.args, Function.updateListITE V ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | simp | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
v : VarName
a2 : v ∈ d.args
⊢ Function.updateListITE V d.args (List.map V (List.map (↑σ) d.args)) v = ... | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
v : VarName
a2 : v ∈ d.args
⊢ Function.updateListITE V d.args (List.map (V ∘ ↑σ) d.args) v = V (↑σ v) | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
v : VarName
a2 : v ∈ d.args
⊢ Function.up... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_conv | [2002, 1] | [2057, 67] | exact Function.updateListITE_map_mem V (V ∘ σ.val) d.args v a2 | case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
v : VarName
a2 : v ∈ d.args
⊢ Function.updateListITE V d.args (List.map (V ∘ ↑σ) d.args) v = V (↑σ v) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
d : Definition
σ : Instantiation
h2 : d ∈ E
V : Valuation D
σ' : VarName → VarName
a1 : ↑σ ∘ σ' = id ∧ σ' ∘ ↑σ = id
v : VarName
a2 : v ∈ d.args
⊢ Function.up... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | induction h1 generalizing M | D : Type
I : Interpretation D
M : MetaValuation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1 : IsProof E Γ Δ F
h2 : E.WellFormed
nf : ∀ (v : VarName) (X : MetaVarName), (v, X) ∈ Γ → IsNotFree D I M E (meta_var_ X) v
hyp : ∀ (F : Formula) (V : Valuation D), F ∈ Δ → Holds D I V M E F
⊢ ∀ (V ... | case hyp
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
Γ✝ : List (VarName × MetaVarName)
Δ✝ : List Formula
phi✝ : Formula
a✝¹ : IsMetaVarOrAllDefInEnv E phi✝
a✝ : phi✝ ∈ Δ✝
M : MetaValuation D
nf : ∀ (v : VarName) (X : MetaVarName), (v, X) ∈ Γ✝ → I... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h1 : IsProof E Γ Δ F
h2 : E.WellFormed
nf : ∀ (v : VarName) (X : MetaVarName), (v, X) ∈ Γ → IsNotFree D I M E (meta_var_ X) v
hyp : ∀ (F : ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case hyp h1_Γ h1_Δ h1_phi h1_1 h1_2 =>
intro V
exact hyp h1_phi V h1_2 | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : h1_phi ∈ h1_Δ
M : MetaValuation D
nf : ∀ (v : VarName) (X : MetaVarName), (v, X) ∈ ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : h1_phi ∈ h1_Δ
M : Meta... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case mp h1_Γ h1_Δ h1_phi h1_psi h1_1 h1_2 h1_ih_1 h1_ih_2 =>
simp only [Holds] at h1_ih_2
intro V
exact h1_ih_2 M nf hyp V (h1_ih_1 M nf hyp V) | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_1 : IsProof E h1_Γ h1_Δ h1_phi
h1_2 : IsProof E h1_Γ h1_Δ (h1_phi.imp_ h1_psi)
h1_ih_1 :
∀ (M : MetaValuation D),
... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_1 : IsProof E h1_Γ h1_Δ h1_phi
h1_2 : IsProof E h1_Γ h1_Δ ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case prop_1 h1_Γ h1_Δ h1_phi h1_psi h1_1 h1_2 =>
simp only [Holds]
intro V a1 a2
exact a1 | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVarOrAllDefInEnv E h1_psi
M : MetaValuation D
nf : ∀ (v : VarName) (X ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVarOrAllD... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case prop_2 h1_Γ h1_Δ h1_phi h1_psi h1_chi h1_1 h1_2 h1_3 =>
simp only [Holds]
intro V a1 a2 a3
apply a1 a3
exact a2 a3 | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi h1_chi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVarOrAllDefInEnv E h1_psi
h1_3 : IsMetaVarOrAllDefInEnv E h1_ch... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi h1_chi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVa... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case prop_3 h1_Γ h1_Δ h1_phi h1_psi h1_1 h1_2 =>
simp only [Holds]
intro V a1 a2
by_contra contra
exact a1 contra a2 | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVarOrAllDefInEnv E h1_psi
M : MetaValuation D
nf : ∀ (v : VarName) (X ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVarOrAllD... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case gen h1_Γ h1_Δ h1_phi h1_x h1_1 h1_ih =>
simp only [Holds]
intro V d
exact h1_ih M nf hyp (Function.updateITE V h1_x d) | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi : Formula
h1_x : VarName
h1_1 : IsProof E h1_Γ h1_Δ h1_phi
h1_ih :
∀ (M : MetaValuation D),
(∀ (v : VarName) (X : MetaVarName), (v, X... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi : Formula
h1_x : VarName
h1_1 : IsProof E h1_Γ h1_Δ h1_phi
h1_ih :
∀ (M : Me... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case pred_1 h1_Γ h1_Δ h1_phi h1_psi h1_x h1_1 h1_2 =>
simp only [Holds]
intro V a1 a2 d
apply a1 d
exact a2 d | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_x : VarName
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : IsMetaVarOrAllDefInEnv E h1_psi
M : MetaValuation D
nf : ∀ (v... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi h1_psi : Formula
h1_x : VarName
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case pred_2 h1_Γ h1_Δ h1_phi h1_x h1_1 h1_2 =>
have s1 : IsNotFree D I M E h1_phi h1_x
apply not_free_imp_is_not_free D I M E h1_phi h1_Γ h1_x h1_2
exact nf h1_x
simp only [Holds]
intro V a1 a
unfold IsNotFree at s1
simp only [← s1 V a]
exact a1 | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi : Formula
h1_x : VarName
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : NotFree h1_Γ h1_x h1_phi
M : MetaValuation D
nf : ∀ (v : VarName) (X... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_phi : Formula
h1_x : VarName
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : NotFree... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case eq_1 h1_Γ h1_Δ h1_x h1_y h1_1 =>
unfold exists_
simp only [Holds]
simp
intro V
apply Exists.intro (V h1_y)
unfold Function.updateITE
simp | D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
M : MetaValuation D
nf : ∀ (v : VarName) (X : MetaVarName), (v, X) ∈ h1_Γ → IsNotFree D I M E (meta_var_ X... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
E : Env
Γ : List (VarName × MetaVarName)
Δ : List Formula
F : Formula
h2 : E.WellFormed
h1_Γ : List (VarName × MetaVarName)
h1_Δ : List Formula
h1_x h1_y : VarName
h1_1 : ¬h1_y = h1_x
M : MetaValuation D
nf : ∀ (v : VarName) (X :... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.