Documentation

Projects.Esolangs.AxOrThm.Programs.Monoid

Equations
Instances For
    @[simp]
    @[simp]
    instance Esolangs.AxOrThm.instFunMonoidOfNatNat {mul e : String} [h_mul_e : Fact (mul ≠ e)] :
    (Signature.monoid mul e).Fun mul 2
    @[simp]
    theorem Esolangs.AxOrThm.Stat.wf_identity {mul e : String} {sign : Signature} [h_mul : sign.Fun mul 2] [h_e : sign.Fun e 0] {d : ℕ} :
    WF sign (identity mul e d)
    @[simp]
    theorem Esolangs.AxOrThm.Stat.depth_identity {mul e : String} {d : ℕ} :
    (identity mul e d).depth = d
    @[simp]
    instance Esolangs.AxOrThm.Prog.wf'_monoid {mul e : String} [h_mul_e : Fact (mul ≠ e)] :
    (monoid mul e).WF'
    @[simp]
    theorem Esolangs.AxOrThm.Stat.eval_identity {mul e : String} {d : ℕ} {m : ModelRaw} {args : List Type} :
    eval m args (identity mul e d) ↔ have f := Map.get! mul m.funs; have e₁ := Map.get! e m.funs []; ∀ a ∈ m.set, f [a, e₁] = a ∧ f [e₁, a] = a