Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion HB/howto.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ pp-solutions LLF :-
str "HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):",
{about.bulletize SLLF pp-solution}],
% print
coq.say {coq.pp->string PpSolutions},
coq.say {coq.pp->string PpSolutions},
coq.say,
coq.say "For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances",
coq.say.

pred pp-solution i:list factoryname, o:coq.pp.
Expand Down
14 changes: 14 additions & 0 deletions tests/howto.v.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- AddComoid_of_TYPE; AddAG_of_AddComoid; SemiRing_of_AddComoid
- AddMonoid_of_TYPE; AddComoid_of_AddMonoid; Ring_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- Ring_of_TYPE
- AddAG_of_TYPE; BiNearRing_of_AddMonoid
- AddAG_of_TYPE; Ring_of_AddAG
- AddAG_of_TYPE; SemiRing_of_AddComoid
- AddComoid_of_TYPE; Ring_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- Ring_of_TYPE
- AddAG_of_TYPE; BiNearRing_of_AddMonoid
Expand All @@ -27,13 +31,17 @@ HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- AddComoid_of_TYPE; AddAG_of_AddComoid; SemiRing_of_AddComoid
- AddMonoid_of_TYPE; AddComoid_of_AddMonoid; Ring_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- Ring_of_TYPE
- AddAG_of_TYPE; BiNearRing_of_AddMonoid
- AddAG_of_TYPE; Ring_of_AddAG
- AddAG_of_TYPE; SemiRing_of_AddComoid
- AddComoid_of_TYPE; Ring_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

The command has indeed failed with message:
HB: no solution found, try to increase search depth.
HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
Expand All @@ -42,14 +50,20 @@ HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- AddAG_of_AddComoid; Ring_of_AddAG
- AddAG_of_AddComoid; SemiRing_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- BiNearRing_of_AddMonoid
- Ring_of_AddAG
- SemiRing_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

HB: solutions (use 'HB.about F.Build' to see the arguments of each factory F):
- BiNearRing_of_AddMonoid
- Ring_of_AddAG
- SemiRing_of_AddComoid

For a guide on declaring MathComp instances please refer to the following link: https://github.com/math-comp/math-comp/wiki/How-to-declare-MathComp-instances

HB: nothing to do.