Details

Time bar (total: 4.5s)

sample26.0ms

Algorithm
intervals
Results
14.0ms268×body80valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
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))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 div-sub associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 98
Calls
4 calls:
17.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* y z) x)
58.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series276.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
20.0ms
(- (* y z) x)
116.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
59.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify44.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04001011
11421948
25001947

prune262.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize15.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)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
36×add-sqr-sqrt
32×times-frac
29×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--
prod-exp distribute-lft-out
cbrt-undiv associate-*l* 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 diff-log associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 122
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))
23.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series214.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04591138
120731017
25002986

prune287.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.5b

localize12.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
94×*-un-lft-identity
67×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
associate-/l/
frac-2neg clear-num
rec-exp flip3-+ 1-exp flip-+
sub-neg pow-flip diff-log div-sub inv-pow
Counts
4 → 173
Calls
4 calls:
3.0ms
(- (* y z) x)
12.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
93.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
11.0ms
(/ (- (* t z) x) (- (* y z) x))

series316.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (* y z) x)
81.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
152.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
62.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify73.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06232024
128651860
250011781

prune345.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.5b

localize13.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)))

rewrite302.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
frac-2neg clear-num add-log-exp
associate-/l/
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 393
Calls
4 calls:
6.0ms
(/ 1 (- (* y z) x))
6.0ms
(/ 1 (- (* t z) x))
239.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
26.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

series279.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
405 → 405
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
016985909
150015384

prune801.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.5b

regimes231.0ms

Accuracy

81% (1.2b remaining)

Error of 2.1b against oracle of 0.9b and baseline of 7.3b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03028
13028

end0.0ms

sample525.0ms

Algorithm
intervals
Results
319.0ms8332×body80valid