cubicaltt.git
7 years agoAllow overlapping Arbitrary for Face and System
Cyril Cohen [Thu, 11 May 2017 14:35:54 +0000 (16:35 +0200)]
Allow overlapping Arbitrary for Face and System

7 years agoBoxing Env to prevent Show conflicts with newer versions of haskell packages
Cyril Cohen [Thu, 11 May 2017 14:23:27 +0000 (16:23 +0200)]
Boxing Env to prevent Show conflicts with newer versions of haskell packages

7 years agominor change
Anders Mörtberg [Sun, 7 May 2017 21:04:28 +0000 (23:04 +0200)]
minor change

7 years agoMerge pull request #60 from Rotsor/more-parens-in-goal
Simon Huber [Tue, 2 May 2017 15:38:57 +0000 (17:38 +0200)]
Merge pull request #60 from Rotsor/more-parens-in-goal

More parentheses when printing values

7 years agoMerge pull request #59 from Rotsor/checkPLam-error-message
Anders Mörtberg [Tue, 2 May 2017 15:05:57 +0000 (17:05 +0200)]
Merge pull request #59 from Rotsor/checkPLam-error-message

better error message from checkPLam

7 years agoFix printing of idC and idJ also for values
Simon Huber [Thu, 27 Apr 2017 20:11:03 +0000 (22:11 +0200)]
Fix printing of idC and idJ also for values

7 years agoDon't use smart-constructors when normalizing values
Simon Huber [Thu, 27 Apr 2017 20:05:13 +0000 (22:05 +0200)]
Don't use smart-constructors when normalizing values

7 years agoShow idC and idJ as we parse them
Simon Huber [Thu, 27 Apr 2017 15:52:05 +0000 (17:52 +0200)]
Show idC and idJ as we parse them

7 years agoMore parentheses when printing values
Arseniy Alekseyev [Wed, 26 Apr 2017 22:14:31 +0000 (23:14 +0100)]
More parentheses when printing values

Fixes a bug where not enough parentheses would be printed.
Previously if a function F is defined by split, `F (F x)` would be printed as `F F x`.
Now it's printed as `F (F x)` as it should.

7 years agobetter error message from checkPLam
Arseniy Alekseyev [Sat, 22 Apr 2017 16:09:16 +0000 (17:09 +0100)]
better error message from checkPLam

7 years agoMerge pull request #58 from Rotsor/patch-1
Simon Huber [Fri, 21 Apr 2017 18:32:12 +0000 (20:32 +0200)]
Merge pull request #58 from Rotsor/patch-1

Emacs mode: ignore backslash character

7 years agoEmacs mode: ignore backslash character
Rotsor [Wed, 19 Apr 2017 21:15:18 +0000 (22:15 +0100)]
Emacs mode: ignore backslash character

Emacs treats the '\' as an escape character by default, which means it sees `\(foo : x) -> bar` as having unbalanced parentheses and therefore `forward-sexp` and related functions don't work.

7 years agominor changes to bool
Anders Mörtberg [Thu, 19 Jan 2017 13:44:39 +0000 (14:44 +0100)]
minor changes to bool

7 years agoexperiment with Id
Anders Mörtberg [Thu, 19 Jan 2017 13:44:29 +0000 (14:44 +0100)]
experiment with Id

7 years agoMerge pull request #56 from linuborj/cubicaltt_grothendieck
Anders Mörtberg [Wed, 4 Jan 2017 10:07:50 +0000 (11:07 +0100)]
Merge pull request #56 from linuborj/cubicaltt_grothendieck

Added a formalisation of the Grothendieck group and a proof that a family of universal arrows gives rise to an adjunction.

7 years agoUncommented slow function.
linusbo [Tue, 3 Jan 2017 11:22:22 +0000 (12:22 +0100)]
Uncommented slow function.

7 years agoAdded definitions of algebraic structures in algstruct.ctt, a construction of the...
linusbo [Mon, 2 Jan 2017 19:30:29 +0000 (20:30 +0100)]
Added definitions of algebraic structures in algstruct.ctt, a construction of the Grothendieck group in grothendieck.cct, definitions of natural transformations, universal arrows, and adjunctions in univprop as well as a proof that a family of universal arrows gives rise to an adjunction.

