Details

Time bar (total: 3.9s)

sample21.0ms

Algorithm
intervals
Results
10.0ms266×body80valid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.1b

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

rewrite73.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:
2.0ms
(- (* y z) x)
3.0ms
(- (* t z) x)
55.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
10.0ms
(/ (- (* y z) x) (- (* t z) x))

series215.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- (* y z) x)
23.0ms
(- (* t z) x)
113.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
55.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

prune266.0ms

Filtered
109 candidates to 78 candidates (71.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.8b

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

rewrite121.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
(- (* t z) x)
11.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
90.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
10.0ms
(/ (- (* t z) x) (- (* y z) x))

series305.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (* t z) x)
80.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
142.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
60.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify82.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06332024
129171860
250021781

prune366.0ms

Filtered
185 candidates to 104 candidates (56.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.8b

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

rewrite97.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:
2.0ms
(- (* y z) x)
3.0ms
(- (* t z) x)
78.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series212.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0516967
12245878
25001862

prune283.0ms

Filtered
114 candidates to 80 candidates (70.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.8b

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

rewrite11.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:
2.0ms
(cbrt (- (* y z) x))
2.0ms
(cbrt (- (* t z) x))
2.0ms
(cbrt (- (* t z) x))
2.0ms
(cbrt (- (* t z) x))

series461.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(cbrt (- (* y z) x))
114.0ms
(cbrt (- (* t z) x))
121.0ms
(cbrt (- (* t z) x))
111.0ms
(cbrt (- (* t z) x))

simplify100.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (94.0ms)

IterNodesCost
0245464
1599436
21585412
33798408
45001404

prune301.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 1.8b

regimes225.0ms

Accuracy

73% (1.9b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03829
13829

end0.0ms

sample571.0ms

Algorithm
intervals
Results
338.0ms8339×body80valid