Details

Time bar (total: 21.4s)

sample42.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
13.0ms254×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize8.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.2b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite46.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:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
10.0ms
(* 6.0 (- x 1.0))
22.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series152.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0377495
11642421
25001420

prune141.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite84.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:
14.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
36.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
27.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series189.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06412084
129421986
250011984

prune349.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.5s

Algorithm
rewrite-expression-head
Rules
25326×times-frac
15653×*-un-lft-identity
13901×add-sqr-sqrt
12335×sqrt-prod
8373×add-cube-cbrt
2764×difference-of-squares
2258×distribute-lft-out
1382×distribute-lft-out--
669×associate-/r/
366×div-inv
190×flip3-+ flip-+
128×associate-/l*
115×flip3-- flip--
110×associate-/r*
34×add-exp-log add-cbrt-cube
20×cbrt-undiv div-exp
associate-/l/
pow1 frac-2neg sqrt-div clear-num add-log-exp
Counts
4 → 7281
Calls
4 calls:
37.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0)))
34.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (+ (sqrt x) (sqrt 1.0)))
252.0ms
(/ (/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (+ (sqrt x) (sqrt 1.0)))) (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0))))
35.0ms
(/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (+ (sqrt x) (sqrt 1.0))))

series1.6s

Counts
4 → 12
Calls
4 calls:
501.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0)))
433.0ms
(/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (+ (sqrt x) (sqrt 1.0)))
415.0ms
(/ (/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (+ (sqrt x) (sqrt 1.0)))) (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- (sqrt x) (sqrt 1.0))))
277.0ms
(/ 6.0 (/ (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (+ (sqrt x) (sqrt 1.0))))

simplify2.7s

Algorithm
egg-herbie
Counts
7293 → 7293
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05001325973

prune12.2s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize16.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))
0.3b
(* (cbrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (cbrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
31×cbrt-prod
29×add-sqr-sqrt
21×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
pow1/3
add-exp-log flip3-+ swap-sqr associate-*r* associate-*l* flip-+
frac-times add-cbrt-cube add-log-exp unswap-sqr
flip3-- flip-- distribute-lft-out-- difference-of-squares
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
2.0ms
(cbrt (- x 1.0))
2.0ms
(cbrt (- x 1.0))
2.0ms
(cbrt (- x 1.0))
71.0ms
(* (cbrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (cbrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series452.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(cbrt (- x 1.0))
98.0ms
(cbrt (- x 1.0))
99.0ms
(cbrt (- x 1.0))
155.0ms
(* (cbrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (cbrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04321135
114211066
25001975

prune361.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

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

sample1.1s

Algorithm
intervals
Results
519.0ms8000×body80valid
433.0ms8128×body80nan