Commit 2026-11-25 13:41 c44d09c9

View on Github →

chore: rename nndist to nnDist (#45788) This PR renames nndist to nnDist to satisfy the new naming convention. The commits are as follows

  1. replaces nndist by nnDist everywhere except in existing deprecations
  2. adds deprecations for all declarations
  3. changes edist_nnDist to eDist_nnDist to avoid a future deprecation
  4. adds a deprecation for NNDist.nndist itself.
  5. adds deprecations for lemmas created with the alias ⟨_, _⟩ := _ syntax.

Estimated changes

modified theorem lipschitzWith_lineMap
added theorem nnDist_homothety
added theorem nnDist_homothety_self
added theorem nnDist_left_lineMap
added theorem nnDist_left_midpoint
added theorem nnDist_lineMap_left
added theorem nnDist_lineMap_lineMap
added theorem nnDist_lineMap_right
added theorem nnDist_midpoint_left
added theorem nnDist_midpoint_right
added theorem nnDist_right_lineMap
added theorem nnDist_right_midpoint
added theorem nnDist_self_homothety
deleted theorem nndist_center_homothety
deleted theorem nndist_homothety
deleted theorem nndist_homothety_center
deleted theorem nndist_homothety_self
deleted theorem nndist_left_lineMap
deleted theorem nndist_left_midpoint
deleted theorem nndist_lineMap_left
deleted theorem nndist_lineMap_lineMap
deleted theorem nndist_lineMap_right
deleted theorem nndist_midpoint_left
deleted theorem nndist_midpoint_right
deleted theorem nndist_right_lineMap
deleted theorem nndist_right_midpoint
deleted theorem nndist_self_homothety
modified theorem nnDist_eq_nnNorm_vsub'
modified theorem nnDist_eq_nnNorm_vsub
added theorem nnDist_vadd_left
added theorem nnDist_vadd_right
added theorem nnDist_vadd_vadd_le
added theorem nnDist_vsub_vsub_le
deleted theorem nndist_vadd_cancel_left
deleted theorem nndist_vadd_cancel_right
deleted theorem nndist_vadd_left
deleted theorem nndist_vadd_right
deleted theorem nndist_vadd_vadd_le
deleted theorem nndist_vsub_cancel_left
deleted theorem nndist_vsub_cancel_right
deleted theorem nndist_vsub_vsub_le
modified theorem edist_one_right
modified theorem nnDist_eq_nnNorm_div
modified theorem nnDist_eq_nnNorm_inv_mul
added theorem nnDist_mulIndicator
modified theorem nnDist_nnNorm_nnNorm_le'
added theorem nnDist_one_left
added theorem nnDist_one_right
deleted theorem nndist_mulIndicator
deleted theorem nndist_one_left
deleted theorem nndist_one_right
added theorem PiLp.nnDist_apply_le
added theorem PiLp.nnDist_eq_iSup
added theorem PiLp.nnDist_eq_of_L1
added theorem PiLp.nnDist_eq_of_L2
added theorem PiLp.nnDist_eq_sum
deleted theorem PiLp.nndist_apply_le
deleted theorem PiLp.nndist_eq_iSup
deleted theorem PiLp.nndist_eq_of_L1
deleted theorem PiLp.nndist_eq_of_L2
deleted theorem PiLp.nndist_eq_sum
deleted theorem PiLp.nndist_single_same
added theorem nnDist_congr
added theorem nnDist_congr_left
added theorem nnDist_congr_right
deleted theorem nndist_congr
deleted theorem nndist_congr_left
deleted theorem nndist_congr_right
added theorem eq_of_nnDist_eq_zero
deleted theorem eq_of_nndist_eq_zero
added theorem nnDist_eq_zero
deleted theorem nndist_eq_zero
added theorem zero_eq_nnDist
deleted theorem zero_eq_nndist
added theorem nnDist_div_left
added theorem nnDist_div_right
added theorem nnDist_inv_inv
added theorem nnDist_mul_left
added theorem nnDist_mul_right
added theorem nnDist_smul
deleted theorem nndist_div_left
deleted theorem nndist_div_right
deleted theorem nndist_inv_inv
deleted theorem nndist_mul_left
deleted theorem nndist_mul_right
deleted theorem nndist_smul
added theorem MulOpposite.nnDist_op
deleted theorem MulOpposite.nndist_op
deleted theorem MulOpposite.nndist_unop
added theorem NNReal.le_add_nnDist
deleted theorem NNReal.le_add_nndist
added theorem NNReal.nnDist_eq
deleted theorem NNReal.nndist_eq
deleted theorem NNReal.nndist_zero_eq_val
added theorem Subtype.nnDist_eq
deleted theorem Subtype.nndist_eq
added theorem ULift.nnDist_eq
added theorem ULift.nnDist_up_up
deleted theorem ULift.nndist_eq
deleted theorem ULift.nndist_up_up
added theorem continuous_nnDist
deleted theorem continuous_nndist
deleted theorem uniformContinuous_nndist
added theorem Real.nnDist_eq'
added theorem Real.nnDist_eq
deleted theorem Real.nndist_eq'
deleted theorem Real.nndist_eq
added theorem coe_nnDist
deleted theorem coe_nndist
deleted theorem coe_nnreal_ennreal_nndist
modified theorem dist_le_coe
modified theorem dist_lt_coe
added theorem dist_nnDist
deleted theorem dist_nndist
added theorem eDist_nnDist
modified theorem edist_le_coe
modified theorem edist_lt_coe
deleted theorem edist_nndist
added theorem nnDist_comm
added theorem nnDist_dist
added theorem nnDist_edist
added theorem nnDist_ofAdd
added theorem nnDist_ofDual
added theorem nnDist_ofMul
added theorem nnDist_self
added theorem nnDist_toAdd
added theorem nnDist_toDual
added theorem nnDist_toMul
added theorem nnDist_triangle
added theorem nnDist_triangle_left
added theorem nnDist_triangle_right
deleted theorem nndist_comm
deleted theorem nndist_dist
deleted theorem nndist_edist
deleted theorem nndist_ofAdd
deleted theorem nndist_ofDual
deleted theorem nndist_ofMul
deleted theorem nndist_self
deleted theorem nndist_toAdd
deleted theorem nndist_toDual
deleted theorem nndist_toMul
deleted theorem nndist_triangle
deleted theorem nndist_triangle_left
deleted theorem nndist_triangle_right
modified theorem dist_pi_def
added theorem nnDist_le_pi_nnDist
added theorem nnDist_pi_const
added theorem nnDist_pi_const_le
added theorem nnDist_pi_def
added theorem nnDist_pi_eq_iff
added theorem nnDist_pi_le_iff
added theorem nnDist_pi_lt_iff
added theorem nnDist_single_single
deleted theorem nndist_le_pi_nndist
deleted theorem nndist_pi_const
deleted theorem nndist_pi_const_le
deleted theorem nndist_pi_def
deleted theorem nndist_pi_eq_iff
deleted theorem nndist_pi_le_iff
deleted theorem nndist_pi_lt_iff
deleted theorem nndist_single_single