url
stringclasses 147
values | commit
stringclasses 147
values | file_path
stringlengths 7
101
| full_name
stringlengths 1
94
| start
stringlengths 6
10
| end
stringlengths 6
11
| tactic
stringlengths 1
11.2k
| state_before
stringlengths 3
2.09M
| state_after
stringlengths 6
2.09M
|
---|---|---|---|---|---|---|---|---|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/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)) 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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h2 : d = hd β¨ d β tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args) | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h2 : d = hd β¨ d β tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.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)) M tl d.F β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
hβ : d = hd
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.F
case inr
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
hβ : d β tl
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.F |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
c2 : d = hd
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.F | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
c2 : d = hd
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.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 tl (def_ name args))
h1_right_right : Env.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β§ args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β
Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F |
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 tl (def_ name args))
h1_right_right : Env.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β§ args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β
Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
c2 : d β tl
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.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))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
c2 : d β tl
leftβ : name = d.name
rightβ : args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.F |
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.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : name = hd.name β§ args.length = hd.args.length
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.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))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
leftβ : name = hd.name
rightβ : args.length = hd.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.F |
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.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V hd.args (List.map V args)) M tl hd.F | 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.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ False |
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.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ False | 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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ hd.name = d.name
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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ hd.args.length = d.args.length |
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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ hd.name = d.name | 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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ name = d.name |
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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ name = d.name | no goals |
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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ hd.args.length = d.args.length | 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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ args.length = d.args.length |
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 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c2 : d β tl
h3_left : name = d.name
h3_right : args.length = d.args.length
c1_left : name = hd.name
c1_right : args.length = hd.args.length
β’ args.length = d.args.length | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h2 : d = hd β¨ d β tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args) | 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)) M tl d.F β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
hβ : d = hd
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args)
case inr
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
hβ : d β tl
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args) |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d = hd
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args) | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args) | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d = hd
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name 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
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.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : Β¬(name = d.name β§ args.length = d.args.length)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name args) |
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 tl (def_ name args))
h1_right_right : Env.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : Β¬(name = d.name β§ args.length = d.args.length)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name 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
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.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name args) |
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 tl (def_ name args))
h1_right_right : Env.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name args) | 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 : Env.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
leftβ : name = d.name
rightβ : args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name args) |
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.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
h3_left : name = d.name
h3_right : args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name args) | no goals |
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.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
h3_left : name = d.name
h3_right : args.length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (d :: tl) d.F β Holds D I V M tl (def_ name args) | 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.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
h3_left : name = d.name
h3_right : args.length = d.args.length
β’ False |
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.WellFormed tl
s1 : Env.Nodup (d :: tl)
s2 : β E1, d :: tl = E1 ++ tl
h1_left : β d' β tl, d.name = d'.name β d.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl d.F
c1 : name = d.name β Β¬args.length = d.args.length
h3_left : name = d.name
h3_right : args.length = d.args.length
β’ False | no goals |
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 β Holds D I V M tl (def_ name args))
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name 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
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name args) |
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'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β Holds D I V M tl (def_ name 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
s1 : Env.Nodup (hd :: tl)
s2 : β E1, hd :: tl = E1 ++ tl
h1_left : β d' β tl, hd.name = d'.name β hd.args.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F |
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'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Holds D I (Function.updateListITE V d.args (List.map V args)) M (hd :: tl) d.F β
Holds D I (Function.updateListITE V d.args (List.map V args)) M tl d.F | 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.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ IsMetaVarOrAllDefInEnv tl d.F
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.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Env.Nodup (hd :: 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.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ IsMetaVarOrAllDefInEnv tl d.F
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.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Env.Nodup (hd :: tl) | 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.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Env.Nodup (hd :: tl) |
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.length = d'.args.length β False
h1_right_left : IsMetaVarOrAllDefInEnv tl hd.F
h1_right_right : Env.WellFormed tl
c1 : Β¬(name = hd.name β§ args.length = hd.args.length)
c2 : d β tl
ih : 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)
β’ Env.Nodup (hd :: tl) | no goals |
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β : IsConv E phiβ phi'β
a_ihβ : β (V : Valuation D), Holds D I V M E phiβ β Holds D I V M E phi'β
V : Valuation D
β’ Holds D I V M E phi'β β Holds D I V M E phiβ
case conv_trans
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
phiβ phi'β phi''β : Formula
aβΒΉ : IsConv E phiβ phi'β
aβ : IsConv E phi'β phi''β
a_ihβΒΉ : β (V : Valuation D), Holds D I V M E phiβ β Holds D I V M E phi'β
a_ihβ : β (V : Valuation D), Holds D I V M E phi'β β Holds D I V M E phi''β
V : Valuation D
β’ Holds D I V M E phiβ β Holds D I V M E phi''β
case conv_not
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
phiβ phi'β : Formula
aβ : IsConv E phiβ phi'β
a_ihβ : β (V : Valuation D), Holds D I V M E phiβ β Holds D I V M E phi'β
V : Valuation D
β’ Holds D I V M E phiβ.not_ β Holds D I V M E phi'β.not_
case conv_imp
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
phiβ phi'β psiβ psi'β : Formula
aβΒΉ : IsConv E phiβ phi'β
aβ : IsConv E psiβ psi'β
a_ihβΒΉ : β (V : Valuation D), Holds D I V M E phiβ β Holds D I V M E phi'β
a_ihβ : β (V : Valuation D), Holds D I V M E psiβ β Holds D I V M E psi'β
V : Valuation D
β’ Holds D I V M E (phiβ.imp_ psiβ) β Holds D I V M E (phi'β.imp_ psi'β)
case conv_forall
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
xβ : VarName
phiβ phi'β : Formula
aβ : IsConv E phiβ phi'β
a_ihβ : β (V : Valuation D), Holds D I V M E phiβ β Holds D I V M E phi'β
V : Valuation D
β’ Holds D I V M E (forall_ xβ phiβ) β Holds D I V M E (forall_ xβ phi'β)
case conv_unfold
D : Type
I : Interpretation D
M : MetaValuation D
E : Env
F F' : Formula
h1 : E.WellFormed
dβ : Definition
Οβ : Instantiation
aβ : 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) |
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 |
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 |
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' β 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 |
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 |
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_ h2_x h2_phi') | no goals |
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
simp only [β lem_4 D I V M E d d.name (List.map Ο.val d.args) h1 h2 s2]
clear s2
have s3 : d.F.metaVarSet = β
:= no_meta_var_imp_meta_var_set_is_empty d.F d.args d.nf
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]
clear s3
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
intro v a2
simp
exact Function.updateListITE_map_mem V (V β Ο.val) d.args v a2 | 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 |
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 |
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' |
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 |
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' β 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' 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' β 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' 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' β 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'' |
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' β 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' 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' β 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' 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' β 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'' |
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' β 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 |
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' |
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' |
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 |
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_psi β Holds D I V M E h2_psi'
V : Valuation D
β’ Holds D I V M E (h2_phi.imp_ h2_psi) β Holds D I V M E (h2_phi'.imp_ h2_psi') | 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_psi β Holds D I V M E h2_psi'
V : Valuation D
β’ Holds D I V M E h2_phi β Holds D I V M E h2_psi β Holds D I V M E h2_phi' β Holds D I V M E h2_psi' |
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_psi β Holds D I V M E h2_psi'
V : Valuation D
β’ Holds D I V M E h2_phi β Holds D I V M E h2_psi β Holds D I V M E h2_phi' β Holds D I V M E h2_psi' | 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 I V M E h2_psi β Holds D I V M E h2_psi'
V : Valuation D
β’ Holds D I V M E h2_phi β Holds D I V M E h2_phi'
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 I V M E h2_psi β Holds D I V M E h2_psi'
V : Valuation D
aβ : Holds D I V M E h2_phi'
β’ Holds D I V M E h2_psi β Holds D I V M E h2_psi' |
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 I V M E h2_psi β Holds D I V M E h2_psi'
V : Valuation D
β’ Holds D I V M E h2_phi β Holds D I V M E h2_phi' | no goals |
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 D I V M E h2_psi β Holds D I V M E h2_psi'
V : Valuation D
aβ : Holds D I V M E h2_phi'
β’ Holds D I V M E h2_psi β Holds D I V M E h2_psi' | no goals |
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_ h2_x h2_phi') | 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) β
β (d : D), Holds D I (Function.updateITE V h2_x d) M E h2_phi' |
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) β
β (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_phi β Holds D I (Function.updateITE V h2_x a) M E h2_phi' |
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_phi β Holds D I (Function.updateITE V h2_x a) 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_phi β Holds D I (Function.updateITE V h2_x a) M E h2_phi' |
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 β Holds D I (Function.updateITE V h2_x a) M E h2_phi' | no goals |
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) |
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 M E (sub Ο meta_var_ d.F) |
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 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 β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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 I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E 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 β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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 I (V' β Ο') M E (meta_var_ X')) E d.F | 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 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 (List.map (βΟ) d.args)) β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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 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 (List.map (βΟ) d.args)) β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E 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
s2 : d.name = d.name β§ (List.map (βΟ) d.args).length = d.args.length
β’ Holds D I V M E (def_ d.name (List.map (βΟ) d.args)) β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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 (List.map (βΟ) d.args)) β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E 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
s2 : d.name = d.name β§ (List.map (βΟ) d.args).length = d.args.length
β’ Holds D I (Function.updateListITE V d.args (List.map V (List.map (βΟ) d.args))) M E d.F β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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.updateListITE V d.args (List.map V (List.map (βΟ) d.args))) M E d.F β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E 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 (Function.updateListITE V d.args (List.map V (List.map (βΟ) d.args))) M E d.F β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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 D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E 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
s3 : d.F.metaVarSet = β
β’ Holds D I (Function.updateListITE V d.args (List.map V (List.map (βΟ) d.args))) M E d.F β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E d.F |
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))) M E d.F β
Holds D I (V β βΟ) (fun X' V' => Holds D I (V' β Ο') M E (meta_var_ X')) E 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
s3 : d.F.metaVarSet = β
β’ Holds D I (Function.updateListITE V d.args (List.map V (List.map (βΟ) d.args))) M E d.F β Holds D I (V β βΟ) M E d.F |
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))) M E d.F β Holds D I (V β βΟ) M E 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 (Function.updateListITE V d.args (List.map V (List.map (βΟ) d.args))) M E d.F β Holds D I (V β βΟ) M E d.F |
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 (V β βΟ) M E 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
β’ β v β d.args, Function.updateListITE V d.args (List.map V (List.map (βΟ) d.args)) v = (V β βΟ) v |
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 = (V β βΟ) 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 = (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 β βΟ) d.args) v = V (βΟ v) |
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 |
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 : Valuation D), Holds D I V M E F | 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) β Ξβ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β Ξβ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E phiβ
case mp
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ psiβ : Formula
aβΒΉ : IsProof E Ξβ Ξβ phiβ
aβ : IsProof E Ξβ Ξβ (phiβ.imp_ psiβ)
a_ihβΒΉ :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β Ξβ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β Ξβ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E phiβ
a_ihβ :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β Ξβ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β Ξβ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E (phiβ.imp_ psiβ)
M : MetaValuation D
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 : Valuation D), Holds D I V M E psiβ
case prop_1
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ psiβ : Formula
aβΒΉ : IsMetaVarOrAllDefInEnv E phiβ
aβ : IsMetaVarOrAllDefInEnv E psiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E (phiβ.imp_ (psiβ.imp_ phiβ))
case prop_2
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ psiβ chiβ : Formula
aβΒ² : IsMetaVarOrAllDefInEnv E phiβ
aβΒΉ : IsMetaVarOrAllDefInEnv E psiβ
aβ : IsMetaVarOrAllDefInEnv E chiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E ((phiβ.imp_ (psiβ.imp_ chiβ)).imp_ ((phiβ.imp_ psiβ).imp_ (phiβ.imp_ chiβ)))
case prop_3
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ psiβ : Formula
aβΒΉ : IsMetaVarOrAllDefInEnv E phiβ
aβ : IsMetaVarOrAllDefInEnv E psiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E ((phiβ.not_.imp_ psiβ.not_).imp_ (psiβ.imp_ phiβ))
case gen
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ : Formula
xβ : VarName
aβ : IsProof E Ξβ Ξβ phiβ
a_ihβ :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β Ξβ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β Ξβ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E phiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E (forall_ xβ phiβ)
case pred_1
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ psiβ : Formula
xβ : VarName
aβΒΉ : IsMetaVarOrAllDefInEnv E phiβ
aβ : IsMetaVarOrAllDefInEnv E psiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E ((forall_ xβ (phiβ.imp_ psiβ)).imp_ ((forall_ xβ phiβ).imp_ (forall_ xβ psiβ)))
case pred_2
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ : Formula
xβ : VarName
aβΒΉ : IsMetaVarOrAllDefInEnv E phiβ
aβ : NotFree Ξβ xβ phiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E (phiβ.imp_ (forall_ xβ phiβ))
case eq_1
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
xβ yβ : VarName
aβ : Β¬yβ = xβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E (exists_ xβ (eq_ xβ yβ))
case eq_2
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
xβ yβ zβ : VarName
M : MetaValuation D
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 : Valuation D), Holds D I V M E ((eq_ xβ yβ).imp_ ((eq_ xβ zβ).imp_ (eq_ yβ zβ)))
case eq_3
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
nβ : β
nameβ : PredName
xsβ ysβ : Fin nβ β VarName
M : MetaValuation D
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 : Valuation D), Holds D I V M E (eqSubPred nameβ nβ xsβ ysβ)
case thm
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ Ξ'β : List (VarName Γ MetaVarName)
Ξβ Ξ'β : List Formula
phiβ : Formula
Οβ : Instantiation
Οβ : MetaInstantiation
aβΒ³ : β X β phiβ.metaVarSet, IsMetaVarOrAllDefInEnv E (Οβ X)
aβΒ² : β (x : VarName) (X : MetaVarName), (x, X) β Ξβ β NotFree Ξ'β (βΟβ x) (Οβ X)
aβΒΉ : β psi β Ξβ, IsProof E Ξ'β Ξ'β (sub Οβ Οβ psi)
aβ : IsProof E Ξβ Ξβ phiβ
a_ihβΒΉ :
β psi β Ξβ,
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β Ξ'β β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β Ξ'β β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E (sub Οβ Οβ psi)
a_ihβ :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β Ξβ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β Ξβ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E phiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E (sub Οβ Οβ phiβ)
case conv
D : Type
I : Interpretation D
E : Env
Ξ : List (VarName Γ MetaVarName)
Ξ : List Formula
F : Formula
h2 : E.WellFormed
Ξβ : List (VarName Γ MetaVarName)
Ξβ : List Formula
phiβ phi'β : Formula
aβΒ² : IsMetaVarOrAllDefInEnv E phi'β
aβΒΉ : IsProof E Ξβ Ξβ phiβ
aβ : IsConv E phiβ phi'β
a_ihβ :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β Ξβ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β Ξβ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E phiβ
M : MetaValuation D
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 : Valuation D), Holds D I V M E phi'β |
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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_phi | no goals |
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),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
h1_ih_2 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E (h1_phi.imp_ h1_psi)
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_psi | no goals |
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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (h1_phi.imp_ (h1_psi.imp_ h1_phi)) | no goals |
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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
Holds D I V M E ((h1_phi.imp_ (h1_psi.imp_ h1_chi)).imp_ ((h1_phi.imp_ h1_psi).imp_ (h1_phi.imp_ h1_chi))) | no goals |
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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E ((h1_phi.not_.imp_ h1_psi.not_).imp_ (h1_psi.imp_ h1_phi)) | no goals |
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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (forall_ h1_x h1_phi) | no goals |
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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
Holds D I V M E ((forall_ h1_x (h1_phi.imp_ h1_psi)).imp_ ((forall_ h1_x h1_phi).imp_ (forall_ h1_x h1_psi))) | no goals |
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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (h1_phi.imp_ (forall_ h1_x h1_phi)) | no goals |
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) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (exists_ h1_x (eq_ h1_x h1_y)) | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case eq_3 h1_Ξ h1_Ξ h1_n h1_name h1_xs h1_ys =>
sorry | 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_n : β
h1_name : PredName
h1_xs h1_ys : Fin h1_n β VarName
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (eqSubPred h1_name h1_n h1_xs h1_ys) | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | case conv h1_Ξ h1_Ξ h1_phi h1_phi' h1_1 h1_2 h1_3 h1_ih =>
intro V
have s1 : Holds D I V M E h1_phi := h1_ih M nf hyp V
simp only [β holds_conv D I V M E h1_phi h1_phi' h2 h1_3]
exact s1 | 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_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 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_phi' | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro 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 : Formula
h1_1 : IsMetaVarOrAllDefInEnv E h1_phi
h1_2 : h1_phi β h1_Ξ
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_phi | 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
β’ Holds D I V M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
β’ Holds D I V M E h1_phi | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | simp only [Holds] at h1_ih_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 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),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
h1_ih_2 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E (h1_phi.imp_ h1_psi)
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_psi | 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),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
h1_ih_2 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E h1_phi β Holds D I V M E h1_psi
β’ β (V : Valuation D), Holds D I V M E h1_psi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro 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),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
h1_ih_2 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E h1_phi β Holds D I V M E h1_psi
β’ β (V : Valuation D), Holds D I V M E h1_psi | 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),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
h1_ih_2 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E h1_phi β Holds D I V M E h1_psi
V : Valuation D
β’ Holds D I V M E h1_psi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | 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),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
h1_ih_2 :
β (M : MetaValuation D),
(β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β
β (V : Valuation D), Holds D I V M E h1_phi β Holds D I V M E h1_psi
V : Valuation D
β’ Holds D I V M E h1_psi | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | simp only [Holds] | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (h1_phi.imp_ (h1_psi.imp_ h1_phi)) | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro V a1 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_phi | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Holds D I V M E h1_phi
a2 : Holds D I V M E h1_psi
β’ Holds D I V M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Holds D I V M E h1_phi
a2 : Holds D I V M E h1_psi
β’ Holds D I V M E h1_phi | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | simp only [Holds] | 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
Holds D I V M E ((h1_phi.imp_ (h1_psi.imp_ h1_chi)).imp_ ((h1_phi.imp_ h1_psi).imp_ (h1_phi.imp_ h1_chi))) | 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
(Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_chi) β
(Holds D I V M E h1_phi β Holds D I V M E h1_psi) β Holds D I V M E h1_phi β Holds D I V M E h1_chi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro V a1 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
(Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_chi) β
(Holds D I V M E h1_phi β Holds D I V M E h1_psi) β Holds D I V M E h1_phi β Holds D I V M E h1_chi | 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_chi
a2 : Holds D I V M E h1_phi β Holds D I V M E h1_psi
a3 : Holds D I V M E h1_phi
β’ Holds D I V M E h1_chi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | apply a1 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_chi
a2 : Holds D I V M E h1_phi β Holds D I V M E h1_psi
a3 : Holds D I V M E h1_phi
β’ Holds D I V M E h1_chi | 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_chi
a2 : Holds D I V M E h1_phi β Holds D I V M E h1_psi
a3 : Holds D I V M E h1_phi
β’ Holds D I V M E h1_psi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | 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_chi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Holds D I V M E h1_phi β Holds D I V M E h1_psi β Holds D I V M E h1_chi
a2 : Holds D I V M E h1_phi β Holds D I V M E h1_psi
a3 : Holds D I V M E h1_phi
β’ Holds D I V M E h1_psi | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | simp only [Holds] | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E ((h1_phi.not_.imp_ h1_psi.not_).imp_ (h1_psi.imp_ h1_phi)) | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
(Β¬Holds D I V M E h1_phi β Β¬Holds D I V M E h1_psi) β Holds D I V M E h1_psi β Holds D I V M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro V a1 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
(Β¬Holds D I V M E h1_phi β Β¬Holds D I V M E h1_psi) β Holds D I V M E h1_psi β Holds D I V M E h1_phi | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Β¬Holds D I V M E h1_phi β Β¬Holds D I V M E h1_psi
a2 : Holds D I V M E h1_psi
β’ Holds D I V M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | by_contra contra | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Β¬Holds D I V M E h1_phi β Β¬Holds D I V M E h1_psi
a2 : Holds D I V M E h1_psi
β’ Holds D I V M E h1_phi | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Β¬Holds D I V M E h1_phi β Β¬Holds D I V M E h1_psi
a2 : Holds D I V M E h1_psi
contra : Β¬Holds D I V M E h1_phi
β’ False |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | 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 : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : Β¬Holds D I V M E h1_phi β Β¬Holds D I V M E h1_psi
a2 : Holds D I V M E h1_psi
contra : Β¬Holds D I V M E h1_phi
β’ False | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | simp only [Holds] | 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D), Holds D I V M E (forall_ h1_x h1_phi) | 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D) (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro V 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D) (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi | 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
d : D
β’ Holds D I (Function.updateITE V h1_x d) M E h1_phi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | 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) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v) β
(β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F) β β (V : Valuation D), Holds D I V M E h1_phi
M : MetaValuation D
nf : β (v : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
d : D
β’ Holds D I (Function.updateITE V h1_x d) M E h1_phi | no goals |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | simp only [Holds] | 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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
Holds D I V M E ((forall_ h1_x (h1_phi.imp_ h1_psi)).imp_ ((forall_ h1_x h1_phi).imp_ (forall_ h1_x h1_psi))) | 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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
(β (d : D),
Holds D I (Function.updateITE V h1_x d) M E h1_phi β Holds D I (Function.updateITE V h1_x d) M E h1_psi) β
(β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi) β
β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_psi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | intro V a1 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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
β’ β (V : Valuation D),
(β (d : D),
Holds D I (Function.updateITE V h1_x d) M E h1_phi β Holds D I (Function.updateITE V h1_x d) M E h1_psi) β
(β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi) β
β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_psi | 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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi β Holds D I (Function.updateITE V h1_x d) M E h1_psi
a2 : β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi
d : D
β’ Holds D I (Function.updateITE V h1_x d) M E h1_psi |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/MM0/MM0.lean | MM0.holds_is_proof | [2060, 1] | [2162, 13] | apply a1 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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi β Holds D I (Function.updateITE V h1_x d) M E h1_psi
a2 : β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi
d : D
β’ Holds D I (Function.updateITE V h1_x d) M E h1_psi | 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 : VarName) (X : MetaVarName), (v, X) β h1_Ξ β IsNotFree D I M E (meta_var_ X) v
hyp : β (F : Formula) (V : Valuation D), F β h1_Ξ β Holds D I V M E F
V : Valuation D
a1 : β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi β Holds D I (Function.updateITE V h1_x d) M E h1_psi
a2 : β (d : D), Holds D I (Function.updateITE V h1_x d) M E h1_phi
d : D
β’ Holds D I (Function.updateITE V h1_x d) M E h1_phi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.