Details

Time bar (total: 2.2s)

sample30.0ms

Algorithm
intervals
Results
7.0ms55×body640valid
5.0ms137×body80valid
4.0ms12×body160valid
3.0ms20×body1280valid
3.0ms32×body320valid

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

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

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))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.8b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite61.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))
7.0ms
(/ 1.0 (- x 1.0))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
29.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series18.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)))

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune183.0ms

Filtered
126 candidates to 92 candidates (27.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1242126
Fresh000
Picked011
Done000
Total1243127

Merged error: 0.1b

Counts
127 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.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:
21.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)))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.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))

series22.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09972264
150012129

prune358.0ms

Filtered
136 candidates to 108 candidates (20.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1342136
Fresh011
Picked101
Done011
Total1354139

Merged error: 0.1b

Counts
139 → 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)))

rewrite29.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:
7.0ms
(* (+ x 1.0) x)
9.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series18.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0430600
12219516
25002515

prune110.0ms

Filtered
93 candidates to 62 candidates (33.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh202
Picked101
Done101
Total92597

Merged error: 0b

Counts
97 → 5

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
64×add-exp-log
50×add-sqr-sqrt
45×*-un-lft-identity
37×times-frac
34×add-cbrt-cube
29×add-cube-cbrt
24×associate-*r* prod-exp
20×div-exp
13×associate-*l*
11×pow1
10×cbrt-undiv cbrt-unprod
associate-/r/
associate-*l/ distribute-lft-out-- difference-of-squares
rec-exp 1-exp associate-/r* associate-/l*
div-inv add-log-exp
flip3-+ pow-prod-down flip-+ unswap-sqr
flip3-- pow-flip frac-2neg clear-num *-commutative flip--
frac-times associate-*r/ distribute-lft-out inv-pow
Counts
4 → 152
Calls
4 calls:
5.0ms
(* (+ x 1.0) x)
5.0ms
(/ 2.0 (- x 1.0))
18.0ms
(* (/ 1 (* (+ x 1.0) x)) (/ 2.0 (- x 1.0)))
6.0ms
(/ 1 (* (+ x 1.0) x))

series15.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06461002
13429852
25002844

prune162.0ms

Filtered
164 candidates to 102 candidates (37.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1631164
Fresh134
Picked101
Done000
Total1654169

Merged error: 0b

Counts
169 → 4

regimes28.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
0146
1146

end0.0ms

sample745.0ms

Algorithm
intervals
Results
245.0ms1855×body640valid
147.0ms4131×body80valid
98.0ms1003×body320valid
94.0ms560×body1280valid
30.0ms452×body160valid

Profiling

Loading profile data...