7 years agoswap direction of equality to match order in comment
Anders Mörtberg [Sun, 25 Dec 2016 21:34:40 +0000 (22:34 +0100)]
swap direction of equality to match order in comment

7 years agoadd opposite category
Anders Mörtberg [Sun, 25 Dec 2016 21:30:29 +0000 (22:30 +0100)]
add opposite category

7 years agoadd a comment to category
Anders Mörtberg [Thu, 1 Dec 2016 14:42:30 +0000 (15:42 +0100)]
add a comment to category

8 years agoreadme
Anders Mörtberg [Sat, 22 Oct 2016 17:49:06 +0000 (13:49 -0400)]
readme

8 years agoupdate demo
Anders Mörtberg [Sat, 22 Oct 2016 16:03:11 +0000 (12:03 -0400)]
update demo

8 years agoreadme
Anders Mörtberg [Sat, 22 Oct 2016 15:59:56 +0000 (11:59 -0400)]
readme

8 years agoreadme
Anders Mörtberg [Sat, 22 Oct 2016 15:59:02 +0000 (11:59 -0400)]
readme

8 years agoREADME
Anders Mörtberg [Sat, 22 Oct 2016 15:58:10 +0000 (11:58 -0400)]
README

8 years agoupdate readme
Anders Mörtberg [Sat, 22 Oct 2016 15:56:16 +0000 (11:56 -0400)]
update readme

8 years agodoc
Anders Mörtberg [Fri, 21 Oct 2016 19:57:42 +0000 (15:57 -0400)]
doc

8 years agodoc
Anders Mörtberg [Fri, 21 Oct 2016 19:53:51 +0000 (15:53 -0400)]
doc

8 years agotest
Anders Mörtberg [Fri, 21 Oct 2016 19:51:43 +0000 (15:51 -0400)]
test

8 years agotest
Anders Mörtberg [Fri, 21 Oct 2016 19:49:32 +0000 (15:49 -0400)]
test

8 years agoadd a readme for the examples folder
Anders Mörtberg [Fri, 21 Oct 2016 19:48:44 +0000 (15:48 -0400)]
add a readme for the examples folder

8 years agoadd summary file
Anders Mörtberg [Fri, 21 Oct 2016 19:07:49 +0000 (15:07 -0400)]
add summary file

8 years agodoc
Anders Mörtberg [Fri, 21 Oct 2016 19:07:30 +0000 (15:07 -0400)]
doc

8 years agomove graph script
Anders Mörtberg [Fri, 21 Oct 2016 18:23:21 +0000 (14:23 -0400)]
move graph script

8 years agocomment
Anders Mörtberg [Fri, 21 Oct 2016 18:21:40 +0000 (14:21 -0400)]
comment

8 years agoadd a script for loading all files
Anders Mörtberg [Fri, 21 Oct 2016 18:19:55 +0000 (14:19 -0400)]
add a script for loading all files

8 years agocomments
Anders Mörtberg [Fri, 21 Oct 2016 18:04:31 +0000 (14:04 -0400)]
comments

8 years agomove implicit point
Anders Mörtberg [Fri, 21 Oct 2016 17:04:47 +0000 (13:04 -0400)]
move implicit point

8 years agoa lot of comments
Anders Mörtberg [Thu, 20 Oct 2016 21:47:04 +0000 (17:47 -0400)]
a lot of comments

8 years agoremove undefined and make csystem compile
Anders Mörtberg [Thu, 20 Oct 2016 21:28:52 +0000 (17:28 -0400)]
remove undefined and make csystem compile

8 years agocomments
Anders Mörtberg [Thu, 20 Oct 2016 21:19:01 +0000 (17:19 -0400)]
comments

8 years agoupdate category
Anders Mörtberg [Thu, 20 Oct 2016 21:00:21 +0000 (17:00 -0400)]
update category

8 years agocomments
Anders Mörtberg [Thu, 20 Oct 2016 20:56:59 +0000 (16:56 -0400)]
comments

8 years agoadd transparent_all to keywords in emacs file
Anders Mörtberg [Thu, 20 Oct 2016 20:43:40 +0000 (16:43 -0400)]
add transparent_all to keywords in emacs file

