|
| 1 | +# Associative subalgebras over commutative rings |
| 2 | + |
| 3 | +```agda |
| 4 | +module commutative-algebra.associative-subalgebras-commutative-rings where |
| 5 | +``` |
| 6 | + |
| 7 | +<details><summary>Imports</summary> |
| 8 | + |
| 9 | +```agda |
| 10 | +open import commutative-algebra.algebras-commutative-rings |
| 11 | +open import commutative-algebra.associative-algebras-commutative-rings |
| 12 | +open import commutative-algebra.commutative-rings |
| 13 | +open import commutative-algebra.subalgebras-commutative-rings |
| 14 | +open import commutative-algebra.subsets-associative-algebras-commutative-rings |
| 15 | +
|
| 16 | +open import foundation.dependent-pair-types |
| 17 | +open import foundation.identity-types |
| 18 | +open import foundation.subtypes |
| 19 | +open import foundation.universe-levels |
| 20 | +``` |
| 21 | + |
| 22 | +</details> |
| 23 | + |
| 24 | +## Idea |
| 25 | + |
| 26 | +A |
| 27 | +[subset](commutative-algebra.subsets-associative-algebras-commutative-rings.md) |
| 28 | +of an |
| 29 | +[associative algebra](commutative-algebra.associative-algebras-commutative-rings.md) |
| 30 | +over a [commutative ring](commutative-algebra.commutative-rings.md) is a |
| 31 | +{{#concept "subalgebra" Disambiguation="of an associative algebra" Agda=associative-subalgebra-Commutative-Ring}} |
| 32 | +if it contains zero and is closed under addition, scalar multiplication, and |
| 33 | +multiplication, in which case it is itself an associative algebra. |
| 34 | + |
| 35 | +## Definition |
| 36 | + |
| 37 | +```agda |
| 38 | +module _ |
| 39 | + {l1 l2 l3 : Level} |
| 40 | + (R : Commutative-Ring l1) |
| 41 | + (A : associative-algebra-Commutative-Ring l2 R) |
| 42 | + where |
| 43 | +
|
| 44 | + is-subalgebra-prop-subset-associative-algebra-Commutative-Ring : |
| 45 | + subtype (l1 ⊔ l2 ⊔ l3) (subset-associative-algebra-Commutative-Ring l3 R A) |
| 46 | + is-subalgebra-prop-subset-associative-algebra-Commutative-Ring = |
| 47 | + is-subalgebra-prop-subset-algebra-Commutative-Ring |
| 48 | + ( R) |
| 49 | + ( algebra-associative-algebra-Commutative-Ring R A) |
| 50 | +
|
| 51 | + is-subalgebra-subset-associative-algebra-Commutative-Ring : |
| 52 | + subset-associative-algebra-Commutative-Ring l3 R A → UU (l1 ⊔ l2 ⊔ l3) |
| 53 | + is-subalgebra-subset-associative-algebra-Commutative-Ring = |
| 54 | + is-in-subtype is-subalgebra-prop-subset-associative-algebra-Commutative-Ring |
| 55 | +
|
| 56 | +module _ |
| 57 | + {l1 l2 : Level} |
| 58 | + (l3 : Level) |
| 59 | + (R : Commutative-Ring l1) |
| 60 | + (A : associative-algebra-Commutative-Ring l2 R) |
| 61 | + where |
| 62 | +
|
| 63 | + associative-subalgebra-Commutative-Ring : UU (l1 ⊔ l2 ⊔ lsuc l3) |
| 64 | + associative-subalgebra-Commutative-Ring = |
| 65 | + type-subtype |
| 66 | + ( is-subalgebra-prop-subset-associative-algebra-Commutative-Ring |
| 67 | + { l3 = l3} |
| 68 | + ( R) |
| 69 | + ( A)) |
| 70 | +
|
| 71 | +module _ |
| 72 | + {l1 l2 l3 : Level} |
| 73 | + (R : Commutative-Ring l1) |
| 74 | + (A : associative-algebra-Commutative-Ring l2 R) |
| 75 | + (SA@(S , is-subalgebra-S) : |
| 76 | + associative-subalgebra-Commutative-Ring l3 R A) |
| 77 | + where |
| 78 | +
|
| 79 | + algebra-associative-subalgebra-Commutative-Ring : |
| 80 | + algebra-Commutative-Ring (l2 ⊔ l3) R |
| 81 | + algebra-associative-subalgebra-Commutative-Ring = |
| 82 | + algebra-subalgebra-Commutative-Ring |
| 83 | + ( R) |
| 84 | + ( algebra-associative-algebra-Commutative-Ring R A) |
| 85 | + ( SA) |
| 86 | +
|
| 87 | + type-associative-subalgebra-Commutative-Ring : UU (l2 ⊔ l3) |
| 88 | + type-associative-subalgebra-Commutative-Ring = type-subtype S |
| 89 | +
|
| 90 | + mul-algebra-associative-subalgebra-Commutative-Ring : |
| 91 | + type-associative-subalgebra-Commutative-Ring → |
| 92 | + type-associative-subalgebra-Commutative-Ring → |
| 93 | + type-associative-subalgebra-Commutative-Ring |
| 94 | + mul-algebra-associative-subalgebra-Commutative-Ring = |
| 95 | + mul-algebra-Commutative-Ring |
| 96 | + ( R) |
| 97 | + ( algebra-associative-subalgebra-Commutative-Ring) |
| 98 | +
|
| 99 | + abstract |
| 100 | + associative-mul-algebra-associative-subalgebra-Commutative-Ring : |
| 101 | + (a b c : type-associative-subalgebra-Commutative-Ring) → |
| 102 | + mul-algebra-associative-subalgebra-Commutative-Ring |
| 103 | + ( mul-algebra-associative-subalgebra-Commutative-Ring a b) |
| 104 | + ( c) = |
| 105 | + mul-algebra-associative-subalgebra-Commutative-Ring |
| 106 | + ( a) |
| 107 | + ( mul-algebra-associative-subalgebra-Commutative-Ring b c) |
| 108 | + associative-mul-algebra-associative-subalgebra-Commutative-Ring |
| 109 | + (a , _) (b , _) (c , _) = |
| 110 | + eq-type-subtype |
| 111 | + ( S) |
| 112 | + ( associative-mul-associative-algebra-Commutative-Ring R A a b c) |
| 113 | +
|
| 114 | + associative-algebra-associative-subalgebra-Commutative-Ring : |
| 115 | + associative-algebra-Commutative-Ring (l2 ⊔ l3) R |
| 116 | + associative-algebra-associative-subalgebra-Commutative-Ring = |
| 117 | + ( algebra-associative-subalgebra-Commutative-Ring , |
| 118 | + associative-mul-algebra-associative-subalgebra-Commutative-Ring) |
| 119 | +``` |
0 commit comments