url stringclasses 147
values | commit stringclasses 147
values | file_path stringlengths 7 101 | full_name stringlengths 1 94 | start stringlengths 6 10 | end stringlengths 6 11 | tactic stringlengths 1 11.2k | state_before stringlengths 3 2.09M | state_after stringlengths 6 2.09M | input stringlengths 73 2.09M |
|---|---|---|---|---|---|---|---|---|---|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | push_neg at h2 | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2 : ¬... | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h3 : ¬... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isB... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | cases h2 | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h3 : ¬... | case intro
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isB... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [isBoundIn] at h3 | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h3 : ¬... | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h3 : ¬... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isB... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | push_neg at h3 | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h3 : ¬... | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2_lef... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isB... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | cases h3 | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2_lef... | case intro
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isB... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | specialize h1_ih_1 h2_left h3_left | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2_lef... | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_1 : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : ¬isBoundIn r Q_u → ¬isB... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | specialize h1_ih_2 h2_right h3_right | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬... | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsProof ((eq... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h1_ih_2 : ¬isBoundIn r Q_u → ¬isBoundIn s Q_u → IsProof ((eq_ r s).imp_ (Q_u.iff_ Q_v))
h2_left : ¬isBoundIn r P_u
h2_rig... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply IsDeduct.mp_ ((eq_ r s).imp_ (Q_u.iff_ Q_v)) | P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsProof ((eq... | case a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsPro... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : I... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply IsDeduct.mp_ ((eq_ r s).imp_ (P_u.iff_ P_v)) | case a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsPro... | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | Please generate a tactic in lean4 to solve the state.
STATE:
case a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [def_iff_] | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | Please generate a tactic in lean4 to solve the state.
STATE:
case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [def_and_] | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | Please generate a tactic in lean4 to solve the state.
STATE:
case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | SC | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | exact h1_ih_1 | case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsP... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a.a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | exact h1_ih_2 | case a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_ih_1 : IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h1_ih_2 : IsPro... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case a
P_r P_s : Formula
r s : VarName
P_u Q_u P_v Q_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_2 : IsReplOfVarInFormula r s Q_u Q_v
h2_left : ¬isBoundIn r P_u
h2_right : ¬isBoundIn r Q_u
h3_left : ¬isBoundIn s P_u
h3_right : ¬isBoundIn s Q_u
h1_i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [isBoundIn] at h2 | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2 : ¬isBoundIn r (forall_ x P_u)
h3 : ¬isBoundIn s (forall_ x P_u)
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2 : ¬(r = x ∨ isBoundIn r P_u)
h3 : ¬isBoundIn s (forall_ x P_u)
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2 : ¬isBoundIn r (forall_ x P_u)
h3 : ¬isBoundIn s (forall_ x P_u)
⊢ IsProof ((e... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | push_neg at h2 | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2 : ¬(r = x ∨ isBoundIn r P_u)
h3 : ¬isBoundIn s (forall_ x P_u)
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬isBoundIn s (forall_ x P_u)
h2 : r ≠ x ∧ ¬isBoundIn r P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2 : ¬(r = x ∨ isBoundIn r P_u)
h3 : ¬isBoundIn s (forall_ x P_u)
⊢ IsProof ((eq_... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | cases h2 | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬isBoundIn s (forall_ x P_u)
h2 : r ≠ x ∧ ¬isBoundIn r P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | case intro
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬isBoundIn s (forall_ x P_u)
left✝ : r ≠ x
right✝ : ¬isBoundIn r P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ ... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬isBoundIn s (forall_ x P_u)
h2 : r ≠ x ∧ ¬isBoundIn r P_u
⊢ IsProof ((eq_ r... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [isBoundIn] at h3 | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬isBoundIn s (forall_ x P_u)
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))... | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬(s = x ∨ isBoundIn s P_u)
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬isBoundIn s (forall_ x P_u)
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
⊢ I... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | push_neg at h3 | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬(s = x ∨ isBoundIn s P_u)
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3 : s ≠ x ∧ ¬isBoundIn s P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h3 : ¬(s = x ∨ isBoundIn s P_u)
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
⊢ IsP... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | cases h3 | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3 : s ≠ x ∧ ¬isBoundIn s P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (forall_ x P_v))) | case intro
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
left✝ : s ≠ x
right✝ : ¬isBoundIn s P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3 : s ≠ x ∧ ¬isBoundIn s P_u
⊢ IsPro... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply deduction_theorem | P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsProof ((eq_ r s).imp_ ((forall_ x P_u).iff_ (foral... | case h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct (∅ ∪ {eq_ r s}) ((forall_ x P_u).if... | Please generate a tactic in lean4 to solve the state.
STATE:
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp | case h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct (∅ ∪ {eq_ r s}) ((forall_ x P_u).if... | case h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} ((forall_ x P_u).iff_ (fo... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply IsDeduct.mp_ (forall_ x (P_u.iff_ P_v)) | case h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} ((forall_ x P_u).iff_ (fo... | case h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} ((forall_ x (P_u.iff_ P... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬i... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply proof_imp_deduct | case h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} ((forall_ x (P_u.iff_ P... | case h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsProof ((forall_ x (P_u.iff_ P_v)).imp... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply T_18_1 | case h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsProof ((forall_ x (P_u.iff_ P_v)).imp... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply IsDeduct.mp_ (eq_ r s) | case h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} (forall_ x (P_u.iff_ P_... | case h1.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} ((eq_ r s).imp_ (fora... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply proof_imp_deduct | case h1.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} ((eq_ r s).imp_ (fora... | case h1.a.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsProof ((eq_ r s).imp_ (forall_ x (P... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply IsDeduct.mp_ (forall_ x ((eq_ r s).imp_ (P_u.iff_ P_v))) | case h1.a.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsProof ((eq_ r s).imp_ (forall_ x (P... | case h1.a.a.h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct ∅ ((forall_ x ((eq_ r s).i... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_rig... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply T_19_TS_21_left | case h1.a.a.h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct ∅ ((forall_ x ((eq_ r s).i... | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ ¬isFreeIn x (eq_ r s) | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_r... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [isFreeIn] | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ ¬isFreeIn x (eq_ r s) | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ ¬(x = r ∨ x = s) | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | push_neg | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ ¬(x = r ∨ x = s) | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ x ≠ r ∧ x ≠ s | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | constructor | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ x ≠ r ∧ x ≠ s | case h1.a.a.h1.a.h1.left
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ x ≠ r
case h1.a.a.h1.a.h1.... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [ne_comm] | case h1.a.a.h1.a.h1.left
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ x ≠ r | case h1.a.a.h1.a.h1.left
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ r ≠ x | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1.left
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | exact h2_left | case h1.a.a.h1.a.h1.left
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ r ≠ x | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1.left
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp only [ne_comm] | case h1.a.a.h1.a.h1.right
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ x ≠ s | case h1.a.a.h1.a.h1.right
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ s ≠ x | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1.right
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | exact h3_left | case h1.a.a.h1.a.h1.right
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ s ≠ x | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1.right
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply generalization | case h1.a.a.h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct ∅ (forall_ x ((eq_ r s).im... | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct ∅ ((eq_ r s).imp_ (P_u.... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_r... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | exact h1_ih h2_right h3_right | case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct ∅ ((eq_ r s).imp_ (P_u.... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h1
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | intro H a1 | case h1.a.a.h1.a.h2
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ ∀ H ∈ ∅, ¬isFreeIn x H | case h1.a.a.h1.a.h2
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
H : Formula
a1 : H ∈ ∅
⊢ ¬isFreeIn... | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h2
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp at a1 | case h1.a.a.h1.a.h2
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
H : Formula
a1 : H ∈ ∅
⊢ ¬isFreeIn... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.h1.a.h2
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | apply IsDeduct.assume_ | case h1.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ IsDeduct {eq_ r s} (eq_ r s) | case h1.a.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ eq_ r s ∈ {eq_ r s} | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | simp | case h1.a.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_right : ¬isBoundIn s P_u
⊢ eq_ r s ∈ {eq_ r s} | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h1.a.a.a
P_r P_s : Formula
r s x : VarName
P_u P_v : Formula
h1_1 : IsReplOfVarInFormula r s P_u P_v
h1_ih : ¬isBoundIn r P_u → ¬isBoundIn s P_u → IsProof ((eq_ r s).imp_ (P_u.iff_ P_v))
h2_left : r ≠ x
h2_right : ¬isBoundIn r P_u
h3_left : s ≠ x
h3_righ... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Margaris/Fol.lean | FOL.NV.T_21_8 | [1404, 1] | [1543, 10] | sorry | case exists_
P_r P_s : Formula
r s x✝ : VarName
P_u✝ P_v✝ : Formula
a✝ : IsReplOfVarInFormula r s P_u✝ P_v✝
a_ih✝ : ¬isBoundIn r P_u✝ → ¬isBoundIn s P_u✝ → IsProof ((eq_ r s).imp_ (P_u✝.iff_ P_v✝))
h2 : ¬isBoundIn r (exists_ x✝ P_u✝)
h3 : ¬isBoundIn s (exists_ x✝ P_u✝)
⊢ IsProof ((eq_ r s).imp_ ((exists_ x✝ P_u✝).iff_ ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case exists_
P_r P_s : Formula
r s x✝ : VarName
P_u✝ P_v✝ : Formula
a✝ : IsReplOfVarInFormula r s P_u✝ P_v✝
a_ih✝ : ¬isBoundIn r P_u✝ → ¬isBoundIn s P_u✝ → IsProof ((eq_ r s).imp_ (P_u✝.iff_ P_v✝))
h2 : ¬isBoundIn r (exists_ x✝ P_u✝)
h3 : ¬isBoundIn s (exists... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | induction F | F : Formula
τ : PredName → PredName
h1 : F.predVarSet = ∅
⊢ sub τ F = F | case pred_const_
τ : PredName → PredName
a✝¹ : PredName
a✝ : List VarName
h1 : (pred_const_ a✝¹ a✝).predVarSet = ∅
⊢ sub τ (pred_const_ a✝¹ a✝) = pred_const_ a✝¹ a✝
case pred_var_
τ : PredName → PredName
a✝¹ : PredName
a✝ : List VarName
h1 : (pred_var_ a✝¹ a✝).predVarSet = ∅
⊢ sub τ (pred_var_ a✝¹ a✝) = pred_var_ a✝¹ ... | Please generate a tactic in lean4 to solve the state.
STATE:
F : Formula
τ : PredName → PredName
h1 : F.predVarSet = ∅
⊢ sub τ F = F
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case pred_const_ X xs =>
simp only [sub] | τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_const_ X xs).predVarSet = ∅
⊢ sub τ (pred_const_ X xs) = pred_const_ X xs | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_const_ X xs).predVarSet = ∅
⊢ sub τ (pred_const_ X xs) = pred_const_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case pred_var_ X xs =>
simp only [predVarSet] at h1
simp at h1 | τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_var_ X xs).predVarSet = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_var_ X xs).predVarSet = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case eq_ x y =>
simp only [sub] | τ : PredName → PredName
x y : VarName
h1 : (eq_ x y).predVarSet = ∅
⊢ sub τ (eq_ x y) = eq_ x y | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
x y : VarName
h1 : (eq_ x y).predVarSet = ∅
⊢ sub τ (eq_ x y) = eq_ x y
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case true_ | false_ =>
simp only [sub] | τ : PredName → PredName
h1 : false_.predVarSet = ∅
⊢ sub τ false_ = false_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
h1 : false_.predVarSet = ∅
⊢ sub τ false_ = false_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case not_ phi phi_ih =>
simp only [predVarSet] at h1
simp only [sub]
congr!
exact phi_ih h1 | τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.not_.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.not_.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case forall_ x phi phi_ih | exists_ x phi phi_ih =>
simp only [predVarSet] at h1
simp only [sub]
congr!
exact phi_ih h1 | τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : (exists_ x phi).predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : (exists_ x phi).predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | case def_ X xs =>
simp only [sub] | τ : PredName → PredName
X : DefName
xs : List VarName
h1 : (def_ X xs).predVarSet = ∅
⊢ sub τ (def_ X xs) = def_ X xs | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : DefName
xs : List VarName
h1 : (def_ X xs).predVarSet = ∅
⊢ sub τ (def_ X xs) = def_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_const_ X xs).predVarSet = ∅
⊢ sub τ (pred_const_ X xs) = pred_const_ X xs | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_const_ X xs).predVarSet = ∅
⊢ sub τ (pred_const_ X xs) = pred_const_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [predVarSet] at h1 | τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_var_ X xs).predVarSet = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs | τ : PredName → PredName
X : PredName
xs : List VarName
h1 : {(X, xs.length)} = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : PredName
xs : List VarName
h1 : (pred_var_ X xs).predVarSet = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp at h1 | τ : PredName → PredName
X : PredName
xs : List VarName
h1 : {(X, xs.length)} = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : PredName
xs : List VarName
h1 : {(X, xs.length)} = ∅
⊢ sub τ (pred_var_ X xs) = pred_var_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
x y : VarName
h1 : (eq_ x y).predVarSet = ∅
⊢ sub τ (eq_ x y) = eq_ x y | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
x y : VarName
h1 : (eq_ x y).predVarSet = ∅
⊢ sub τ (eq_ x y) = eq_ x y
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
h1 : false_.predVarSet = ∅
⊢ sub τ false_ = false_ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
h1 : false_.predVarSet = ∅
⊢ sub τ false_ = false_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [predVarSet] at h1 | τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.not_.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_ | τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_ | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.not_.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_ | τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ (sub τ phi).not_ = phi.not_ | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi.not_ = phi.not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | congr! | τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ (sub τ phi).not_ = phi.not_ | case h.e'_1
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi = phi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ (sub τ phi).not_ = phi.not_
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | exact phi_ih h1 | case h.e'_1
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi = phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.e'_1
τ : PredName → PredName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi = phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [predVarSet] at h1 | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : (phi.iff_ psi).predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : phi.predVarSet ∪ psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : (phi.iff_ psi).predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [Finset.union_eq_empty] at h1 | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : phi.predVarSet ∪ psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : phi.predVarSet = ∅ ∧ psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : phi.predVarSet ∪ psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | cases h1 | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : phi.predVarSet = ∅ ∧ psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | case intro
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
left✝ : phi.predVarSet = ∅
right✝ : psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1 : phi.predVarSet = ∅ ∧ psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ (sub τ phi).iff_ (sub τ psi) = phi.iff_ psi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ (phi.iff_ psi) = phi.iff_ psi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | congr! | τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ (sub τ phi).iff_ (sub τ psi) = phi.iff_ psi | case h.e'_1
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ phi = phi
case h.e'_2
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = ... | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ (sub τ phi).iff_ (sub τ psi) = phi.iff_ psi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | exact phi_ih h1_left | case h.e'_1
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ phi = phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.e'_1
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ phi = phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | exact psi_ih h1_right | case h.e'_2
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ psi = psi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.e'_2
τ : PredName → PredName
phi psi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
psi_ih : psi.predVarSet = ∅ → sub τ psi = psi
h1_left : phi.predVarSet = ∅
h1_right : psi.predVarSet = ∅
⊢ sub τ psi = psi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [predVarSet] at h1 | τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : (exists_ x phi).predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi | τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : (exists_ x phi).predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi | τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ exists_ x (sub τ phi) = exists_ x phi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ (exists_ x phi) = exists_ x phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | congr! | τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ exists_ x (sub τ phi) = exists_ x phi | case h.e'_2
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi = phi | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ exists_ x (sub τ phi) = exists_ x phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | exact phi_ih h1 | case h.e'_2
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi = phi | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.e'_2
τ : PredName → PredName
x : VarName
phi : Formula
phi_ih : phi.predVarSet = ∅ → sub τ phi = phi
h1 : phi.predVarSet = ∅
⊢ sub τ phi = phi
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.sub_no_predVar | [47, 1] | [91, 20] | simp only [sub] | τ : PredName → PredName
X : DefName
xs : List VarName
h1 : (def_ X xs).predVarSet = ∅
⊢ sub τ (def_ X xs) = def_ X xs | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
τ : PredName → PredName
X : DefName
xs : List VarName
h1 : (def_ X xs).predVarSet = ∅
⊢ sub τ (def_ X xs) = def_ X xs
TACTIC:
|
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | induction E generalizing F V | D : Type
I : Interpretation D
V : VarAssignment D
E : Env
τ : PredName → PredName
F : Formula
⊢ Holds D I V E (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V E (pred_var_ (τ P) []) else I.pred_var_ P ds }
V E F | case nil
D : Type
I : Interpretation D
τ : PredName → PredName
V : VarAssignment D
F : Formula
⊢ Holds D I V [] (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V [] (pred_var_ (τ P) []) else I.pred_var_ P ds }
V [] F
case con... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
V : VarAssignment D
E : Env
τ : PredName → PredName
F : Formula
⊢ Holds D I V E (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V E (pred_var... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case nil.def_ X xs =>
simp only [sub]
simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
X : DefName
xs : List VarName
V : VarAssignment D
⊢ Holds D I V [] (sub τ (def_ X xs)) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V [] (pred_var_ (τ P) []) else I.pred_var_ P ds }
... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
X : DefName
xs : List VarName
V : VarAssignment D
⊢ Holds D I V [] (sub τ (def_ X xs)) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Ho... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case cons.def_ hd tl ih X xs =>
simp only [Holds] at ih
simp at ih
simp only [sub]
simp only [Holds]
split_ifs
case _ c1 =>
specialize ih (Function.updateListITE V hd.args (List.map V xs)) hd.q
simp only [sub_no_predVar hd.q τ hd.h2] at ih
apply ih
case _ c1 =>
specialize ih V (def_ X xs)
... | D : Type
I : Interpretation D
τ : PredName → PredName
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tl (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tl (pred_var_ (τ P) ... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
hd : Definition
tl : List Definition
ih :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tl (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ :=... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | induction F generalizing V | case cons
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D... | case cons.pred_const_
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] ... | Please generate a tactic in lean4 to solve the state.
STATE:
case cons
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case pred_const_ X xs =>
simp only [sub]
simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case pred_var_ X xs =>
simp only [sub]
split_ifs
case pos c1 =>
simp only [Holds]
simp
simp only [if_pos c1]
case neg c1 =>
simp only [Holds]
simp
simp only [if_neg c1] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case eq_ x y =>
simp only [sub]
simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case true_ | false_ =>
simp only [sub]
simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case not_ phi phi_ih =>
simp only [Holds] at phi_ih
simp only [sub]
simp only [Holds]
congr! 1
apply phi_ih | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case forall_ x phi phi_ih | exists_ x phi phi_ih =>
simp only [Holds] at phi_ih
simp only [sub]
simp only [Holds]
first | apply forall_congr' | apply exists_congr
intros d
apply phi_ih | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [sub] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [sub] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | split_ifs | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | case pos
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D ... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case pos c1 =>
simp only [Holds]
simp
simp only [if_pos c1] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | case neg c1 =>
simp only [Holds]
simp
simp only [if_neg c1] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [if_pos c1] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [if_neg c1] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [sub] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [sub] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [Holds] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [Holds] at phi_ih | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
https://github.com/pthomas505/FOL.git | 097a4abea51b641d144539b9a0f7516f3b9d818c | FOL/NV/Sub/Prop/All/Rec/Sub.lean | FOL.NV.Sub.Prop.All.Rec.substitution_theorem | [94, 1] | [182, 15] | simp only [sub] | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
pred_var_ := fun P ds => if ds = [] then Holds D I V tail✝... | Please generate a tactic in lean4 to solve the state.
STATE:
D : Type
I : Interpretation D
τ : PredName → PredName
head✝ : Definition
tail✝ : List Definition
tail_ih✝ :
∀ (V : VarAssignment D) (F : Formula),
Holds D I V tail✝ (sub τ F) ↔
Holds D
{ nonempty := ⋯, pred_const_ := I.pred_const_,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.