Details

Time bar (total: 5.8s)

sample25.0ms

Algorithm
intervals
Results
4.0ms256×body80valid
4.0ms244×pre80false
4.0ms256×pre80true

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.2b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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))
11.0ms
(- (/ x0 (- 1.0 x1)) x0)

series82.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ x0 (- 1.0 x1))
44.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify95.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0244328
1801315
23123310
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.1b

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

rewrite65.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:
34.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))

series313.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
36.0ms
(/ x0 (- 1.0 x1))
34.0ms
(/ x0 (- 1.0 x1))
67.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify61.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04591265
120781135
250011115

prune278.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: 5.8b

Counts
148 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
1.0b
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))
5.7b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))

rewrite215.0ms

Algorithm
rewrite-expression-head
Rules
487×add-sqr-sqrt
262×times-frac
200×difference-of-squares
194×sqrt-prod
191×associate-*r*
182×*-un-lft-identity
168×unpow-prod-down cube-prod
90×add-cube-cbrt
56×sqr-pow
44×distribute-lft-out--
13×add-exp-log add-cbrt-cube
10×associate-/r*
associate-/r/
pow1 associate-/l* add-log-exp
associate-*l*
difference-cubes flip3-+ associate-*l/ flip-+
cbrt-undiv flip3-- div-exp flip-- div-inv
frac-times frac-2neg sqrt-div frac-add prod-exp clear-num cbrt-unprod distribute-lft-out unswap-sqr
sub-neg diff-log associate-*r/ pow-prod-down *-commutative
Counts
4 → 360
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
121.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))
52.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))

series765.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ x0 (- 1.0 x1))
35.0ms
(/ x0 (- 1.0 x1))
578.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))
114.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))

simplify87.0ms

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010627081
150026848

prune642.0ms

Filtered
372 candidates to 163 candidates (43.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3702372
Fresh101
Picked101
Done000
Total3722374

Merged error: 4.9b

Counts
374 → 2

localize24.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
1.0b
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))
5.7b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
5.7b
(log (exp (* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))))

rewrite226.0ms

Algorithm
rewrite-expression-head
Rules
470×add-sqr-sqrt
247×times-frac
196×difference-of-squares
194×sqrt-prod
191×associate-*r*
168×unpow-prod-down cube-prod
165×*-un-lft-identity
81×add-cube-cbrt
56×sqr-pow
40×distribute-lft-out--
11×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-/r/
associate-*l* associate-/r*
difference-cubes flip3-+ associate-*l/ log-pow flip-+
log-prod associate-/l*
cbrt-undiv frac-times flip3-- exp-to-pow sqrt-div div-exp frac-add prod-exp flip-- cbrt-unprod div-inv distribute-lft-out unswap-sqr
sub-neg exp-prod frac-2neg diff-log associate-*r/ rem-log-exp pow-prod-down clear-num sum-log *-commutative
Counts
4 → 338
Calls
4 calls:
6.0ms
(/ x0 (- 1.0 x1))
125.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))
55.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
14.0ms
(log (exp (* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))))

series1.3s

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ x0 (- 1.0 x1))
588.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))
109.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
575.0ms
(log (exp (* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (/ (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))))))

simplify86.0ms

Algorithm
egg-herbie
Counts
350 → 350
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010887367
150027059

prune679.0ms

Filtered
350 candidates to 148 candidates (42.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3500350
Fresh011
Picked011
Done000
Total3502352

Merged error: 4.9b

Counts
352 → 2

regimes49.0ms

Accuracy

100% (0.0b remaining)

Error of 5.2b against oracle of 5.2b and baseline of 7.0b

bsearch39.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.018204597656249998

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03252
13252

end0.0ms

sample610.0ms

Algorithm
intervals
Results
128.0ms8000×body80valid
119.0ms8000×pre80true
119.0ms8050×pre80false