@[instance_reducible]
Equations
- instInhabitedPoint = { default := instInhabitedPoint.default }
@[instance_reducible]
@[instance_reducible]
Equations
- instFintypePoint = Fintype.ofEquiv ((_ : α✝) × α✝) (Point.proxyTypeEquiv α✝)
Equations
- Point.ofProd p = { x := p.1, y := p.2 }
Instances For
@[instance_reducible]
Equations
- Point.instRepr = { reprPrec := fun (a : Point α) => Point.casesOn (motive := fun (x : Point α) => ℕ → Std.Format) a fun (x y : α) (prec : ℕ) => (x, y).repr prec }
@[instance_reducible]
Equations
- Point.instDecidableLe = match h : compare a.y b.y with | Ordering.lt => isTrue ⋯ | Ordering.gt => isFalse ⋯ | Ordering.eq => match h₁ : decide (a.x ≤ b.x) with | true => isTrue ⋯ | false => isFalse ⋯
@[instance_reducible]
Equations
- Point.instLinearOrder = { le := Point.le, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := ⋯, le_antisymm := ⋯, min := fun (a b : Point α) => if a.le b then a else b, max := fun (a b : Point α) => if a.le b then b else a, compare := fun (a b : Point α) => compareOfLessAndEq a b, le_total := ⋯, toDecidableLE := fun (a b : Point α) => inferInstance, min_def := ⋯, max_def := ⋯, compare_eq_compareOfLessAndEq := ⋯ }
@[instance_reducible]
Equations
- Point.instAddSemigroup = { toAdd := Point.instAdd, add_assoc := ⋯ }
@[instance_reducible]
Equations
- Point.instAddZeroClass = { toZero := Point.instZero, toAdd := Point.instAdd, zero_add := ⋯, add_zero := ⋯ }
@[instance_reducible]
Equations
- Point.instAddMonoid = { toAddSemigroup := Point.instAddSemigroup, toZero := Point.instAddZeroClass.toZero, zero_add := ⋯, add_zero := ⋯, nsmul := fun (c : ℕ) (x : Point α) => match x with | { x := x, y := y } => { x := c • x, y := c • y }, nsmul_zero := ⋯, nsmul_succ := ⋯ }
@[instance_reducible]
Equations
- Point.instSubNegMonoid = { toAddMonoid := Point.instAddMonoid, toNeg := Point.instNeg, toSub := Point.instSub, zsmul := fun (c : ℤ) (x : Point α) => match x with | { x := x, y := y } => { x := c • x, y := c • y }, sub_eq_add_neg := ⋯, zsmul_zero' := ⋯, zsmul_succ' := ⋯, zsmul_neg' := ⋯ }
@[instance_reducible]
Equations
- Point.instAddCommMagma = { toAdd := Point.instAdd, add_comm := ⋯ }
@[instance_reducible]
Equations
- Point.instDistrib = { toMul := Point.instMul, toAdd := Point.instAdd, left_distrib := ⋯, right_distrib := ⋯ }
@[instance_reducible]
Equations
- Point.instMulZeroClass = { toMul := Point.instMul, toZero := Point.instZero, zero_mul := ⋯, mul_zero := ⋯ }
@[instance_reducible]
Equations
- Point.instSemigroup = { toMul := Point.instMul, mul_assoc := ⋯ }
@[instance_reducible]
Equations
- Point.instMulOneClass = { toOne := Point.instOne, toMul := Point.instMul, one_mul := ⋯, mul_one := ⋯ }
@[instance_reducible]
Equations
- Point.instAddMonoidWithOne = { toNatCast := Point.instNatCast, toAddMonoid := Point.instAddMonoid, toOne := Point.instOne, natCast_zero := ⋯, natCast_succ := ⋯ }
@[instance_reducible]
Equations
- Point.instAddGroup = { toSubNegMonoid := Point.instSubNegMonoid, neg_add_cancel := ⋯ }
@[instance_reducible]
instance
Point.instAddGroupWithOne
{α : Type u_1}
[ha : AddGroupWithOne α]
:
AddGroupWithOne (Point α)
Equations
- Point.instAddGroupWithOne = { toIntCast := Point.instIntCast, toAddMonoidWithOne := Point.instAddMonoidWithOne, toNeg := Point.instAddGroup.toNeg, toSub := Point.instAddGroup.toSub, toZSMul := Point.instAddGroup.toZSMul, sub_eq_add_neg := ⋯, zsmul_zero' := ⋯, zsmul_succ' := ⋯, zsmul_neg' := ⋯, neg_add_cancel := ⋯, intCast_ofNat := ⋯, intCast_negSucc := ⋯ }
@[instance_reducible]
Equations
- Point.instAddCommSemigroup = { toAddSemigroup := Point.instAddSemigroup, add_comm := ⋯ }
@[instance_reducible]
Equations
- Point.instAddCommMonoid = { toAddMonoid := Point.instAddMonoid, add_comm := ⋯ }
@[instance_reducible]
Equations
- Point.instNonUnitalNonAssocSemiring = { toAddCommMonoid := Point.instAddCommMonoid, toMul := Point.instDistrib.toMul, left_distrib := ⋯, right_distrib := ⋯, zero_mul := ⋯, mul_zero := ⋯ }
@[instance_reducible]
Equations
- Point.instSemigroupWithZero = { toSemigroup := Point.instSemigroup, toZero := Point.instMulZeroClass.toZero, zero_mul := ⋯, mul_zero := ⋯ }
@[instance_reducible]
Equations
- Point.instNonUnitalSemiring = { toNonUnitalNonAssocSemiring := Point.instNonUnitalNonAssocSemiring, mul_assoc := ⋯ }
@[instance_reducible]
instance
Point.instMulZeroOneClass
{α : Type u_1}
[ha : MulZeroOneClass α]
:
MulZeroOneClass (Point α)
Equations
- Point.instMulZeroOneClass = { toMulOneClass := Point.instMulOneClass, toZero := Point.instMulZeroClass.toZero, zero_mul := ⋯, mul_zero := ⋯ }
@[instance_reducible]
Equations
- Point.instAddCommMonoidWithOne = { toAddMonoidWithOne := Point.instAddMonoidWithOne, add_comm := ⋯ }
@[instance_reducible]
Equations
- Point.instNonAssocSemiring = { toNonUnitalNonAssocSemiring := Point.instNonUnitalNonAssocSemiring, toOne := Point.instMulZeroOneClass.toOne, one_mul := ⋯, mul_one := ⋯, toNatCast := Point.instAddCommMonoidWithOne.toNatCast, natCast_zero := ⋯, natCast_succ := ⋯ }
@[instance_reducible]
Equations
- Point.instMonoid = { toSemigroup := Point.instSemigroup, toOne := Point.instMulOneClass.toOne, one_mul := ⋯, mul_one := ⋯, npow := npowRecAuto, npow_zero := ⋯, npow_succ := ⋯ }
@[instance_reducible]
Equations
- Point.instMonoidWithZero = { toMonoid := Point.instMonoid, toZero := Point.instMulZeroOneClass.toZero, zero_mul := ⋯, mul_zero := ⋯ }
@[instance_reducible]
Equations
- Point.instSemiring = { toAddCommMonoid := Point.instAddCommMonoid, toMonoid := Point.instMonoidWithZero.toMonoid, zero_mul := ⋯, mul_zero := ⋯, left_distrib := ⋯, right_distrib := ⋯, toNatCast := Point.instNonAssocSemiring.toNatCast, natCast_zero := ⋯, natCast_succ := ⋯ }
@[instance_reducible]
Equations
- Point.instAddCommGroup = { toAddGroup := Point.instAddGroup, add_comm := ⋯ }
@[instance_reducible]
Equations
- Point.instRing = { toSemiring := Point.instSemiring, toNeg := Point.instAddCommGroup.toNeg, toSub := Point.instAddCommGroup.toSub, toZSMul := Point.instAddCommGroup.toZSMul, sub_eq_add_neg := ⋯, zsmul_zero' := ⋯, zsmul_succ' := ⋯, zsmul_neg' := ⋯, neg_add_cancel := ⋯, toIntCast := Point.instAddGroupWithOne.toIntCast, intCast_ofNat := ⋯, intCast_negSucc := ⋯ }
instance
Point.instAddLeftStrictMono
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha : AddLeftStrictMono α]
:
instance
Point.instAddRightStrictMono
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha : AddRightStrictMono α]
:
instance
Point.instMulLeftStrictMono
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha : MulLeftStrictMono α]
:
instance
Point.instMulRightStrictMono
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha : MulRightStrictMono α]
:
@[instance_reducible]
Equations
- Point.instOfNat = { ofNat := { x := OfNat.ofNat n, y := OfNat.ofNat n } }
@[simp]
theorem
Point.add_self_eq_zero_iff
{α : Type u_1}
[ha₁ : Ring α]
[ha₂ : NoZeroDivisors α]
[ha₃ : InjectiveOfNat α]
{a : Point α}
:
@[simp]
theorem
Point.dist_self
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a : Point α}
:
@[simp]
theorem
Point.dist_eq_zero_iff
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a b : Point α}
:
@[simp]
theorem
Point.triangle
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a b c : Point α}
:
@[simp]
theorem
Point.dist_le_zero_iff
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a b : Point α}
:
@[simp]
theorem
Point.zero_le_dist
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a b : Point α}
:
@[simp]
theorem
Point.not_dist_lt_zero
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a b : Point α}
:
@[simp]
theorem
Point.dist_nonneg
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : AddLeftMono α]
[ha₄ : AddRightMono α]
{a b : Point α}
:
@[simp]
theorem
Point.abs_dist
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : AddLeftMono α]
[ha₄ : AddRightMono α]
{a b : Point α}
:
Equations
Instances For
@[simp]
theorem
Point.mem_nbhd
{α : Type u_1}
[ha₁ : LocallyFiniteOrderList α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
{a b : Point α}
{d : α}
:
@[simp]
theorem
Point.forall_le_iff_le_xy_iff₁
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_yx_iff₁
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_xx_iff₂
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_yy_iff₂
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_xy_iff₂
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_yx_iff₂
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_xx_iff₃
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_yy_iff₃
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_xy_iff₃
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_yx_iff₃
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_xy_iff₄
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.forall_le_iff_le_yx_iff₄
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : IsOrderedAddMonoid α]
[ha₄ : ZeroLEOneClass α]
[ha₅ : NeZero 1]
{a b : α}
:
@[simp]
theorem
Point.zero_le_dist'
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : AddLeftMono α]
{a b : Point α}
:
@[simp]
theorem
Point.max_dist_zero
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : AddLeftMono α]
{a b : Point α}
:
instance
Point.instAddLeftMono
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : AddLeftMono α]
:
AddLeftMono (Point α)
instance
Point.instAddRightMono
{α : Type u_1}
[ha₁ : LinearOrder α]
[ha₂ : Ring α]
[ha₃ : AddRightMono α]
:
AddRightMono (Point α)
@[simp]
theorem
Point.nodup_rect
{α : Type u_2}
[ha₁ : LocallyFiniteOrderList α]
[ha₂ : Ring α]
{a b c d : α}
:
@[simp]
theorem
Point.nodup_rectRel
{α : Type u_2}
[ha₁ : LocallyFiniteOrderList α]
[ha₂ : Ring α]
{p : Point α}
{a b c d : α}
:
@[simp]
theorem
Point.nodup_nbhd
{α : Type u_2}
[ha₁ : LocallyFiniteOrderList α]
[ha₂ : Ring α]
{p : Point α}
{a : α}
:
@[simp]
theorem
Point.dist_pos_iff_ne
{α : Type u_1}
[ha₁ : Ring α]
[ha₂ : LinearOrder α]
[ha₃ : IsOrderedAddMonoid α]
{a b : Point α}
: