Details

Time bar (total: 2.4s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14

sample25.0ms

Algorithm
intervals
Results
8.0ms51×body1280valid
5.0ms42×body640valid
4.0ms134×body80valid
2.0ms21×body320valid
0.0msbody160valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
0100113
1100113

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.8b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
3.2b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 103
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
33.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ x (+ x 1.0))
3.0ms
(/ (+ x 1.0) (- x 1.0))
8.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049551404
149551404

prune185.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1075112
Fresh000
Picked101
Done000
Total1085113

Merged error: 0.2b

Counts
113 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
0.0b
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
3.2b
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
153×*-un-lft-identity
136×add-sqr-sqrt
111×times-frac
70×cbrt-prod
57×add-cube-cbrt
56×unpow-prod-down cube-prod
35×difference-of-squares
26×distribute-lft-out
22×distribute-lft-out--
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-- flip-- add-log-exp
pow1 associate-/r* div-inv
associate-/l* sqr-pow
cube-div pow-unpow
cbrt-undiv cube-mult cbrt-div unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt
pow-to-exp sub-neg pow-pow frac-2neg flip3-+ pow1/3 diff-log clear-num frac-sub rem-cbrt-cube flip-+
Counts
4 → 212
Calls
4 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
10.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
11.0ms
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
60.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
3.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
4.0ms
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
13.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

simplify65.0ms

Algorithm
egg-herbie
Counts
224 → 224
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
051723350

prune242.0ms

Filtered
107 candidates to 224 candidates (-109.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2231224
Fresh044
Picked011
Done000
Total2236229

Merged error: 0.1b

Counts
229 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) (+ x 1.0))
0.0b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
17.5b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*r/
32×frac-sub
30×*-un-lft-identity flip3-+ flip-+
20×frac-times
19×flip3-- flip--
18×add-sqr-sqrt associate-/l/
16×add-cube-cbrt
12×times-frac
10×pow1 associate-*l/
add-exp-log add-cbrt-cube
swap-sqr distribute-lft-out
add-log-exp
associate-*r* associate-*l* associate-/r* difference-of-squares
distribute-rgt-in sub-neg distribute-lft-in associate-/l*
associate--l+ associate-/r/ associate--r+
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
3 → 123
Calls
3 calls:
8.0ms
(* (+ x 1.0) (+ x 1.0))
14.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
8.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series10.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(* (+ x 1.0) (+ x 1.0))
4.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
4.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049762831
149762831

prune256.0ms

Filtered
96 candidates to 132 candidates (-37.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1311132
Fresh224
Picked101
Done011
Total1344138

Merged error: 0.0b

Counts
138 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0))
0.0b
(+ 1.0 (+ x 1.0))
2.6b
(- x (+ 1.0 (+ x 1.0)))
13.6b
(/ (- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
20×add-log-exp
15×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
flip3-- associate-*r/ associate-*l/ frac-sub flip--
add-exp-log sum-log add-cbrt-cube associate-/l/ distribute-lft-out
flip3-+ flip-+ difference-of-squares
pow1 sub-neg diff-log associate-/r*
associate-/l* distribute-lft-out--
associate--l+ associate-/r/
cbrt-undiv +-commutative distribute-rgt-in associate-+r+ frac-2neg distribute-lft-in div-sub div-exp clear-num div-inv associate--r+
Counts
4 → 90
Calls
4 calls:
13.0ms
(- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0))
6.0ms
(+ 1.0 (+ x 1.0))
9.0ms
(- x (+ 1.0 (+ x 1.0)))
18.0ms
(/ (- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0)) (- (* x x) (* 1.0 1.0)))

series16.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0))
4.0ms
(+ 1.0 (+ x 1.0))
1.0ms
(- x (+ 1.0 (+ x 1.0)))
4.0ms
(/ (- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify100.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
049412117
149412117

prune190.0ms

Filtered
80 candidates to 102 candidates (-27.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1011102
Fresh022
Picked011
Done011
Total1015106

Merged error: 0b

Counts
106 → 5

regimes50.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 26.9b

bsearch31.0ms

Steps
ItersRangePoint
10
1439.0534948917962
65581373968725.24
327277.68337714666
9
-1083254718424.8171
-5357.228355614117
-457821843.99172604

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
014048
114048

end0.0ms

sample733.0ms

Algorithm
intervals
Results
264.0ms1696×body1280valid
155.0ms1258×body640valid
133.0ms4066×body80valid
64.0ms639×body320valid
21.0ms341×body160valid

Profiling

Loading profile data...