Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
^(?P<formula_id>\d+)\. (?P<formula>.+) \[(?P<inference_rule>[\w ]*)(?: (?P<inference_parents>[\d,]+))?\](?: \{(?P<extra>[\w,:-]*)\})?$
"
mg
Input 1
/home/filip/projects/vampire/build/Debug/bin/vampire_z3_dbg_master_6348 --show_everything on --proof_extra free /home/filip/TPTP-v7.5.0/Problems/PUZ/PUZ001+1.p -------------------------------------------------------------------------------- % Running in auto input_syntax mode. Trying TPTP preprocessing started [PP] input: 1. ? [X0] : (killed(X0,agatha) & lives(X0)) [input] [PP] input: 2. lives(agatha) [input] [PP] input: 3. lives(butler) [input] [PP] input: 4. lives(charles) [input] [PP] input: 5. ! [X0] : (lives(X0) => (charles = X0 | butler = X0 | agatha = X0)) [input] [PP] input: 6. ! [X0,X1] : (killed(X0,X1) => hates(X0,X1)) [input] [PP] input: 7. ! [X0,X1] : (killed(X0,X1) => ~richer(X0,X1)) [input] [PP] input: 8. ! [X0] : (hates(agatha,X0) => ~hates(charles,X0)) [input] [PP] input: 9. ! [X0] : (butler != X0 => hates(agatha,X0)) [input] [PP] input: 10. ! [X0] : (~richer(X0,agatha) => hates(butler,X0)) [input] [PP] input: 11. ! [X0] : (hates(agatha,X0) => hates(butler,X0)) [inp
Extraction
/home/filip/projects/vampire/build/Debug/bin/vampire_z3_dbg_master_6348 --show_everything on --proof_extra free /home/filip/TPTP-v7.5.0/Problems/PUZ/PUZ001+1.p -------------------------------------------------------------------------------- % Running in auto input_syntax mode. Trying TPTP preprocessing started [PP] input: 1. ? [X0] : (killed(X0,agatha) & lives(X0)) [input] [PP] input: 2. lives(agatha) [input] [PP] input: 3. lives(butler) [input] [PP] input: 4. lives(charles) [input] [PP] input: 5. ! [X0] : (lives(X0) => (charles = X0 | butler = X0 | agatha = X0)) [input] [PP] input: 6. ! [X0,X1] : (killed(X0,X1) => hates(X0,X1)) [input] [PP] input: 7. ! [X0,X1] : (killed(X0,X1) => ~richer(X0,X1)) [input] [PP] input: 8. ! [X0] : (hates(agatha,X0) => ~hates(charles,X0)) [input] [PP] input: 9. ! [X0] : (butler != X0 => hates(agatha,X0)) [input] [PP] input: 10. ! [X0] : (~richer(X0,agatha) => hates(butler,X0)) [input] [PP] input: 11. ! [X0] : (hates(agatha,X0) => hates(butler,X0)) [inp