8 years agoremove examples/aim.ctt as it is subsumed by examples/demo.ctt
Anders Mörtberg [Thu, 20 Oct 2016 20:33:03 +0000 (16:33 -0400)]
remove examples/aim.ctt as it is subsumed by examples/demo.ctt

8 years agoadd a small puzzle due to Andrew Polonsky
Anders Mörtberg [Thu, 22 Sep 2016 20:33:24 +0000 (16:33 -0400)]
add a small puzzle due to Andrew Polonsky

8 years agoMerge pull request #49 from mortberg/defeqJ
Anders Mörtberg [Thu, 22 Sep 2016 20:02:51 +0000 (16:02 -0400)]
Merge pull request #49 from mortberg/defeqJ

Add Id types

8 years agoFix insertSystem to maintain invariant for systems
Simon Huber [Mon, 19 Sep 2016 09:26:00 +0000 (11:26 +0200)]
Fix insertSystem to maintain invariant for systems

Closes #52.

8 years agocleaning
Anders Mörtberg [Thu, 15 Sep 2016 17:31:47 +0000 (13:31 -0400)]
cleaning

8 years agocleaning
Anders Mörtberg [Thu, 15 Sep 2016 16:56:15 +0000 (12:56 -0400)]
cleaning

8 years agovisible -> transparent
Anders Mörtberg [Wed, 14 Sep 2016 20:56:58 +0000 (16:56 -0400)]
visible -> transparent

8 years agodirect definition of retract
Anders Mörtberg [Wed, 14 Sep 2016 20:56:15 +0000 (16:56 -0400)]
direct definition of retract

8 years agoadd Dan's proof of univalence from ua and uabeta
Anders Mörtberg [Wed, 14 Sep 2016 20:48:21 +0000 (16:48 -0400)]
add Dan's proof of univalence from ua and uabeta

8 years agoMerge pull request #50 from david-christiansen/elisp-conventions
Anders Mörtberg [Wed, 10 Aug 2016 07:38:27 +0000 (09:38 +0200)]
Merge pull request #50 from david-christiansen/elisp-conventions

Emacs mode updates

8 years agoEmacs mode: Update names for Customize
David Christiansen [Mon, 1 Aug 2016 13:11:38 +0000 (09:11 -0400)]
Emacs mode: Update names for Customize

Now Customize uses the updated names consistently.

8 years agoUpdate README for Emacs mode
David Christiansen [Mon, 1 Aug 2016 13:08:52 +0000 (09:08 -0400)]
Update README for Emacs mode

8 years agoRemove redundant comment command from Emacs mode
David Christiansen [Mon, 1 Aug 2016 13:04:14 +0000 (09:04 -0400)]
Remove redundant comment command from Emacs mode

It is sufficient to set a couple of variables to make the built-in
commenting command work for cubical.

8 years agoRemove CL-isms from Emacs mode
David Christiansen [Mon, 1 Aug 2016 13:02:30 +0000 (09:02 -0400)]
Remove CL-isms from Emacs mode

*foo* is Common Lisp for special variables, while foo is Emacs Lisp for
 the same.

8 years agoRename Emacs mode identifiers
David Christiansen [Mon, 1 Aug 2016 13:01:20 +0000 (09:01 -0400)]
Rename Emacs mode identifiers

Now, the identifiers match the mode filename, per Elisp convention.

8 years agoBetter comment about space-escaping in Emacs mode
David Christiansen [Mon, 1 Aug 2016 12:58:22 +0000 (08:58 -0400)]
Better comment about space-escaping in Emacs mode

The behavior of :cd at the cubical shell is now better described in a
comment, so as to not surprise Elisp hackers.

8 years agodefine equivalence using Id and prove univalence with Id everywhere
Anders Mörtberg [Fri, 29 Jul 2016 12:12:07 +0000 (14:12 +0200)]
define equivalence using Id and prove univalence with Id everywhere

8 years agominor changes
Anders Mörtberg [Tue, 26 Jul 2016 15:26:34 +0000 (17:26 +0200)]
minor changes

