Details

Time bar (total: 3.1s)

sample28.0ms

Algorithm
intervals
Results
9.0ms70×body640valid
4.0ms124×body80valid
3.0ms19×body1280valid
2.0ms23×body320valid
1.0ms20×body160valid

simplify18.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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.9b

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

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

series313.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ 1.0 (- x 1.0))
49.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
236.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0421692
11417662
25001653

prune180.0ms

Filtered
90 candidates to 66 candidates (73.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New85590
Fresh000
Picked101
Done000
Total86591

Merged error: 0.1b

Counts
91 → 5

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

rewrite60.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:
6.0ms
(* (+ x 1.0) x)
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)))
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))

series239.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010092250
150012104

prune426.0ms

Filtered
145 candidates to 112 candidates (77.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1423145
Fresh224
Picked101
Done000
Total1455150

Merged error: 0.1b

Counts
150 → 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.1b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

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

series245.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(* (+ x 1.0) x)
107.0ms
(* (* (+ x 1.0) x) (- x 1.0))
95.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify60.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0430600
12219516
25002515

prune145.0ms

Filtered
93 candidates to 62 candidates (66.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh314
Picked101
Done000
Total94498

Merged error: 0b

Counts
98 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.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)
11.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
6.0ms
(/ 2.0 (* (+ x 1.0) x))

series177.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(* (+ x 1.0) x)
98.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
36.0ms
(/ 2.0 (* (+ x 1.0) x))

simplify67.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05601012
12547928
25002928

prune194.0ms

Filtered
131 candidates to 96 candidates (73.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1310131
Fresh033
Picked011
Done000
Total1314135

Merged error: 0b

Counts
135 → 4

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

sample723.0ms

Algorithm
intervals
Results
248.0ms1865×body640valid
150.0ms4143×body80valid
99.0ms573×body1280valid
91.0ms922×body320valid
37.0ms500×body160valid

Profiling

Loading profile data...