Commit 2026-11-05 20:58 c58c2001

View on Github →

chore: rename nnnorm -> nnNorm (#45536) This PR renames nnnorm to nnNorm. This follows the new naming convention around decapitalizing names that start with multiple capitals, in this case NNNorm. This PR consists of 3 main steps:

  1. Do a string replacement of every occurrence of nnnorm -> nnNorm
  2. Run add_deprecations.sh
  3. Fix the edge cases where step (2) did something wrong

Estimated changes

added theorem IsGreatest.nnNorm_cfc
deleted theorem IsGreatest.nnnorm_cfc
deleted theorem IsGreatest.nnnorm_cfcₙ
added theorem MonotoneOn.nnNorm_cfc
deleted theorem MonotoneOn.nnnorm_cfc
deleted theorem MonotoneOn.nnnorm_cfcₙ
added theorem nnNorm_cfcHom
added theorem nnNorm_cfc_le
added theorem nnNorm_cfc_le_iff
added theorem nnNorm_cfc_lt
added theorem nnNorm_cfc_lt_iff
added theorem nnNorm_cfc_nnreal_le
added theorem nnNorm_cfc_nnreal_lt
added theorem nnNorm_cfcₙHom
added theorem nnNorm_cfcₙ_le
added theorem nnNorm_cfcₙ_le_iff
added theorem nnNorm_cfcₙ_lt
added theorem nnNorm_cfcₙ_lt_iff
deleted theorem nnnorm_cfcHom
deleted theorem nnnorm_cfc_le
deleted theorem nnnorm_cfc_le_iff
deleted theorem nnnorm_cfc_lt
deleted theorem nnnorm_cfc_lt_iff
deleted theorem nnnorm_cfc_nnreal_le
deleted theorem nnnorm_cfc_nnreal_le_iff
deleted theorem nnnorm_cfc_nnreal_lt
deleted theorem nnnorm_cfc_nnreal_lt_iff
deleted theorem nnnorm_cfcₙHom
deleted theorem nnnorm_cfcₙ_le
deleted theorem nnnorm_cfcₙ_le_iff
deleted theorem nnnorm_cfcₙ_lt
deleted theorem nnnorm_cfcₙ_lt_iff
deleted theorem nnnorm_cfcₙ_nnreal_le
deleted theorem nnnorm_cfcₙ_nnreal_lt
added theorem Matrix.nnNorm_def
added theorem Matrix.nnNorm_diagonal
added theorem Matrix.nnNorm_le_iff
added theorem Matrix.nnNorm_lt_iff
added theorem Matrix.nnNorm_map_eq
deleted theorem Matrix.nnnorm_def
deleted theorem Matrix.nnnorm_diagonal
deleted theorem Matrix.nnnorm_le_iff
deleted theorem Matrix.nnnorm_lt_iff
deleted theorem Matrix.nnnorm_map_eq
deleted theorem Matrix.nnnorm_transpose
added theorem coe_comp_nnNorm'
deleted theorem coe_comp_nnnorm'
added theorem coe_nnNorm'
deleted theorem coe_nnnorm'
added theorem eq_one_or_nnNorm_pos
deleted theorem eq_one_or_nnnorm_pos
added theorem exists_nnNorm_ne_zero'
deleted theorem exists_nnnorm_ne_zero'
deleted theorem ne_one_of_nnnorm_ne_zero
added theorem nnDist_eq_nnNorm_div
added theorem nnNorm_div_le
added theorem nnNorm_eq_zero'
added theorem nnNorm_inv'
added theorem nnNorm_mul_le'
added theorem nnNorm_ne_zero_iff'
added theorem nnNorm_one'
added theorem nnNorm_pos'
added theorem nnNorm_pow_le_mul_norm
added theorem nnNorm_pow_natAbs
added theorem nnNorm_prod_le
added theorem nnNorm_prod_le_of_le
added theorem nnNorm_units_zsmul
added theorem nnNorm_zpow_abs
added theorem nnNorm_zpow_isUnit
deleted theorem nndist_eq_nnnorm_div
deleted theorem nndist_eq_nnnorm_inv_mul
deleted theorem nndist_nnnorm_nnnorm_le'
modified theorem nndist_one_left
deleted theorem nnnorm_div_eq_nnnorm_left
deleted theorem nnnorm_div_le
deleted theorem nnnorm_eq_zero'
deleted theorem nnnorm_inv'
deleted theorem nnnorm_le_mul_nnnorm_add'
deleted theorem nnnorm_le_mul_nnnorm_add
deleted theorem nnnorm_mul_eq_nnnorm_left
deleted theorem nnnorm_mul_le'
deleted theorem nnnorm_multiset_prod_le
deleted theorem nnnorm_ne_zero_iff'
deleted theorem nnnorm_one'
deleted theorem nnnorm_pos'
deleted theorem nnnorm_pow_le_mul_norm
deleted theorem nnnorm_pow_natAbs
deleted theorem nnnorm_prod_le
deleted theorem nnnorm_prod_le_of_le
deleted theorem nnnorm_units_zsmul
deleted theorem nnnorm_zpow_abs
deleted theorem nnnorm_zpow_isUnit
added theorem toReal_coe_nnNorm'
deleted theorem toReal_coe_nnnorm'
added theorem MulOpposite.nnNorm_op
deleted theorem MulOpposite.nnnorm_op
deleted theorem MulOpposite.nnnorm_unop
added theorem Pi.nnNorm_def'
added theorem Pi.nnNorm_extend_le'
added theorem Pi.nnNorm_single
deleted theorem Pi.nnnorm_def'
deleted theorem Pi.nnnorm_extend_le'
deleted theorem Pi.nnnorm_single
added theorem Prod.nnNorm_def'
added theorem Prod.nnNorm_mk'
deleted theorem Prod.nnnorm_def'
deleted theorem Prod.nnnorm_mk'
added theorem ULift.nnNorm_def
added theorem ULift.nnNorm_down
added theorem ULift.nnNorm_up
deleted theorem ULift.nnnorm_def
deleted theorem ULift.nnnorm_down
deleted theorem ULift.nnnorm_up
added theorem nnNorm_le_pi_nnNorm'
added theorem nnNorm_ofAdd
added theorem nnNorm_ofDual
added theorem nnNorm_ofMul
added theorem nnNorm_toAdd
added theorem nnNorm_toDual
added theorem nnNorm_toMul
deleted theorem nnnorm_le_pi_nnnorm'
deleted theorem nnnorm_ofAdd
deleted theorem nnnorm_ofDual
deleted theorem nnnorm_ofMul
deleted theorem nnnorm_toAdd
deleted theorem nnnorm_toDual
deleted theorem nnnorm_toMul
added theorem pi_nnNorm_comp_le'
added theorem pi_nnNorm_const'
added theorem pi_nnNorm_const_le'
added theorem pi_nnNorm_le_iff'
added theorem pi_nnNorm_lt_iff'
deleted theorem pi_nnnorm_comp_le'
deleted theorem pi_nnnorm_const'
deleted theorem pi_nnnorm_const_le'
deleted theorem pi_nnnorm_le_iff'
deleted theorem pi_nnnorm_lt_iff'
added theorem NNReal.nnNorm_eq_self
deleted theorem NNReal.nnnorm_eq_self
added theorem Real.nnNorm_abs
added theorem Real.nnNorm_natCast
added theorem Real.nnNorm_nnRatCast
added theorem Real.nnNorm_ofNat
added theorem Real.nnNorm_of_nonneg
added theorem Real.nnNorm_two
deleted theorem Real.nnnorm_abs
deleted theorem Real.nnnorm_natCast
deleted theorem Real.nnnorm_nnratCast
deleted theorem Real.nnnorm_ofNat
deleted theorem Real.nnnorm_of_nonneg
deleted theorem Real.nnnorm_two
added theorem nnNorm_norm'
deleted theorem nnnorm_norm'
added theorem PiLp.nnNorm_apply_le
added theorem PiLp.nnNorm_eq_ciSup
added theorem PiLp.nnNorm_eq_of_L1
added theorem PiLp.nnNorm_eq_of_L2
added theorem PiLp.nnNorm_eq_sum
added theorem PiLp.nnNorm_ofLp
added theorem PiLp.nnNorm_single
added theorem PiLp.nnNorm_toLp
added theorem PiLp.nnNorm_toLp_const
added theorem PiLp.nnNorm_toLp_one
deleted theorem PiLp.nnnorm_apply_le
deleted theorem PiLp.nnnorm_eq_ciSup
deleted theorem PiLp.nnnorm_eq_of_L1
deleted theorem PiLp.nnnorm_eq_of_L2
deleted theorem PiLp.nnnorm_eq_sum
deleted theorem PiLp.nnnorm_ofLp
deleted theorem PiLp.nnnorm_single
deleted theorem PiLp.nnnorm_toLp
deleted theorem PiLp.nnnorm_toLp_const'
deleted theorem PiLp.nnnorm_toLp_const
deleted theorem PiLp.nnnorm_toLp_one
modified theorem PiLp.norm_ofLp
added theorem Finset.nnNorm_prod_le'
added theorem Finset.nnNorm_prod_le
deleted theorem Finset.nnnorm_prod_le'
deleted theorem Finset.nnnorm_prod_le
added theorem List.nnNorm_prod_le'
added theorem List.nnNorm_prod_le
added theorem List.nnNorm_prod_map
deleted theorem List.nnnorm_prod_le'
deleted theorem List.nnnorm_prod_le
deleted theorem List.nnnorm_prod_map
deleted theorem Multiset.nnnorm_prod_map
added theorem NNReal.nnNorm_eq
deleted theorem NNReal.nnnorm_eq
added theorem Units.nnNorm_pos
deleted theorem Units.nnnorm_pos
added def nnNormHom
added theorem nnNorm_intCast_abs
added theorem nnNorm_mul
added theorem nnNorm_mul_le
added theorem nnNorm_mul_le_of_le
added theorem nnNorm_mul₃_le
added theorem nnNorm_natAbs
added theorem nnNorm_neg_pow
added theorem nnNorm_one
added theorem nnNorm_pow
added theorem nnNorm_pow_le'
added theorem nnNorm_pow_le
added theorem nnNorm_prod
added theorem nnNorm_sub_mul_le'
added theorem nnNorm_sub_mul_le
deleted def nnnormHom
deleted theorem nnnorm_intCast_abs
deleted theorem nnnorm_mul
deleted theorem nnnorm_mul_le
deleted theorem nnnorm_mul_le_of_le
deleted theorem nnnorm_mul₃_le
deleted theorem nnnorm_natAbs
deleted theorem nnnorm_neg_pow
deleted theorem nnnorm_one
deleted theorem nnnorm_pow
deleted theorem nnnorm_pow_le'
deleted theorem nnnorm_pow_le
deleted theorem nnnorm_prod
deleted theorem nnnorm_sub_mul_le'
deleted theorem nnnorm_sub_mul_le
added theorem one_le_nnNorm_one
deleted theorem one_le_nnnorm_one
added theorem RCLike.nnNorm_conj
added theorem RCLike.nnNorm_natCast
added theorem RCLike.nnNorm_nnqsMul
added theorem RCLike.nnNorm_nsmul
added theorem RCLike.nnNorm_ofNat
added theorem RCLike.nnNorm_two
deleted theorem RCLike.nnnorm_conj
deleted theorem RCLike.nnnorm_natCast
deleted theorem RCLike.nnnorm_nnqsmul
deleted theorem RCLike.nnnorm_nnratCast
deleted theorem RCLike.nnnorm_nsmul
deleted theorem RCLike.nnnorm_ofNat
deleted theorem RCLike.nnnorm_two