pith. machine review for the scientific record. sign in
theorem

zero_cost_iff_aggregate_one

proved
show as:
view math explainer →
module
IndisputableMonolith.Cost.Ndim.Neutrality
domain
Cost
line
28 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Cost.Ndim.Neutrality on GitHub at line 28.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

formal source

  25  JcostN_eq_zero_iff α x
  26
  27/-- Zero-cost iff aggregate equals one. -/
  28theorem zero_cost_iff_aggregate_one {n : ℕ} (α x : Vec n) :
  29    JcostN α x = 0 ↔ aggregate α x = 1 := by
  30  constructor
  31  · intro h
  32    exact (aggregate_eq_one_iff α x).2 ((zero_cost_iff_dot_zero α x).1 h)
  33  · intro h
  34    exact (zero_cost_iff_dot_zero α x).2 ((aggregate_eq_one_iff α x).1 h)
  35
  36end Ndim
  37end Cost
  38end IndisputableMonolith