feat: query complexity model for algorithms theory#372
feat: query complexity model for algorithms theory#372Shreyas4991 wants to merge 21 commits intoleanprover:mainfrom
Conversation
e54ec5f to
8be8d07
Compare
chenson2018
left a comment
There was a problem hiding this comment.
This looks in much better shape now, just some relatively minor things from me:
@chenson2018 : I think I have addressed all your review comments so far. |
chenson2018
left a comment
There was a problem hiding this comment.
I pushed one small golf, and my other comments have been addressed. I left the two comments where I'd tagged @eric-wieser unresolved so they can be double checked. As usual, leaving for @fmontesi for final consideration.
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
…o query-final-squash
|
Note that the co-authored-by lines in the first commit are not in a form recognized by git |
I am not a practical git expert. Could you tell me exactly what to do to fix it? The previous commit where I inserted is not the top commit now so I don't know if the commit --amend thing can change this commit's message |
| A model for comparison sorting on lists with only the comparison operation. This | ||
| is used in mergeSort. | ||
| -/ | ||
| inductive SortOpsCmp.{u} (α : Type u) : Type → Type _ where |
There was a problem hiding this comment.
I claim that we should reserve the shorter SortOps name for this type, as the other type is neither particularly applicable to most algorithm nor safe for actually counting insertHead operations. I suggest SortOps and SortOpsInsert
There was a problem hiding this comment.
Okay. I will change it.
There was a problem hiding this comment.
I changed it to SortOpsInsertHead I hope that is a better name
you could git commit amend with |
I am not terribly concerned about this. If it ever becomes relevant (let's say this model becomes a paper), there's a long commit trail across two branches and PRs which contains our commit histories, from which we know who contributed what. At least, all I need to do is not delete my branch for this PR, and likewise for all co-authors. I have pushed the amended commit. Hope it works now. |
559dfde to
69a5cc7
Compare
|
https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors looks like you need to add a space before the list of coauthors, also you mistyped Eric's entry. and maybe better to use my official email associated with GitHub, so |
69a5cc7 to
9999a3c
Compare
Co-authored-by: Shreyas Srinivas <Shreyas4991@users.noreply.github.com> Co-authored-by: Eric Wieser <eric-wieser@users.noreply.github.com> Co-authored-by: Tanner Duve <tannerduve@gmail.com>
9999a3c to
9f3df4d
Compare
|
If the commit co author thing doesn't work now, then I am at my wit's end. |
This is a highly squashed version of #275 with a smaller commit an comment history for ease of further reviewing.
Authors: Shreyas Srinivas, Tanner Duve, Eric Wieser.