imports
Main "Jordan_Normal_Form.Matrix" "LLL_Basis_Reduction.Norms" begin
section‹Maximum Norm› text‹The $\ell_\infty$ norm on vectors is exactly the maximum of the absolute value
of all entries.›
lemma linf_norm_vec_Max: "∥v∥\<infinity> = Max (insert 0 {∣v$i∣ | i. i< dim_vec v})" proof (induct v) case (vCons a v) have"Missing_Lemmas.max_list (map abs (list_of_vec (vCons a v)) @ [0]) = Missing_Lemmas.max_list ((∣a∣) # (map abs (list_of_vec v) @ [0]))"by auto alsohave"… = max (∣a∣) (∥v∥\<infinity>)"unfolding linf_norm_vec_def by (cases v, auto) alsohave"… = max (∣a∣) (Max (insert 0 {∣v$i∣ | i. i< dim_vec v}))"using vCons by auto alsohave"… = Max (insert (∣a∣) (insert 0 {∣v$i∣ | i. i< dim_vec v}))"by auto alsohave"… = Max (insert 0 (insert (∣a∣) {∣v$i∣ | i. i< dim_vec v}))" by (simp add: insert_commute) alsohave"insert (∣a∣){∣v$i∣ | i. i< dim_vec v} = {∣(vCons a v)$i∣ | i. i< dim_vec (vCons a v)}" proof (safe, goal_cases) case (1 x) show ?caseby (subst exI[of _ "0"], auto) next case (2 x i) thenshow ?caseby (subst exI[of _ "Suc i"])
(use vec_index_vCons_Suc[of a v i, symmetric] in‹auto›) next case (3 x i) thenshow ?caseby (subst vec_index_vCons) (subst exI[of _ "i-1"], auto) qed finallyshow ?caseunfolding linf_norm_vec_def by auto qed auto
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.