8 years agocleaning and a version of univalence for Id
Anders Mörtberg [Tue, 26 Jul 2016 15:18:54 +0000 (17:18 +0200)]
cleaning and a version of univalence for Id

8 years agorename Eq to Id
Anders Mörtberg [Tue, 26 Jul 2016 14:53:35 +0000 (16:53 +0200)]
rename Eq to Id

8 years agoSome experiments with Eq
Simon Huber [Mon, 14 Sep 2015 12:59:00 +0000 (14:59 +0200)]
Some experiments with Eq

8 years agoAdded Eq types with definitional equality for J
Simon Huber [Mon, 31 Aug 2015 14:19:16 +0000 (16:19 +0200)]
Added Eq types with definitional equality for J

8 years agoMerge pull request #46 from david-christiansen/elisp-conventions
Anders Mörtberg [Fri, 29 Jul 2016 09:35:58 +0000 (11:35 +0200)]
Merge pull request #46 from david-christiansen/elisp-conventions

Emacs mode: completion, imenu, and friendlier Customize

8 years agoMerge pull request #45 from david-christiansen/emacs-update
Anders Mörtberg [Fri, 29 Jul 2016 09:35:24 +0000 (11:35 +0200)]
Merge pull request #45 from david-christiansen/emacs-update

Add subprocess to Emacs mode

8 years agoMerge pull request #44 from gullcomb/opt-decl-cmp
Anders Mörtberg [Fri, 29 Jul 2016 09:18:03 +0000 (11:18 +0200)]
Merge pull request #44 from gullcomb/opt-decl-cmp

Speed up comparison of environments

8 years agochange back conversion
Anders Mörtberg [Fri, 29 Jul 2016 09:16:48 +0000 (11:16 +0200)]
change back conversion

8 years agoMerge branch 'conv'
Anders Mörtberg [Fri, 29 Jul 2016 09:09:06 +0000 (11:09 +0200)]
Merge branch 'conv'

8 years agoImprove the display of Emacs customize
David Raymond Christiansen [Tue, 26 Jul 2016 15:39:50 +0000 (11:39 -0400)]
Improve the display of Emacs customize

The customization options in Emacs are now shown with friendlier names.

8 years agoAdd imenu support to the Emacs mode
David Raymond Christiansen [Tue, 26 Jul 2016 15:37:04 +0000 (11:37 -0400)]
Add imenu support to the Emacs mode

imenu is a general-purpose index for things in a buffer, used by a
variety of Emacs tools to give a list of definitions in the buffer.
This adds support for it to the Emacs mode.

8 years agoAdd support for completion
David Raymond Christiansen [Tue, 26 Jul 2016 15:26:34 +0000 (11:26 -0400)]
Add support for completion

Define a completion function and add it to completion-at-point-functions
in ctt-mode. This function is used by many different completion systems
in Emacs, including company-mode and the built-in simple
completion-at-point.

Completion uses a regexp to attempt to find names defined in the current
buffer as well as using the language keywords as sources of completion.

8 years agoMake the Emacs mode work for package.el
David Raymond Christiansen [Tue, 26 Jul 2016 14:43:48 +0000 (10:43 -0400)]
Make the Emacs mode work for package.el

Modify the Emacs mode to make it follow typical Elisp conventions, as
well as adding the necessary headers to make it work in the package
system.

Additionally, the mode is now derived from prog-mode, which will enable
hooks that should work for all programming language modes to run.

8 years agoAdd subprocess to Emacs mode
David Christiansen [Mon, 25 Jul 2016 13:29:07 +0000 (09:29 -0400)]
Add subprocess to Emacs mode

The Emacs mode for cubical can now run cubical as a subprocess. The
keybinding "C-c C-l", which is the same as Agda and Idris, saves the
current buffer and loads it in cubical.

Additionally, a Customize setting is added to allow users to easily
customize the command to be used to invoke cubical.

8 years agominor changes
Anders Mörtberg [Thu, 14 Jul 2016 13:30:54 +0000 (15:30 +0200)]
minor changes

8 years agoTag declarations with their location.
Guillaume Combette [Tue, 12 Jul 2016 15:58:52 +0000 (17:58 +0200)]
Tag declarations with their location.

This speeds up the comparison of environments in the common case of
identical declarations.

