Skip to content

Commit

Permalink
Remove some unused imports (#732)
Browse files Browse the repository at this point in the history
* remove some unused imports in RingSolver

* remove some more unused imports (found with agda-unused)

Co-authored-by: Matthias Hutzler <[email protected]>
  • Loading branch information
MatthiasHu and MatthiasHu authored Mar 10, 2022
1 parent 6317041 commit 7d0daf3
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion Cubical/Algebra/RingSolver/RawAlgebra.agda
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
module Cubical.Algebra.RingSolver.RawAlgebra where

open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Data.Nat using (ℕ)
open import Cubical.Data.Int renaming (_+_ to _+ℤ_ ; _·_ to _·ℤ_ ; -_ to -ℤ_ ; _-_ to _-ℤ_ ; +Assoc to +ℤAssoc ; +Comm to +ℤComm ; -DistL· to -ℤDistL·ℤ)

Expand Down
2 changes: 0 additions & 2 deletions Cubical/Algebra/RingSolver/RawRing.agda
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
module Cubical.Algebra.RingSolver.RawRing where

open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Data.Nat using (ℕ)

private
variable
Expand Down
3 changes: 0 additions & 3 deletions Cubical/Data/Bool/Base.agda
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{-# OPTIONS --safe #-}
module Cubical.Data.Bool.Base where

open import Cubical.Core.Everything

open import Cubical.Foundations.Prelude

open import Cubical.Data.Empty
open import Cubical.Data.Sum.Base
open import Cubical.Data.Unit.Base

open import Cubical.Relation.Nullary.Base
open import Cubical.Relation.Nullary.DecidableEq

-- Obtain the booleans
open import Agda.Builtin.Bool public
Expand Down
1 change: 0 additions & 1 deletion Cubical/Data/Empty/Base.agda
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{-# OPTIONS --safe #-}
module Cubical.Data.Empty.Base where

open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude

private
Expand Down
1 change: 0 additions & 1 deletion Cubical/Foundations/Equiv.agda
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module Cubical.Foundations.Equiv where
open import Cubical.Foundations.Function
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.GroupoidLaws

open import Cubical.Foundations.Equiv.Base public
open import Cubical.Data.Sigma.Base
Expand Down
2 changes: 0 additions & 2 deletions Cubical/Foundations/Isomorphism.agda
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv.Base

open import Cubical.Foundations.Function

private
variable
ℓ ℓ' : Level
Expand Down
1 change: 0 additions & 1 deletion Cubical/Functions/Morphism.agda
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module Cubical.Functions.Morphism where

open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Function

open Iso
module ax {ℓ : Level} (A : Type ℓ) (_+A_ : A A A) (a₀ : A) where
Expand Down

0 comments on commit 7d0daf3

Please sign in to comment.