Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up: Remove Foundation/Everything and outdated stuff #1127

Merged
merged 11 commits into from
May 14, 2024
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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
\.*#*
\#*
Cubical/*/Everything.agda
!Cubical/Core/Everything.agda
!Cubical/Foundations/Everything.agda
!Cubical/Codata/Everything.agda
4 changes: 1 addition & 3 deletions Cubical/Codata/Conat.agda
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# OPTIONS --guardedness #-}

{-# OPTIONS --safe --guardedness #-}
module Cubical.Codata.Conat where

open import Cubical.Codata.Conat.Base public

open import Cubical.Codata.Conat.Properties public
4 changes: 2 additions & 2 deletions Cubical/Codata/Conat/Base.agda
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ of Sized Types.
{-# OPTIONS --safe --guardedness #-}
module Cubical.Codata.Conat.Base where

open import Cubical.Foundations.Prelude

open import Cubical.Data.Unit
open import Cubical.Data.Sum

open import Cubical.Core.Everything

record Conat : Type₀
Conat′ = Unit ⊎ Conat
record Conat where
Expand Down
2 changes: 0 additions & 2 deletions Cubical/Codata/Conat/Properties.agda
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ open import Cubical.Data.Bool
import Cubical.Data.Nat as Nat
import Cubical.Data.Nat.Order.Recursive as Nat

open import Cubical.Core.Everything

open import Cubical.Functions.Embedding

open import Cubical.Foundations.Prelude
Expand Down
44 changes: 13 additions & 31 deletions Cubical/Codata/Everything.agda
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
{-# OPTIONS --guardedness #-}

{-# OPTIONS --safe --guardedness #-}
module Cubical.Codata.Everything where

open import Cubical.Codata.EverythingSafe public

--- Modules making assumptions that might be incompatible with other
-- flags or make use of potentially unsafe features.

-- Assumes --guardedness
open import Cubical.Codata.Stream public

open import Cubical.Codata.Conat public
open import Cubical.Codata.Conat.Bounded

open import Cubical.Codata.M public

-- Also uses {-# TERMINATING #-}.
open import Cubical.Codata.M.Bisimilarity public

{-
-- Alternative M type implemetation, based on
-- https://arxiv.org/pdf/1504.02949.pdf
-- "Non-wellfounded trees in Homotopy Type Theory"
-- Benedikt Ahrens, Paolo Capriotti, Régis Spadotti
-}

open import Cubical.Codata.M.AsLimit.M
open import Cubical.Codata.M.AsLimit.Coalg
open import Cubical.Codata.M.AsLimit.helper
open import Cubical.Codata.M.AsLimit.Container
open import Cubical.Codata.M.AsLimit.itree
open import Cubical.Codata.M.AsLimit.stream
import Cubical.Codata.Conat
import Cubical.Codata.Conat.Bounded
import Cubical.Codata.M.Coalg
import Cubical.Codata.M.Coalg.Base
import Cubical.Codata.M.Container
import Cubical.Codata.M.M
import Cubical.Codata.M.M.Base
import Cubical.Codata.M.M.Properties
import Cubical.Codata.M.helper
import Cubical.Codata.M.itree
import Cubical.Codata.M.stream
import Cubical.Codata.Stream
2 changes: 0 additions & 2 deletions Cubical/Codata/EverythingSafe.agda

This file was deleted.

95 changes: 0 additions & 95 deletions Cubical/Codata/M.agda

This file was deleted.

5 changes: 0 additions & 5 deletions Cubical/Codata/M/AsLimit/Coalg.agda

This file was deleted.

6 changes: 0 additions & 6 deletions Cubical/Codata/M/AsLimit/M.agda

This file was deleted.

153 changes: 0 additions & 153 deletions Cubical/Codata/M/Bisimilarity.agda

This file was deleted.

5 changes: 5 additions & 0 deletions Cubical/Codata/M/Coalg.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{-# OPTIONS --guardedness --safe #-}

module Cubical.Codata.M.Coalg where

open import Cubical.Codata.M.Coalg.Base public
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# OPTIONS --guardedness --safe #-}

module Cubical.Codata.M.AsLimit.Coalg.Base where
module Cubical.Codata.M.Coalg.Base where

open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function using ( _∘_ )
Expand All @@ -15,8 +15,8 @@ open import Cubical.Data.Nat
open import Cubical.Data.Prod
open import Cubical.Data.Sigma

open import Cubical.Codata.M.AsLimit.Container
open import Cubical.Codata.M.AsLimit.helper
open import Cubical.Codata.M.Container
open import Cubical.Codata.M.helper

-------------------------------
-- Definition of a Coalgebra --
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# OPTIONS --guardedness --safe #-}

module Cubical.Codata.M.AsLimit.Container where
module Cubical.Codata.M.Container where

open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv using (_≃_)
Expand All @@ -20,7 +20,7 @@ open import Cubical.Data.Sum

open import Cubical.Foundations.Structure

open import Cubical.Codata.M.AsLimit.helper
open import Cubical.Codata.M.helper

-------------------------------------
-- Container and Container Functor --
Expand Down
Loading
Loading