aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-05-19 15:18:26 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-05-19 15:39:03 +0200
commitd2f9a457d0bb2fd11ac7d5f6587174a79ca9c4b6 (patch)
tree52e2fcfa652b460399777769f8840539e6c5d202 /.gitignore
parent9b2beca375e1b3fd8f1298ee13656124fe24e807 (diff)
Unicode.ascii_of_ident is now truly injective
A non-ASCII char is now converted to _UUxxxx_ with xxxx being its unicode index in hexa. And any preexisting _UU substring in the ident is converted to _UUU. The switch from __Uxxxx_ to _UUxxxx_ is cosmetic, it just helps the extraction (less __ in names). But the other part of the patch (detection of preexisting _UU substrings) is critical to make ascii_of_ident truly injective and avoid the following kind of proof of False via native_compute : Definition α := 1. Definition __U03b1_ := 2. Lemma oups : False. Proof. assert (α = __U03b1_). { native_compute. reflexivity. } discriminate. Qed. Conflicts: lib/unicode.mli
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions