Details

Time bar (total: 2.2s)

sample41.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
06347
16347

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.2b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
7.4b
(- (/ 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))
11.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)

simplify42.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05110588

prune62.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: 6.6b

Counts
59 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x0 (/ x0 (- 1.0 x1)))
0.5b
(* (- 1.0 x1) (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
5.9b
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
40×add-sqr-sqrt
18×add-cube-cbrt
16×times-frac
11×pow1 distribute-lft-out--
10×difference-of-squares
add-exp-log flip3-- add-cbrt-cube flip-- add-log-exp
swap-sqr
associate-*r* associate-*l* associate-/r*
frac-times
sub-neg associate-/l*
distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ associate-/r/
cbrt-undiv +-commutative pow2 frac-2neg flip3-+ pow-plus diff-log div-exp pow-prod-down prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ div-inv distribute-lft-out unswap-sqr
Counts
4 → 109
Calls
4 calls:
9.0ms
(+ x0 (/ x0 (- 1.0 x1)))
9.0ms
(* (- 1.0 x1) (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
14.0ms
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

series26.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ x0 (/ x0 (- 1.0 x1)))
2.0ms
(* (- 1.0 x1) (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
12.0ms
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

simplify46.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049611224
149611224

prune143.0ms

Filtered
82 candidates to 121 candidates (-47.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1192121
Fresh101
Picked101
Done000
Total1212123

Merged error: 5.2b

Counts
123 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* x1 (- x1 2.0))
0.5b
(+ x0 (/ x0 (- 1.0 x1)))
1.0b
(/ x0 (- 1.0 x1))
5.9b
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
30×*-un-lft-identity
16×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube add-log-exp
difference-of-squares
pow1 distribute-lft-out--
associate-*r* associate-/r*
sub-neg flip3-- associate-*l* flip-- associate-/l*
distribute-rgt-in distribute-lft-in associate-*r/ associate-/r/
cbrt-undiv +-commutative frac-2neg flip3-+ diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod flip-+ div-inv distribute-lft-out unswap-sqr
Counts
4 → 90
Calls
4 calls:
6.0ms
(* x1 (- x1 2.0))
9.0ms
(+ x0 (/ x0 (- 1.0 x1)))
5.0ms
(/ x0 (- 1.0 x1))
9.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x1 (- x1 2.0))
6.0ms
(+ x0 (/ x0 (- 1.0 x1)))
5.0ms
(/ x0 (- 1.0 x1))
17.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049821032
149821032

prune116.0ms

Filtered
73 candidates to 102 candidates (-39.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1002102
Fresh101
Picked101
Done000
Total1022104

Merged error: 4.2b

Counts
104 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x0 (/ x0 (- 1.0 x1)))
1.0b
(/ x0 (- 1.0 x1))
4.7b
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
5.9b
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
30×*-un-lft-identity
17×times-frac
16×add-cube-cbrt
add-log-exp difference-of-squares
log-pow
add-exp-log exp-prod add-cbrt-cube distribute-lft-out--
pow1 log-prod associate-/r*
associate-/l*
sub-neg flip3-- exp-sum associate-/r/ flip--
cbrt-undiv +-commutative log-div frac-2neg flip3-+ exp-diff diff-log div-exp rem-log-exp clear-num sum-log flip-+ div-inv distribute-lft-out
Counts
4 → 85
Calls
4 calls:
9.0ms
(+ x0 (/ x0 (- 1.0 x1)))
5.0ms
(/ x0 (- 1.0 x1))
12.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
9.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

series48.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ x0 (/ x0 (- 1.0 x1)))
6.0ms
(/ x0 (- 1.0 x1))
18.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
18.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049911155
149911155

prune138.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh101
Picked101
Done000
Total97299

Merged error: 3.2b

Counts
99 → 2

regimes56.0ms

Accuracy

100% (0.0b remaining)

Error of 3.3b against oracle of 3.3b and baseline of 4.5b

bsearch12.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.0006625985107421874

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06470
16470

end0.0ms

sample1.1s

Algorithm
intervals
Results
213.0ms8060×pre80false
208.0ms8000×pre80true
166.0ms8000×body80valid

Profiling

Loading profile data...