Skip to content

Commit a9a6f1a

Browse files
committed
lemma on quotients
1 parent b056c09 commit a9a6f1a

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

Cubical/Algebra/CommAlgebra/Quotient.agda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
module Cubical.Algebra.CommAlgebra.Quotient where
33

44
open import Cubical.Algebra.CommAlgebra.Quotient.Base public
5+
open import Cubical.Algebra.CommAlgebra.Quotient.Properties public
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{-# OPTIONS --safe --lossy-unification #-}
2+
module Cubical.Algebra.CommAlgebra.Quotient.Properties where
3+
open import Cubical.Foundations.Prelude
4+
open import Cubical.Foundations.HLevels
5+
open import Cubical.Foundations.Equiv
6+
open import Cubical.Foundations.Function
7+
open import Cubical.Foundations.Structure
8+
9+
open import Cubical.Algebra.CommRing
10+
open import Cubical.Algebra.CommRing.Ideal hiding (IdealsIn)
11+
open import Cubical.Algebra.CommAlgebra
12+
open import Cubical.Algebra.CommAlgebra.Univalence
13+
open import Cubical.Algebra.CommAlgebra.Ideal
14+
open import Cubical.Algebra.CommAlgebra.Quotient.Base
15+
16+
open import Cubical.Tactics.CommRingSolver
17+
18+
private variable
19+
ℓ ℓ' : Level
20+
21+
module _ {R : CommRing ℓ} {A : CommAlgebra R ℓ'} {I : IdealsIn R A} where
22+
23+
ideal≡ToEquiv : {J : IdealsIn R A} I ≡ J CommAlgebraEquiv (A / I) (A / J)
24+
ideal≡ToEquiv {J = J} I≡J = pathToEquiv $ cong (λ K A / K) I≡J
25+
where
26+
pathToEquiv : (A / I) ≡ (A / J) CommAlgebraEquiv (A / I) (A / J)
27+
pathToEquiv = fst $ invEquiv $ CommAlgebraPath (A / I) (A / J)

0 commit comments

Comments
 (0)