8 years agoFix build for GHC 7.8
Guillaume Combette [Tue, 12 Jul 2016 14:42:19 +0000 (16:42 +0200)]
Fix build for GHC 7.8

This version does not implement the Foldable/Traversable in Prelude
proposal thus `elem` does not work on Sets.

8 years agofix bug in printing
Anders Mörtberg [Mon, 11 Jul 2016 21:25:19 +0000 (23:25 +0200)]
fix bug in printing

8 years agocleaning of binnat
Anders Mörtberg [Mon, 11 Jul 2016 20:22:21 +0000 (22:22 +0200)]
cleaning of binnat

8 years agoClean up of univalence and add the definition of univalence using the map defined...
Anders Mörtberg [Mon, 11 Jul 2016 19:32:40 +0000 (21:32 +0200)]
Clean up of univalence and add the definition of univalence using the map defined using J

8 years agoMerge branch 'csystems'
Rafaël Bocquet [Fri, 8 Jul 2016 07:58:02 +0000 (09:58 +0200)]
Merge branch 'csystems'

8 years agoFix conv
Rafaël Bocquet [Fri, 8 Jul 2016 07:30:49 +0000 (09:30 +0200)]
Fix conv

8 years agoMerge branch 'master' into csystems
Rafaël Bocquet [Fri, 8 Jul 2016 07:29:45 +0000 (09:29 +0200)]
Merge branch 'master' into csystems

8 years agoSpeed up conv
Rafaël Bocquet [Thu, 7 Jul 2016 15:34:29 +0000 (17:34 +0200)]
Speed up conv

8 years agoadd some comments in category.ctt and csystem.ctt
Rafaël Bocquet [Thu, 7 Jul 2016 15:33:06 +0000 (17:33 +0200)]
add some comments in category.ctt and csystem.ctt

8 years agorename visible to transparent and fix printing of glue
Anders Mörtberg [Thu, 7 Jul 2016 14:14:51 +0000 (16:14 +0200)]
rename visible to transparent and fix printing of glue

8 years agorename glue -> Glue, glueElem -> glue and unglueElem -> unglue
Anders Mörtberg [Thu, 7 Jul 2016 14:03:02 +0000 (16:03 +0200)]
rename glue -> Glue, glueElem -> glue and unglueElem -> unglue

8 years agorename Id to Path
Anders Mörtberg [Thu, 7 Jul 2016 13:57:52 +0000 (15:57 +0200)]
rename Id to Path

8 years agoremove nthmUniv
Anders Mörtberg [Thu, 7 Jul 2016 13:47:07 +0000 (15:47 +0200)]
remove nthmUniv

8 years agorename Path to PLam and IdP to PathP
Anders Mörtberg [Thu, 7 Jul 2016 13:43:11 +0000 (15:43 +0200)]
rename Path to PLam and IdP to PathP

8 years agomake subset compile using opaque
Anders Mörtberg [Thu, 7 Jul 2016 12:06:08 +0000 (14:06 +0200)]
make subset compile using opaque

8 years agomove testempty
Anders Mörtberg [Thu, 7 Jul 2016 11:57:41 +0000 (13:57 +0200)]
move testempty

8 years agomerge mult and multS1
Anders Mörtberg [Thu, 7 Jul 2016 11:47:31 +0000 (13:47 +0200)]
merge mult and multS1

8 years agomove context of indSusp to susp
Anders Mörtberg [Thu, 7 Jul 2016 11:43:02 +0000 (13:43 +0200)]
move context of indSusp to susp

8 years agomore duplicate definitions
Anders Mörtberg [Thu, 7 Jul 2016 11:38:21 +0000 (13:38 +0200)]
more duplicate definitions

8 years agomove ex1 into circle
Anders Mörtberg [Thu, 7 Jul 2016 11:34:56 +0000 (13:34 +0200)]
move ex1 into circle

8 years agoremove duplicate code
Anders Mörtberg [Thu, 7 Jul 2016 11:32:35 +0000 (13:32 +0200)]
remove duplicate code

8 years agoadd a line without any specified points
Anders Mörtberg [Thu, 7 Jul 2016 10:58:21 +0000 (12:58 +0200)]
add a line without any specified points