<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coq/plugins/ssrmatching, branch master</title>
<subtitle>The formal proof system</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/'/>
<entry>
<title>Relying on the abstract notion of streams with location for parsing.</title>
<updated>2021-04-23T13:34:29+00:00</updated>
<author>
<name>Hugo Herbelin</name>
</author>
<published>2021-04-05T14:40:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=e07efb3798c7c6ec54aac9093ab50fddfc6c6a5b'/>
<id>e07efb3798c7c6ec54aac9093ab50fddfc6c6a5b</id>
<content type='text'>
We also get rid of ploc.ml, now useless, relying a priori on more
robust code in lStream.ml for location reporting (see
e.g. parse_parsable in grammar.ml).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also get rid of ploc.ml, now useless, relying a priori on more
robust code in lStream.ml for location reporting (see
e.g. parse_parsable in grammar.ml).
</pre>
</div>
</content>
</entry>
<entry>
<title>[recordops] complete API rewrite; the module is now called [structures]</title>
<updated>2021-03-26T14:19:19+00:00</updated>
<author>
<name>Enrico Tassi</name>
</author>
<published>2021-03-18T18:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=34ece1ae3e6696bdc9556e5019c3b8ec3fd23f8a'/>
<id>34ece1ae3e6696bdc9556e5019c3b8ec3fd23f8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[build] Split stdlib to it's own opam package.</title>
<updated>2021-03-03T15:06:14+00:00</updated>
<author>
<name>Emilio Jesus Gallego Arias</name>
</author>
<published>2020-06-22T15:52:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=ab98d847d237af3cd0e46edef42218be65cfc98f'/>
<id>ab98d847d237af3cd0e46edef42218be65cfc98f</id>
<content type='text'>
We introduce a new package structure for Coq:

- `coq-core`: Coq's OCaml tools code and plugins
- `coq-stdlib`: Coq's stdlib [.vo files]
- `coq`: meta-package that pulls `coq-{core,stdlib}`

This has several advantages, in particular it allows to install Coq
without the stdlib which is useful in several scenarios, it also open
the door towards a versioning of the stdlib at the package level.

The main user-visible change is that Coq's ML development files now
live in `$lib/coq-core`, for compatibility in the regular build we
install a symlink and support both setups for a while.

Note that plugin developers and even `coq_makefile` should actually
rely on `ocamlfind` to locate Coq's OCaml libs as to be more robust.

There is a transient state where we actually look for both
`$coqlib/plugins` and `$coqlib/../coq-core/plugins` as to support
the non-ocamlfind plus custom variables.

This will be much improved once #13617 is merged (which requires this
PR first), then, we will introduce a `coq.boot` library so finally
`coqdep`, `coqchk`, etc... can share the same path setup code.

IMHO the plan should work fine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We introduce a new package structure for Coq:

- `coq-core`: Coq's OCaml tools code and plugins
- `coq-stdlib`: Coq's stdlib [.vo files]
- `coq`: meta-package that pulls `coq-{core,stdlib}`

This has several advantages, in particular it allows to install Coq
without the stdlib which is useful in several scenarios, it also open
the door towards a versioning of the stdlib at the package level.

The main user-visible change is that Coq's ML development files now
live in `$lib/coq-core`, for compatibility in the regular build we
install a symlink and support both setups for a while.

Note that plugin developers and even `coq_makefile` should actually
rely on `ocamlfind` to locate Coq's OCaml libs as to be more robust.

There is a transient state where we actually look for both
`$coqlib/plugins` and `$coqlib/../coq-core/plugins` as to support
the non-ocamlfind plus custom variables.

This will be much improved once #13617 is merged (which requires this
PR first), then, we will introduce a `coq.boot` library so finally
`coqdep`, `coqchk`, etc... can share the same path setup code.

IMHO the plan should work fine.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the representation of kernel case.</title>
<updated>2021-01-04T13:00:20+00:00</updated>
<author>
<name>Pierre-Marie Pédrot</name>
</author>
<published>2019-03-03T20:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=d72e5c154faeea1d55387bc8c039d97f63ebd1c4'/>
<id>d72e5c154faeea1d55387bc8c039d97f63ebd1c4</id>
<content type='text'>
We store bound variable names instead of functions for both branches and
predicate, and we furthermore add the parameters in the node. Let bindings
are not taken into account and require an environment lookup for retrieval.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We store bound variable names instead of functions for both branches and
predicate, and we furthermore add the parameters in the node. Let bindings
are not taken into account and require an environment lookup for retrieval.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor cpattern into a record</title>
<updated>2020-12-27T17:26:29+00:00</updated>
<author>
<name>Lasse Blaauwbroek</name>
</author>
<published>2020-12-22T06:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=857f8403fcd216d28bf06d18c2774887ccf8bda5'/>
<id>857f8403fcd216d28bf06d18c2774887ccf8bda5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ssrtermkind algebraic instead of a char</title>
<updated>2020-12-27T17:26:01+00:00</updated>
<author>
<name>Lasse Blaauwbroek</name>
</author>
<published>2020-12-22T05:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=d1af000c4b9b1d1ff9b2f9fbf2dcb570ae7c974c'/>
<id>d1af000c4b9b1d1ff9b2f9fbf2dcb570ae7c974c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ssr datastructures cpattern and rpattern public</title>
<updated>2020-12-18T08:38:34+00:00</updated>
<author>
<name>Lasse Blaauwbroek</name>
</author>
<published>2020-12-18T08:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=a84ff9806f0ee77e081954453ee6afb67921eb50'/>
<id>a84ff9806f0ee77e081954453ee6afb67921eb50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate interning and pretyping of universes</title>
<updated>2020-11-25T12:09:35+00:00</updated>
<author>
<name>Gaëtan Gilbert</name>
</author>
<published>2020-11-18T15:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=81063864db93c3d736171147f0973249da85fd27'/>
<id>81063864db93c3d736171147f0973249da85fd27</id>
<content type='text'>
This allows proper treatment in notations, ie fixes #13303

The "glob" representation of universes (what pretyping sees) contains
only fully interpreted (kernel) universes and unbound universe
ids (for non Strict Universe Declaration).

This means universes need to be understood at intern time, so intern
now has a new "universe binders" argument. We cannot avoid this due to
the following example:

~~~coq
Module Import M. Universe i. End M.
Definition foo@{i} := Type@{i}.
~~~

When interning `Type@{i}` we need to know that `i` is locally bound to
avoid interning it as `M.i`.

Extern has a symmetrical problem:

~~~coq
Module Import M. Universe i. End M.
Polymorphic Definition foo@{i} := Type@{M.i} -&gt; Type@{i}.
Print foo. (* must not print Type@{i} -&gt; Type@{i} *)
~~~
(Polymorphic as otherwise the local `i` will be called `foo.i`)

Therefore extern also takes a universe binders argument.

Note that the current implementation actually replaces local universes
with names at detype type. (Asymmetrical to pretyping which only gets
names in glob terms for dynamically declared univs, although it's
capable of understanding bound univs too)

As such extern only really needs the domain of the universe
binders (ie the set of bound universe ids), we just arbitrarily pass
the whole universe binders to avoid putting `Id.Map.domain` at every
entry point.

Note that if we want to change so that detyping does not name locally
bound univs we would need to pass the reverse universe binders (map
from levels to ids, contained in the ustate ie in the evar map) to
extern.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows proper treatment in notations, ie fixes #13303

The "glob" representation of universes (what pretyping sees) contains
only fully interpreted (kernel) universes and unbound universe
ids (for non Strict Universe Declaration).

This means universes need to be understood at intern time, so intern
now has a new "universe binders" argument. We cannot avoid this due to
the following example:

~~~coq
Module Import M. Universe i. End M.
Definition foo@{i} := Type@{i}.
~~~

When interning `Type@{i}` we need to know that `i` is locally bound to
avoid interning it as `M.i`.

Extern has a symmetrical problem:

~~~coq
Module Import M. Universe i. End M.
Polymorphic Definition foo@{i} := Type@{M.i} -&gt; Type@{i}.
Print foo. (* must not print Type@{i} -&gt; Type@{i} *)
~~~
(Polymorphic as otherwise the local `i` will be called `foo.i`)

Therefore extern also takes a universe binders argument.

Note that the current implementation actually replaces local universes
with names at detype type. (Asymmetrical to pretyping which only gets
names in glob terms for dynamically declared univs, although it's
capable of understanding bound univs too)

As such extern only really needs the domain of the universe
binders (ie the set of bound universe ids), we just arbitrarily pass
the whole universe binders to avoid putting `Id.Map.domain` at every
entry point.

Note that if we want to change so that detyping does not name locally
bound univs we would need to pass the reverse universe binders (map
from levels to ids, contained in the ustate ie in the evar map) to
extern.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a proper canonical structure entry for projections.</title>
<updated>2020-11-19T19:43:42+00:00</updated>
<author>
<name>Hugo Herbelin</name>
</author>
<published>2020-11-15T10:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=115fe6ba6f77cabe8729cc39ec9c373c3b0173d3'/>
<id>115fe6ba6f77cabe8729cc39ec9c373c3b0173d3</id>
<content type='text'>
This is to make more explicit that arguments of the projection are not
kept.

We seize this opportunity to use QGlobRef equality on GlobRef.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to make more explicit that arguments of the projection are not
kept.

We seize this opportunity to use QGlobRef equality on GlobRef.
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate the non-qualified equality functions on kerpairs.</title>
<updated>2020-10-21T10:19:02+00:00</updated>
<author>
<name>Pierre-Marie Pédrot</name>
</author>
<published>2020-09-22T08:44:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=2b91a8989687e152f7120aa6c907ffeba8495bab'/>
<id>2b91a8989687e152f7120aa6c907ffeba8495bab</id>
<content type='text'>
This allows to quickly spot the parts of the code that rely on the canonical
ordering. When possible we directly introduce the quotient-aware versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to quickly spot the parts of the code that rely on the canonical
ordering. When possible we directly introduce the quotient-aware versions.
</pre>
</div>
</content>
</entry>
</feed>
