Health.Health.spec_clamp_unchanged: law of gralha-bendquest@0.1.0.0 Import: import gralha-bendquest@0.1.0.0/health.bend as Health Lines 58-62 of gralha-bendquest@0.1.0.0/health.bend: https://jend.leeeet.dev/read.txt?path=gralha-bendquest@0.1.0.0/health.bend&start_line=58&end_line=62 import Base import gralha-bendquest@0.1.0.0/game.bend as G law Health.spec_clamp_unchanged: for +hp: Nat for +maximum: Nat for +valid: {G.Bq.Nat.le(hp, maximum) == True{} : Bool} {Health.spec_clamp(hp, maximum) == hp : Nat} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Empty.absurd https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/game.bend&name=Bq.Bool.false_ne_true https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/game.bend&name=Bq.Nat.le https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.spec_clamp