Commit 2025-05-14 13:17 179655ba

View on Github →

refactor: use a junk value for the analytic order of a non-analytic function (#22974) Currently, the order of an analytic function is called AnalyticAt.order and has a single explicit argument hf : AnalyticAt š•œ f zā‚€. This means that working with analytic functions results in contexts full of hf.order or, worse, ⋯.order. This PR makes the f and zā‚€ arguments explicit, and drops the hf one by introducing a junk value of 0 for non-analytic functions. The resulting function is called analyticOrderAt and I am also adding a Nat-valued version analyticOrderNatAt since (analyticOrderAt f zā‚€).toNat was appearing in quite a few lemmas.

Estimated changes

deleted theorem AnalyticAt.order_add
deleted theorem AnalyticAt.order_congr
deleted theorem AnalyticAt.order_mul
deleted theorem AnalyticAt.order_pow
deleted theorem AnalyticAt.order_smul
added theorem analyticOrderAt_congr
added theorem analyticOrderAt_eq_top
added theorem analyticOrderAt_mul
added theorem analyticOrderAt_neg
added theorem analyticOrderAt_pow
added theorem analyticOrderAt_smul
added theorem analyticOrderNatAt_mul
added theorem analyticOrderNatAt_pow
added theorem le_analyticOrderAt_add
added theorem le_analyticOrderAt_sub