Health.Health.hurt_word_preserves_bound: law of gralha-bendquest@0.1.0.0 Import: import gralha-bendquest@0.1.0.0/health.bend as Health Lines 399-404 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=399&end_line=404 import Base import gralha-bendquest@0.1.0.0/game.bend as G law Health.hurt_word_preserves_bound: for +hp: U32 for +damage: U32 for +maximum: U32 for +valid: {G.Bq.Nat.le(U32.to_nat(hp), U32.to_nat(maximum)) == True{} : Bool} {G.Bq.Nat.le(U32.to_nat(Health.hurt_word(hp, damage)), U32.to_nat(maximum)) == True{} : Bool} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat 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.hurt https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.hurt_preserves_bound https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.hurt_word https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.hurt_word_exact