<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coq/theories/Init, branch master</title>
<subtitle>The formal proof system</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/'/>
<entry>
<title>Adapting standard library, doc and test suite to ident-&gt;name renaming.</title>
<updated>2020-11-22T12:28:40+00:00</updated>
<author>
<name>Hugo Herbelin</name>
</author>
<published>2020-03-17T10:16:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=df8b5c7d83ad6e88af34d29bcc32c85bd42c2712'/>
<id>df8b5c7d83ad6e88af34d29bcc32c85bd42c2712</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicitly annotate all hint declarations of the standard library.</title>
<updated>2020-11-16T11:28:27+00:00</updated>
<author>
<name>Pierre-Marie Pédrot</name>
</author>
<published>2020-11-14T16:55:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=68cd077344ce37db1a601079dbc4fdcae6c8d41f'/>
<id>68cd077344ce37db1a601079dbc4fdcae6c8d41f</id>
<content type='text'>
By default Coq stdlib warnings raise an error, so this is really required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default Coq stdlib warnings raise an error, so this is really required.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename Dec and HexDec to Decimal and Hexadecimal</title>
<updated>2020-11-04T23:20:53+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-10-28T09:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=36ac26532028bfc6f84e4dfc849b51f42a3d8286'/>
<id>36ac26532028bfc6f84e4dfc849b51f42a3d8286</id>
<content type='text'>
As noted by Hugo Herbelin, Dec is rather used for "decidable".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As noted by Hugo Herbelin, Dec is rather used for "decidable".
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge numeral and string notation plugins</title>
<updated>2020-11-04T23:20:19+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-09-03T11:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=3b766fd8859b692e3e93cf83bf87d393e32c572e'/>
<id>3b766fd8859b692e3e93cf83bf87d393e32c572e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[numeral notation] Q</title>
<updated>2020-11-04T23:20:19+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-09-03T11:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=ec24b26be7795af27256d39431e1c4e3d42fe3b7'/>
<id>ec24b26be7795af27256d39431e1c4e3d42fe3b7</id>
<content type='text'>
Previously rationals were all parsed as a pair numerator, denominator.
This means 1.02 and 102e-2 were both parsed as 102 # 100 and could not
be tell apart when printing. So the printer had to choose between two
representations : without exponent or without decimal dot. The choice
was made heuristically toward a most compact representation.

Now, decimal dot is still parsed as a power of ten denominator but
exponents are parsed as a product or division by Z.pow_pos. For
instance, 1.02 is parsed as 102 # 100 whereas 102e-2 is parsed as
(102 # 1) / (Z.pow_pos 10 2 # 1).

1.02 and 102e-2 remain equal (proved by reflexivity) but 1.02e1
= (102 # 100) * (10 # 1) = 1020 # 100 and 10.2 = 102 # 10 no longer are.

A nice side effect is that exponents can no longer blow up during
parsing. Previously 1e1_000_000 literally produced a numerator with a
million digits, now it just yields (1 # 1) * (Z.pow_pos 10 1_000_000 # 1).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously rationals were all parsed as a pair numerator, denominator.
This means 1.02 and 102e-2 were both parsed as 102 # 100 and could not
be tell apart when printing. So the printer had to choose between two
representations : without exponent or without decimal dot. The choice
was made heuristically toward a most compact representation.

Now, decimal dot is still parsed as a power of ten denominator but
exponents are parsed as a product or division by Z.pow_pos. For
instance, 1.02 is parsed as 102 # 100 whereas 102e-2 is parsed as
(102 # 1) / (Z.pow_pos 10 2 # 1).

1.02 and 102e-2 remain equal (proved by reflexivity) but 1.02e1
= (102 # 100) * (10 # 1) = 1020 # 100 and 10.2 = 102 # 10 no longer are.

A nice side effect is that exponents can no longer blow up during
parsing. Previously 1e1_000_000 literally produced a numerator with a
million digits, now it just yields (1 # 1) * (Z.pow_pos 10 1_000_000 # 1).
</pre>
</div>
</content>
</entry>
<entry>
<title>[numeral notation] Adding the via ... using ... option</title>
<updated>2020-11-04T19:53:47+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-09-03T11:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=11a8997dd8fa83537607272692a3baf10dab342a'/>
<id>11a8997dd8fa83537607272692a3baf10dab342a</id>
<content type='text'>
This enables numeral notations for non inductive types by
pre/postprocessing them to a given proxy inductive type.
For instance, this should enable the use of numeral notations for R.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables numeral notations for non inductive types by
pre/postprocessing them to a given proxy inductive type.
For instance, this should enable the use of numeral notations for R.
</pre>
</div>
</content>
</entry>
<entry>
<title>Renaming Numeral.v into Number.v</title>
<updated>2020-10-30T13:11:19+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-09-12T07:10:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=2d44c8246eccba7c1c452cbfbc6751cd222d0a6a'/>
<id>2d44c8246eccba7c1c452cbfbc6751cd222d0a6a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Report a useful error for dependent destruction</title>
<updated>2020-10-15T14:23:47+00:00</updated>
<author>
<name>Tej Chajed</name>
</author>
<published>2020-10-15T14:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=cc06679015013fa26736e10227967cd38be3d6b5'/>
<id>cc06679015013fa26736e10227967cd38be3d6b5</id>
<content type='text'>
Similar to `dependent induction`, report an error message for `dependent
destruction` saying that importing `Coq.Program.Equality` is required,
rather than failing at parsing time.

This is a small extension of #605 to cover dependent destruction as
well. Here I also put in some tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to `dependent induction`, report an error message for `dependent
destruction` saying that importing `Coq.Program.Equality` is required,
rather than failing at parsing time.

This is a small extension of #605 to cover dependent destruction as
well. Here I also put in some tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename Numeral Notation command to Number Notation</title>
<updated>2020-09-11T20:23:24+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-09-09T21:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=6551f14196784e323688e682877229bc7f901659'/>
<id>6551f14196784e323688e682877229bc7f901659</id>
<content type='text'>
Keep Numeral Notation wit a deprecation warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep Numeral Notation wit a deprecation warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify Classes/RelationClasses.v to compile with -mangle-names</title>
<updated>2020-08-25T20:53:31+00:00</updated>
<author>
<name>Jasper Hugunin</name>
</author>
<published>2020-08-24T20:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=062853d9f20ea17eee618cd252f64b647ef6f604'/>
<id>062853d9f20ea17eee618cd252f64b647ef6f604</id>
<content type='text'>
The apply &lt;- tactic was breaking, so we had to modify the definition
in Init/Tactics.v to use slightly fresher names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The apply &lt;- tactic was breaking, so we had to modify the definition
in Init/Tactics.v to use slightly fresher names.
</pre>
</div>
</content>
</entry>
</feed>
