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/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro H' a2
case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D V...
case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D V...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at a1
case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D V...
case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D V...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply a1
case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D V...
case a.a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at a2
case a.a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D...
case a.a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D...
Please generate a tactic in lean4 to solve the state. STATE: case a.a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
tauto
case a.a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds D I V E H) β†’ Holds D I V E phi✝ D : Type I : Interpretation D...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a.a Ξ” : List Formula F : Formula Ξ”_1 Ξ”_2 : List Formula H_1 H_2 phi✝ : Formula a✝ : IsDeduct (Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2) phi✝ ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”_1 ++ [H_1] ++ [H_2] ++ Ξ”_2, Holds ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E a1
Ξ” : List Formula F phi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [phi], Holds D I V E H) β†’ Holds D I V E phi
Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ [phi], Holds D I V E H ⊒ Holds D I V E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [phi], Holds D I V E H) β†’ Holds D I V E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at a1
Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ [phi], Holds D I V E H ⊒ Holds D I V E phi
Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a1 : Holds D I V E phi ⊒ Holds D I V E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ [phi], Holds D I V E H ⊒ Holds D I V E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a1
Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a1 : Holds D I V E phi ⊒ Holds D I V E phi
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a1 : Holds D I V E phi ⊒ Holds D I V E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E true_
Ξ” : List Formula F : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E true_
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E true_ TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E true_
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E true_ TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F phi psi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (phi.imp_ (psi.imp_ phi))
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (phi.imp_ (psi.imp_ phi))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (phi.imp_ (psi.imp_ phi)) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (phi.imp_ (psi.imp_ phi))
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E phi β†’ Holds D I V E psi β†’ Holds D I V E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (phi.imp_ (psi.imp_ phi)) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
tauto
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E phi β†’ Holds D I V E psi β†’ Holds D I V E phi
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E phi β†’ Holds D I V E psi β†’ Holds D I V E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F phi psi chi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((phi.imp_ (psi.imp_ chi)).imp_ ((phi.imp_ psi).imp_ (phi.imp_ chi)))
Ξ” : List Formula F phi psi chi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((phi.imp_ (psi.imp_ chi)).imp_ ((phi.imp_ psi).imp_ (phi.imp_ chi)))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi chi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((phi.imp_ (psi.imp_ chi)).imp_ ((phi.imp_ psi).imp_ (phi.imp_ chi))) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F phi psi chi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((phi.imp_ (psi.imp_ chi)).imp_ ((phi.imp_ psi).imp_ (phi.imp_ chi)))
Ξ” : List Formula F phi psi chi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (Holds D I V E phi β†’ Holds D I V E psi β†’ Holds D I V E chi) β†’ (Holds D I V E phi β†’ Holds D I V E psi) β†’ Holds D I V E phi β†’ Holds D I V E chi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi chi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((phi.imp_ (psi.imp_ chi)).imp_ ((phi.imp_ psi).imp_ (phi.imp_ chi))) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
tauto
Ξ” : List Formula F phi psi chi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (Holds D I V E phi β†’ Holds D I V E psi β†’ Holds D I V E chi) β†’ (Holds D I V E phi β†’ Holds D I V E psi) β†’ Holds D I V E phi β†’ Holds D I V E chi
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi chi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (Holds D I V E phi β†’ Holds D I V E psi β†’ Holds D I V E chi) β†’ (Holds D I V E phi β†’ Holds D I V E psi) β†’ Holds D I V E phi β†’...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F phi psi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((phi.not_.imp_ psi.not_).imp_ (psi.imp_ phi))
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((phi.not_.imp_ psi.not_).imp_ (psi.imp_ phi))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((phi.not_.imp_ psi.not_).imp_ (psi.imp_ phi)) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((phi.not_.imp_ psi.not_).imp_ (psi.imp_ phi))
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (Β¬Holds D I V E phi β†’ Β¬Holds D I V E psi) β†’ Holds D I V E psi β†’ Holds D I V E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((phi.not_.imp_ psi.not_).imp_ (psi.imp_ phi)) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
tauto
Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (Β¬Holds D I V E phi β†’ Β¬Holds D I V E psi) β†’ Holds D I V E psi β†’ Holds D I V E phi
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (Β¬Holds D I V E phi β†’ Β¬Holds D I V E psi) β†’ Holds D I V E psi β†’ Holds D I V E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E a1
Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_major : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E (phi.imp_ psi) ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : Va...
Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_major : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E (phi.imp_ psi) ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : Va...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_major : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E (phi.imp_ ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds] at ih_major
Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_major : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E (phi.imp_ psi) ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : Va...
Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”'...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_major : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E (phi.imp_ ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply ih_major
Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”'...
case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro H' a2
case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€...
case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D :...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a1 H' a2
case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D :...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply ih_minor
case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€...
case a.a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 :...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D :...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a1
case a.a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 :...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a.a Ξ” : List Formula F : Formula Ξ”' : List Formula phi psi : Formula a✝¹ : IsDeduct Ξ”' (phi.imp_ psi) a✝ : IsDeduct Ξ”' phi ih_minor : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Holds D I V E H) β†’ Holds D I V E phi D...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E a1
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ Ξ”', Hold...
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I V E H ⊒...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi ⊒ βˆ€ (D : Type) (I : Interpret...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I V E H ⊒...
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I V E H ⊒...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro a2
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I V E H ⊒...
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I V E H a...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply ih_2
Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I V E H a...
case a Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I ...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp
case a Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I ...
case a Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I ...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpret...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
constructor
case a Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds D I ...
case a.left Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds...
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpret...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a2
case a.left Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Holds...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a.left Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Inte...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a1
case a.right Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a1 : βˆ€ H ∈ Ξ”', Hold...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a.right Ξ” : List Formula F : Formula Ξ”' : List Formula H phi : Formula a✝ : IsDeduct (H :: Ξ”') phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H_1 ∈ H :: Ξ”', Holds D I V E H_1) β†’ Holds D I V E phi D : Type I : Int...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula v : VarName phi psi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((forall_ v (phi.imp_ psi)).imp_ ((forall_ v phi).imp_ (forall_ v psi)))
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((forall_ v (phi.imp_ psi)).imp_ ((forall_ v phi).imp_ (forall_ v psi)))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi psi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((forall_ v (phi.imp_ psi)).imp_ ((forall_ v phi).imp_ (forall_ v psi))) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((forall_ v (phi.imp_ psi)).imp_ ((forall_ v phi).imp_ (forall_ v psi)))
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi) β†’ (βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi) β†’ βˆ€ (d ...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((forall_ v (phi.imp_ psi)).imp_ ((forall_ v phi).imp_ (forall_ v psi))) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro a2 a3 d
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi) β†’ (βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi) β†’ βˆ€ (d ...
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi a3 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi d : D ⊒ H...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ (βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi) β†’ (βˆ€...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply a2 d
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi a3 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi d : D ⊒ H...
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi a3 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi d : D ⊒ H...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi a3 : βˆ€ ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a3 d
Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi a3 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi d : D ⊒ H...
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi psi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi β†’ Holds D I (Function.updateITE V v d) E psi a3 : βˆ€ ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula v t : VarName phi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((forall_ v phi).imp_ (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi))
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((forall_ v phi).imp_ (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((forall_ v phi).imp_ (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
obtain s1 := FOL.NV.Sub.Var.All.Rec.Fresh.substitution_theorem D I V E (Function.updateITE id v t) freshChar phi
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((forall_ v phi).imp_ (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi))
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi ⊒ Holds D I V E ((forall_ v p...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((forall_ v phi).imp_ (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi)) TACT...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi ⊒ Holds D I V E ((forall_ v p...
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi ⊒ (βˆ€ (d : D), Holds D I (Func...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ F...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro a2
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi ⊒ (βˆ€ (d : D), Holds D I (Func...
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ F...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [s1]
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ F...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Function.updateITE_comp_left]
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ F...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ F...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a2 (V t)
Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ Function.updateITE id v t) E phi a2 : βˆ€ (d : D), Holds D I (Fu...
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v t : VarName phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H s1 : Holds D I V E (Sub.Var.All.Rec.Fresh.sub (Function.updateITE id v t) freshChar phi) ↔ Holds D I (V ∘ F...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (phi.imp_ (forall_ v phi))
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (phi.imp_ (forall_ v phi))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (phi.imp_ (forall_ v phi)) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (phi.imp_ (forall_ v phi))
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E phi β†’ βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (phi.imp_ (forall_ v phi)) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro a2 d
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E phi β†’ βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E phi β†’ βˆ€ (d : D), Holds D I (Function.updateITE V v d) E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
have s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi
case s1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi Ξ” : List Formula F : Formula v : VarName phi : Formu...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
{ apply Holds_coincide_Var intro v' a1 simp only [Function.updateITE] split_ifs case _ c1 => subst c1 contradiction case _ c1 => rfl }
case s1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi Ξ” : List Formula F : Formula v : VarName phi : Formu...
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi ⊒ Holds D I (Function.updateITE V v d) E phi
Please generate a tactic in lean4 to solve the state. STATE: case s1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi ↔ Holds D I ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [s1]
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi ⊒ Holds D I (Function.updateITE V v d) E phi
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi ⊒ Holds D I V E phi
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E p...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a2
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi ⊒ Holds D I V E phi
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D s1 : Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E p...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply Holds_coincide_Var
case s1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi ↔ Holds D I V E phi
case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ βˆ€ (v_1 : VarName), isFreeIn v_1 phi β†’ Function.updateITE V v d v_1 = V v_1
Please generate a tactic in lean4 to solve the state. STATE: case s1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ Holds D I (Function.updateITE V v d) E phi ↔ Holds D I ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro v' a1
case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ βˆ€ (v_1 : VarName), isFreeIn v_1 phi β†’ Function.updateITE V v d v_1 = V v_1
case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ⊒ Function.updateITE V v d v' = V v'
Please generate a tactic in lean4 to solve the state. STATE: case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D ⊒ βˆ€ (v_1 : VarName), isFreeIn v_1 phi β†’ Function.updat...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Function.updateITE]
case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ⊒ Function.updateITE V v d v' = V v'
case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ⊒ (if v' = v then d else V v') = V v'
Please generate a tactic in lean4 to solve the state. STATE: case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ⊒ Function.updateITE...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
split_ifs
case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ⊒ (if v' = v then d else V v') = V v'
case pos Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi h✝ : v' = v ⊒ d = V v' case neg Ξ” : List Formula F : Formula v : VarName phi : For...
Please generate a tactic in lean4 to solve the state. STATE: case s1.h1 Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ⊒ (if v' = v then d ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case _ c1 => subst c1 contradiction
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : v' = v ⊒ d = V v'
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : v' = v ⊒ d = V v' TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case _ c1 => rfl
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : Β¬v' = v ⊒ V v' = V v'
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : Β¬v' = v ⊒ V v' = V v' TACT...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
subst c1
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : v' = v ⊒ d = V v'
Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ih : Β¬isFreeIn v' phi ⊒ d = V v'
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : v' = v ⊒ d = V v' TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
contradiction
Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ih : Β¬isFreeIn v' phi ⊒ d = V v'
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F phi : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi ih : Β¬isFreeIn v' phi ⊒ d = V v' TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
rfl
Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : Β¬v' = v ⊒ V v' = V v'
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula ih : Β¬isFreeIn v phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : Holds D I V E phi d : D v' : VarName a1 : isFreeIn v' phi c1 : Β¬v' = v ⊒ V v' = V v' TACT...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E...
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (forall_ v p...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula a✝ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (forall_ v p...
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ βˆ€ (d : D), Holds D I (Func...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : En...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro d
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ βˆ€ (d : D), Holds D I (Func...
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H d : D ⊒ Holds D I (Function....
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : En...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply ih_2
Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H d : D ⊒ Holds D I (Function....
case a Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H d : D ⊒ βˆ€ H ∈ [], Hol...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : En...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp
case a Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H d : D ⊒ βˆ€ H ∈ [], Hol...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a Ξ” : List Formula F : Formula v : VarName phi : Formula a✝¹ : IsDeduct [] phi ih_2 : βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E phi D : Type I : Interpretation D V : VarAssignment D...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula v : VarName ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (eq_ v v)
Ξ” : List Formula F : Formula v : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (eq_ v v)
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (eq_ v v) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula v : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (eq_ v v)
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula v : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (eq_ v v) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (((eq_ x_0 y_0).and_ (eq_ x_1 y_1)).imp_ ((eq_ x_0 x_1).iff_ (eq_ y_0 y_1)))
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (((eq_ x_0 y_0).and_ (eq_ x_1 y_1)).imp_ ((eq_ x_0 x_1).iff_ (eq_ y_0 y_1)))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (((eq_ x_0 y_0).and_ (eq_ x_1 y_1)).imp_ ((eq_ x_0 x_1).iff_ (eq_ y_0 y_1))) TA...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (((eq_ x_0 y_0).and_ (eq_ x_1 y_1)).imp_ ((eq_ x_0 x_1).iff_ (eq_ y_0 y_1)))
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ V x_0 = V y_0 ∧ V x_1 = V y_1 β†’ (V x_0 = V x_1 ↔ V y_0 = V y_1)
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (((eq_ x_0 y_0).and_ (eq_ x_1 y_1)).imp_ ((eq_ x_0 x_1).iff_ (eq_ y_0 y_1))) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro a2
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ V x_0 = V y_0 ∧ V x_1 = V y_1 β†’ (V x_0 = V x_1 ↔ V y_0 = V y_1)
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : V x_0 = V y_0 ∧ V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ V x_0 = V y_0 ∧ V x_1 = V y_1 β†’ (V x_0 = V x_1 ↔ V y_0 = V y_1) TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
cases a2
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : V x_0 = V y_0 ∧ V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1
case intro Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H left✝ : V x_0 = V y_0 right✝ : V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2 : V x_0 = V y_0 ∧ V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1 TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case _ a2_left a2_right => simp only [a2_left] simp only [a2_right]
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1 TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [a2_left]
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V y_0 = V x_1 ↔ V y_0 = V y_1
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V x_0 = V x_1 ↔ V y_0 = V y_1 TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [a2_right]
Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V y_0 = V x_1 ↔ V y_0 = V y_1
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula x_0 x_1 y_0 y_1 : VarName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a2_left : V x_0 = V y_0 a2_right : V x_1 = V y_1 ⊒ V y_0 = V x_1 ↔ V y_0 = V y_1 TACTIC:
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((List.foldr and_ true_ (List.zipWith eq_ xs ys)).imp_ ((pred_var_ X xs).iff_ (pred_var_ X ys)))
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((List.foldr and_ true_ (List.zipWith eq_ xs ys)).imp_ ((pred_var_ X xs).iff_ (pred_var_ X ys)))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E ((List.foldr and_ true_ (List.zipWith eq_ ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((List.foldr and_ true_ (List.zipWith eq_ xs ys)).imp_ ((pred_var_ X xs).iff_ (pred_var_ X ys)))
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) β†’ (I.pred_var_ X (List.map V xs) ↔ I.pred_var_ X (List.map V ys))
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E ((List.foldr and_ true_ (List.zipWith eq_ xs ys)).imp_ ((pred_...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro a1
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) β†’ (I.pred_var_ X (List.map V xs) ↔ I.pred_var_ X (List.map V ys))
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) ⊒ I.pred_var_ X (List.map V xs) ↔ I.pred_var_ X (List.map V ys)
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) β†’ (I.pred...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
congr! 1
Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) ⊒ I.pred_var_ X (List.map V xs) ↔ I.pred_var_ X (List.map V ys)
case a.h.e'_4 Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) ⊒ List.map V xs = List.map V ys
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) ⊒ I.pred_v...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
induction xs generalizing ys
case a.h.e'_4 Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs ys)) ⊒ List.map V xs = List.map V ys
case a.h.e'_4.nil Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys : List VarName ih_1 : [].length = ys.length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] ys)) ⊒ List.map V [] = List.map V ys case a.h.e'_4.cons Ξ” : ...
Please generate a tactic in lean4 to solve the state. STATE: case a.h.e'_4 Ξ” : List Formula F : Formula X : PredName xs ys : List VarName ih_1 : xs.length = ys.length D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs y...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case _ => cases ys case _ => simp only [Holds] case cons ys_hd ys_tl => simp at ih_1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys : List VarName ih_1 : [].length = ys.length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] ys)) ⊒ List.map V [] = List.map V ys
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys : List VarName ih_1 : [].length = ys.length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] ys)) ⊒ List.map V ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
cases ys
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys : List VarName ih_1 : [].length = ys.length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] ys)) ⊒ List.map V [] = List.map V ys
case nil Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ih_1 : [].length = [].length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] [])) ⊒ List.map V [] = List.map V [] case cons Ξ” : List Formula F : Formula X : PredNam...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys : List VarName ih_1 : [].length = ys.length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] ys)) ⊒ List.map V ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case _ => simp only [Holds]
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ih_1 : [].length = [].length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] [])) ⊒ List.map V [] = List.map V []
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ih_1 : [].length = [].length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] [])) ⊒ List.map V [] = List.map V []...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case cons ys_hd ys_tl => simp at ih_1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys_hd : VarName ys_tl : List VarName ih_1 : [].length = (ys_hd :: ys_tl).length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] (ys_hd :: ys_tl))) ⊒ List.map V [] = List.map ...
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys_hd : VarName ys_tl : List VarName ih_1 : [].length = (ys_hd :: ys_tl).length a1 : Holds D I V E (List.foldr and_ true_ (List....
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds]
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ih_1 : [].length = [].length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] [])) ⊒ List.map V [] = List.map V []
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ih_1 : [].length = [].length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] [])) ⊒ List.map V [] = List.map V []...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at ih_1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys_hd : VarName ys_tl : List VarName ih_1 : [].length = (ys_hd :: ys_tl).length a1 : Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ [] (ys_hd :: ys_tl))) ⊒ List.map V [] = List.map ...
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ys_hd : VarName ys_tl : List VarName ih_1 : [].length = (ys_hd :: ys_tl).length a1 : Holds D I V E (List.foldr and_ true_ (List....
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
cases ys
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
case nil Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List....
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
case nil => simp at ih_1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at ih_1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at ih_1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp at a1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp only [Holds] at a1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
cases a1
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
case intro Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ Lis...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
simp
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
constructor
Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List.map V xs_...
case left Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List...
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.f...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
exact a1_left
case left Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ List...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case left Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
apply xs_ih ys_tl ih_1 a1_right
case right Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I V E (List.foldr and_ true_ (List.zipWith eq_ xs_tl ys)) β†’ Lis...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case right Ξ” : List Formula F : Formula X : PredName D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H xs_hd : VarName xs_tl : List VarName xs_ih : βˆ€ (ys : List VarName), xs_tl.length = ys.length β†’ Holds D I ...
https://github.com/pthomas505/FOL.git
097a4abea51b641d144539b9a0f7516f3b9d818c
FOL/NV/Program/Backend.lean
FOL.NV.Program.Backend.soundness
[793, 1]
[979, 13]
intro D I V E _
Ξ” : List Formula F : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (false_.iff_ true_.not_)
Ξ” : List Formula F : Formula D : Type I : Interpretation D V : VarAssignment D E : Env a✝ : βˆ€ H ∈ [], Holds D I V E H ⊒ Holds D I V E (false_.iff_ true_.not_)
Please generate a tactic in lean4 to solve the state. STATE: Ξ” : List Formula F : Formula ⊒ βˆ€ (D : Type) (I : Interpretation D) (V : VarAssignment D) (E : Env), (βˆ€ H ∈ [], Holds D I V E H) β†’ Holds D I V E (false_.iff_ true_.not_) TACTIC: