Details

Time bar (total: 3.2s)

sample42.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
8.0ms256×pre80false
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.6b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

simplify90.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0244328
1801315
23109310
35001310

prune67.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.6b

Counts
59 → 2

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

rewrite61.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:
31.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
5.0ms
(/ x0 (- 1.0 x1))
6.0ms
(/ x0 (- 1.0 x1))
14.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series61.0ms

Counts
4 → 12
Calls
4 calls:
35.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))

simplify61.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04791254
122181139
250021119

prune221.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: 6.1b

Counts
148 → 2

localize23.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.1b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
7.3b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
7.8b
(+ (/ x0 (- 1.0 x1)) (neg x0))

rewrite116.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:
29.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
50.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
14.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
14.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

series80.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
24.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
12.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
7.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

simplify107.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07642500
137102382
250012380

prune383.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.9b

Counts
165 → 2

localize24.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
6.1b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
6.9b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
7.3b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite86.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))
49.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))

series57.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ x0 (- 1.0 x1))
25.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
15.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
12.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify70.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05941716
122821652
250011652

prune373.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.8b

Counts
154 → 2

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

sample1.2s

Algorithm
intervals
Results
230.0ms8237×pre80false
218.0ms8000×pre80true
174.0ms8000×body80valid

Profiling

Loading profile data...