Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Archive-of-Formal-Proofs/thys/CVP_Hardness/   (Sammlung formaler Beweise Version 2026-5©)  Datei vom 31.4.2026 mit Größe 1 kB image not shown  

Quelle  infnorm.thy

  Sprache: Isabelle
 

theory infnorm

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
  also have " = max (a) (v\<infinity>)" unfolding linf_norm_vec_def by (cases v, auto)
  also have " = max (a) (Max (insert 0 {v$i | i. i< dim_vec v}))" using vCons by auto
  also have " = Max (insert (a) (insert 0 {v$i | i. i< dim_vec v}))" by auto
  also have " = Max (insert 0 (insert (a) {v$i | i. i< dim_vec v}))"
    by (simp add: insert_commute)
  also have "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 ?case by (subst exI[of _ "0"], auto)
  next
    case (2 x i)
    then show ?case by (subst exI[of _ "Suc i"]) 
      (use vec_index_vCons_Suc[of a v i, symmetric] in auto)
  next
    case (3 x i)
    then show ?case by (subst vec_index_vCons) (subst exI[of _ "i-1"], auto)
  qed
  finally show ?case unfolding linf_norm_vec_def by auto
qed auto


end

Messung V0.5 in Prozent
C=89 H=97 G=93

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.