Details

Time bar (total: 3.8s)

sample24.0ms

Algorithm
intervals
Results
12.0ms266×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 flip3-- associate-/r/ flip-- associate-/l/
div-sub
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv
associate-+r-
Counts
4 → 97
Calls
4 calls:
4.0ms
(- (* y z) x)
4.0ms
(- (* t z) x)
15.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series218.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- (* y z) x)
23.0ms
(- (* t z) x)
114.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
57.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0399950
11413884
25001882

prune265.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.8b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.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:
4.0ms
(- (* t z) x)
11.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
26.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
9.0ms
(/ (- (* t z) x) (- (* y z) x))

series314.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06332024
129171860
250021781

prune373.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(- (* t z) x)
0.6b
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
11.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
28×add-sqr-sqrt
23×times-frac
21×add-cube-cbrt
18×associate-*r*
15×add-exp-log
11×add-cbrt-cube
add-log-exp
pow1
flip3-- associate-*l* prod-exp associate-/r/ flip-- distribute-lft-out
flip3-+ div-exp associate-/r* flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times sub-neg diff-log associate-*l/ cbrt-unprod div-inv associate-/l/
rec-exp frac-2neg 1-exp div-sub associate-*r/ pow-prod-down clear-num un-div-inv *-commutative
Counts
4 → 102
Calls
4 calls:
4.0ms
(- (* y z) x)
4.0ms
(- (* t z) x)
19.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series223.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(- (* y z) x)
23.0ms
(- (* t z) x)
117.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
57.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify60.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0516967
12245878
25001862

prune297.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.8b

localize23.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (- (* y z) x))
9.3b
(cbrt (- (* t z) x))
9.3b
(cbrt (- (* t z) x))
9.3b
(cbrt (- (* t z) x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-- pow1/3 add-cbrt-cube flip-- add-log-exp
Counts
4 → 52
Calls
4 calls:
4.0ms
(cbrt (- (* y z) x))
4.0ms
(cbrt (- (* t z) x))
4.0ms
(cbrt (- (* t z) x))
4.0ms
(cbrt (- (* t z) x))

series479.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(cbrt (- (* y z) x))
118.0ms
(cbrt (- (* t z) x))
117.0ms
(cbrt (- (* t z) x))
126.0ms
(cbrt (- (* t z) x))

simplify106.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (95.0ms)

IterNodesCost
0245464
1599436
21585412
33798408
45001404

prune303.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 1.8b

regimes212.0ms

Accuracy

73% (1.9b remaining)

Error of 2.7b against oracle of 0.8b and baseline of 7.7b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03829
13829

end0.0ms

sample536.0ms

Algorithm
intervals
Results
324.0ms8339×body80valid