Details

Time bar (total: 4.1s)

sample21.0ms

Algorithm
intervals
Results
10.0ms271×body80valid

simplify43.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: 7.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(- (* t z) x)
0.3b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite32.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)
14.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
8.0ms
(/ (- (* y z) x) (- (* t z) x))

series214.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(- (* y z) x)
26.0ms
(- (* t z) x)
112.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
55.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify42.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0399950
11413884
25001882

prune262.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 1.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* t z) x)
0.2b
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
0.3b
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
9.2b
(/ (- (* 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))

series491.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (* t z) x)
83.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
144.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
241.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify81.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06332024
129171860
250021781

prune383.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 1.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (+ x 1.0) (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))))
0.2b
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
0.3b
(/ (+ x 1.0) (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))))
9.2b
(/ (- (* t z) x) (- (* y z) x))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
268×times-frac
249×*-un-lft-identity
134×add-sqr-sqrt add-cube-cbrt
68×distribute-lft-out
49×associate-/r*
33×div-inv
30×add-exp-log
22×associate-/r/
18×add-cbrt-cube
16×div-exp
13×associate-/l*
cbrt-undiv
pow1 flip3-- flip3-+ flip-- flip-+
rec-exp frac-2neg 1-exp clear-num associate-/l/ add-log-exp
pow-flip inv-pow
div-sub
Counts
4 → 289
Calls
4 calls:
28.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))))
11.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
22.0ms
(/ (+ x 1.0) (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))))
9.0ms
(/ (- (* t z) x) (- (* y z) x))

series383.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))))
84.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
93.0ms
(/ (+ x 1.0) (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))))
63.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify112.0ms

Algorithm
egg-herbie
Counts
301 → 301
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
08524132
143023586
250013580

prune500.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 1.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
4.0ms
(- (* t z) x)
7.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
6.0ms
(/ 1 (- (* t z) x))
13.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series224.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04681138
121091017
25003986

prune305.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 1.0b

regimes215.0ms

Accuracy

67.8% (2.1b remaining)

Error of 3.1b against oracle of 1.0b and baseline of 7.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03028
13028

end0.0ms

sample535.0ms

Algorithm
intervals
Results
317.0ms8304×body80valid