Details

Time bar (total: 3.5s)

analyze6.0ms

Algorithm
search

sample26.0ms

Algorithm
intervals
Results
9.0ms65×body640valid
5.0ms128×body80valid
4.0ms37×body320valid
3.0ms16×body1280valid
1.0ms10×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.9b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.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 associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
17.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
35.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series22.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune199.0ms

Filtered
92 candidates to 126 candidates (-37.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1233126
Fresh000
Picked101
Done000
Total1243127

Merged error: 0.1b

Counts
127 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))
0.2b
(* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)))
2.1b
(- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
13.3b
(/ (- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
340×*-un-lft-identity
225×times-frac
176×add-sqr-sqrt
150×frac-sub
101×distribute-lft-out--
94×frac-times
65×add-cube-cbrt
64×flip3-- flip--
52×associate-*r/ associate-*l/
51×difference-of-squares
47×associate-/l/
41×swap-sqr
31×associate-*r* associate-*l*
20×add-exp-log add-cbrt-cube
18×pow1
16×distribute-lft-out
13×associate-/r/
11×associate-/r*
add-log-exp
cbrt-undiv sub-neg div-exp prod-exp cbrt-unprod div-inv unswap-sqr
distribute-rgt-in distribute-lft-in associate--l+ associate-/l*
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
frac-2neg diff-log div-sub clear-num
Counts
4 → 352
Calls
4 calls:
19.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))
38.0ms
(* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)))
42.0ms
(- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
78.0ms
(/ (- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))

series45.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
364 → 364
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
017807719
150017418

prune1.3s

Filtered
222 candidates to 364 candidates (-64.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3631364
Fresh022
Picked011
Done000
Total3634367

Merged error: 0.1b

Counts
367 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series18.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07511323
144271240
250031240

prune231.0ms

Filtered
82 candidates to 117 candidates (-42.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1161117
Fresh022
Picked101
Done011
Total1174121

Merged error: 0.1b

Counts
121 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
0.1b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×associate-*l/
12×add-sqr-sqrt *-un-lft-identity
10×pow1
frac-times add-cube-cbrt associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv times-frac div-exp associate-/l* add-log-exp
distribute-rgt-in sub-neg distribute-lft-in *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
6.0ms
(* (+ x 1.0) x)
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
11.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series19.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0430600
12219516
25002515

prune102.0ms

Filtered
62 candidates to 93 candidates (-50.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New91293
Fresh112
Picked101
Done101
Total94397

Merged error: 0b

Counts
97 → 3

regimes30.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

analyze6.0ms

Algorithm
search

sample730.0ms

Algorithm
intervals
Results
262.0ms1900×body640valid
152.0ms4129×body80valid
99.0ms576×body1280valid
95.0ms922×body320valid
32.0ms473×body160valid
0.0msbody80invalid

Profiling

Loading profile data...