Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to https://github.com/coq/coq/pull/19530 #131

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion categories/product.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Require Import
MathClasses.interfaces.abstract_algebra Coq.Logic.ChoiceFacts MathClasses.interfaces.functors
MathClasses.interfaces.abstract_algebra.
From Coq.Logic Require Import ChoiceFacts.
Require Import MathClasses.interfaces.functors
MathClasses.theory.categories MathClasses.categories.categories.

(* Axiom dependent_functional_choice: DependentFunctionalChoice. *)
Expand Down
5 changes: 4 additions & 1 deletion implementations/NType_naturals.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Require
MathClasses.implementations.stdlib_binary_integers MathClasses.theory.integers MathClasses.orders.semirings.
From Coq Require Import Setoid.
Require Import
Bignums.SpecViaZ.NSig Bignums.SpecViaZ.NSigNAxioms Coq.NArith.NArith.
From Coq Require Import ZArith Program Morphisms.
Require Import
Coq.Setoids.Setoid Bignums.SpecViaZ.NSig Bignums.SpecViaZ.NSigNAxioms Coq.NArith.NArith Coq.ZArith.ZArith Coq.Program.Program Coq.Classes.Morphisms
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.integers
MathClasses.interfaces.orders MathClasses.interfaces.additional_operations.

Expand Down
3 changes: 2 additions & 1 deletion implementations/QType_rationals.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.theory.fields MathClasses.implementations.stdlib_rationals MathClasses.theory.int_pow.
From Coq Require Import QArith.
Require Import
Coq.QArith.QArith Bignums.SpecViaQ.QSig
Bignums.SpecViaQ.QSig
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.interfaces.integers MathClasses.interfaces.rationals MathClasses.interfaces.additional_operations
MathClasses.theory.rings MathClasses.theory.rationals.
Expand Down
4 changes: 3 additions & 1 deletion implementations/ZType_integers.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Require
MathClasses.implementations.stdlib_binary_integers MathClasses.theory.integers MathClasses.orders.semirings.
Require Import
Bignums.SpecViaZ.ZSig Bignums.SpecViaZ.ZSigZAxioms Coq.NArith.NArith Coq.ZArith.ZArith
Bignums.SpecViaZ.ZSig Bignums.SpecViaZ.ZSigZAxioms Coq.NArith.NArith.
From Coq Require Import ZArith.
Require Import
MathClasses.implementations.nonneg_integers_naturals MathClasses.interfaces.orders
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers MathClasses.interfaces.additional_operations.

Expand Down
3 changes: 2 additions & 1 deletion implementations/dyadics.v
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
for some [Integers] implementation [Z]. These numbers form a ring and can be
embedded into any [Rationals] implementation [Q].
*)
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra
MathClasses.interfaces.abstract_algebra
MathClasses.interfaces.integers MathClasses.interfaces.naturals MathClasses.interfaces.rationals
MathClasses.interfaces.additional_operations MathClasses.interfaces.orders
MathClasses.orders.minmax MathClasses.orders.integers MathClasses.orders.rationals
Expand Down
3 changes: 2 additions & 1 deletion implementations/fast_rationals.v
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Require
MathClasses.theory.rings
MathClasses.theory.shiftl MathClasses.theory.int_pow.
From Coq Require Import QArith.
Require Import
Coq.QArith.QArith Bignums.BigQ.BigQ
Bignums.BigQ.BigQ
MathClasses.interfaces.orders MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals
MathClasses.interfaces.integers MathClasses.interfaces.rationals MathClasses.interfaces.additional_operations
MathClasses.implementations.fast_naturals MathClasses.implementations.fast_integers MathClasses.implementations.field_of_fractions MathClasses.implementations.stdlib_rationals.
Expand Down
5 changes: 3 additions & 2 deletions implementations/field_of_fractions.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra
From Coq Require Import Ring.
Require Import
MathClasses.interfaces.abstract_algebra
MathClasses.theory.rings MathClasses.theory.dec_fields.

Inductive Frac R `{Rap : Equiv R} `{Rzero : Zero R} : Type := frac { num: R; den: R; den_ne_0: den ≠ 0 }.
Expand Down
3 changes: 2 additions & 1 deletion implementations/list.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import List SetoidList.
Require Import
Coq.Lists.List Coq.Lists.SetoidList MathClasses.interfaces.abstract_algebra MathClasses.interfaces.monads MathClasses.theory.monads.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.monads MathClasses.theory.monads.
Import ListNotations.

(* The below belongs in the stdlib *)
Expand Down
3 changes: 2 additions & 1 deletion implementations/list_finite_set.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import List SetoidList.
Require Import
Coq.Lists.List Coq.Lists.SetoidList MathClasses.implementations.list
MathClasses.implementations.list
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.finite_sets MathClasses.interfaces.orders
MathClasses.theory.lattices MathClasses.orders.lattices.
Import ListNotations.
Expand Down
3 changes: 2 additions & 1 deletion implementations/modular_ring.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers
MathClasses.theory.integers MathClasses.theory.ring_ideals.

Definition is_multiple `{Equiv Z} `{Mult Z} (b x : Z) := ∃ k, x = b * k.
Expand Down
3 changes: 2 additions & 1 deletion implementations/natpair_integers.v
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

Require
MathClasses.theory.naturals.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.theory.categories
MathClasses.interfaces.abstract_algebra MathClasses.theory.categories
MathClasses.interfaces.naturals MathClasses.interfaces.integers MathClasses.theory.jections.
Require Export
MathClasses.implementations.semiring_pairs.
Expand Down
3 changes: 2 additions & 1 deletion implementations/nonneg_integers_naturals.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.implementations.peano_naturals.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers MathClasses.interfaces.naturals MathClasses.interfaces.orders
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers MathClasses.interfaces.naturals MathClasses.interfaces.orders
MathClasses.interfaces.additional_operations MathClasses.theory.int_abs.
Require Export
MathClasses.implementations.nonneg_semiring_elements.
Expand Down
2 changes: 1 addition & 1 deletion implementations/nonneg_semiring_elements.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Require
MathClasses.theory.rings.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.orders.semirings.

Local Existing Instance pseudo_srorder_semiring.
Expand Down
3 changes: 2 additions & 1 deletion implementations/nonzero_field_elements.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.theory.fields.
MathClasses.interfaces.abstract_algebra MathClasses.theory.fields.

(* The non zero elements of a field form a CommutativeMonoid. *)
Section contents.
Expand Down
4 changes: 3 additions & 1 deletion implementations/peano_naturals.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Require
MathClasses.theory.ua_homomorphisms.
Require Import
Coq.Classes.Morphisms Coq.setoid_ring.Ring Coq.Arith.Arith_base Coq.Arith.PeanoNat
Coq.Classes.Morphisms.
From Coq Require Import Ring Arith_base PeanoNat.
Require Import
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.theory.categories
MathClasses.interfaces.additional_operations MathClasses.interfaces.orders MathClasses.orders.semirings.

Expand Down
2 changes: 1 addition & 1 deletion implementations/positive_semiring_elements.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.additional_operations
MathClasses.interfaces.orders MathClasses.interfaces.integers
MathClasses.orders.semirings MathClasses.theory.shiftl MathClasses.theory.int_pow.
Expand Down
3 changes: 2 additions & 1 deletion implementations/semiring_pairs.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.orders.rings.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.orders.rings.

Inductive SRpair (SR : Type) := C { pos : SR ; neg : SR }.
Arguments C {SR} _ _.
Expand Down
2 changes: 1 addition & 1 deletion implementations/stdlib_binary_integers.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Require
MathClasses.interfaces.naturals MathClasses.theory.naturals MathClasses.implementations.peano_naturals MathClasses.theory.integers.
From Coq Require Import BinInt Ring Arith NArith ZArith ZBinary.
Require Import
Coq.ZArith.BinInt Coq.setoid_ring.Ring Coq.Arith.Arith Coq.NArith.NArith Coq.ZArith.ZArith Coq.Numbers.Integer.Binary.ZBinary
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers
MathClasses.implementations.natpair_integers MathClasses.implementations.stdlib_binary_naturals
MathClasses.interfaces.additional_operations MathClasses.interfaces.orders
Expand Down
7 changes: 4 additions & 3 deletions implementations/stdlib_rationals.v
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Require
MathClasses.implementations.stdlib_binary_integers Coq.setoid_ring.Field Coq.QArith.Qfield MathClasses.theory.rationals.
MathClasses.implementations.stdlib_binary_integers.
From Coq Require Import Field Qfield.
Require Import MathClasses.theory.rationals.
From Coq Require Import ZArith Ring QArith_base Qabs Qpower.
Require Import
Coq.ZArith.ZArith
Coq.setoid_ring.Ring Coq.QArith.QArith_base Coq.QArith.Qabs Coq.QArith.Qpower
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.rationals
MathClasses.interfaces.orders MathClasses.interfaces.additional_operations
MathClasses.implementations.field_of_fractions MathClasses.orders.integers.
Expand Down
4 changes: 3 additions & 1 deletion interfaces/canonical_names.v
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Global Generalizable All Variables.
Global Set Automatic Introduction.

Check warning on line 2 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

There is no flag or option with this name: "Automatic Introduction".

Check warning on line 2 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

There is no flag or option with this name: "Automatic Introduction".

Require Import MathClasses.theory.CoqStreams.
Require Export Coq.Classes.Morphisms Coq.Setoids.Setoid Coq.Program.Program Coq.Unicode.Utf8 Coq.Unicode.Utf8_core MathClasses.misc.stdlib_hints.
Require Export Coq.Classes.Morphisms Coq.Setoids.Setoid.
From Coq.Program Require Export Program.
Require Export Coq.Unicode.Utf8 Coq.Unicode.Utf8_core MathClasses.misc.stdlib_hints.

Definition id {A : Type} (a : A) := a.

Expand All @@ -20,23 +22,23 @@
Set Warnings "+unsupported-attributes".

(* We use this virtually everywhere, and so use "=" for it: *)
Infix "=" := equiv : type_scope.

Check warning on line 25 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

Notation "_ = _" was already used in scope type_scope.

Check warning on line 25 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

Notation "_ = _" was already used in scope type_scope.
Notation "(=)" := equiv (only parsing) : mc_scope.

Check warning on line 26 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

Declaring a scope implicitly is deprecated; use in advance an

Check warning on line 26 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

Declaring a scope implicitly is deprecated; use in advance an
Notation "( x =)" := (equiv x) (only parsing) : mc_scope.
Notation "(= x )" := (λ y, equiv y x) (only parsing) : mc_scope.
Notation "(≠)" := (λ x y, ¬x = y) (only parsing) : mc_scope.
Notation "x ≠ y":= (¬x = y): type_scope.

Check warning on line 30 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

Notation "_ ≠ _" was already used in scope type_scope.

Check warning on line 30 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

Notation "_ ≠ _" was already used in scope type_scope.
Notation "( x ≠)" := (λ y, x ≠ y) (only parsing) : mc_scope.
Notation "(≠ x )" := (λ y, y ≠ x) (only parsing) : mc_scope.

Delimit Scope mc_scope with mc.
Global Open Scope mc_scope.

#[global]

Check warning on line 37 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

Adding and removing hints in the core database implicitly is

Check warning on line 37 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

Adding and removing hints in the core database implicitly is
Hint Extern 2 (?x = ?x) => reflexivity.
#[global]

Check warning on line 39 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

Adding and removing hints in the core database implicitly is

Check warning on line 39 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

Adding and removing hints in the core database implicitly is
Hint Extern 2 (?x = ?y) => auto_symm.
#[global]

Check warning on line 41 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.19)

Adding and removing hints in the core database implicitly is

Check warning on line 41 in interfaces/canonical_names.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:8.18)

Adding and removing hints in the core database implicitly is
Hint Extern 2 (?x = ?y) => auto_trans.

(* Coq sometimes uses an incorrect DefaultRelation, so we override it. *)
Expand Down
2 changes: 1 addition & 1 deletion misc/JMrelation.v
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Lemma transitive A B C (Ra: relation A) (Rb: relation B) (Rc: relation C) (a:A)
R Ra a _ Rb b → R Rb b _ Rc c → R Ra a _ Rc c.
Proof. destruct 1. destruct 1. apply relate. transitivity y; assumption. Qed.

Require Import Coq.Logic.Eqdep.
From Coq.Logic Require Import Eqdep.

Lemma unJM A (r: relation A) (x y:A) r' (E: R r x A r' y): r x y.
Proof.
Expand Down
3 changes: 2 additions & 1 deletion misc/util.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq.Program Require Import Program.
Require Import
Coq.Program.Program Coq.Classes.Morphisms Coq.Setoids.Setoid MathClasses.interfaces.canonical_names.
Coq.Classes.Morphisms Coq.Setoids.Setoid MathClasses.interfaces.canonical_names.

Section pointwise_dependent_relation.
Context A (B: A → Type) (R: ∀ a, relation (B a)).
Expand Down
2 changes: 1 addition & 1 deletion orders/dec_fields.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
From Coq Require Import Relation_Definitions Ring.
Require Import
Coq.Relations.Relation_Definitions Coq.setoid_ring.Ring
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.theory.rings MathClasses.theory.dec_fields.
Require Export
MathClasses.orders.rings.
Expand Down
3 changes: 2 additions & 1 deletion orders/integers.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.theory.integers MathClasses.theory.int_abs.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers MathClasses.interfaces.naturals
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers MathClasses.interfaces.naturals
MathClasses.interfaces.additional_operations MathClasses.interfaces.orders
MathClasses.implementations.natpair_integers MathClasses.orders.rings.
Require Export
Expand Down
3 changes: 2 additions & 1 deletion orders/nat_int.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders
MathClasses.theory.naturals MathClasses.theory.rings MathClasses.implementations.peano_naturals.
Require Export
MathClasses.orders.semirings.
Expand Down
3 changes: 2 additions & 1 deletion orders/naturals.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.theory.naturals.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders MathClasses.orders.rings.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders MathClasses.orders.rings.
Require Export
MathClasses.orders.nat_int.

Expand Down
3 changes: 2 additions & 1 deletion orders/rationals.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring Field.
Require Import
Coq.setoid_ring.Ring Coq.setoid_ring.Field MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.interfaces.naturals MathClasses.interfaces.rationals MathClasses.interfaces.integers
MathClasses.implementations.natpair_integers MathClasses.theory.rationals MathClasses.theory.dec_fields MathClasses.theory.rings
MathClasses.orders.integers MathClasses.orders.dec_fields.
Expand Down
3 changes: 2 additions & 1 deletion orders/rings.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.theory.rings.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.theory.rings.
Require Export
MathClasses.orders.semirings.

Expand Down
3 changes: 2 additions & 1 deletion orders/semirings.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.theory.rings.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.theory.rings.
Require Export
MathClasses.orders.orders MathClasses.orders.maps.

Expand Down
2 changes: 1 addition & 1 deletion quote/classquote.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import Coq.Classes.Morphisms Coq.Program.Program Coq.Unicode.Utf8.
From Coq Require Import Morphisms Program Utf8.

Check warning on line 1 in quote/classquote.v

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:dev)

"From Coq" has been replaced by "From Stdlib".

(* First, two ways to do quoting in the naive scenario without
holes/variables in the expression: *)
Expand Down
3 changes: 2 additions & 1 deletion theory/abs.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.orders.rings.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders MathClasses.orders.rings.

Section contents.
Context `{Ring R} `{Apart R} `{!TrivialApart R} `{!FullPseudoSemiRingOrder Rle Rlt} `{∀ x y, Decision (x = y)} `{a : !Abs R}.
Expand Down
3 changes: 2 additions & 1 deletion theory/cut_minus.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.orders.semirings.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.additional_operations
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.additional_operations
MathClasses.interfaces.orders MathClasses.orders.minmax.

(* * Properties of Cut off Minus *)
Expand Down
2 changes: 1 addition & 1 deletion theory/dec_fields.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
From Coq Require Import Field Ring.
Require Import
Coq.setoid_ring.Field Coq.setoid_ring.Ring
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.vectorspace
MathClasses.theory.fields MathClasses.theory.strong_setoids.
Require Export
Expand Down
3 changes: 2 additions & 1 deletion theory/fields.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.theory.strong_setoids.
MathClasses.interfaces.abstract_algebra MathClasses.theory.strong_setoids.
Require Export
MathClasses.theory.rings.

Expand Down
3 changes: 2 additions & 1 deletion theory/int_abs.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.naturals MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.interfaces.naturals MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.orders.nat_int MathClasses.theory.integers MathClasses.theory.rings MathClasses.orders.rings.

Section contents.
Expand Down
2 changes: 1 addition & 1 deletion theory/int_pow.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Require
MathClasses.theory.naturals MathClasses.orders.semirings MathClasses.orders.integers MathClasses.orders.dec_fields.
From Coq Require Import Ring Field.
Require Import
Coq.setoid_ring.Ring Coq.setoid_ring.Field
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.integers
MathClasses.interfaces.additional_operations MathClasses.interfaces.orders
MathClasses.theory.nat_pow MathClasses.theory.int_abs MathClasses.theory.dec_fields.
Expand Down
3 changes: 2 additions & 1 deletion theory/int_to_nat.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.naturals MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.interfaces.naturals MathClasses.interfaces.abstract_algebra MathClasses.interfaces.orders
MathClasses.orders.nat_int MathClasses.theory.integers MathClasses.theory.rings MathClasses.orders.rings.

Section contents.
Expand Down
3 changes: 2 additions & 1 deletion theory/integers.v
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(* General results about arbitrary integer implementations. *)
Require
MathClasses.theory.nat_distance.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.naturals MathClasses.interfaces.abstract_algebra MathClasses.implementations.natpair_integers.
MathClasses.interfaces.naturals MathClasses.interfaces.abstract_algebra MathClasses.implementations.natpair_integers.
Require Export
MathClasses.interfaces.integers.

Expand Down
3 changes: 2 additions & 1 deletion theory/nat_distance.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.orders.naturals MathClasses.implementations.peano_naturals.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders MathClasses.interfaces.additional_operations.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders MathClasses.interfaces.additional_operations.

Section contents.
Context `{Naturals N}.
Expand Down
3 changes: 2 additions & 1 deletion theory/nat_pow.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Require
MathClasses.theory.naturals.
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders MathClasses.interfaces.additional_operations.
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.naturals MathClasses.interfaces.orders MathClasses.interfaces.additional_operations.

(* * Properties of Nat Pow *)
Section nat_pow_properties.
Expand Down
6 changes: 4 additions & 2 deletions theory/naturals.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
From Coq Require Import Ring.
Require Import
MathClasses.interfaces.abstract_algebra MathClasses.implementations.peano_naturals MathClasses.theory.rings.
From Coq Require Import PeanoNat.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.implementations.peano_naturals MathClasses.theory.rings
Coq.Arith.PeanoNat
MathClasses.categories.varieties MathClasses.theory.ua_transference.
Require Export
MathClasses.interfaces.naturals.
Expand Down
2 changes: 1 addition & 1 deletion theory/rationals.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring
MathClasses.interfaces.abstract_algebra MathClasses.interfaces.integers MathClasses.interfaces.naturals MathClasses.interfaces.rationals
MathClasses.implementations.field_of_fractions MathClasses.implementations.natpair_integers
MathClasses.theory.rings MathClasses.theory.integers MathClasses.theory.dec_fields.
Expand Down
3 changes: 2 additions & 1 deletion theory/ring_congruence.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
From Coq Require Import Ring.
Require Import
Coq.setoid_ring.Ring MathClasses.interfaces.abstract_algebra MathClasses.theory.rings.
MathClasses.interfaces.abstract_algebra MathClasses.theory.rings.

Class RingCongruence A (R : relation A) `{Ring A} :=
{ ring_congr_equivalence : Equivalence R
Expand Down
Loading
Loading