Details

Time bar (total: 2.3s)

analyze6.0ms

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

sample29.0ms

Algorithm
intervals
Results
8.0ms133×body80valid
8.0ms59×body640valid
4.0ms31×body320valid
3.0ms18×body1280valid
1.0ms15×body160valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
088015
188015

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: 9.3b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.4b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l- associate-+l+
Counts
4 → 112
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
20.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
31.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series17.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
2.0ms
(/ 1.0 (+ x 1.0))
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049541594
149541594

prune188.0ms

Filtered
95 candidates to 124 candidates (-30.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1213124
Fresh000
Picked011
Done000
Total1214125

Merged error: 0.4b

Counts
125 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
0.0b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
0.0b
(* x (- (* x x) (* 1.0 1.0)))
18.5b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r/
20×flip3-- flip--
16×frac-add
14×add-sqr-sqrt
12×frac-times
10×*-un-lft-identity
flip3-+ flip-+
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r*
associate-*l/
associate-+r+
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative diff-log sum-log distribute-lft-out--
Counts
4 → 97
Calls
4 calls:
9.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

series17.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
6.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
7.0ms
(* x (- (* x x) (* 1.0 1.0)))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

simplify42.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
053002792

prune234.0ms

Filtered
88 candidates to 109 candidates (-23.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh022
Picked011
Done011
Total1094113

Merged error: 0.4b

Counts
113 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
2.4b
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
16.7b
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
24×add-sqr-sqrt
18×times-frac
16×add-cube-cbrt
11×add-exp-log add-cbrt-cube
add-log-exp
associate-/r* associate-/l*
pow1 associate-/r/ distribute-lft-out-- difference-of-squares
cbrt-undiv flip3-- div-exp flip--
frac-2neg flip3-+ div-sub associate-*r/ clear-num flip-+ div-inv associate-/l/
+-commutative associate-+l- sub-neg diff-log frac-add prod-exp sum-log cbrt-unprod distribute-lft-out
Counts
4 → 88
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
3.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
22.0ms
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
9.0ms
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

series21.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
049861357
149861357

prune140.0ms

Filtered
78 candidates to 100 candidates (-28.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1000100
Fresh011
Picked011
Done022
Total1004104

Merged error: 0.4b

Counts
104 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 2.0 (pow x 7)) (+ (/ 2.0 (pow x 5)) (/ 2.0 (pow x 3))))
0.1b
(/ 2.0 (pow x 5))
0.1b
(/ 2.0 (pow x 7))
0.4b
(/ 2.0 (pow x 3))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
87×times-frac
78×*-un-lft-identity
64×add-sqr-sqrt add-cube-cbrt
36×unpow-prod-down
26×associate-/r*
19×add-exp-log
12×cube-prod sqr-pow
11×distribute-lft-out
10×add-cbrt-cube
div-exp associate-/l* add-log-exp
div-inv
pow1 cube-mult unpow3 frac-add
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num sum-log
flip3-+ flip-+
+-commutative associate-+r+
Counts
4 → 177
Calls
4 calls:
59.0ms
(+ (/ 2.0 (pow x 7)) (+ (/ 2.0 (pow x 5)) (/ 2.0 (pow x 3))))
4.0ms
(/ 2.0 (pow x 5))
4.0ms
(/ 2.0 (pow x 7))
5.0ms
(/ 2.0 (pow x 3))

series19.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (/ 2.0 (pow x 7)) (+ (/ 2.0 (pow x 5)) (/ 2.0 (pow x 3))))
4.0ms
(/ 2.0 (pow x 5))
5.0ms
(/ 2.0 (pow x 7))
4.0ms
(/ 2.0 (pow x 3))

simplify38.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
052502070

prune327.0ms

Filtered
124 candidates to 189 candidates (-52.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1854189
Fresh000
Picked101
Done033
Total1867193

Merged error: 0.0b

Counts
193 → 7

regimes107.0ms

Accuracy

97% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 10.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114103
1114103

end0.0ms

sample734.0ms

Algorithm
intervals
Results
265.0ms1899×body640valid
147.0ms4116×body80valid
99.0ms573×body1280valid
97.0ms942×body320valid
33.0ms470×body160valid
0.0msbody80invalid

Profiling

Loading profile data...