Growth.Growth.health_preserved: law of gralha-bendquest@0.1.0.0 Import: import gralha-bendquest@0.1.0.0/growth.bend as Growth Lines 139-150 of gralha-bendquest@0.1.0.0/growth.bend: https://jend.leeeet.dev/read.txt?path=gralha-bendquest@0.1.0.0/growth.bend&start_line=139&end_line=150 import Base import gralha-bendquest@0.1.0.0/game.bend as G law Growth.health_preserved: for +hp: U32 for +level0: Nat for +level1: Nat for +vit0: Nat for +vit1: Nat for +bonus: U32 for +ceiling: U32 for +valid: {G.Bq.Nat.le(U32.to_nat(hp), U32.to_nat(Growth.maximum(level0, vit0, bonus, ceiling))) == True{} : Bool} for +levels: {G.Bq.Nat.le(level0, level1) == True{} : Bool} for +vitalities: {G.Bq.Nat.le(vit0, vit1) == True{} : Bool} {G.Bq.Nat.le(U32.to_nat(hp), U32.to_nat(Growth.maximum(level1, vit1, bonus, ceiling))) == True{} : Bool} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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/growth.bend&name=Growth.maximum https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/growth.bend&name=Growth.maximum_monotone https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.le_trans