mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-19 01:58:45 +00:00
Irreducible and maximal (#87)
This commit is contained in:
@@ -18,7 +18,11 @@ open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
|
||||
module Rings.Ideals.Principal.Definition {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring S _+_ _*_) where
|
||||
|
||||
open import Rings.Ideals.Definition R
|
||||
open import Rings.Divisible.Definition R
|
||||
open Setoid S
|
||||
|
||||
PrincipalIdeal : {c : _} {pred : A → Set c} (ideal : Ideal pred) → Set (a ⊔ b ⊔ c)
|
||||
PrincipalIdeal {pred = pred} ideal = Sg A (λ a → {x : A} → (pred x) → Sg A (λ c → (a * c) ∼ x))
|
||||
record PrincipalIdeal {c : _} {pred : A → Set c} (ideal : Ideal pred) : Set (a ⊔ b ⊔ c) where
|
||||
field
|
||||
generator : A
|
||||
genIsInIdeal : pred generator
|
||||
genGenerates : {x : A} → pred x → generator ∣ x
|
||||
|
Reference in New Issue
Block a user