Details

Time bar (total: 5.2s)

sample24.0ms

Algorithm
intervals
Results
13.0ms268×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.0b
(- (* y z) x)
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
7.8b
(/ (- (* y z) x) (- (* t z) x))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u div-sub associate-/r/ log1p-expm1-u associate-/l/
flip3-- fma-def flip3-+ prod-diff flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg fma-neg diff-log sum-log
Counts
4 → 113
Calls
4 calls:
16.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* y z) x)
57.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series280.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
21.0ms
(- (* y z) x)
117.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
58.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify64.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04551085
119871003
250011002

prune334.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.3b
(/ 1 (- (* t z) x))
0.5b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
7.8b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
37×add-sqr-sqrt
32×times-frac
30×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
flip3-- div-exp flip--
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
cbrt-undiv associate-*l* prod-diff div-inv unswap-sqr
frac-times rec-exp frac-2neg flip3-+ 1-exp associate-*l/ clear-num cbrt-unprod flip-+ associate-/l/
sub-neg pow-flip fma-neg diff-log associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 134
Calls
4 calls:
3.0ms
(- (* y z) x)
6.0ms
(/ 1 (- (* t z) x))
11.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
26.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (* y z) x)
24.0ms
(/ 1 (- (* t z) x))
123.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
61.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify83.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05121208
123991067
250011035

prune363.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.2b
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
0.5b
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
7.9b
(/ (- (* t z) x) (- (* y z) x))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
95×*-un-lft-identity
68×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
19×add-exp-log
16×distribute-lft-out
13×associate-/r/ add-cbrt-cube
12×div-inv
11×associate-/l*
div-exp
flip3-- flip--
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg prod-diff clear-num
rec-exp flip3-+ 1-exp flip-+
sub-neg pow-flip fma-neg diff-log div-sub inv-pow
Counts
4 → 185
Calls
4 calls:
3.0ms
(- (* y z) x)
13.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
89.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
14.0ms
(/ (- (* t z) x) (- (* y z) x))

series337.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (* y z) x)
92.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
155.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
63.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify106.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06762096
133311893
250021810

prune484.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (- (* y z) x))
0.3b
(/ 1 (- (* t z) x))
0.5b
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
7.6b
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
547×times-frac
274×*-un-lft-identity
254×add-sqr-sqrt add-cube-cbrt
71×associate-/r/
54×add-exp-log
37×div-exp
36×div-inv
34×flip3-- flip--
25×associate-/r* associate-/l*
22×add-cbrt-cube
11×cbrt-undiv
10×rec-exp 1-exp distribute-lft-out
pow1
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 401
Calls
4 calls:
6.0ms
(/ 1 (- (* y z) x))
6.0ms
(/ 1 (- (* t z) x))
246.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
22.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1 (- (* y z) x))
32.0ms
(/ 1 (- (* t z) x))
162.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
96.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

simplify105.0ms

Algorithm
egg-herbie
Counts
413 → 413
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
017205870
150015339

prune977.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.5b

regimes247.0ms

Accuracy

73.9% (1.8b remaining)

Error of 2.2b against oracle of 0.3b and baseline of 7.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03829
13829

end0.0ms

sample559.0ms

Algorithm
intervals
Results
334.0ms8332×body80valid