Details

Time bar (total: 3.9s)

sample29.0ms

Algorithm
intervals
Results
7.0ms256×pre80true
5.0ms222×pre80false
5.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.7b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
7.9b
(- (/ x0 (- 1.0 x1)) x0)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
16×times-frac
12×add-cube-cbrt
difference-of-squares
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
9.0ms
(/ x0 (- 1.0 x1))
11.0ms
(- (/ x0 (- 1.0 x1)) x0)

series77.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(/ x0 (- 1.0 x1))
43.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify97.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23109310
35001310

prune83.0ms

Filtered
58 candidates to 44 candidates (75.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 7.7b

Counts
59 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
1.0b
(/ x0 (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
7.4b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
54×*-un-lft-identity
34×times-frac
26×add-cube-cbrt
20×sqrt-prod difference-of-squares
12×distribute-lft-out--
11×associate-*r*
10×add-exp-log associate-/r* add-cbrt-cube
pow1 flip3-- flip-- associate-/l* add-log-exp
associate-*l*
frac-times associate-/r/
sub-neg flip3-+ flip-+
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in associate-*r/ div-exp associate-*l/ clear-num div-inv distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 134
Calls
4 calls:
37.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
16.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series309.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
33.0ms
(/ x0 (- 1.0 x1))
34.0ms
(/ x0 (- 1.0 x1))
69.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify64.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04591265
120781135
250021115

prune285.0ms

Filtered
146 candidates to 104 candidates (71.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1442146
Fresh101
Picked101
Done000
Total1462148

Merged error: 6.2b

Counts
148 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
6.2b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
7.4b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
7.9b
(+ (/ x0 (- 1.0 x1)) (neg x0))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
130×add-sqr-sqrt
66×sqrt-prod
60×difference-of-squares
42×unpow-prod-down cube-prod
36×*-un-lft-identity
16×times-frac
14×sqr-pow
13×distribute-lft-out--
12×add-log-exp
11×associate-*r*
10×associate-*l/
frac-times
flip3-- flip3-+ flip-- flip-+
pow1 add-exp-log add-cube-cbrt sqrt-div frac-add add-cbrt-cube
sub-neg
associate-*l*
distribute-rgt-in distribute-lft-in diff-log associate-*r/ sum-log distribute-lft-out
difference-cubes +-commutative neg-sub0 associate-+r- distribute-rgt-neg-in unsub-neg pow-prod-down neg-log prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 151
Calls
4 calls:
31.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
52.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
18.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
15.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

series487.0ms

Counts
4 → 12
Calls
4 calls:
268.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
113.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
61.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
45.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

simplify106.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07812534
136562391
250022389

prune380.0ms

Filtered
163 candidates to 89 candidates (54.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1621163
Fresh011
Picked101
Done000
Total1632165

Merged error: 4.9b

Counts
165 → 2

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
6.2b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
7.0b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
7.4b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
130×add-sqr-sqrt
59×difference-of-squares
57×sqrt-prod
44×*-un-lft-identity
42×unpow-prod-down cube-prod
29×times-frac
15×distribute-lft-out--
14×add-cube-cbrt sqr-pow
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 flip3-- flip--
sub-neg diff-log associate-/l*
associate-/r/
difference-cubes cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 140
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
52.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
12.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
19.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series283.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x0 (- 1.0 x1))
113.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
74.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
63.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify68.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05691717
121241637
250011636

prune409.0ms

Filtered
152 candidates to 86 candidates (56.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1511152
Fresh011
Picked101
Done000
Total1522154

Merged error: 4.9b

Counts
154 → 2

regimes39.0ms

Accuracy

0% (0.8b remaining)

Error of 5.5b against oracle of 4.7b and baseline of 5.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03143
13343
23343

end0.0ms

sample781.0ms

Algorithm
intervals
Results
204.0ms8114×pre80false
194.0ms8000×pre80true
138.0ms8000×body80valid

Profiling

Loading profile data...