Lean4
/-- Pretty printer defined by `notation3` command. -/
@[scoped delab✝ app.Finset.addEnergy]
public meta def «_aux_Mathlib_Combinatorics_Additive_Energy___delab_app_Combinatorics_Additive_termE[_]_1» : Delab✝ :=
whenPPOption✝ getPPNotation✝ <|
whenNotPPOption✝ getPPExplicit✝ <|
withOverApp✝ 5
(getExpr✝ >>= fun e✝ =>
(matchApp✝
(matchApp✝
(matchApp✝ (matchApp✝ (matchApp✝ (matchExpr✝ (Expr.isConstOf✝ · `Finset.addEnergy)) pure✝) pure✝)
pure✝)
(matchVar✝ `s))
(matchVar✝ `s) >=>
pure✝)
MatchState.empty✝ >>=
fun s✝ => MatchState.delabVar✝ s✝ `s (some✝ e✝) >>= fun s => withHeadRefIfTagAppFns✝ `(E[$s]))