Equations
- Aesop.instInhabitedPercent = { default := { toFloat := default } }
Equations
Instances For
Equations
- Aesop.Percent.instMulPercent = { mul := fun (p q : Aesop.Percent) => { toFloat := p.toFloat * q.toFloat } }
Equations
- One or more equations did not get rendered due to their size.
Equations
- Aesop.Percent.instOrdPercent = { compare := fun (p q : Aesop.Percent) => if (p == q) = true then Ordering.eq else if p.toFloat < q.toFloat then Ordering.lt else Ordering.gt }
Equations
- Aesop.Percent.instLTPercent = ltOfOrd
Equations
- Aesop.Percent.instLEPercent = leOfOrd
Equations
- Aesop.Percent.instToStringPercent = { toString := fun (p : Aesop.Percent) => toString p.toFloat }
Equations
- Aesop.Percent.instHPowPercentNat = { hPow := fun (x : Aesop.Percent) (x_1 : Nat) => match x, x_1 with | { toFloat := p }, n => { toFloat := p ^ Nat.toFloat n } }
Equations
- Aesop.Percent.hundred = { toFloat := 1 }
Instances For
Equations
- Aesop.Percent.fifty = { toFloat := 0.5 }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.Percent.ofNat n = Aesop.Percent.ofFloat (Nat.toFloat n / 100)