Confuses import of Coq

Can someone please tell me about the differences between

  • Require Name.
  • Require Import Name.
  • Import Name

?

+5
source share
1 answer
  • Require : load an external library (usually from the standard library or user-contribs/ folder);
  • Import : imports names in the module. For example, if you have a function f in module M by doing Import M. , you would need to enter f instead of Mf ;
  • Require Import : Performs both Require and Import .
+7
source

Source: https://habr.com/ru/post/1236547/


All Articles