Details

Time bar (total: 4.2s)

sample28.0ms

Algorithm
intervals
Results
7.0ms55×body640valid
5.0ms144×body80valid
3.0ms19×body1280valid
2.0ms25×body320valid
1.0ms13×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

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.3b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
35×times-frac
33×add-sqr-sqrt
14×distribute-lft-out--
13×add-cube-cbrt
10×add-log-exp
distribute-lft-out
difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 flip3-- frac-add flip-- associate-/l*
sub-neg associate-+l+ diff-log sum-log associate-/r/ frac-sub
cbrt-undiv +-commutative associate-+l- frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
3 → 81
Calls
3 calls:
5.0ms
(/ 1.0 (- x 1.0))
17.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
36.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series385.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ 1.0 (- x 1.0))
58.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
290.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0421692
11417662
25001653

prune355.0ms

Filtered
90 candidates to 66 candidates (26.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New86490
Fresh000
Picked101
Done000
Total87491

Merged error: 0.8b

Counts
91 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

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

series291.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09972264
150012129

prune877.0ms

Filtered
136 candidates to 108 candidates (20.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1342136
Fresh213
Picked101
Done000
Total1373140

Merged error: 0.8b

Counts
140 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

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

series236.0ms

Counts
2 → 6
Calls
2 calls:
119.0ms
(* (* (+ x 1.0) x) (- x 1.0))
117.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0398514
11892442
25002441

prune173.0ms

Filtered
69 candidates to 47 candidates (31.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New65469
Fresh202
Picked101
Done000
Total68472

Merged error: 0.0b

Counts
72 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log
45×add-sqr-sqrt
40×*-un-lft-identity
37×times-frac
31×add-cbrt-cube
26×add-cube-cbrt
23×prod-exp
21×associate-*r*
20×div-exp
10×cbrt-undiv
associate-*l* cbrt-unprod
pow1 associate-/r/
distribute-lft-out-- difference-of-squares
rec-exp 1-exp associate-/r* associate-/l*
associate-*l/
div-inv
add-log-exp
flip3-- pow-flip frac-2neg flip3-+ pow-prod-down clear-num flip-- flip-+ unswap-sqr
frac-times associate-*r/ *-commutative inv-pow
Counts
3 → 131
Calls
3 calls:
5.0ms
(/ 2.0 (- x 1.0))
17.0ms
(* (/ 1 (* (+ x 1.0) x)) (/ 2.0 (- x 1.0)))
6.0ms
(/ 1 (* (+ x 1.0) x))

series195.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ 2.0 (- x 1.0))
116.0ms
(* (/ 1 (* (+ x 1.0) x)) (/ 2.0 (- x 1.0)))
42.0ms
(/ 1 (* (+ x 1.0) x))

simplify80.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0620916
13227778
25001770

prune409.0ms

Filtered
140 candidates to 86 candidates (38.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1382140
Fresh033
Picked011
Done000
Total1386144

Merged error: 0b

Counts
144 → 6

regimes39.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

sample722.0ms

Algorithm
intervals
Results
242.0ms1886×body640valid
139.0ms4174×body80valid
87.0ms550×body1280valid
85.0ms886×body320valid
38.0ms507×body160valid

Profiling

Loading profile data...