如何将所有列表或联合添加在地图中的所有图像中设置在Isabelle中

发布于 2025-02-09 21:16:49 字数 465 浏览 0 评论 0原文

假设p是将映射定义为nat⇒字符串列表nat⇀字符串列表,我想将P中的所有字符串列表附加

为类似的问题,如果P是定义为nat的地图⇒字符串集nat⇀字符串SET,我想在P的图像中将所有字符串列表结合。

例如,对于p:0-> [“ 0.0”]; 1 - > [“ 1.0”,“ 1,1”],我想将结果作为[“ 0.0”,“ 1.0”,“ 1.1”]

for p:0 - > {“ 0.0”}; 1 - > {“ 1.0”,“ 1,1”},我想将结果作为{“ 0.0”,“ 1.0”,“ 1.1”}

看来Isabelle中有<代码>⋃要处理设置联合,但我找不到有关附加列表的任何信息。

Assume that p is a map defined as nat ⇒ string list or nat ⇀ string list and I want to append all string list in p's image

As the similar question, if p is a map defined as nat ⇒ string set or nat ⇀ string set and I want to union all string list in p's image.

For example, for p: 0 -> ["0.0"]; 1 -> ["1.0","1,1"], I want to get the result as ["0.0", "1.0", "1.1"]

for p: 0 -> {"0.0"}; 1 -> {"1.0","1,1"}, I want to get the result as {"0.0", "1.0", "1.1"}

It seems that in Isabelle has to deal with the set union, but I can't find anything about append a set of lists.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文