-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- ps-id: 4377567b-f2e2-437c-aae2-02b81f1b088c --> Signed-off-by: Ali Caglayan <[email protected]>
- Loading branch information
Showing
6 changed files
with
80 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
From HoTT Require Import Basics.Overture Algebra.Rings.Ring Algebra.Rings.CRing. | ||
From HoTT.Algebra Require Import Groups.Group AbGroups.AbelianGroup. | ||
From HoTT Require Import abstract_algebra. | ||
|
||
Local Open Scope path_scope. | ||
|
||
(** Test that opposite rings are definitionally involutive. *) | ||
Definition test1 (R : Ring) : R = (rng_op (rng_op R)) :> Ring := 1. | ||
Definition test2 (R : CRing) : R = (rng_op (rng_op R)) :> CRing := 1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters