Definition Β· Subject of the article β Formalized
Formalized: Mathlib states this up to a convention difference (a definition).
In mathematics, the sign of a real number is its property of being either positive, negative, or 0. Show all
Real. sign close match
def Real.sign : β β β
Mathlib.Basic.Real.Sign Β· lines 34β35
Why close, not exact: Mathlib returns the three signs as the real values -1, 0 and 1 rather than as a bare three-way attribute.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key d3e5d61b37d9 Β· pair key 72573f418702.
SignType. sign more general
def SignType.sign {Ξ± : Type*} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : Ξ± βo SignType
Mathlib.Basic.Sign.Defs Β· lines 265β271
Why more general: Mathlib defines this map for any type with a zero, an order and decidable comparison, and bundles it as a monotone map into the type of signs.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key e4eb35f05cf3 Β· pair key 007ea6dced1e.
Int. sign special case
def Int.sign : Int β Int
Init.Data.Int.Basic Β· lines 351β354
Why a special case: Lean states this for integer inputs only and returns the attribute as an integer.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 2801331dcd85 Β· pair key 0079c959f509.
Related, but states something else (1)
SignType related
inductive SignType
Mathlib.Basic.Sign.Defs Β· lines 28β32
How it differs: It is the three-element type of signs, naming the values the attribute takes without saying anything about real numbers.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 4 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 95928c1c9456 Β· pair key 51f39ba51f2a.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement β Formalized
Formalized: Lean core states a more general result (a definition).
In mathematics and physics, the phrase "change of sign" is associated with exchanging an object for its additive inverse (multiplication with β1, negation), an operation which is not restricted to real numbers. Show all
neg_add_cancel states part
theorem neg_add_cancel {G : Type*} [AddGroup G] (a : G) : -a + a = 0
Mathlib.Algebra.Group.Defs Β· line 53
Community Agent The pipeline said close match ; changed by Meta FAIR 2 (agent) β owned by Jack McCarthy on 9 Nov 2026.
Why only part: neg_add_cancel is a theorem, not a definition of change of sign: in any additive group it states that -a + a = 0, so the unary minus gives the additive inverse, and it is not limited to the reals. That covers the passage's identification of negation with the additive inverse, but it does not define the operation the passage names.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 214488d0e8a9 Β· pair key 278b94fce09e.
Neg more general
class Neg : Type u β Type u
Init.Prelude Β· lines 1662β1665
Why more general: Lean's notation class for the unary minus, available on any type that provides one, which is why the operation is not tied to the reals.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 73f8ba6265ec Β· pair key 748769f79401.
Related, but states something else (1)
neg_one_mul related
theorem neg_one_mul {Ξ± : Type u} [MulOneClass Ξ±] [HasDistribNeg Ξ±] (a : Ξ±) : -1 * a = -a
Mathlib.Algebra.Ring.Defs Β· line 316
How it differs: It states only the multiplication-by-minus-one gloss, over types with a multiplication, and says nothing about an additive inverse.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key d01a41132718 Β· pair key 0de196175c0c.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting β Formalized
Formalized: Mathlib states a more general result (a definition).
It applies among other objects to vectors , matrices, and complex numbers, which are not prescribed to be only either positive, negative, or zero. Show all
Pi. instNeg more general
instance Pi.instNeg {ΞΉ : Type*} {G : ΞΉ β Type*} [(i : ΞΉ) β Neg (G i)] : Neg ((i : ΞΉ) β G i)
Mathlib.Algebra.Notation.Pi.Defs Β· line 87
Why more general: Mathlib negates an indexed family of values coordinate by coordinate, with no ordering or positivity asked of the entries.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 15533a7b7450 Β· pair key b702a1826f28.
Related, but states something else (1)
neg_one_smul related
theorem neg_one_smul (R : Type*) {M : Type*} [Ring R] [AddCommGroup M] [_root_.Module R M] (x : M) : -1 β’ x = -x
Mathlib.Algebra.Module.Defs Β· line 146
How it differs: It identifies scaling a vector by minus one with negating it, taking the negation of vectors as already given.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 94b8054b7f68 Β· pair key 430672b37826.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting β Formalized
Formalized: Mathlib states a more general result (a definition).
It applies among other objects to vectors, matrices , and complex numbers, which are not prescribed to be only either positive, negative, or zero. Show all
Matrix. neg more general
instance Matrix.neg {m : Type*} {n : Type*} {Ξ± : Type v} [Neg Ξ±] : Neg (Matrix m n Ξ±)
Mathlib.LinearAlgebra.Matrix.Defs Β· lines 214β215
Why more general: Mathlib negates a matrix entry by entry for any entry type with a negation, with no sign attribute asked of the matrix.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 20ed5307f4c1 Β· pair key d75105f28baa.
Related, but states something else (1)
Matrix. neg_apply related
theorem Matrix.neg_apply {m : Type*} {n : Type*} {Ξ± : Type v} [Neg Ξ±] (A : Matrix m n Ξ±) (i : m) (j : n) : (-A) i j = -A i j
Mathlib.LinearAlgebra.Matrix.Defs Β· lines 314β315
How it differs: It unfolds the entry of a negated matrix rather than stating that matrices admit a change of sign.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 0b944a2e7bb0 Β· pair key 43bc2c987660.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting β Formalized
Formalized: Mathlib states this exactly (a definition).
It applies among other objects to vectors, matrices, and complex numbers, which are not prescribed to be only either positive, negative, or zero. Show all
Complex. instNeg exact match
instance Complex.instNeg : Neg β
Mathlib.Basic.Complex.Basic Β· lines 181β182
Note: Mathlib defines the negation on the whole of β, asking of its argument neither a sign nor an order.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 763cf090ccc2 Β· pair key 00b08506c240.
Complex. addCommGroup more general
instance Complex.addCommGroup : AddCommGroup β
Mathlib.Basic.Complex.Basic Β· lines 326β336
Why more general: It asserts the whole additive group structure of β, of which the negation the passage names is one piece.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 9e71c3e2f77f Β· pair key d2995d906ea0.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (proved).
A number system that bears the structure of an ordered ring contains a unique number that when added with any number leaves the latter unchanged. Show all
add_eq_left more general
theorem add_eq_left {M : Type*} [AddMonoid M] [IsLeftCancelAdd M] {a b : M} : a + b = a β b = 0
Mathlib.Algebra.Group.Basic Β· line 238
Why more general: Mathlib states it for any additive monoid whose addition cancels on the left, which covers the ordered rings of the passage.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 6322c1a657f6 Β· pair key a02cfd7a80d5.
add_zero states part
theorem add_zero {M : Type*} [AddZeroClass M] (a : M) : a + 0 = a
Mathlib.Algebra.Group.Monoid Β· line 94
Why only part: Mathlib states the neutrality of zero on the right for any type carrying an addition with a zero.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 0151338e95fc Β· pair key 4824d7cbf881.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (a definition).
This unique number is known as the system's additive identity element. Show all
AddZeroClass more general
class AddZeroClass : Type u_2 β Type u_2
Mathlib.Algebra.Group.Monoid Β· lines 65β69
Why more general: Mathlib packages the identity element together with the two laws that pin it down as one structure on the type.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack, which downgraded it. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key ae1f8df040c3 Β· pair key cc5880ab426d.
Related, but states something else (2)
Zero related
class Zero : Type u β Type u
Init.Prelude Β· lines 1634β1636
How it differs: It only marks out a distinguished zero element, with no law tying that element to addition.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 5e70cd2e4256 Β· pair key 683a683f9807.
add_zero related
theorem add_zero {M : Type*} [AddZeroClass M] (a : M) : a + 0 = a
Mathlib.Algebra.Group.Monoid Β· line 94
How it differs: It states one of the two neutrality laws of the library's zero rather than naming the element the passage names.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 811165a92243 Β· pair key 1734de877597.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Example Β· supporting Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (proved).
For example, the integers has the structure of an ordered ring. Show all
Int. instIsStrictOrderedRing more general
instance Int.instIsStrictOrderedRing : IsStrictOrderedRing β€
Mathlib.Algebra.Order.Ring.Int Β· line 42
Why more general: Mathlib records for β€ the sharper form of the order axioms, from which the ordered ring instance on β€ follows.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key e5ef25d17a39 Β· pair key ed8a27207799.
Related, but states something else (1)
Int. instLinearOrder related
instance Int.instLinearOrder : LinearOrder β€
Mathlib.Data.Int.Order.Basic Β· lines 36β44
How it differs: It supplies the total order on β€ that the passage's ordered ring uses, without any of the ring axioms.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key e9f85cf19a6b Β· pair key c58181730458.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (a definition).
This number is generally denoted as 0. Show all
AddZeroClass more general
class AddZeroClass : Type u_2 β Type u_2
Mathlib.Algebra.Group.Monoid Β· lines 65β69
Why more general: Mathlib writes the two-sided identity law with the literal symbol 0 for any type that carries an addition.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 632d11e94d7c Β· pair key d1ec931ea96d.
Related, but states something else (1)
Zero related
class Zero : Type u β Type u
Init.Prelude Β· lines 1634β1636
How it differs: This class provides the notation alone, with no addition and so no identity law attached to it.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 588450bc63cf Β· pair key 000095b393a5.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number β Partial
Partial: Mathlib states part of this (a definition).
Because of the total order in this ring, there are numbers greater than zero, called the positive numbers. Show all
Set. Ioi states part
def Set.Ioi {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 37
Why only part: Mathlib names the open upper interval for any preorder and any endpoint, which at 0 is the set of positive elements.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 71400e22bd22 Β· pair key fc23317d1472.
Related, but states something else (1)
zero_lt_one related
theorem zero_lt_one {Ξ± : Type*} [Zero Ξ±] [One Ξ±] [PartialOrder Ξ±] [ZeroLEOneClass Ξ±] [NeZero 1] : 0 < 1
Mathlib.Algebra.Order.ZeroLEOne Β· line 49
How it differs: It supplies a witness for the existence half of the passage, not the naming of the positive elements.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack, which downgraded it. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 6f61cb1b995d Β· pair key dbfe06cf1591.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number β Partial
Partial: Mathlib states part of this (proved).
Another property required for a ring to be ordered is that, for each positive number, there exists a unique corresponding number less than 0 whose sum with the original positive number is 0. Show all
add_eq_zero_iff_eq_neg' states part
theorem add_eq_zero_iff_eq_neg' {G : Type*} [AddGroup G] {a b : G} : a + b = 0 β b = -a
Mathlib.Algebra.Group.Basic Β· line 655
Why only part: Mathlib states the pairing as an equivalence with the negation, over any additive group.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 40619e3edfae Β· pair key 0b653bf391f7.
add_neg_cancel states part
theorem add_neg_cancel {G : Type*} [AddGroup G] (a : G) : a + -a = 0
Mathlib.Algebra.Group.Defs Β· line 61
Why only part: It supplies the partner summing to 0 while leaving the order position of that partner open.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 524db16a0a91 Β· pair key 97b34e8fec5a.
neg_neg_iff_pos states part
theorem neg_neg_iff_pos {Ξ± : Type u} [AddGroup Ξ±] [LT Ξ±] [AddLeftStrictMono Ξ±] {a : Ξ±} : -a < 0 β 0 < a
Mathlib.Algebra.Order.Group.Unbundled.Basic Β· line 402
Why only part: It settles where the negation sits in the order, with the summing identity coming from elsewhere.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 52fc62f0677a Β· pair key 6a69b1a9ef32.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (a definition).
These numbers less than 0 are called the negative numbers. Show all
Set. Iio more general
def Set.Iio {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 38
Why more general: Mathlib names the open lower interval for any preorder and any endpoint, and at 0 this is the collection the passage names.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 176ca59ce482 Β· pair key a0d3c79d6a84.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Sign of a number β Partial
Partial: Mathlib states a more general result, but as a proved theorem, not a definition; a definition passage is formalized only by a Lean definition.
The numbers in each such pair are their respective additive inverses. Show all
add_eq_zero_iff_eq_neg' more general
theorem add_eq_zero_iff_eq_neg' {G : Type*} [AddGroup G] {a b : G} : a + b = 0 β b = -a
Mathlib.Algebra.Group.Basic Β· line 655
Why more general: Mathlib records the pairing through its negation operation, over any additive group rather than over numbers alone.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 7b292871862b Β· pair key 3065070ba172.
Related, but states something else (1)
add_neg_cancel related
theorem add_neg_cancel {G : Type*} [AddGroup G] (a : G) : a + -a = 0
Mathlib.Algebra.Group.Defs Β· line 61
How it differs: It records that a number and its negation sum to 0, without identifying every pair summing to 0.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 1d15d4d83be0 Β· pair key 2bd18438b86f.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number β Formalized
Formalized by 2 parts together (more general):
SignType. sign Mathlib (definition) the trichotomy attribute of being zero, positive or negative is named the sign of the number SignType. cast Mathlib (definition) that attribute is encoded by the reals 0 for zero, 1 for positive and -1 for negative
This attribute of a number, being exclusively either zero (0), positive (+), or negative (β), is called its sign, and is often encoded to the real numbers 0, 1, and β1, respectively (similar to the way the sign function is defined).[1] Show all
SignType. sign states part
def SignType.sign {Ξ± : Type*} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : Ξ± βo SignType
Mathlib.Basic.Sign.Defs Β· lines 265β271
Why only part: Mathlib defines this attribute for any type with a zero and an order and takes its values in a dedicated three-element type.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 978ff8e87fb4 Β· pair key 5dc7a9382da0.
SignType. cast states part
def SignType.cast {Ξ± : Type*} [Zero Ξ±] [One Ξ±] [Neg Ξ±] : SignType β Ξ±
Mathlib.Basic.Sign.Defs Β· lines 210β213
Why only part: Mathlib writes the encoding as a coercion into any type with a zero, a one and a negation.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 57004a6f0b2b Β· pair key b58ddc22311b.
Real. sign special case
def Real.sign : β β β
Mathlib.Basic.Real.Sign Β· lines 34β35
Why a special case: It fixes the ordered ring to be the reals, where the encoding and the naming coincide in one declaration.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key b0e2774fd07e Β· pair key 3e372c87d4f8.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number β Partial
Partial: Mathlib states part of this (proved).
Since rational and real numbers are also ordered rings (in fact ordered fields) , the sign attribute also applies to these number systems. Show all
Rat. instIsStrictOrderedRing states part
instance Rat.instIsStrictOrderedRing : IsStrictOrderedRing β
Mathlib.Algebra.Order.Ring.Rat Β· lines 34β35
Why only part: Mathlib splits the ordered field of β into separate instances on the same type, this one carrying the order compatibility alongside β's field and linear order instances.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key adf4fd74dfdd Β· pair key 63989b113302.
Real. instIsStrictOrderedRing states part
instance Real.instIsStrictOrderedRing : IsStrictOrderedRing β
Mathlib.Basic.Real.Basic Β· lines 359β363
Why only part: Mathlib splits the ordered field of β into separate instances on the same type, this one carrying the order compatibility alongside β's field and linear order instances.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 67c16eeeace3 Β· pair key 85d4611f21f5.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (a definition).
Since rational and real numbers are also ordered rings (in fact ordered fields), the sign attribute also applies to these number systems. Show all
SignType. sign more general
def SignType.sign {Ξ± : Type*} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : Ξ± βo SignType
Mathlib.Basic.Sign.Defs Β· lines 265β271
Why more general: Mathlib defines the sign attribute once for every type with a zero and an order, so the two number systems of the passage are instances of it.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 199ee684e4cd Β· pair key 111e405cde5a.
Real. sign special case
def Real.sign : β β β
Mathlib.Basic.Real.Sign Β· lines 34β35
Why a special case: It covers the real half of the passage's claim, with the rationals handled by the general definition.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f4679ed40647 Β· pair key 7891b61bcc3a.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· main statement Β· Sign of a number β Formalized
Formalized: Lean core states a more general result (a definition).
When a minus sign is used in between two numbers, it represents the binary operation of subtraction. Show all
Sub more general
class Sub : Type u β Type u
Init.Prelude Β· lines 1649β1651
Why more general: Lean hangs the infix minus on this class for any carrier type, so it reaches the article's numbers and much else.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 3afddb7331b5 Β· pair key 4051e2b0609e.
HSub more general
class HSub : Type u β Type v β outParam (Type w) β Type (max (max u v) w)
Init.Prelude Β· lines 1495β1499
Why more general: This is the mixed-type form of the same notation: the two operands may live in different types and the result in a third.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key af6c6f885e52 Β· pair key 6e74ea0d24af.
Int. sub special case
def Int.sub : Int β Int β Int
Init.Data.Int.Basic Β· line 209
Why a special case: This is the operation the article's notation denotes for one of its number systems, the integers.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key c0800e60e686 Β· pair key 656fde92da84.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· main statement Β· Sign of a number β Partial
Partial: Mathlib states part of this (proved).
When a minus sign is written before a single number, it represents the unary operation of yielding the additive inverse (sometimes called negation) of the operand. Show all
neg_add_cancel states part
theorem neg_add_cancel {G : Type*} [AddGroup G] (a : G) : -a + a = 0
Mathlib.Algebra.Group.Defs Β· line 53
Why only part: This pins the sense of the prefix minus as the inverse under addition; the notation itself belongs to the Neg class.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 8b55a4c5315d Β· pair key 47892e6fdf9f.
Int. neg special case
def Int.neg : Int β Int
Init.Data.Int.Basic Β· lines 120β123
Why a special case: This is the unary operation the article's notation denotes for one of its number systems, the integers.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 314180d41566 Β· pair key 697a6d02b18d.
Related, but states something else (1)
Neg related
class Neg : Type u β Type u
Init.Prelude Β· lines 1662β1665
How it differs: Lean hangs the prefix minus on this class for any carrier; at the article's numbers the instance is the one the additive group supplies, where -a undoes a under addition.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack, which downgraded it. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 34cf7b9e2674 Β· pair key 5a424e6d85db.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (proved).
Abstractly then, the difference of two number is the sum of the minuend with the additive inverse of the subtrahend. Show all
sub_eq_add_neg more general
theorem sub_eq_add_neg {G : Type*} [SubNegMonoid G] (a b : G) : a - b = a + -b
Mathlib.Algebra.Group.DivInvMonoid Β· line 240
Why more general: Lean states the identity for any carrier equipped with addition, negation and subtraction, the article's numbers among them.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key c64297fc5f4e Β· pair key c823a6f3b8a2.
Int. sub_eq_add_neg special case
theorem Int.sub_eq_add_neg {a b : Int} : a - b = a + -b
Init.Data.Int.Lemmas Β· line 103
Why a special case: This is the article's identity for one of its number systems rather than for numbers at large.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 9e347b492fe6 Β· pair key 4a8f1ebed495.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number β Formalized
Formalized by 3 parts together (more general):
neg_zero Mathlib (proved) zero is its own additive inverse: -0 = 0 neg_lt_zero Mathlib (proved) the additive inverse of a positive number is a negative number neg_pos Mathlib (proved) the additive inverse of a negative number is a positive number
While 0 is its own additive inverse (β0 = 0), the additive inverse of a positive number is negative, and the additive inverse of a negative number is positive. Show all
neg_zero states part
theorem neg_zero {G : Type*} [NegZeroClass G] : -0 = 0
Mathlib.Algebra.Group.DivInvMonoid Β· line 297
Why only part: Lean states the equation for any carrier with a zero and a negation that fix each other, the article's numbers included.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key cedaa91d84a5 Β· pair key c10266f45680.
neg_lt_zero states part
theorem neg_lt_zero {Ξ± : Type u} [AddGroup Ξ±] [LT Ξ±] [AddLeftStrictMono Ξ±] {a : Ξ±} : -a < 0 β 0 < a
Mathlib.Algebra.Order.Group.Unbundled.Basic Β· line 406
Why only part: Lean states the two implications at once where the article reads only the one from positive input to negative output.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key b2581d063c98 Β· pair key a6fe1be6b843.
neg_pos states part
theorem neg_pos {Ξ± : Type u} [AddGroup Ξ±] [LT Ξ±] [AddLeftStrictMono Ξ±] {a : Ξ±} : 0 < -a β a < 0
Mathlib.Algebra.Order.Group.Unbundled.Basic Β· line 456
Why only part: Lean states the two implications at once where the article reads only the one from negative input to positive output.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f3ccedbbc5a0 Β· pair key 0f806257ac0e.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Example Β· supporting Β· Sign of a number β Formalized
Formalized: Mathlib states a more general result (proved).
A double application of this operation is written as β(β3) = 3. Show all
neg_neg more general
theorem neg_neg {G : Type*} [InvolutiveNeg G] (a : G) : - -a = a
Mathlib.Algebra.Group.DivInvMonoid Β· line 51
Why more general: Lean states double negation for any carrier whose minus undoes itself, which the article's numbers do.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 4e710755d6c5 Β· pair key 84b4add6032f.
Int. neg_neg more general
theorem Int.neg_neg (a : Int) : - -a = a
Init.Data.Int.Lemmas Β· lines 91β94
Community Agent The pipeline said special case ; changed by Meta FAIR 2 (agent) β owned by Jack McCarthy on 9 Nov 2026.
Why more general: Int.neg_neg states that negating an integer twice gives the integer back, for every integer. The passage's example, that -(-3) equals 3, is the case of 3, so the example is an instance of this theorem.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key aeb4166b772f Β· pair key daa975734361.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number β Partial
Partial: Lean core states part of this (a definition).
The plus sign is predominantly used in algebra to denote the binary operation of addition, and only rarely to emphasize the positivity of an expression. Show all
Add states part
class Add : Type u β Type u
Init.Prelude Β· lines 1644β1646
Why only part: The class carries the plus notation for addition; how rarely writers put a plus in front of an expression to mark it positive is a remark on usage that no declaration carries.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key c0dd126ac3b1 Β· pair key b3fff5f81d5c.
HAdd states part
class HAdd : Type u β Type v β outParam (Type w) β Type (max (max u v) w)
Init.Prelude Β· lines 1486β1489
Why only part: This is the mixed-type form of the plus notation; the remark about marking an expression positive is again usage, not a statement.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key fdf887ee8e8e Β· pair key 0a2f3594c07e.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· main statement Β· Sign of a number β Not formalized
In common numeral notation (used in arithmetic and elsewhere), the sign of a number is often made explicit by placing a plus or a minus sign before the number. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 2 candidates examined (receipt 1e8ddb3035b2). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number β Not formalized
For example, +3 denotes "positive three" , and β3 denotes "negative three" (algebraically: the additive inverse of 3). Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 1 candidates examined (receipt e9b8ed59ffa5). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number β Partial
Partial: Lean core states a more general result, but as a proved theorem, not a definition; a notation passage is formalized only by a Lean definition.
For example, +3 denotes "positive three", and β3 denotes "negative three" (algebraically: the additive inverse of 3). Show all
Int. add_left_neg more general
theorem Int.add_left_neg (a : Int) : -a + a = 0
Init.Data.Int.Lemmas Β· lines 246β249
Why more general: The library reads the article's unary minus as negation on the integers, where the numeral three lives.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key ecbe9b9917e3 Β· pair key 37ca337d710e.
neg_add_cancel more general
theorem neg_add_cancel {G : Type*} [AddGroup G] (a : G) : -a + a = 0
Mathlib.Algebra.Group.Defs Β· line 53
Why more general: Stated for an arbitrary additive group rather than for the numerals of ordinary arithmetic.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 9c1826c65fe3 Β· pair key 8c118a0521c4.
Related, but states something else (1)
Neg related
class Neg : Type u β Type u
Init.Prelude Β· lines 1662β1665
How it differs: This class supplies only the minus notation for a type and carries no additive-inverse law.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 34c502e6c8ce Β· pair key 38b6a78b7aca.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number β Partial
Partial: Mathlib states a special case (proved).
Without specific context (or when no explicit sign is given), a number is interpreted per default as positive. Show all
Nat. ofNat_pos special case
theorem Nat.ofNat_pos {Ξ± : Type*} [Semiring Ξ±] [PartialOrder Ξ±] [IsOrderedRing Ξ±] [Nontrivial Ξ±] {n : β} [n.AtLeastTwo] : 0 < OfNat.ofNat n
Mathlib.Data.Nat.Cast.Order.Ring Β· lines 65β68
Why a special case: The declaration covers written numerals from two upwards, so it is the article's default reading at those numerals.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key ca195866c839 Β· pair key 6774287ccc2f.
Related, but states something else (1)
Nat. cast_nonneg related
theorem Nat.cast_nonneg {Ξ± : Type*} [Semiring Ξ±] [PartialOrder Ξ±] [IsOrderedRing Ξ±] (n : β) : 0 β€ βn
Mathlib.Data.Nat.Cast.Order.Ring Β· lines 30β31
How it differs: It yields only that an unsigned number is at least zero, which is weaker than the default reading the article gives.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 34e5431f4bdf Β· pair key 1dbe86825607.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Sign of zero β Partial
Partial: Mathlib states this exactly, but as a proved theorem, not a definition; a definition passage is formalized only by a Lean definition.
Within the convention of zero being neither positive nor negative, a specific sign-value 0 may be assigned to the number value 0. Show all
Real. sign_zero exact match
theorem Real.sign_zero : Real.sign 0 = 0
Mathlib.Basic.Real.Sign Β· lines 43β44
Note: The real sign function sends zero to zero, as the convention in the passage prescribes.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 2e00dc2b0c21 Β· pair key bdbf2728b2f0.
sign_zero more general
theorem sign_zero {Ξ± : Type*} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : SignType.sign 0 = 0
Mathlib.Basic.Sign.Defs Β· line 277
Why more general: Sign values here live in the three-element sign type rather than among the numbers themselves.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key dead301297c1 Β· pair key 4ffd5f474da4.
Int. sign_zero special case
theorem Int.sign_zero : Int.sign 0 = 0
Init.Data.Int.Order Β· line 1292
Why a special case: The same assignment restricted to the integers.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key c8517174deb4 Β· pair key 2e313e9368de.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· main statement Β· Sign of a number βΊ Sign of zero β Partial
Partial: Mathlib states a more general result, but as a proved theorem, not a definition; a notation passage is formalized only by a Lean definition.
In arithmetic, +0 and β0 both denote the same number 0. Show all
neg_zero more general
theorem neg_zero {G : Type*} [NegZeroClass G] : -0 = 0
Mathlib.Algebra.Group.DivInvMonoid Β· line 297
Why more general: Lean writes the bare numeral where the article writes a leading plus, and the equation handles the minus form.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 3bba69265f89 Β· pair key 08f827ead3d9.
Int. neg_zero special case
theorem Int.neg_zero : -0 = 0
Init.Data.Int.Lemmas Β· line 26
Why a special case: The identification read at the integers.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key da246ca77a87 Β· pair key e000c535d310.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number βΊ Sign of zero β Partial
Partial: Mathlib states part of this (a definition).
The symbols +0 and β0 rarely appear as substitutes for 0+ and 0β, used in calculus and mathematical analysis for one-sided limits (right-sided limit and left-sided limit, respectively). Show all
Function. rightLim states part
def Function.rightLim {Ξ± : Type*} {Ξ² : Type*} [LinearOrder Ξ±] [TopologicalSpace Ξ²] : (Ξ± β Ξ²) β Ξ± β Ξ²
Mathlib.Topology.Order.LeftRightLim Β· line 50
Why only part: The library names the right-hand limit of a function at a point of a linearly ordered domain.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 2728cc05214a Β· pair key a562cfbde09e.
Function. leftLim states part
def Function.leftLim {Ξ± : Type*} {Ξ² : Type*} [LinearOrder Ξ±] [TopologicalSpace Ξ²] : (Ξ± β Ξ²) β Ξ± β Ξ²
Mathlib.Topology.Order.LeftRightLim Β· lines 54β58
Why only part: The library names the left-hand limit of a function at a point of a linearly ordered domain.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 0cda58be7201 Β· pair key 179db1a7e9d5.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Sign of a number βΊ Sign of zero β Partial
Partial: Mathlib states part of this (a definition).
This notation refers to the behaviour of a function as its real input variable approaches 0 along positive (resp., negative) values ; the two limits need not exist or agree. Show all
Function. rightLim states part
def Function.rightLim {Ξ± : Type*} {Ξ² : Type*} [LinearOrder Ξ±] [TopologicalSpace Ξ²] : (Ξ± β Ξ²) β Ξ± β Ξ²
Mathlib.Topology.Order.LeftRightLim Β· line 50
Why only part: Its definition uses the order topology on the domain, so approach is through values above the point.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 14c342c5c93f Β· pair key 88f089df5076.
Function. leftLim states part
def Function.leftLim {Ξ± : Type*} {Ξ² : Type*} [LinearOrder Ξ±] [TopologicalSpace Ξ²] : (Ξ± β Ξ²) β Ξ± β Ξ²
Mathlib.Topology.Order.LeftRightLim Β· lines 54β58
Why only part: Its definition uses the order topology on the domain, so approach is through values below the point.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 344783522b0d Β· pair key 7f0e549d3b1f.
Related, but states something else (1)
nhdsWithin related
def nhdsWithin {X : Type*} [TopologicalSpace X] : X β Set X β Filter X
Mathlib.Topology.Defs.Filter Β· lines 139β140
How it differs: It builds the filter of approach within a set and is one-sided only once a set of larger or smaller values is chosen.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key ce1ef71f0b8d Β· pair key dafc3fe05c0f.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Sign of a number βΊ Sign of zero β Not formalized
This notation refers to the behaviour of a function as its real input variable approaches 0 along positive (resp., negative) values; the two limits need not exist or agree. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 5 queries and 3 candidates examined (receipt 943ede357687). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Partial
Partial: Mathlib states a more general result, but as a proved theorem, not a definition; a definition passage is formalized only by a Lean definition.
When 0 is said to be neither positive nor negative, the following phrases may refer to the sign of a number: A number is positive if it is greater than zero. Show all
sign_eq_one_iff more general
theorem sign_eq_one_iff {Ξ± : Type*} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] {a : Ξ±} : SignType.sign a = 1 β 0 < a
Mathlib.Basic.Sign.Defs Β· lines 286β290
Why more general: The library writes the plus sign as the value one of the sign type, the encoding the article itself describes.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 452833549677 Β· pair key c19236172eba.
Int. sign_eq_one_iff_pos special case
theorem Int.sign_eq_one_iff_pos {a : Int} : a.sign = 1 β 0 < a
Init.Data.Int.Order Β· lines 1344β1345
Why a special case: The same criterion for integers, with the plus sign written as the number one.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key d149794ca6dd Β· pair key 3ef87c24e003.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
A number is negative if it is less than zero. Show all
Set. Iio more general
def Set.Iio {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 38
Why more general: The library leaves the bound a parameter instead of fixing zero, and it records the numbers below it as a set rather than as an adjective applied to one number.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 523975ddf032 Β· pair key 6239a66bd798.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
A number is non-negative if it is greater than or equal to zero. Show all
Nonneg more general
abbrev Nonneg (Ξ± : Type u_2) [Zero Ξ±] [LE Ξ±] : Type (max 0 u_2)
Mathlib.Algebra.Order.Nonneg.Basic Β· line 47
Why more general: The library packages the condition as the subtype of elements satisfying it and states it for any type with a zero and an order, reaching well beyond the numbers the article discusses.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f71d83bdb014 Β· pair key 898f7ff6d6ac.
Set. Ici more general
def Set.Ici {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 44
Why more general: The bound stays a parameter in the library, so zero is one instance of it, and the elements are collected as a set rather than described by an adjective.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 4a9efb5160c2 Β· pair key b9b6f60a78c1.
NNReal special case
def NNReal : Type
Mathlib.Basic.NNReal.Defs Β· line 60
Why a special case: The declaration covers only the reals, where the passage speaks of numbers in any ordered ring, and it bundles the condition into a type of its own.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key e0c14f3de3b8 Β· pair key 0f17dd242931.
Int. NonNeg special case
inductive Int.NonNeg : Int β Prop
Init.Data.Int.Basic Β· lines 217β221
Why a special case: Core phrases the condition as being equal to a natural number, the same notion in another encoding, and it is stated for the integers alone.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 4 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key 7e2b0bca3e5f Β· pair key ef3486121586.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
A number is non-positive if it is less than or equal to zero. Show all
Set. Iic more general
def Set.Iic {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 45
Why more general: The bound is a parameter of the library definition rather than fixed at zero, and the numbers meeting the condition are gathered as a set.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 9659f0dc6cf8 Β· pair key c47cf83a0941.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
When 0 is said to be both positive and negative,[2] [verification needed] modified phrases are used to refer to the sign of a number: A number is strictly positive if it is greater than zero. Show all
Set. Ioi more general
def Set.Ioi {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 37
Why more general: The library keeps the bound general instead of fixing zero, and collects the numbers above it as a set rather than naming an adjective for one number.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 02cc2c4bdfbf Β· pair key 257a43783c0d.
PNat special case
def PNat : Type
Mathlib.Data.PNat.Notation Β· line 17
Why a special case: The declaration covers the naturals alone, where the passage speaks of numbers generally, and it bundles the condition into a type.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key c57fd72f868f Β· pair key 3c4ae09fd72f.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
A number is strictly negative if it is less than zero. Show all
Set. Iio more general
def Set.Iio {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 38
Why more general: The library has one definition for the numbers below a bound and no separate word for the convention in which zero counts as negative too.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 2fd2fe8c0942 Β· pair key 7d38928c2c11.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
A number is positive if it is greater than or equal to zero. Show all
Nonneg more general
abbrev Nonneg (Ξ± : Type u_2) [Zero Ξ±] [LE Ξ±] : Type (max 0 u_2)
Mathlib.Algebra.Order.Nonneg.Basic Β· line 47
Why more general: The library calls this collection the non-negative one, which under the convention of this passage is the same property that the article names positive, and it states it for any type with a zero and an order.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 7d2a1c56ee43 Β· pair key 51dc74cb2bb3.
Set. Ici more general
def Set.Ici {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 44
Why more general: The bound is left general in the library, so zero is one case of it, and the numbers are gathered as a set rather than named by an adjective.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 8d53d343d8d9 Β· pair key 465fb984cbce.
NNReal special case
def NNReal : Type
Mathlib.Basic.NNReal.Defs Β· line 60
Why a special case: It covers the reals only, where the passage speaks of numbers in any ordered ring, and it uses the other convention's word for the same condition.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 5930ade20780 Β· pair key e800ca07542a.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Formalized
Formalized: Mathlib states a more general result (a definition).
A number is negative if it is less than or equal to zero. Show all
Set. Iic more general
def Set.Iic {Ξ± : Type*} [Preorder Ξ±] : Ξ± β Set Ξ±
Mathlib.Order.Interval.Set.Defs Β· line 45
Why more general: The library has a single definition for the numbers under a bound and no separate word for the convention in which zero counts as negative.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key fb68cdcc406e Β· pair key f18bd0605b26.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Example Β· supporting Β· Sign of a number βΊ Terminology for signs β Partial
Partial: Mathlib states part of this (proved).
For example, the absolute value of a real number is always "non-negative", but is not necessarily "positive" in the first interpretation, whereas in the second interpretation, it is called "positive"βthough not necessarily "strictly positive". Show all
abs_nonneg states part
theorem abs_nonneg {Ξ± : Type*} [Lattice Ξ±] [AddGroup Ξ±] [AddLeftMono Ξ±] [AddRightMono Ξ±] (a : Ξ±) : 0 β€ |a|
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 107
Why only part: It gives the inequality the passage leads with but says nothing about the absolute value failing to be above zero, which is what the rest of the sentence turns on.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 8e6fe5b6d895 Β· pair key 1ec80812f646.
Related, but states something else (1)
abs_zero related
theorem abs_zero {Ξ± : Type*} [Lattice Ξ±] [AddGroup Ξ±] [AddLeftMono Ξ±] : |0| = 0
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 103
How it differs: It records that the absolute value of zero is zero, the case behind the passage's remark that the value need not lie above zero, but it is a different statement from the passage's.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 08f1651fd3c4 Β· pair key 44bab9ab441a.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Terminology for signs β Partial
Partial: Mathlib states part of this (proved).
For example, a function would be called a positive function if its values are positive for all arguments of its domain, or a non-negative function if all of its values are non-negative. Show all
Pi. le_def states part
theorem Pi.le_def {ΞΉ : Type*} {Ο : ΞΉ β Type*} [(i : ΞΉ) β LE (Ο i)] {x y : (i : ΞΉ) β Ο i} : x β€ y β β (i : ΞΉ), x i β€ y i
Mathlib.Order.Defs.Prop Β· lines 22β24
Why only part: Mathlib compares functions value by value, so a function lies above zero precisely when every one of its values does.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 3600370d5982 Β· pair key bb7ef6fd9fb8.
MetaMathlibExt. IsPositiveSequence special case
def MetaMathlibExt.IsPositiveSequence : (β β β) β Prop
MathlibExt.Combinatorics.Enumerative.TotienomialCoefficient Β· line 31
Why a special case: The declaration fixes the function type to sequences of natural numbers and reads the domain as the positive indices.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, low confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 64c2773. Location key b030dbec9997 Β· pair key 2f10f1464506.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Not formalized
Complex numbers are impossible to order , so they cannot carry the structure of an ordered ring, and, accordingly, cannot be partitioned into positive and negative complex numbers. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 2 candidates examined (receipt 30250b39da0d). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Not formalized
Complex numbers are impossible to order, so they cannot carry the structure of an ordered ring, and, accordingly, cannot be partitioned into positive and negative complex numbers. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 3 candidates examined (receipt 835f15888e46). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states this up to a convention difference (a definition).
They do, however, share an attribute with the reals, which is called absolute value or magnitude. Show all
Complex. instNorm close match
instance Complex.instNorm : Norm β
Mathlib.Analysis.Complex.Norm Β· lines 28β29
Why close, not exact: Mathlib calls this size function the norm of a complex number and writes it with double bars, where the passage calls it absolute value or magnitude.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 53c679988619 Β· pair key d2661126b5df.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states this exactly (proved).
Magnitudes are always non-negative real numbers , and to any non-zero number there belongs a positive real number, its absolute value. Show all
Complex. norm_nonneg exact match
theorem Complex.norm_nonneg (z : β) : 0 β€ βzβ
Mathlib.Analysis.Complex.Norm Β· lines 36β37
Note: The magnitude is a real number by its very type here, and the declaration supplies the stated bound on it.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key b2ba499ee1d6 Β· pair key 0eb1225e828e.
norm_nonneg more general
theorem norm_nonneg {E : Type*} [SeminormedAddGroup E] (a : E) : 0 β€ βaβ
Mathlib.Analysis.Normed.Group.Basic Β· line 127
Why more general: The declaration is stated for any seminormed additive group rather than for the complex numbers alone.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 442face1c2f6 Β· pair key cc57722ccc18.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states a more general result (proved).
Magnitudes are always non-negative real numbers, and to any non-zero number there belongs a positive real number, its absolute value. Show all
norm_pos_iff more general
theorem norm_pos_iff {E : Type*} [NormedAddGroup E] {a : E} : 0 < βaβ β a β 0
Mathlib.Analysis.Normed.Group.Basic Β· line 996
Why more general: The declaration states the equivalence in both directions, and one of its halves is what the passage asserts.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 4c81c075c8b5 Β· pair key 9f4b512ef68d.
AbsoluteValue. pos more general
theorem AbsoluteValue.pos {R : Type*} {S : Type*} [Semiring R] [Semiring S] [PartialOrder S] (abv : AbsoluteValue R S) {x : R} : x β 0 β 0 < abv x
Mathlib.Algebra.Order.AbsoluteValue.Basic Β· line 119
Why more general: The declaration is stated for an arbitrary absolute value on an arbitrary semiring rather than for the complex magnitude alone.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key b798b4072140 Β· pair key 71afd94fe92e.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Example Β· supporting Β· Sign of a number βΊ Complex numbers β Formalized
Formalized by 2 parts together (more general):
abs_of_neg Mathlib (proved) the absolute value of -3 is 3 abs_of_nonneg Mathlib (proved) the absolute value of 3 is 3
For example, the absolute value of β3 and the absolute value of 3 are both equal to 3. Show all
abs_of_neg states part
theorem abs_of_neg {Ξ± : Type*} [Lattice Ξ±] [AddGroup Ξ±] {a : Ξ±} [AddLeftMono Ξ±] : a < 0 β |a| = -a
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 96
Why only part: Lean writes the conclusion as the negation of the argument, which at minus three evaluates to three.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 18cb90369ba4 Β· pair key adc0e5aa0901.
abs_of_nonneg states part
theorem abs_of_nonneg {Ξ± : Type*} [Lattice Ξ±] [AddGroup Ξ±] {a : Ξ±} [AddLeftMono Ξ±] : 0 β€ a β |a| = a
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 88
Why only part: The declaration is stated for any element of a lattice-ordered additive group, three among them.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key cb6e391faae3 Β· pair key 1f15db880429.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Sign of a number βΊ Complex numbers β Partial
Partial: Mathlib states part of this (proved).
This is written in symbols as |β3| = 3 and |3| = 3. Show all
abs_of_neg states part
theorem abs_of_neg {Ξ± : Type*} [Lattice Ξ±] [AddGroup Ξ±] {a : Ξ±} [AddLeftMono Ξ±] : a < 0 β |a| = -a
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 96
Why only part: Mathlib writes the same bars around the argument, and the declaration gives the value that stands on the right of the first displayed equality.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key cc51b1c808d7 Β· pair key b0bb4515e7a6.
abs_of_nonneg states part
theorem abs_of_nonneg {Ξ± : Type*} [Lattice Ξ±] [AddGroup Ξ±] {a : Ξ±} [AddLeftMono Ξ±] : 0 β€ a β |a| = a
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 88
Why only part: Mathlib writes the same bars around the argument, and the declaration gives the value on the right of the second displayed equality.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 334f7fe0d772 Β· pair key 7e6504831b25.
Related, but states something else (1)
abs. unexpander related
def abs.unexpander : Lean.PrettyPrinter.Unexpander
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· lines 58β63
How it differs: It is the printing rule that puts the absolute value between bars, so it carries the notation the passage describes without asserting any equality.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 5d601dbdb507 Β· pair key ca1262d781bc.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states a more general result (proved).
In general, any arbitrary real value can be specified by its magnitude and its sign. Show all
sign_mul_abs more general
theorem sign_mul_abs {Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : β(SignType.sign x) * |x| = x
Mathlib.Basic.Sign.Basic Β· lines 105β106
Why more general: Lean reconstructs the number from its sign and its magnitude, which settles the passage's claim that the two data fix the number; the declaration is written for any linearly ordered ring and is read here at β.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 63878f033e8c Β· pair key 05bebbe5c2e0.
Related, but states something else (1)
EReal. sign_eq_and_abs_eq_iff_eq related
theorem EReal.sign_eq_and_abs_eq_iff_eq {x y : EReal} : x.abs = y.abs β§ SignType.sign x = SignType.sign y β x = y
Mathlib.Data.EReal.Inv Β· lines 123β129
How it differs: This is the determination statement itself, but for the extended reals; reaching the passage's reals from it needs the coercion's injectivity and the behaviour of the magnitude and the sign under that coercion, which are separate lemmas.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 1eac84054c32 Β· pair key 78b6830a1c1c.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states a more general result (proved).
Using the standard encoding, any real value is given by the product of the magnitude and the sign in standard encoding. Show all
sign_mul_abs more general
theorem sign_mul_abs {Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : β(SignType.sign x) * |x| = x
Mathlib.Basic.Sign.Basic Β· lines 105β106
Why more general: The sign here is the coerced three-valued sign, whose values are the numbers minus one, zero and one that the article names as its encoding; the statement is written for any linearly ordered ring and read at β.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 1509df37e1dd Β· pair key 43dd840a670d.
abs_mul_sign more general
theorem abs_mul_sign {Ξ± : Type u} [Ring Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : |x| * β(SignType.sign x) = x
Mathlib.Basic.Sign.Basic Β· lines 108β109
Why more general: Same identity with the two factors written the other way round, which multiplication in β makes the same statement.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key d11f8bf152f2 Β· pair key a04f8fa0b045.
Int. sign_mul_abs special case
theorem Int.sign_mul_abs (a : β€) : a.sign * |a| = a
Mathlib.Algebra.Order.Group.Unbundled.Int Β· lines 48β49
Why a special case: This is the passage's identity restricted to the integers, where the sign takes the same three values.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 251c3846353c Β· pair key dbde94e9efc5.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Partial
Partial: Mathlib states part of this (a definition).
Since the real and complex numbers both form a field and contain the positive reals , they also contain the reciprocals of the magnitudes of all non-zero numbers. Show all
Real. instField states part
instance Real.instField : Field β
Mathlib.Basic.Real.Basic Β· lines 481β496
Why only part: Lean records the field structure of β; the containment the conjunct adds is immediate, since the positive reals are among the reals, so no further content is left.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 41ee3a95e31a Β· pair key 88da73004fdf.
Complex. instField states part
instance Complex.instField : Field β
Mathlib.Basic.Complex.Basic Β· lines 712β720
Why only part: It says nothing about the real numbers sitting inside β, so the containment half of the conjunct is left to another declaration.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 260c3c4d6e2c Β· pair key 3ec1d8e51cd3.
Complex. ofReal_injective states part
theorem Complex.ofReal_injective : Function.Injective Complex.ofReal
Mathlib.Basic.Complex.Basic Β· line 103
Why only part: It carries the containment half of the second conjunct and says nothing about the field operations of β.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 3 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 894ea3e3cfa8 Β· pair key a9cc4a0aca8c.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Sign of a number βΊ Complex numbers β Not formalized
Since the real and complex numbers both form a field and contain the positive reals, they also contain the reciprocals of the magnitudes of all non-zero numbers. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 5 queries and 3 candidates examined (receipt eb9d2bd303d9). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states a more general result (proved).
This means that any non-zero number may be multiplied with the reciprocal of its magnitude, that is, divided by its magnitude. Show all
div_eq_mul_inv more general
theorem div_eq_mul_inv {G : Type*} [DivInvMonoid G] (a b : G) : a / b = a * bβ»ΒΉ
Mathlib.Algebra.Group.DivInvMonoid Β· lines 242β243
Why more general: Lean states the identity for every pair of elements, so it also covers magnitudes of zero, where both sides agree by the convention on inverting zero; the passage's non-zero case is one instance of it.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 600c10d79daf Β· pair key 5d5927cc82bf.
division_def more general
theorem division_def {G : Type*} [DivInvMonoid G] (a b : G) : a / b = a * bβ»ΒΉ
Mathlib.Algebra.Group.DivInvMonoid Β· line 245
Why more general: The same identity under a second name in the library.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key e65e686817f6 Β· pair key 677afc1b59f5.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: TauCeti states a more general result (proved).
It is immediate that the quotient of any non-zero real number by its magnitude yields exactly its sign. Show all
TauCeti. sign_eq_div_abs more general
theorem TauCeti.sign_eq_div_abs {Ξ± : Type*} [DivisionRing Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : β(SignType.sign x) = x / |x|
TauCeti.Data.SignType.Basic Β· lines 27β31
Why more general: The left side is the coerced three-valued sign, whose values are the numbers minus one, zero and one, and Lean states the equation for every element, the extra value at zero carrying no content.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 83245ab. Location key 45f97d303b65 Β· pair key 2ac8670c7fb6.
Int. sign_eq_ediv_abs' special case
theorem Int.sign_eq_ediv_abs' (a : β€) : a.sign = a / |a|
Mathlib.Algebra.Order.Group.Unbundled.Int Β· lines 126β128
Why a special case: The passage's statement restricted to integer values, where integer division of a number by its magnitude already lands on the three sign values.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key b8381fc7ee43 Β· pair key 5b09e0fdd1e6.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: Mathlib states a more general result (a definition).
By analogy, the sign of a complex number z can be defined as the quotient of z and its magnitude |z|. Show all
NormedSpace. normalize more general
def NormedSpace.normalize {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] : V β V
Mathlib.Analysis.Normed.Module.Normalize Β· line 25
Why more general: Lean defines the unit-length vector in the direction of any vector of a real normed space, which at β is the article's complex sign, and it fixes the value zero where the quotient would be undefined.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key ddbeaf5508c6 Β· pair key 31c8eaa46118.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Complex numbers β Formalized
Formalized: TauCeti states this up to a convention difference (proved).
The sign of a complex number is the exponential of the product of its argument with the imaginary unit. Show all
TauCeti.Contour. div_norm_eq_exp_arg_mul_I close match
theorem TauCeti.Contour.div_norm_eq_exp_arg_mul_I {w : β} : w β 0 β w / ββwβ = Complex.exp (βw.arg * Complex.I)
TauCeti.Analysis.Contour.Argument.Lift Β· lines 279β282
Why close, not exact: Lean writes the left side as the quotient of the number by its norm, which is the term the article's complex sign abbreviates, and reads the argument as the library's principal value lying in the half-open interval between minus pi and pi.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 83245ab. Location key 6dce288cc4b4 Β· pair key 1d927520e668.
Related, but states something else (1)
Complex. norm_mul_exp_arg_mul_I related
theorem Complex.norm_mul_exp_arg_mul_I (x : β) : ββxβ * Complex.exp (βx.arg * Complex.I) = x
Mathlib.Analysis.SpecialFunctions.Complex.Arg Β· lines 56β60
How it differs: It gives the polar decomposition of a complex number; getting the passage's equation out of it means cancelling a non-zero magnitude, which is a further lemma.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f812bcb649e7 Β· pair key c3f2681b8ebb.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Sign functions βΊ Real sign function β Formalized
Formalized: Mathlib states this up to a convention difference (a definition).
The sign function or signum function extracts the sign of a real number, by mapping the set of real numbers to the set of the three reals {β1, β0, β1}. It can be defined as follows:[1] sgn : β β {β1, 0, 1} x β¦ sgn(x ) = { β1 if x < 0,0 if x = 0,1 if x > 0. Thus sgn(x) is 1 when x is positive, and sgn(x) is β1 when x is negative. Show all
Real. sign close match
def Real.sign : β β β
Mathlib.Basic.Real.Sign Β· lines 34β35
Why close, not exact: Mathlib's real sign function is valued in the reals, writing the three sign values as the reals -1, 0 and 1 rather than carving out a three-element codomain.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 835a77c48eaa Β· pair key dea997d924e0.
SignType. sign more general
def SignType.sign {Ξ± : Type*} [Zero Ξ±] [Preorder Ξ±] [DecidableLT Ξ±] : Ξ± βo SignType
Mathlib.Basic.Sign.Defs Β· lines 265β271
Why more general: The declaration fixes the sign of an element of any zero-equipped preorder with decidable strict order, and the real case is one instance of it.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key b706a5f39944 Β· pair key b1321e18cb5d.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Sign of a number βΊ Sign functions βΊ Real sign function β Formalized
Formalized by 2 parts together:
Real. sign_of_pos Mathlib (proved) sgn takes the value 1 at every positive real number Real. sign_of_neg Mathlib (proved) sgn takes the value -1 at every negative real number
β¦sgn : β β {β1, 0, 1} x β¦ sgn(x ) = { β1 if x < 0,0 if x = 0,1 if x > 0. Thus sgn(x) is 1 when x is positive, and sgn(x) is β1 when x is negative. Show all
Real. sign_of_pos states part
theorem Real.sign_of_pos {r : β} : 0 < r β r.sign = 1
Mathlib.Basic.Real.Sign Β· lines 39β40
Why only part: The declaration is stated for the real numbers with exactly the positivity assumption the conjunct carries.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 15d46a1f293a Β· pair key 85764a9268b6.
Real. sign_of_neg states part
theorem Real.sign_of_neg {r : β} : r < 0 β r.sign = -1
Mathlib.Basic.Real.Sign Β· line 37
Why only part: The declaration is stated for the real numbers with exactly the negativity assumption the conjunct carries.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 4a4c21733d8c Β· pair key b23819a9260e.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Sign functions βΊ Real sign function β Partial
Partial: Mathlib states a special case (proved).
For non-zero values of x, this function can also be defined by the formula sgn(x ) = x |x | = |x | x , where |x| is the absolute value of x. Show all
Int. sign_eq_abs_ediv special case
theorem Int.sign_eq_abs_ediv (a : β€) : a.sign = |a| / a
Mathlib.Algebra.Order.Group.Unbundled.Int Β· lines 130β132
Why a special case: The declaration fixes this quotient only for integer arguments, with integer division, which agrees with real division once the argument is nonzero.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 7a810b785f01 Β· pair key 6b2a55990b8e.
Related, but states something else (1)
TauCeti. sign_eq_div_abs related
theorem TauCeti.sign_eq_div_abs {Ξ± : Type*} [DivisionRing Ξ±] [LinearOrder Ξ±] [IsStrictOrderedRing Ξ±] (x : Ξ±) : β(SignType.sign x) = x / |x|
TauCeti.Data.SignType.Basic Β· lines 27β31
How it differs: The declaration is stated for every linearly ordered division ring and also at the zero argument, where both sides come out zero under Lean's division convention.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack, which downgraded it. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 83245ab. Location key 40a76a27a118 Β· pair key d1f1fcaa31bf.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Sign of a number βΊ Sign functions βΊ Complex sign function β Formalized
Formalized: Mathlib states this up to a convention difference (proved).
The complex sign function requires the magnitude of its argument z = x + iy, which can be calculated as |z | = βzz Μ = βx 2 + y 2 . Show all
Complex. norm_eq_sqrt_sq_add_sq close match
theorem Complex.norm_eq_sqrt_sq_add_sq (z : β) : βzβ = β(z.re ^ 2 + z.im ^ 2)
Mathlib.Analysis.Complex.Norm Β· lines 171β172
Why close, not exact: Mathlib writes the magnitude of a complex number as its norm and its two coordinates through the real-part and imaginary-part projections.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 1fc017c3918c Β· pair key 2eb0122eee9f.
Related, but states something else (1)
Complex. normSq_eq_conj_mul_self related
theorem Complex.normSq_eq_conj_mul_self {z : β} : β(Complex.normSq z) = (starRingEnd β) z * z
Mathlib.Basic.Complex.Basic Β· lines 544β545
How it differs: It identifies the squared magnitude with the product of the conjugate and the number, which is the intermediate term of the displayed chain rather than its end-to-end equation.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 37d58e550ef0 Β· pair key 2eae90f1bfee.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Sign functions βΊ Complex sign function β Formalized
Formalized: Mathlib states a more general result (a definition).
Analogous to above, the complex sign function extracts the complex sign of a complex number by mapping the set of non-zero complex numbers to the set of unimodular complex numbers, and 0 to 0: {z β β : |z | = 1} βͺ {0}. It may be defined as follows: Show all
NormedSpace. normalize more general
def NormedSpace.normalize {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] : V β V
Mathlib.Analysis.Normed.Module.Normalize Β· line 25
Why more general: Mathlib builds this normalization for every real normed space, so the complex-number case is one instance of the same construction.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 7c59577b3e80 Β· pair key b5702949b0f5.
NormedSpace. norm_normalize_eq_one_iff states part
theorem NormedSpace.norm_normalize_eq_one_iff {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] {x : V} : βNormedSpace.normalize xβ = 1 β x β 0
Mathlib.Analysis.Normed.Module.Normalize Β· lines 42β43
Why only part: It pins down where the value is unimodular but says nothing on its own about the value assigned to zero.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 83b6bab7acf9 Β· pair key a411f7ed879f.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Sign of a number βΊ Sign functions βΊ Complex sign function β Formalized
Formalized: Mathlib states a more general result (a definition).
Let z be also expressed by its magnitude and one of its arguments Ο as z = |z|β
eiΟ, then[3] sgn(z ) = { 0 for z = 0z |z | = e iΟ otherwise . Show all
NormedSpace. normalize more general
def NormedSpace.normalize {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] : V β V
Mathlib.Analysis.Normed.Module.Normalize Β· line 25
Why more general: Mathlib builds this normalization for every real normed space, so the complex-number case is one instance of it; the polar shape of the nonzero value is recorded by the second card.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 72b083d5fb2d Β· pair key c7a705f5d4ed.
TauCeti.Contour. div_norm_eq_exp_arg_mul_I states part
theorem TauCeti.Contour.div_norm_eq_exp_arg_mul_I {w : β} : w β 0 β w / ββwβ = Complex.exp (βw.arg * Complex.I)
TauCeti.Analysis.Contour.Argument.Lift Β· lines 279β282
Why only part: Mathlib and this library write the magnitude as a norm and take the angle to be the principal argument, the representative between minus pi and pi.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 83245ab. Location key 533a5a0e65ee Β· pair key c148d7df8c84.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Sign of a number βΊ Sign functions βΊ Complex sign function β Formalized
Formalized: TauCeti states this up to a convention difference (proved).
If the original value was R,ΞΈ in polar form, then sign(R, ΞΈ) is 1 ΞΈ. Show all
TauCeti.Contour. div_norm_eq_exp_arg_mul_I close match
theorem TauCeti.Contour.div_norm_eq_exp_arg_mul_I {w : β} : w β 0 β w / ββwβ = Complex.exp (βw.arg * Complex.I)
TauCeti.Analysis.Contour.Argument.Lift Β· lines 279β282
Why close, not exact: The declaration takes the angle to be the principal argument, the representative between minus pi and pi, and the exponential term is unchanged by shifting the angle by a full turn.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 83245ab. Location key 69a6afd66ecc Β· pair key 4d852c4695e1.
Related, but states something else (1)
Complex. norm_mul_exp_arg_mul_I related
theorem Complex.norm_mul_exp_arg_mul_I (x : β) : ββxβ * Complex.exp (βx.arg * Complex.I) = x
Mathlib.Analysis.SpecialFunctions.Complex.Arg Β· lines 56β60
How it differs: It recovers a complex number from its modulus and its angle, the polar presentation the passage assumes, rather than saying what the sign of such a value is.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key beaf737af075 Β· pair key 8a96031ceeae.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Sign of an angle β Formalized
Formalized: Mathlib states this up to a convention difference (a definition).
In such a situation, the sign indicates whether the angle is in the clockwise or counterclockwise direction. Show all
Real.Angle. sign close match
def Real.Angle.sign : Real.Angle β SignType
Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle Β· lines 723β724
Why close, not exact: Mathlib reads the sign of an angle in the reals modulo a full turn off the sign of its sine and records it as a value of the three-element sign type.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f39abed27aa7 Β· pair key 727c31bbb79b.
Real.Angle. toReal_neg_iff_sign_neg states part
theorem Real.Angle.toReal_neg_iff_sign_neg {ΞΈ : Real.Angle} : ΞΈ.toReal < 0 β ΞΈ.sign = -1
Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle Β· lines 763β765
Why only part: It fixes the clockwise half of the correspondence and leaves the counterclockwise half to a companion lemma.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key af94a0c8e42f Β· pair key 9a7bfa125849.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Sign of an angle β Not formalized
Though different conventions can be used, it is common in mathematics to have counterclockwise angles count as positive, and clockwise angles count as negative. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 5 queries and 4 candidates examined (receipt 3c9de8ccfcd8). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Related, but states something else (2)
Complex. arg_nonneg_iff related
theorem Complex.arg_nonneg_iff {z : β} : 0 β€ z.arg β 0 β€ z.im
Mathlib.Analysis.SpecialFunctions.Complex.Arg Β· lines 171β179
How it differs: The lemma characterises when the argument of a complex number is nonnegative by the sign of its imaginary part.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key db4f72922577 Β· pair key 9b3c077011d5.
Complex. arg_neg_iff related
theorem Complex.arg_neg_iff {z : β} : z.arg < 0 β z.im < 0
Mathlib.Analysis.SpecialFunctions.Complex.Arg Β· lines 182β183
How it differs: The lemma characterises when the argument of a complex number is negative by the sign of its imaginary part.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 698378dd869e Β· pair key 87b76c2f9643.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Signs per convention βΊ Sign of an angle β Not formalized
Specifically, a right-handed rotation around an oriented axis typically counts as positive, while a left-handed rotation counts as negative. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 2 candidates examined (receipt 4afc64b0f6e8). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Related, but states something else (1)
Orientation. oangle_neg_orientation_eq_neg related
theorem Orientation.oangle_neg_orientation_eq_neg {V : Type*} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (-o).oangle x y = -o.oangle x y
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic Β· lines 596β597
How it differs: The lemma says that reversing the orientation of a plane negates the oriented angle it measures.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 06086affb532 Β· pair key 7c2bf11f9859.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Signs per convention βΊ Sign of an angle β Partial
Partial: Mathlib states part of this (proved).
An angle which is the negative of a given angle has an equal arc, but the opposite axis. Show all
Real.Angle. abs_toReal_neg states part
theorem Real.Angle.abs_toReal_neg (ΞΈ : Real.Angle) : |(-ΞΈ).toReal| = |ΞΈ.toReal|
Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle Β· lines 510β513
Why only part: Mathlib writes the arc of an angle as the absolute value of its representative in the half-turn to half-turn range, and states the equality in that form.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 0d42c8f22c86 Β· pair key c410e14c6c74.
Orientation. oangle_neg_orientation_eq_neg states part
theorem Orientation.oangle_neg_orientation_eq_neg {V : Type*} [NormedAddCommGroup V] [InnerProductSpace β V] [Fact (Module.finrank β V = 2)] (o : Orientation β V (Fin 2)) (x y : V) : (-o).oangle x y = -o.oangle x y
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic Β· lines 596β597
Why only part: In the library the role of the oriented axis is played by an orientation of a two dimensional space, so the statement is the article's claim for plane angles.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key d7a96b960f7a Β· pair key dc9521366a7d.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Sign of a change β Formalized
Formalized: Mathlib states a more general result (a definition).
When a quantity x changes over time, the change in the value of x is typically defined by the equation Ξx = x final β x initial . Show all
fwdDiff more general
def fwdDiff {M : Type*} {G : Type*} [AddCommMonoid M] [AddCommGroup G] : M β (M β G) β M β G
Mathlib.Algebra.Group.ForwardDiff Β· line 40
Why more general: Mathlib defines the operator for a function on any additive monoid with values in any additive group, so it covers far more than a real quantity watched over time.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 5d9c95ed6100 Β· pair key ab84735a877e.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Signs per convention βΊ Sign of a change β Formalized
Formalized by 2 parts together (more general):
sub_pos Mathlib (proved) an increase of the quantity gives a positive change sub_neg Mathlib (proved) a decrease of the quantity gives a negative change
Using this convention, an increase in x counts as positive change, while a decrease of x counts as negative change. Show all
sub_pos states part
theorem sub_pos {Ξ± : Type u} [AddGroup Ξ±] [LT Ξ±] [AddRightStrictMono Ξ±] {a b : Ξ±} : 0 < a - b β b < a
Mathlib.Algebra.Order.Group.Unbundled.Basic Β· line 600
Why only part: The lemma is an equivalence, so it also yields the converse reading, which this case of the article does not ask for.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 3e09509aca8c Β· pair key b57b7faa0ede.
sub_neg states part
theorem sub_neg {Ξ± : Type u} [AddGroup Ξ±] [LT Ξ±] [AddRightStrictMono Ξ±] {a b : Ξ±} : a - b < 0 β a < b
Mathlib.Algebra.Order.Group.Unbundled.Basic Β· line 606
Why only part: The lemma is again an equivalence, which also yields the converse reading that this case does not ask for.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 7ea07113b4d5 Β· pair key e19b6129cafc.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Signs per convention βΊ Sign of a change β Not formalized
As a result, any increasing function has positive derivative, while any decreasing function has negative derivative. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 5 queries and 4 candidates examined (receipt b78c6fdc854b). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Related, but states something else (2)
Monotone. deriv_nonneg related
theorem Monotone.deriv_nonneg {π : Type u} [NontriviallyNormedField π] {x : π} [LinearOrder π] [IsStrictOrderedRing π] [OrderTopology π] {g : π β π} : Monotone g β 0 β€ deriv g x
Mathlib.Analysis.Calculus.Deriv.Slope Β· lines 191β193
How it differs: The lemma concludes that the derivative of a monotone function is nonnegative, not that it is positive.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 9cb7396904e0 Β· pair key 0d3b4a4d0bc9.
Antitone. deriv_nonpos related
theorem Antitone.deriv_nonpos {π : Type u} [NontriviallyNormedField π] {x : π} [LinearOrder π] [IsStrictOrderedRing π] [OrderTopology π] {g : π β π} : Antitone g β deriv g x β€ 0
Mathlib.Analysis.Calculus.Deriv.Slope Β· lines 214β216
How it differs: The lemma concludes that the derivative of an antitone function is nonpositive, not that it is negative.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 68167e333b79 Β· pair key f310853ca542.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Other meanings β Not formalized
In addition to the sign of a real number, the word sign is also used in various related ways throughout mathematics and other sciences: Words up to sign mean that, for a quantity q, it is known that either q = Q or q = βQ for certain Q. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 3 candidates examined (receipt 61f35a80882c). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Related, but states something else (1)
abs_eq_abs related
theorem abs_eq_abs {Ξ± : Type*} [AddGroup Ξ±] [LinearOrder Ξ±] {a b : Ξ±} : |a| = |b| β a = b β¨ a = -b
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 210
How it differs: The lemma says that two elements of a linearly ordered additive group have the same absolute value exactly when one is the other or its negation.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key aaf7328dc589 Β· pair key e322c6e641fa.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Notation Β· supporting Β· Signs per convention βΊ Other meanings β Not formalized
Words up to sign mean that, for a quantity q, it is known that either q = Q or q = βQ for certain Q. It is often expressed as q = Β±Q. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 3 queries and 2 candidates examined (receipt 72d869a57de7). Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: upheld.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Signs per convention βΊ Other meanings β Formalized
Formalized: Mathlib states a more general result (proved).
Words up to sign mean that, for a quantity q, it is known that either q = Q or q = βQ for certain Q. It is often expressed as q = Β±Q. For real numbers, it means that only the absolute value |q| of the quantity is known. Show all
abs_eq_abs more general
theorem abs_eq_abs {Ξ± : Type*} [AddGroup Ξ±] [LinearOrder Ξ±] {a b : Ξ±} : |a| = |b| β a = b β¨ a = -b
Mathlib.Algebra.Order.Group.Unbundled.Abs Β· line 210
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 4fa2f726af00 Β· pair key bf9eea82898a.
Int. natAbs_eq_natAbs_iff special case
theorem Int.natAbs_eq_natAbs_iff {a b : Int} : a.natAbs = b.natAbs β a = b β¨ a = -b
Init.Data.Int.Order Β· lines 633β640
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit c9afcdd. Location key b4ee44ca8d58 Β· pair key 20d1c1c5db32.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Signs per convention βΊ Other meanings β Not formalized
For complex numbers and vectors, a quantity known up to sign is a stronger condition than a quantity with known magnitude: aside Q and βQ, there are many other possible values of q such that |q| = |Q|. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 3 queries and 2 candidates examined (receipt 953983776b72). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· supporting Β· Signs per convention βΊ Other meanings β Not formalized
For complex numbers and vectors, a quantity known up to sign is a stronger condition than a quantity with known magnitude: aside Q and βQ, there are many other possible values of q such that |q| = |Q|. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 3 queries and 2 candidates examined (receipt b510f554c0fd). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Other meanings β Formalized
Formalized: Mathlib states this up to a convention difference (a definition).
The sign of a permutation is defined to be positive if the permutation is even, and negative if the permutation is odd. Show all
Equiv.Perm. sign close match
def Equiv.Perm.sign {Ξ± : Type u} [DecidableEq Ξ±] [Fintype Ξ±] : Equiv.Perm Ξ± β* β€Λ£
Mathlib.GroupTheory.Perm.Sign Β· lines 358β359
Why close, not exact: Lean sends a permutation to a unit of the integers, writing the first case as 1 and the second as -1.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key fc30fdd17b8c Β· pair key 95fc451d1cd2.
Related, but states something else (1)
Equiv.Perm. sign_prod_list_swap related
theorem Equiv.Perm.sign_prod_list_swap {Ξ± : Type u} [DecidableEq Ξ±] [Fintype Ξ±] {l : List (Equiv.Perm Ξ±)} : (β g β l, g.IsSwap) β Equiv.Perm.sign l.prod = (-1) ^ l.length
Mathlib.GroupTheory.Perm.Sign Β· lines 410β417
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key d1cbedebb4c3 Β· pair key d04c6513e19e.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Other meanings β Formalized
Formalized: Mathlib states a more general result (a definition).
In graph theory, a signed graph is a graph in which each edge has been marked with a positive or negative sign. Show all
SimpleGraph. EdgeLabeling more general
def SimpleGraph.EdgeLabeling {V : Type u_1} : SimpleGraph V β Type u_5 β Type (max u_1 u_5)
Mathlib.Combinatorics.SimpleGraph.Coloring.EdgeLabeling Β· lines 35β36
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f84d61680e9c Β· pair key 069747370834.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· main statement Β· Signs per convention βΊ Other meanings β Formalized
Formalized: Mathlib states this up to a convention difference (a definition).
In mathematical analysis, a signed measure is a generalization of the concept of measure in which the measure of a set may have positive or negative values. Show all
MeasureTheory. SignedMeasure close match
abbrev MeasureTheory.SignedMeasure (Ξ± : Type u_2) [MeasurableSpace Ξ±] : Type (max u_2 0)
Mathlib.MeasureTheory.VectorMeasure.Defs Β· lines 63β64
Why close, not exact: Lean writes the notion as its vector measure structure with values in the reals, so each measurable set is assigned a real number of either sign.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key c3f76aaa14fc Β· pair key f1cfe4207e2b.
MeasureTheory. VectorMeasure more general
structure MeasureTheory.VectorMeasure (Ξ± : Type*) [MeasurableSpace Ξ±] (M : Type*) [AddCommMonoid M] [TopologicalSpace M]
Mathlib.MeasureTheory.VectorMeasure.Defs Β· lines 50β60
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 774af8a39151 Β· pair key 503c56d41c4b.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Signs per convention βΊ Other meanings β Partial
Partial: Mathlib states a special case (a definition).
The concept of signed distance is used to convey side, inside or out. The ideas of signed area and signed volume are sometimes used when it is convenient for certain areas or volumes to count as negative. Show all
AffineSubspace. signedInfDist special case
def AffineSubspace.signedInfDist {V : Type*} {P : Type*} [NormedAddCommGroup V] [InnerProductSpace β V] [MetricSpace P] [NormedAddTorsor V P] (s : AffineSubspace β P) [Nonempty β₯s] [s.direction.HasOrthogonalProjection] : P β P βᴬ[β] β
Mathlib.Geometry.Euclidean.SignedDist Β· lines 241β242
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key d208112bb6f6 Β· pair key b4132cff53b3.
signedDist special case
def signedDist {V : Type*} {P : Type*} [NormedAddCommGroup V] [InnerProductSpace β V] [MetricSpace P] [NormedAddTorsor V P] : V β P βᴬ[β] P βᴬ[β] β
Mathlib.Geometry.Euclidean.SignedDist Β· lines 48β58
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 79cf32a6dd66 Β· pair key 8ce563d39048.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Signs per convention βΊ Other meanings β Partial
Partial: Mathlib states a special case (a definition).
The ideas of signed area and signed volume are sometimes used when it is convenient for certain areas or volumes to count as negative. Show all
Orientation. areaForm special case
def Orientation.areaForm {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E] [Fact (Module.finrank β E = 2)] : Orientation β E (Fin 2) β E ββ[β] E ββ[β] β
Mathlib.Analysis.InnerProductSpace.TwoDim Β· lines 90β95
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f13a29ebaa55 Β· pair key 80524974ed62.
TauCeti. signedArea special case
def TauCeti.signedArea : (β β β) β β β β β β
TauCeti.Analysis.Green.Examples.CurveArea.SignedArea Β· lines 38β39
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 83245ab. Location key d9a14bd004f5 Β· pair key 9eb1da44d3ae.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Signs per convention βΊ Other meanings β Partial
Partial: Mathlib states a special case (a definition).
The ideas of signed area and signed volume are sometimes used when it is convenient for certain areas or volumes to count as negative. Show all
Orientation. volumeForm special case
def Orientation.volumeForm {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E] {n : β} [_i : Fact (Module.finrank β E = n)] : Orientation β E (Fin n) β E [β^Fin n]ββ[β] β
Mathlib.Analysis.InnerProductSpace.Orientation Β· lines 170β176
Why a special case: Mathlib fixes the notion only for a finite-dimensional real inner product space carrying an orientation, where the passage speaks of signed volume wherever it is convenient.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, medium confidence. Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC). Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 756f397837fc Β· pair key f9ec77ff8e96.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Theorem Β· main statement Β· Signs per convention βΊ Other meanings β Formalized
Formalized: Mathlib states a more general result (proved).
In an (abstract) oriented vector space, each ordered basis for the vector space can be classified as either positively or negatively oriented. Show all
Module.Basis. orientation_eq_or_eq_neg more general
theorem Module.Basis.orientation_eq_or_eq_neg {R : Type*} [CommRing R] [LinearOrder R] [IsStrictOrderedRing R] {M : Type*} [AddCommGroup M] [_root_.Module R M] {ΞΉ : Type*} [Fintype ΞΉ] [DecidableEq ΞΉ] (e : Module.Basis ΞΉ R M) (x : Orientation R M ΞΉ) : x = e.orientation β¨ x = -e.orientation
Mathlib.LinearAlgebra.Orientation Β· lines 248β254
Why more general: The declaration is stated for every orientation of the space at once and over an ordered commutative ring, which covers the passage's field of scalars; the two sides of each equation are written with the orientation first.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 1 for this passage, high confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key f1891d8e997e Β· pair key c6b98bb5a344.
Orientation. eq_or_eq_neg more general
theorem Orientation.eq_or_eq_neg {R : Type*} [Field R] [LinearOrder R] [IsStrictOrderedRing R] {M : Type*} [AddCommGroup M] [_root_.Module R M] {ΞΉ : Type*} [Fintype ΞΉ] [FiniteDimensional R M] (xβ xβ : Orientation R M ΞΉ) : Fintype.card ΞΉ = Module.finrank R M β xβ = xβ β¨ xβ = -xβ
Mathlib.LinearAlgebra.Orientation Β· lines 348β353
Community Agent The pipeline said special case ; changed by Meta FAIR 2 (agent) β owned by Jack McCarthy on 9 Nov 2026.
Why more general: For any finite-dimensional vector space over an ordered field, this states that two orientations indexed by a type whose size is the dimension are either equal or negatives of each other. Take one to be the orientation a basis gives and the other the chosen orientation: the basis is then positively or negatively oriented. A basis always meets the size hypothesis, and an ordered basis means the space is finite-dimensional.
Details Found by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: candidate 2 for this passage, medium confidence. Re-checked by Claude Opus 5 (claude-opus-5) on 1 Nov 2026 (UTC), challenge run chal-tierA-b1 by jack: it survived. Record set tierA-b1a, exported 1 Nov 2026 by formal-companion d85385a. Lean code: the declaration's type as Lean prints it, laid out as a header (the corpus keeps no hypothesis names), from the declaration corpus of universe u1 at commit 3dfb8e2. Location key 155cd3678b5c Β· pair key dac0761b47cb.
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β
Definition Β· supporting Β· Signs per convention βΊ Other meanings β Not formalized
In a signed-digit representation, each digit of a number may have a positive or negative sign. Show all
β Searched 48 libraries β not found. Which libraries, at which commits (pinned 2026-10-17).
Details Searched by Claude Opus 5 (claude-opus-5) on 31 Oct 2026 (UTC), locate run loc-tierA-b1a by jack: the search receipt lists 4 queries and 4 candidates examined (receipt 4fe2313a40ed). Not re-checked: sampled out of challenge run chal-tierA-b1 by jack, in which Claude Opus 5 (claude-opus-5) re-checked a sample on 1 Nov 2026 (UTC).
Sign in to tag this passage
Open in card list Β· Copy link Β· Read on Wikipedia β