Equations
- Time.Clip.clipToNonemptyIcc a b x h = Time.toNonemptyIcc (if ha : x.toNat < a then ⟨a, ⋯⟩ else if hb : x.toNat > b then ⟨b, ⋯⟩ else ⟨x.toNat, ⋯⟩) h
Instances For
Equations
- Time.Clip.clip a b x h = (Time.Clip.clipToNonemptyIcc a b x h).icc.val
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Time.Clip.clip? a b x h = Option.map (fun (v : Time.NonemptyIcc a b) => v.icc.val) (Time.Clip.clipToNonemptyIcc? a b x h)
Instances For
Equations
- Time.Clip.clipToIco? a b x = if ha : a.val ≤ x.val then if hb : x.val < b.val then some ⟨x, ⋯⟩ else none else none