Details

Time bar (total: 3.9s)

sample25.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
6.0ms237×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite103.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:
30.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
21.0ms
(* 6.0 (- x 1.0))
49.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series147.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0377495
11642421
25001420

prune163.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite173.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:
30.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
92.0ms
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
47.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series175.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0439987
11809895
25003893

prune229.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite345.0ms

Algorithm
rewrite-expression-head
Rules
132×add-sqr-sqrt
117×*-un-lft-identity
107×times-frac
102×cbrt-prod
73×add-cube-cbrt
65×unpow-prod-down cube-prod
51×associate-*r*
22×distribute-lft-out-- difference-of-squares
14×associate-/r/
11×add-exp-log
10×add-cbrt-cube
pow1 flip3-+ flip-+ div-inv unswap-sqr
associate-/l*
add-log-exp sqr-pow
cube-div cube-mult pow-unpow unpow3 associate-*l* associate-/r*
cbrt-undiv cbrt-div div-exp pow-exp associate-/l/ rem-cube-cbrt
pow-to-exp flip3-- pow-pow frac-2neg pow1/3 div-sub associate-*r/ pow-prod-down prod-exp clear-num *-commutative flip-- rem-cbrt-cube cbrt-unprod
Counts
4 → 233
Calls
4 calls:
195.0ms
(* 6.0 (cbrt (pow (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3)))
45.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))
47.0ms
(cbrt (pow (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3))
45.0ms
(pow (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3)

series332.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(* 6.0 (cbrt (pow (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3)))
67.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))
80.0ms
(cbrt (pow (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3))
96.0ms
(pow (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) 3)

simplify101.0ms

Algorithm
egg-herbie
Counts
245 → 245
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07352896
134372730
250022704

prune458.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 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)))

rewrite163.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:
30.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
80.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
46.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series172.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06412084
129421986
250011984

prune391.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes16.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
0189
1189

end0.0ms

sample677.0ms

Algorithm
intervals
Results
230.0ms8000×body80valid
202.0ms8191×body80nan