Make specialization patterns for persistent premises more uniform.
Changes: - We no longer have a different syntax for specializing a term H : P -★ Q whose range P or domain Q is persistent. There is just one syntax, and the system automatically determines whether either P or Q is persistent. - While specializing a term, always modalities are automatically stripped. This gets rid of the specialization pattern !. - Make the syntax of specialization patterns more consistent. The syntax for generating a goal is [goal_spec] where goal_spec is one of the following: H1 .. Hn : generate a goal using hypotheses H1 .. Hn -H1 .. Hn : generate a goal using all hypotheses but H1 .. Hn # : generate a goal for the premise in which all hypotheses can be used. This is only allowed when specializing H : P -★ Q where either P or Q is persistent. % : generate a goal for a pure premise.
Showing
- heap_lang/lib/barrier/proof.v 5 additions, 5 deletionsheap_lang/lib/barrier/proof.v
- heap_lang/lib/lock.v 2 additions, 2 deletionsheap_lang/lib/lock.v
- heap_lang/lib/par.v 1 addition, 1 deletionheap_lang/lib/par.v
- heap_lang/lifting.v 2 additions, 3 deletionsheap_lang/lifting.v
- program_logic/auth.v 2 additions, 2 deletionsprogram_logic/auth.v
- program_logic/hoare.v 3 additions, 3 deletionsprogram_logic/hoare.v
- program_logic/hoare_lifting.v 6 additions, 6 deletionsprogram_logic/hoare_lifting.v
- program_logic/sts.v 1 addition, 1 deletionprogram_logic/sts.v
- program_logic/viewshifts.v 2 additions, 3 deletionsprogram_logic/viewshifts.v
- proofmode/coq_tactics.v 37 additions, 32 deletionsproofmode/coq_tactics.v
- proofmode/pviewshifts.v 2 additions, 2 deletionsproofmode/pviewshifts.v
- proofmode/spec_patterns.v 23 additions, 23 deletionsproofmode/spec_patterns.v
- proofmode/tactics.v 36 additions, 37 deletionsproofmode/tactics.v
- tests/heap_lang.v 1 addition, 1 deletiontests/heap_lang.v
- tests/joining_existentials.v 3 additions, 4 deletionstests/joining_existentials.v
- tests/one_shot.v 4 additions, 4 deletionstests/one_shot.v
- tests/proofmode.v 3 additions, 3 deletionstests/proofmode.v
Loading
Please register or sign in to comment