Details

Time bar (total: 1.9s)

sample17.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.1b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*r/
times-frac associate-*l* associate-/r* sum-log
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative associate-+l+ frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(* 6.0 (- x 1.0))
11.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series15.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0492549
12177479
25002478

prune106.0ms

Filtered
55 candidates to 73 candidates (-32.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 0b

Counts
74 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
0.1b
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
103×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
add-log-exp
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 sum-log
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+
Counts
3 → 154
Calls
3 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
12.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
11.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series18.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08222172
137672075
250012075

prune287.0ms

Filtered
129 candidates to 163 candidates (-26.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1630163
Fresh033
Picked011
Done000
Total1634167

Merged error: 0b

Counts
167 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.0b
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
0.2b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
32×add-exp-log
30×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
20×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-/r/
10×associate-/r*
add-log-exp
pow1 cbrt-undiv
flip3-- flip-- div-inv associate-/l*
associate-*r* prod-exp
rec-exp 1-exp associate-*l* sum-log cbrt-unprod
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+ pow-flip pow-prod-down *-commutative distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 128
Calls
4 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(* 6.0 (- x 1.0))
11.0ms
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
21.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

series22.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
3.0ms
(* 6.0 (- x 1.0))
8.0ms
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
7.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

simplify105.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
07521425
135321257
250011209

prune145.0ms

Filtered
85 candidates to 140 candidates (-64.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh022
Picked011
Done011
Total1404144

Merged error: 0b

Counts
144 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.1b
(/ (* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0))) (+ (+ x 1.0) (* 4.0 (sqrt x))))
0.2b
(* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0)))
0.2b
(* 6.0 (+ (sqrt x) (sqrt 1.0)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
18×associate-*r/
17×*-un-lft-identity
14×associate-*r*
11×pow1
add-cube-cbrt flip3-+ flip-+ add-log-exp
frac-times sqrt-prod associate-/l/
prod-exp cbrt-unprod
flip3-- flip--
associate-*l* pow-prod-down associate-*l/ difference-of-squares
cbrt-undiv distribute-rgt-in distribute-lft-in times-frac div-exp associate-/r* sum-log
sub-neg associate-/r/ *-commutative distribute-lft-out distribute-lft-out--
+-commutative associate-+l+ frac-2neg clear-num div-inv associate-/l* unswap-sqr
Counts
4 → 106
Calls
4 calls:
9.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
32.0ms
(/ (* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0))) (+ (+ x 1.0) (* 4.0 (sqrt x))))
16.0ms
(* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0)))
8.0ms
(* 6.0 (+ (sqrt x) (sqrt 1.0)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
35.0ms
(/ (* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0))) (+ (+ x 1.0) (* 4.0 (sqrt x))))
19.0ms
(* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0)))
8.0ms
(* 6.0 (+ (sqrt x) (sqrt 1.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09911507
150011205

prune243.0ms

Filtered
90 candidates to 118 candidates (-31.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1180118
Fresh011
Picked011
Done022
Total1184122

Merged error: 0b

Counts
122 → 4

regimes31.0ms

Accuracy

0% (0.0b 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
0147
1147

end0.0ms

sample448.0ms

Algorithm
intervals
Results
318.0ms8000×body80valid

Profiling

Loading profile data...