Skip to content

Commit 0984832

Browse files
committed
fix doc generation
1 parent 1fa8370 commit 0984832

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/tutorial_coq_elpi_HOAS.v

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,13 +580,13 @@ and is expected to have type `nat`.
580580
Now the bijective mapping from Coq evars to Elpi's unification variables
581581
is not empty anymore:
582582
583-
.. mquote:: .s(Elpi).msg{Coq-Elpi mapping:*[?]X12 <-> X1*}
583+
.. mquote:: .s(Elpi).msg{Coq-Elpi mapping:*[?]X11 <-> X1*}
584584
:language: text
585585
586586
Note that Coq's evar identifiers are of the form `?X<n>`, while the Elpi ones
587-
have no leading `?`. The Coq Evar map says that `?X12` has type `nat`:
587+
have no leading `?`. The Coq Evar map says that `?X11` has type `nat`:
588588
589-
.. mquote:: .s(Elpi).msg{EVARS:*[?]X12==[[] |- nat[]]*}
589+
.. mquote:: .s(Elpi).msg{EVARS:*[?]X11==[[] |- nat[]]*}
590590
:language: text
591591
592592
The intuition is that Coq's Evar map (AKA sigma or evd), which assigns
@@ -631,12 +631,12 @@ conclusion (the suspended goal).
631631
632632
The mapping between Coq and Elpi is:
633633
634-
.. mquote:: .s(Elpi).msg{Coq-Elpi mapping:*[?]X15 <-> X1*}
634+
.. mquote:: .s(Elpi).msg{Coq-Elpi mapping:*[?]X13 <-> X1*}
635635
:language: text
636636
637637
where `?X13` can be found in Coq's sigma:
638638
639-
.. mquote:: .s(Elpi).msg{EVARS:*[?]X15==[[]x |- nat[]]*}
639+
.. mquote:: .s(Elpi).msg{EVARS:*[?]X13==[[]x |- nat[]]*}
640640
:language: text
641641
642642
As expected both Elpi's constraint and Coq's evar map record a context

0 commit comments

Comments
 (0)