Details

Time bar (total: 2.3s)

sample26.0ms

Algorithm
intervals
Results
9.0ms67×body640valid
5.0ms135×body80valid
3.0ms17×body1280valid
2.0ms23×body320valid
1.0ms14×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: 10.7b

Counts
2 → 1

localize20.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))
1.9b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite66.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))
5.0ms
(/ 1.0 (- x 1.0))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
36.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series20.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))
12.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0496865
11681827
25001816

prune319.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1242126
Fresh000
Picked011
Done000
Total1243127

Merged error: 0.3b

Counts
127 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*l/
32×frac-add
30×flip3-- flip--
25×flip3-+ flip-+
24×frac-times
20×add-exp-log add-cbrt-cube
18×associate-/l/
13×add-sqr-sqrt *-un-lft-identity
12×associate-*r/
11×pow1
add-cube-cbrt
associate-*r* associate-/r/
prod-exp cbrt-unprod
add-log-exp
associate-*l*
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in pow-prod-down
cbrt-undiv times-frac div-exp associate-/l*
*-commutative
+-commutative frac-2neg clear-num associate-/r* sum-log div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 133
Calls
4 calls:
5.0ms
(* (+ x 1.0) x)
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)))
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))

series23.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010092250
150012104

prune381.0ms

Filtered
112 candidates to 145 candidates (-29.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1423145
Fresh011
Picked101
Done011
Total1435148

Merged error: 0.3b

Counts
148 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
0.3b
(/ 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:
5.0ms
(* (+ x 1.0) x)
11.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series19.0ms

Counts
3 → 9
Calls
3 calls:
4.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)))

simplify57.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0430600
12219516
25002515

prune109.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh303
Picked101
Done101
Total93598

Merged error: 0.0b

Counts
98 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

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

series13.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05601012
12547928
25002928

prune153.0ms

Filtered
96 candidates to 131 candidates (-36.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1301131
Fresh134
Picked101
Done000
Total1324136

Merged error: 0b

Counts
136 → 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
095
195

end0.0ms

sample764.0ms

Algorithm
intervals
Results
257.0ms1880×body640valid
150.0ms4132×body80valid
100.0ms571×body1280valid
95.0ms929×body320valid
33.0ms492×body160valid

Profiling

Loading profile data...