Skip to content

Conversation

@lawrencecpaulson
Copy link

These are minor changes that should have no observable effect

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@dominic-mulligan-aws dominic-mulligan-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lawrencecpaulson a large number of changes in this PR are related to removing braces around the len sort. Can these be reverted? They obscure more meaningful changes. Can you also clarify who Lukas is, mentioned in the comment, and what license the code he has written is submitted under?


lemma lt_word_to_natI [word_nat_intros]:
fixes a b :: \<open>'l::{len} word\<close>
fixes a b :: \<open>'l::len word\<close>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

using assms by (auto simp add: of_nat_inverse word_of_nat_le intro!: sorted_list_map_mono sorted_upt)

lemma add_word_lessI:
fixes a :: "'a::len word"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you consistently use cartouches?


lemma set_of_wordlist:
fixes M N :: \<open>nat\<close>
fixes M N :: \<open>nat\<close>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you maintain the alignment?

begin
(*>*)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who is Lukas? Do we have any licensing concerns here?

\<star> (ll_points_to ds next_ref_opt remainder))
\<close>

(*TODO: not used; delete?*)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're not using this we can just delete it.

@dominic-mulligan-aws
Copy link
Contributor

Superceded by #78.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants