Details

Time bar (total: 2.5s)

analyze3.0ms

Algorithm
search

sample22.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
7.0ms256×pre80true

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
5.0ms
(/ x0 (- 1.0 x1))
10.0ms
(- (/ x0 (- 1.0 x1)) x0)

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ x0 (- 1.0 x1))
7.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify91.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0244328
1801315
23109310
35001310

prune64.0ms

Filtered
44 candidates to 58 candidates (-31.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 7.3b

Counts
59 → 2

localize9.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.1b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite59.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:
29.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))
15.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series58.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
8.0ms
(/ x0 (- 1.0 x1))
6.0ms
(/ x0 (- 1.0 x1))
12.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify63.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04791254
122181139
250021119

prune213.0ms

Filtered
106 candidates to 146 candidates (-37.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1442146
Fresh101
Picked101
Done000
Total1462148

Merged error: 5.9b

Counts
148 → 2

localize27.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)))
5.9b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
7.1b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
7.5b
(+ (/ x0 (- 1.0 x1)) (neg x0))

rewrite110.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:
28.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
47.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
13.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
15.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

series78.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
23.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
11.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
10.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

simplify109.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07642500
137102382
250012380

prune365.0ms

Filtered
91 candidates to 163 candidates (-79.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1621163
Fresh011
Picked101
Done000
Total1632165

Merged error: 4.7b

Counts
165 → 2

localize29.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
5.9b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
6.7b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
7.1b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite84.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))
48.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
11.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
14.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series55.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
27.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
12.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
11.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify75.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05941716
122821652
250011652

prune370.0ms

Filtered
87 candidates to 152 candidates (-74.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1511152
Fresh011
Picked101
Done000
Total1522154

Merged error: 4.7b

Counts
154 → 2

regimes87.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

analyze2.0ms

Algorithm
search

sample437.0ms

Algorithm
intervals
Results
201.0ms8000×pre80true
160.0ms8000×body80valid

Profiling

Loading profile data...