Details

Time bar (total: 2.7s)

sample30.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
9.0ms245×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09314
19314

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

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) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
0.0b
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

rewrite28.0ms

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

series19.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
054811959

prune217.0ms

Filtered
82 candidates to 114 candidates (-39.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1095114
Fresh101
Picked101
Done000
Total1115116

Merged error: 0b

Counts
116 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
126×*-un-lft-identity
86×add-sqr-sqrt
80×times-frac
78×exp-prod
54×log-pow
50×add-cube-cbrt
30×associate-*r*
21×distribute-lft-out
17×distribute-lft-out-- difference-of-squares
log-prod
pow1 add-exp-log associate-/r/ add-cbrt-cube
associate-/l* add-log-exp
flip3-+ associate-/r* flip-+ div-inv
distribute-rgt-in distribute-lft-in div-sub associate-*l*
exp-diff associate-/l/
cbrt-undiv log-div flip3-- frac-2neg div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod rem-exp-log unswap-sqr
Counts
4 → 171
Calls
4 calls:
9.0ms
(exp (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
18.0ms
(* 6.0 (log (exp (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))))
10.0ms
(log (exp (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
8.0ms
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(exp (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
8.0ms
(* 6.0 (log (exp (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))))
8.0ms
(log (exp (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
11.0ms
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
052463212

prune316.0ms

Filtered
129 candidates to 183 candidates (-41.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1821183
Fresh134
Picked101
Done000
Total1844188

Merged error: 0b

Counts
188 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
0.0b
(* 6.0 (log (pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))))
0.0b
(log (pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
0.0b
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
54×add-sqr-sqrt
40×times-frac
34×add-cube-cbrt
26×pow-unpow
21×log-prod
12×unpow-prod-down
11×add-exp-log distribute-lft-out
distribute-lft-out-- difference-of-squares
add-cbrt-cube
pow1 distribute-rgt-in distribute-lft-in
associate-/l*
rem-log-exp associate-*r* pow-exp associate-/r* associate-/r/ add-log-exp sqr-pow
div-sub associate-*l*
pow-to-exp e-exp-1 flip3-+ log-pow flip-+ div-inv associate-/l/ pow-sub
cbrt-undiv log-div flip3-- pow-pow frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 141
Calls
4 calls:
8.0ms
(pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
5.0ms
(* 6.0 (log (pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))))
2.0ms
(log (pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
8.0ms
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

series50.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))
17.0ms
(* 6.0 (log (pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x))))))))
13.0ms
(log (pow E (/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
7.0ms
(/ (- x 1.0) (+ x (+ 1.0 (* 4.0 (sqrt x)))))

simplify41.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
050153084

prune272.0ms

Filtered
106 candidates to 153 candidates (-44.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh033
Picked011
Done000
Total1534157

Merged error: 0b

Counts
157 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
120×add-sqr-sqrt
117×*-un-lft-identity
73×times-frac
62×sqrt-prod
43×associate-*r*
40×difference-of-squares
35×add-cube-cbrt
21×distribute-lft-out
20×add-exp-log add-cbrt-cube distribute-lft-out--
11×pow1
associate-/l*
associate-*l*
associate-*r/ prod-exp cbrt-unprod
flip3-+ flip-+ add-log-exp
frac-times pow-prod-down associate-*l/ associate-/r* associate-/r/
cbrt-undiv div-exp
flip3-- *-commutative flip-- div-inv associate-/l/ unswap-sqr
sub-neg frac-2neg diff-log div-sub clear-num
Counts
4 → 176
Calls
4 calls:
5.0ms
(- (sqrt x) (sqrt 1.0))
18.0ms
(* 6.0 (* (+ (sqrt x) (sqrt 1.0)) (/ (- (sqrt x) (sqrt 1.0)) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
10.0ms
(/ (- (sqrt x) (sqrt 1.0)) (+ x (+ 1.0 (* 4.0 (sqrt x)))))
24.0ms
(* (+ (sqrt x) (sqrt 1.0)) (/ (- (sqrt x) (sqrt 1.0)) (+ x (+ 1.0 (* 4.0 (sqrt x))))))

series83.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- (sqrt x) (sqrt 1.0))
34.0ms
(* 6.0 (* (+ (sqrt x) (sqrt 1.0)) (/ (- (sqrt x) (sqrt 1.0)) (+ x (+ 1.0 (* 4.0 (sqrt x)))))))
15.0ms
(/ (- (sqrt x) (sqrt 1.0)) (+ x (+ 1.0 (* 4.0 (sqrt x)))))
31.0ms
(* (+ (sqrt x) (sqrt 1.0)) (/ (- (sqrt x) (sqrt 1.0)) (+ x (+ 1.0 (* 4.0 (sqrt x))))))

simplify58.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049874376
149874376

prune301.0ms

Filtered
111 candidates to 188 candidates (-69.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1880188
Fresh022
Picked011
Done011
Total1884192

Merged error: 0b

Counts
192 → 4

regimes37.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02217
12217

end0.0ms

sample940.0ms

Algorithm
intervals
Results
352.0ms8000×body80valid
321.0ms8097×body80nan

Profiling

Loading profile data...