Details

Time bar (total: 1.7s)

analyze3.0ms

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

sample16.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
167

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

localize4.0ms

Local error

Found 2 expressions with local error:

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

simplify63.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04976589
14976589

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

Counts
58 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

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

series44.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049431609
149431609

prune160.0ms

Filtered
92 candidates to 133 candidates (-44.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1312133
Fresh101
Picked101
Done000
Total1332135

Merged error: 5.3b

Counts
135 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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

series56.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
061381521

prune135.0ms

Filtered
83 candidates to 114 candidates (-37.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1122114
Fresh101
Picked101
Done000
Total1142116

Merged error: 4.4b

Counts
116 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* x1 (- x1 2.0))
1.0b
(/ x0 (- 1.0 x1))
5.0b
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
6.1b
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
32×*-un-lft-identity
18×add-cube-cbrt
17×times-frac
difference-of-squares
add-exp-log add-cbrt-cube
pow1 log-pow distribute-lft-out--
exp-prod add-log-exp
associate-*r* associate-/r*
sub-neg log-prod
flip3-- associate-*l* flip-- associate-/l*
associate-*r/ associate-/r/
cbrt-undiv distribute-rgt-in log-div frac-2neg distribute-lft-in exp-diff diff-log div-exp rem-log-exp exp-sum pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 95
Calls
4 calls:
7.0ms
(* x1 (- x1 2.0))
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)

series46.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
053061153

prune149.0ms

Filtered
79 candidates to 107 candidates (-35.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1052107
Fresh101
Picked101
Done000
Total1072109

Merged error: 3.4b

Counts
109 → 2

regimes57.0ms

Accuracy

100% (0.0b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.0003777387084960937

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03970
13970

end0.0ms

analyze2.0ms

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

sample439.0ms

Algorithm
intervals
Results
205.0ms8000×pre80true
157.0ms8000×body80valid

Profiling

Loading profile data...