Equations
- Aesop.instInhabitedPercent = { default := { toFloat := default } }
Equations
Instances For
Equations
- Aesop.Percent.instMul = { 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.instOrd = { 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.instToString = { toString := fun (p : Aesop.Percent) => toString p.toFloat }
Equations
- Aesop.Percent.instHPowNat = { hPow := fun (x : Aesop.Percent) (x_1 : Nat) => match x, x_1 with | { toFloat := p }, n => { toFloat := p ^ n.toFloat } }
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 (n.toFloat / 100)