Last active
July 19, 2022 21:43
-
-
Save Blaisorblade/1806e5da72be8d751f89baed85bd58bd to your computer and use it in GitHub Desktop.
Coq strings are so logical, they're literally built on truth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Require Import iris.proofmode.proofmode. | |
Lemma string_fun (PROP : bi) (X : PROP) : X ⊢ X. | |
Proof. | |
iIntros "X". | |
generalize true; intros. | |
Show. | |
(* | |
1 goal | |
PROP : bi | |
X : PROP | |
b : bool | |
============================ | |
String (Ascii.Ascii false false false b b false b false) "" : | |
X | |
--------------------------------------∗ | |
X | |
*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment