Skip to content

Commit 655a116

Browse files
committed
doc: capitalize cartesian (leanprover-community#29294)
Cartesian is derived from the name of a mathematician, which means it is capitalized in English. The only real deviation from this pattern I know of is "abelian".
1 parent db73ea1 commit 655a116

83 files changed

Lines changed: 250 additions & 248 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Mathlib/Algebra/BigOperators/Group/Multiset/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and sums indexed by finite sets.
1818
## Main declarations
1919
2020
* `Multiset.prod`: `s.prod f` is the product of `f i` over all `i ∈ s`. Not to be mistaken with
21-
the cartesian product `Multiset.product`.
21+
the Cartesian product `Multiset.product`.
2222
* `Multiset.sum`: `s.sum f` is the sum of `f i` over all `i ∈ s`.
2323
-/
2424

Mathlib/Algebra/BigOperators/Group/Multiset/Defs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and sums indexed by finite sets.
1717
## Main declarations
1818
1919
* `Multiset.prod`: `s.prod f` is the product of `f i` over all `i ∈ s`. Not to be mistaken with
20-
the cartesian product `Multiset.product`.
20+
the Cartesian product `Multiset.product`.
2121
* `Multiset.sum`: `s.sum f` is the sum of `f i` over all `i ∈ s`.
2222
-/
2323

Mathlib/Algebra/Category/CommAlgCat/Monoidal.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import Mathlib.Algebra.Category.CommAlgCat.Basic
77
import Mathlib.CategoryTheory.Monoidal.Cartesian.Basic
88

99
/-!
10-
# The cocartesian monoidal category structure on commutative `R`-algebras
10+
# The co-Cartesian monoidal category structure on commutative `R`-algebras
1111
12-
This file provides the cocartesian-monoidal category structure on `CommAlgCat R` constructed
12+
This file provides the co-Cartesian-monoidal category structure on `CommAlgCat R` constructed
1313
explicitly using the tensor product.
1414
-/
1515

Mathlib/Algebra/Category/Grp/Biproducts.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ theorem binaryProductLimitCone_cone_π_app_right (G H : AddCommGrp.{u}) :
5151
rfl
5252

5353
/-- We verify that the biproduct in `AddCommGrp` is isomorphic to
54-
the cartesian product of the underlying types:
54+
the Cartesian product of the underlying types:
5555
-/
5656
noncomputable def biprodIsoProd (G H : AddCommGrp.{u}) :
5757
(G ⊞ H : AddCommGrp) ≅ AddCommGrp.of (G × H) :=
@@ -72,7 +72,7 @@ namespace HasLimit
7272
variable {J : Type w} (f : J → AddCommGrp.{max w u})
7373

7474
/-- The map from an arbitrary cone over an indexed family of abelian groups
75-
to the cartesian product of those groups.
75+
to the Cartesian product of those groups.
7676
-/
7777
@[simps!]
7878
def lift (s : Fan f) : s.pt ⟶ AddCommGrp.of (∀ j, f j) :=

Mathlib/Algebra/Category/ModuleCat/Biproducts.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ theorem binaryProductLimitCone_cone_π_app_right (M N : ModuleCat.{v} R) :
6363
rfl
6464

6565
/-- We verify that the biproduct in `ModuleCat R` is isomorphic to
66-
the cartesian product of the underlying types:
66+
the Cartesian product of the underlying types:
6767
-/
6868
noncomputable def biprodIsoProd (M N : ModuleCat.{v} R) :
6969
(M ⊞ N : ModuleCat.{v} R) ≅ ModuleCat.of R (M × N) :=
@@ -84,7 +84,7 @@ namespace HasLimit
8484
variable {J : Type w} (f : J → ModuleCat.{max w v} R)
8585

8686
/-- The map from an arbitrary cone over an indexed family of abelian groups
87-
to the cartesian product of those groups.
87+
to the Cartesian product of those groups.
8888
-/
8989
@[simps!]
9090
def lift (s : Fan f) : s.pt ⟶ ModuleCat.of R (∀ j, f j) :=

Mathlib/Algebra/Category/Ring/Constructions.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In this file we provide the explicit (co)cones for various (co)limits in `CommRi
2020
* tensor product over `ℤ` is the binary coproduct
2121
* `ℤ` is the initial object
2222
* `0` is the strict terminal object
23-
* cartesian product is the product
23+
* Cartesian product is the product
2424
* arbitrary direct product of a family of rings is the product object (Pi object)
2525
* `RingHom.eqLocus` is the equalizer
2626
@@ -257,12 +257,12 @@ section Product
257257

258258
variable (A B : CommRingCat.{u})
259259

260-
/-- The product in `CommRingCat` is the cartesian product. This is the binary fan. -/
260+
/-- The product in `CommRingCat` is the Cartesian product. This is the binary fan. -/
261261
@[simps! pt]
262262
def prodFan : BinaryFan A B :=
263263
BinaryFan.mk (CommRingCat.ofHom <| RingHom.fst A B) (CommRingCat.ofHom <| RingHom.snd A B)
264264

265-
/-- The product in `CommRingCat` is the cartesian product. -/
265+
/-- The product in `CommRingCat` is the Cartesian product. -/
266266
def prodFanIsLimit : IsLimit (prodFan A B) where
267267
lift c := ofHom <| RingHom.prod (c.π.app ⟨WalkingPair.left⟩).hom (c.π.app ⟨WalkingPair.right⟩).hom
268268
fac c j := by
@@ -286,14 +286,14 @@ section Pi
286286
variable {ι : Type u} (R : ι → CommRingCat.{u})
287287

288288
/--
289-
The categorical product of rings is the cartesian product of rings. This is its `Fan`.
289+
The categorical product of rings is the Cartesian product of rings. This is its `Fan`.
290290
-/
291291
@[simps! pt]
292292
def piFan : Fan R :=
293293
Fan.mk (CommRingCat.of ((i : ι) → R i)) (fun i ↦ ofHom <| Pi.evalRingHom _ i)
294294

295295
/--
296-
The categorical product of rings is the cartesian product of rings.
296+
The categorical product of rings is the Cartesian product of rings.
297297
-/
298298
def piFanIsLimit : IsLimit (piFan R) where
299299
lift s := ofHom <| Pi.ringHom fun i ↦ (s.π.1 ⟨i⟩).hom

Mathlib/Algebra/Ring/Fin.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ This file collects some basic results involving rings and the `Fin` type
1313
1414
## Main results
1515
16-
* `RingEquiv.piFinTwo`: The product over `Fin 2` of some rings is the cartesian product
16+
* `RingEquiv.piFinTwo`: The product over `Fin 2` of some rings is the Cartesian product
1717
1818
-/
1919

2020

21-
/-- The product over `Fin 2` of some rings is just the cartesian product of these rings. -/
21+
/-- The product over `Fin 2` of some rings is just the Cartesian product of these rings. -/
2222
@[simps]
2323
def RingEquiv.piFinTwo (R : Fin 2Type*) [∀ i, Semiring (R i)] :
2424
(∀ i : Fin 2, R i) ≃+* R 0 × R 1 :=

Mathlib/AlgebraicGeometry/Morphisms/SurjectiveOnStalks.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We show that this class is stable under composition and base change.
1616
1717
We also show that (`AlgebraicGeometry.SurjectiveOnStalks.isEmbedding_pullback`)
1818
if `Y ⟶ S` is surjective on stalks, then for every `X ⟶ S`, `X ×ₛ Y` is a subset of
19-
`X × Y` (cartesian product as topological spaces) with the induced topology.
19+
`X × Y` (Cartesian product as topological spaces) with the induced topology.
2020
-/
2121

2222
open CategoryTheory CategoryTheory.Limits Topology
@@ -99,7 +99,7 @@ lemma mono_of_injective [SurjectiveOnStalks f] (hf : Function.Injective f.base)
9999
· exact fun x ↦ ConcreteCategory.epi_of_surjective _ (f.stalkMap_surjective x)
100100

101101
/-- If `Y ⟶ S` is surjective on stalks, then for every `X ⟶ S`, `X ×ₛ Y` is a subset of
102-
`X × Y` (cartesian product as topological spaces) with the induced topology. -/
102+
`X × Y` (Cartesian product as topological spaces) with the induced topology. -/
103103
lemma isEmbedding_pullback {X Y S : Scheme.{u}} (f : X ⟶ S) (g : Y ⟶ S) [SurjectiveOnStalks g] :
104104
IsEmbedding (fun x ↦ ((pullback.fst f g).base x, (pullback.snd f g).base x)) := by
105105
let L := (fun x ↦ ((pullback.fst f g).base x, (pullback.snd f g).base x))

Mathlib/Analysis/Calculus/ContDiff/Basic.lean

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ end linear
501501
/-! ### The Cartesian product of two C^n functions is C^n. -/
502502
section prod
503503

504-
/-- If two functions `f` and `g` admit Taylor series `p` and `q` in a set `s`, then the cartesian
505-
product of `f` and `g` admits the cartesian product of `p` and `q` as a Taylor series. -/
504+
/-- If two functions `f` and `g` admit Taylor series `p` and `q` in a set `s`, then the Cartesian
505+
product of `f` and `g` admits the Cartesian product of `p` and `q` as a Taylor series. -/
506506
theorem HasFTaylorSeriesUpToOn.prodMk {n : WithTop ℕ∞}
507507
(hf : HasFTaylorSeriesUpToOn n f p s) {g : E → G}
508508
{q : E → FormalMultilinearSeries 𝕜 E G} (hg : HasFTaylorSeriesUpToOn n g q s) :
@@ -519,7 +519,7 @@ theorem HasFTaylorSeriesUpToOn.prodMk {n : WithTop ℕ∞}
519519
@[deprecated (since := "2025-03-09")]
520520
alias HasFTaylorSeriesUpToOn.prod := HasFTaylorSeriesUpToOn.prodMk
521521

522-
/-- The cartesian product of `C^n` functions at a point in a domain is `C^n`. -/
522+
/-- The Cartesian product of `C^n` functions at a point in a domain is `C^n`. -/
523523
@[fun_prop]
524524
theorem ContDiffWithinAt.prodMk {s : Set E} {f : E → F} {g : E → G}
525525
(hf : ContDiffWithinAt 𝕜 n f s x) (hg : ContDiffWithinAt 𝕜 n g s x) :
@@ -543,7 +543,7 @@ theorem ContDiffWithinAt.prodMk {s : Set E} {f : E → F} {g : E → G}
543543
@[deprecated (since := "2025-03-09")]
544544
alias ContDiffWithinAt.prod := ContDiffWithinAt.prodMk
545545

546-
/-- The cartesian product of `C^n` functions on domains is `C^n`. -/
546+
/-- The Cartesian product of `C^n` functions on domains is `C^n`. -/
547547
@[fun_prop]
548548
theorem ContDiffOn.prodMk {s : Set E} {f : E → F} {g : E → G} (hf : ContDiffOn 𝕜 n f s)
549549
(hg : ContDiffOn 𝕜 n g s) : ContDiffOn 𝕜 n (fun x : E => (f x, g x)) s := fun x hx =>
@@ -552,7 +552,7 @@ theorem ContDiffOn.prodMk {s : Set E} {f : E → F} {g : E → G} (hf : ContDiff
552552
@[deprecated (since := "2025-03-09")]
553553
alias ContDiffOn.prod := ContDiffOn.prodMk
554554

555-
/-- The cartesian product of `C^n` functions at a point is `C^n`. -/
555+
/-- The Cartesian product of `C^n` functions at a point is `C^n`. -/
556556
@[fun_prop]
557557
theorem ContDiffAt.prodMk {f : E → F} {g : E → G} (hf : ContDiffAt 𝕜 n f x)
558558
(hg : ContDiffAt 𝕜 n g x) : ContDiffAt 𝕜 n (fun x : E => (f x, g x)) x :=
@@ -561,7 +561,7 @@ theorem ContDiffAt.prodMk {f : E → F} {g : E → G} (hf : ContDiffAt 𝕜 n f
561561
@[deprecated (since := "2025-03-09")]
562562
alias ContDiffAt.prod := ContDiffAt.prodMk
563563

564-
/-- The cartesian product of `C^n` functions is `C^n`. -/
564+
/-- The Cartesian product of `C^n` functions is `C^n`. -/
565565
@[fun_prop]
566566
theorem ContDiff.prodMk {f : E → F} {g : E → G} (hf : ContDiff 𝕜 n f) (hg : ContDiff 𝕜 n g) :
567567
ContDiff 𝕜 n fun x : E => (f x, g x) :=

Mathlib/Analysis/Calculus/Deriv/Prod.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ variable {f₁ : 𝕜 → F} {f₁' : F} {x : 𝕜} {s : Set 𝕜} {L : Filter
3030

3131
section CartesianProduct
3232

33-
/-! ### Derivative of the cartesian product of two functions -/
33+
/-! ### Derivative of the Cartesian product of two functions -/
3434

3535

3636
variable {G : Type w} [NormedAddCommGroup G] [NormedSpace 𝕜 G]

0 commit comments

Comments
 (0)