pith. machine review for the scientific record. sign in
theorem proved term proof

entry_cost_zero_iff_unity

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)

  75theorem entry_cost_zero_iff_unity (e : LedgerEntry) : e.cost = 0 ↔ e.ratio = 1 := by

proof body

Term-mode proof.

  76  rw [e.cost_eq]
  77  exact Jcost_eq_zero_iff e.ratio e.ratio_pos
  78
  79/-! ## Ledger Structure with Conservation -/
  80
  81/-- A ledger is a collection of entries with conservation constraint. -/

depends on (19)

Lean names referenced from this declaration's body.