pith. machine review for the scientific record. sign in
def definition def or abbrev

singletonHinge

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  92def singletonHinge {n : ℕ} (i j : Fin n) (w : ℝ) (hw : 0 ≤ w) :
  93    HingeDatum n :=

proof body

Definition body.

  94  { edges := [(i, j)]
  95  , weight := fun e => if e = (i, j) then w else 0
  96  , weight_nonneg := by
  97      intro e
  98      by_cases h : e = (i, j)
  99      · simp [h, hw]
 100      · simp [h]
 101  }
 102

used by (7)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (1)

Lean names referenced from this declaration's body.