Details

Time bar (total: 3.7s)

sample28.0ms

Algorithm
intervals
Results
6.0ms52×body640valid
5.0ms139×body80valid
3.0ms32×body320valid
3.0ms18×body1280valid
1.0ms15×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: 9.0b

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.7b
(+ (- (/ 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))
34.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))
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.0ms
(/ 1.0 (+ x 1.0))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune640.0ms

Filtered
126 candidates to 92 candidates (27.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh000
Picked101
Done000
Total1234127

Merged error: 0.1b

Counts
127 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
17.1b
(+ (- (* (/ 1 (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ 1.0 (cbrt (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
12×cbrt-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
cbrt-div
frac-add
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+ distribute-lft-out
pow1/3 frac-sub
associate-+l+ sum-log
+-commutative frac-times associate-+l- sub-neg flip3-- diff-log associate-*r/ associate-*l/ flip--
Counts
4 → 63
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
32.0ms
(+ (- (* (/ 1 (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ 1.0 (cbrt (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series28.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
10.0ms
(+ (- (* (/ 1 (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ 1.0 (cbrt (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0460997
11726915
25001827

prune509.0ms

Filtered
75 candidates to 58 candidates (22.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh033
Picked011
Done000
Total75479

Merged error: 0.1b

Counts
79 → 4

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

rewrite56.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)))
9.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))

series20.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010092250
150012104

prune930.0ms

Filtered
145 candidates to 112 candidates (22.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1432145
Fresh112
Picked101
Done011
Total1454149

Merged error: 0.1b

Counts
149 → 4

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

simplify57.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0430600
12219516
25002515

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

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

sample704.0ms

Algorithm
intervals
Results
234.0ms1848×body640valid
135.0ms4190×body80valid
91.0ms572×body1280valid
89.0ms908×body320valid
30.0ms483×body160valid

Profiling

Loading profile data...