Details

Time bar (total: 4.9s)

sample29.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
9.0ms252×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

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: 0.1b

Counts
2 → 1

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

rewrite25.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:
6.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
7.0ms
(* 6.0 (- x 1.0))
11.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series149.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0377495
11642421
25001420

prune140.0ms

Filtered
73 candidates to 53 candidates (72.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New66773
Fresh000
Picked101
Done000
Total67774

Merged error: 0b

Counts
74 → 7

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

rewrite31.0ms

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

series179.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0439987
11809895
25003893

prune178.0ms

Filtered
102 candidates to 77 candidates (75.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1011102
Fresh246
Picked101
Done000
Total1045109

Merged error: 0b

Counts
109 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
227×add-sqr-sqrt
200×sqrt-prod
197×*-un-lft-identity
180×times-frac
93×add-cube-cbrt
61×associate-*r*
52×difference-of-squares
39×associate-*l*
38×add-exp-log add-cbrt-cube
26×distribute-lft-out distribute-lft-out--
14×associate-/l*
13×prod-exp cbrt-unprod
12×associate-/r*
11×pow1
10×cbrt-undiv div-exp
unswap-sqr
sqrt-div associate-/r/
flip3-+ associate-*r/ flip-+
pow-prod-down div-inv associate-/l/ add-log-exp
frac-times frac-2neg associate-*l/ clear-num *-commutative
flip3-- div-sub flip--
Counts
4 → 295
Calls
4 calls:
29.0ms
(* 6.0 (* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (- (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))))
13.0ms
(/ (- (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
13.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
62.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (- (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
414.0ms
(* 6.0 (* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (- (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))))
244.0ms
(/ (- (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
223.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
340.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (- (sqrt x) (sqrt 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))

simplify78.0ms

Algorithm
egg-herbie
Counts
307 → 307
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010726453
150015853

prune696.0ms

Filtered
307 candidates to 175 candidates (57.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3070307
Fresh044
Picked011
Done000
Total3075312

Merged error: 0b

Counts
312 → 5

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)))
0.2b
(* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0)))

rewrite54.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:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
23.0ms
(/ (* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0))) (+ (+ x 1.0) (* 4.0 (sqrt x))))
8.0ms
(* 6.0 (+ (sqrt x) (sqrt 1.0)))
14.0ms
(* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0)))

series706.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
405.0ms
(/ (* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0))) (+ (+ x 1.0) (* 4.0 (sqrt x))))
56.0ms
(* 6.0 (+ (sqrt x) (sqrt 1.0)))
205.0ms
(* (* 6.0 (+ (sqrt x) (sqrt 1.0))) (- (sqrt x) (sqrt 1.0)))

simplify107.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
07851427
144101099
250011074

prune242.0ms

Filtered
118 candidates to 84 candidates (71.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh033
Picked011
Done011
Total1185123

Merged error: 0b

Counts
123 → 5

regimes26.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
02220
12220

end0.0ms

sample784.0ms

Algorithm
intervals
Results
309.0ms8000×body80valid
279.0ms7954×body80nan

Profiling

Loading profile data...