Details

Time bar (total: 2.1s)

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

sample24.0ms

Algorithm
intervals
Results
7.0ms47×body1280valid
5.0ms45×body640valid
4.0ms130×body80valid
2.0ms23×body320valid
1.0ms11×body160valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.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: 29.0b

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))
2.4b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite51.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))
34.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)))

simplify63.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049551404
149551404

prune184.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1093112
Fresh000
Picked101
Done000
Total1103113

Merged error: 0.2b

Counts
113 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
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)))
16.7b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
35×*-un-lft-identity
32×frac-sub
30×flip3-+ flip-+
25×add-sqr-sqrt
20×frac-times flip3-- flip--
19×add-cube-cbrt
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
distribute-rgt-in distribute-lft-in associate-/r*
associate-/l*
pow-prod-down prod-exp associate--l+ associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 147
Calls
4 calls:
6.0ms
(* x (- x 1.0))
9.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)))
9.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series18.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x (- x 1.0))
2.0ms
(* (+ x 1.0) (+ x 1.0))
7.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)))

simplify53.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
053093115

prune305.0ms

Filtered
114 candidates to 159 candidates (-39.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1572159
Fresh022
Picked101
Done000
Total1584162

Merged error: 0b

Counts
162 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (+ x 1.0))
0.0b
(- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0))
1.5b
(- x (+ 1.0 (+ x 1.0)))
13.7b
(/ (- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite48.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:
8.0ms
(+ 1.0 (+ x 1.0))
12.0ms
(- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0))
8.0ms
(- x (+ 1.0 (+ x 1.0)))
17.0ms
(/ (- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 1.0)) (- (* x x) (* 1.0 1.0)))

series11.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (+ x 1.0))
4.0ms
(- (* x (- x (+ 1.0 (+ x 1.0)))) (* (+ x 1.0) 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)))

simplify71.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049412117
149412117

prune171.0ms

Filtered
79 candidates to 102 candidates (-29.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh033
Picked011
Done000
Total1024106

Merged error: 0b

Counts
106 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (* x (+ (* x 1.0) 3.0)))
0.0b
(* x (+ (* x 1.0) 3.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls
2 calls:
3.0ms
(+ 1.0 (* x (+ (* x 1.0) 3.0)))
6.0ms
(* x (+ (* x 1.0) 3.0))

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ 1.0 (* x (+ (* x 1.0) 3.0)))
6.0ms
(* x (+ (* x 1.0) 3.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04999411
14999411

prune42.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh022
Picked011
Done011
Total41445

Merged error: 0b

Counts
45 → 4

regimes41.0ms

Accuracy

100% (0.0b remaining)

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

bsearch36.0ms

Steps
ItersRangePoint
10
2.0152362568064248e-08
104912728.60688464
268163.1256190682
11
-6.948150448154976e+41
-204373392765662.97
-10771490727067154.0

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
014048
114048

end0.0ms

sample698.0ms

Algorithm
intervals
Results
250.0ms1660×body1280valid
144.0ms1227×body640valid
132.0ms4172×body80valid
55.0ms623×body320valid
21.0ms318×body160valid

Profiling

Loading profile data...