GithubHelp home page GithubHelp logo

HoTT about platform HOT 10 CLOSED

coq avatar coq commented on August 30, 2024
HoTT

from platform.

Comments (10)

Alizter avatar Alizter commented on August 30, 2024 1

Once I can get the noinit stuff merged into the main branch, we can think about getting rid of the current makefile setup. There are still some decisions about the html docs, dependency graphs etc. that need to be sorted out. That will let us to eventually get rid of the hoq commands.

I should also add that I would like to eventually switch to using dune to build the library.

from platform.

Zimmi48 avatar Zimmi48 commented on August 30, 2024

How stable is HoTT nowadays? It's hard to tell from the version numbering scheme since it just mimics the one of Coq.

Another question is the non-standard hoqtop / hoqc / hoqide commands that it introduces. Isn't it time to get rid of those? Maybe getting in the platform would be a good trigger for doing this.

from platform.

spitters avatar spitters commented on August 30, 2024

@Alizter just mentioned that he got HoTT to compile with the stdlib. Together with @ejgallego.
So, this should greatly simplify the inclusion in platform.
This is quite exciting!

from platform.

Alizter avatar Alizter commented on August 30, 2024

@spitters I got HoTT to compile without the stdlib using the noinit argument.

from platform.

palmskog avatar palmskog commented on August 30, 2024

@Alizter @spitters when do we get a package in the Coq opam archive for HoTT for 8.12? Is this planned at all?

from platform.

k4rtik avatar k4rtik commented on August 30, 2024

It seems HoTT is already included in the latest platform release #97 and #99 by @MSoegtropIMC, however, it doesn't seem locatable:

$ rlwrap coqtop
Welcome to Coq 8.13.2 (April 2021)

Coq < Require Import HoTT.
Toplevel input, characters 15-19:
> Require Import HoTT.
>                ^^^^
Error: Unable to locate library HoTT. (While searching for a .vos file.)

I can't find binaries like hoqtop or hoqc either. Is all this expected?

from platform.

Alizter avatar Alizter commented on August 30, 2024

@k4rtik Yes it is expected not to find the hoq scripts. The HoTT library should work with regular coq_makefile, coqide etc. You need to set up your _CoqProject to pass -noinit and -indices-matter to coq however.

As for why you can't locate the library, did you install HoTT using opam?

from platform.

k4rtik avatar k4rtik commented on August 30, 2024
$ coqtop -noinit -indices-matter
Welcome to Coq 8.13.2 (April 2021)

Coq < Require Import HoTT.
Toplevel input, characters 15-19:
> Require Import HoTT.
>                ^^^^
Error: Unable to locate library HoTT. (While searching for a .vos file.)

Coq < ^D
$ opam install coq-hott
[NOTE] Package coq-hott is already installed (current version is 8.13).

I installed the coq platform released 4 days ago. If it helps, I am on macOS.

from platform.

Alizter avatar Alizter commented on August 30, 2024

Try

From HoTT Require Import HoTT.

from platform.

k4rtik avatar k4rtik commented on August 30, 2024

Got it, that works.

Thanks. Perhaps this issue can now be closed?

from platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.