Details

Time bar (total: 1.5s)

analyze3.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1

sample17.0ms

Algorithm
intervals
Results
7.0ms256×pre80true
5.0ms256×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
06347
16347

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.3b

Counts
2 → 1

localize5.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 → 51
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))
6.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05110586

prune65.0ms

Filtered
44 candidates to 57 candidates (-29.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New55257
Fresh000
Picked101
Done000
Total56258

Merged error: 6.7b

Counts
58 → 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)

rewrite43.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*
associate-*r/ associate-*l/ associate-/r/
cbrt-undiv +-commutative pow2 distribute-rgt-in frac-2neg distribute-lft-in 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 → 106
Calls
4 calls:
9.0ms
(+ x0 (/ x0 (- 1.0 x1)))
9.0ms
(* (- 1.0 x1) (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
16.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)

simplify44.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049611202
149611202

prune145.0ms

Filtered
82 candidates to 118 candidates (-43.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1162118
Fresh101
Picked101
Done000
Total1182120

Merged error: 5.2b

Counts
120 → 2

localize15.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)

rewrite32.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*
associate-*r/ associate-/r/
cbrt-undiv +-commutative distribute-rgt-in frac-2neg distribute-lft-in 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 → 87
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)

simplify50.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049821016
149821016

prune120.0ms

Filtered
73 candidates to 99 candidates (-35.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New97299
Fresh101
Picked101
Done000
Total992101

Merged error: 4.2b

Counts
101 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x0 (/ x0 (- 1.0 x1)))
1.0b
(/ x0 (- 1.0 x1))
4.8b
(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 associate-/r*
log-prod
associate-/l*
sub-neg flip3-- associate-/r/ flip--
cbrt-undiv +-commutative log-div frac-2neg flip3-+ exp-diff diff-log div-exp rem-log-exp exp-sum clear-num sum-log flip-+ div-inv distribute-lft-out
Counts
4 → 83
Calls
4 calls:
11.0ms
(+ x0 (/ x0 (- 1.0 x1)))
5.0ms
(/ x0 (- 1.0 x1))
9.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
9.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

series45.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049911142
149911142

prune141.0ms

Filtered
74 candidates to 95 candidates (-28.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New93295
Fresh101
Picked101
Done000
Total95297

Merged error: 3.2b

Counts
97 → 2

regimes56.0ms

Accuracy

100% (0.0b remaining)

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

bsearch10.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06470
16470

end0.0ms

sample454.0ms

Algorithm
intervals
Results
208.0ms8000×pre80true
161.0ms8000×body80valid

Profiling

Loading profile data...