Details

Time bar (total: 3.3s)

sample24.0ms

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

localize13.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:
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))))

series161.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
39.0ms
(* 6.0 (- x 1.0))
80.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 (40.0ms)

IterNodesCost
0377495
11642421
25001420

prune142.0ms

Filtered
73 candidates to 53 candidates (72.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 0b

Counts
74 → 3

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

rewrite33.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:
6.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))))

series213.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0439987
11809895
25003893

prune185.0ms

Filtered
102 candidates to 77 candidates (75.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh112
Picked011
Done000
Total1023105

Merged error: 0b

Counts
105 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
68×*-un-lft-identity
55×times-frac
46×sqrt-prod
33×associate-*r*
32×add-cube-cbrt
28×difference-of-squares
14×distribute-lft-out--
11×add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ flip-+
associate-*l*
sum-log associate-/r/ distribute-lft-out
associate-/r*
cbrt-undiv +-commutative frac-times div-exp associate-*l/ prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
associate-+l+ flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative flip--
Counts
4 → 140
Calls
4 calls:
5.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
5.0ms
(+ (sqrt x) (sqrt 1.0))
22.0ms
(* (+ (sqrt x) (sqrt 1.0)) (/ (- (sqrt x) (sqrt 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
12.0ms
(/ (- (sqrt x) (sqrt 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series589.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
35.0ms
(+ (sqrt x) (sqrt 1.0))
364.0ms
(* (+ (sqrt x) (sqrt 1.0)) (/ (- (sqrt x) (sqrt 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
149.0ms
(/ (- (sqrt x) (sqrt 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify91.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07152101
133011876
250011846

prune294.0ms

Filtered
152 candidates to 97 candidates (63.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1520152
Fresh011
Picked011
Done011
Total1523155

Merged error: 0b

Counts
155 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series280.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (+ x 1.0) (* 4.0 (sqrt x)))
125.0ms
(* (* (/ (- x 1.0) (+ (* (- (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0) (- (+ x 1.0) (* 4.0 (sqrt x))))
64.0ms
(* (/ (- x 1.0) (+ (* (- (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0)))) 6.0)
53.0ms
(/ (- x 1.0) (+ (* (- (* 4.0 4.0)) x) (* (+ x 1.0) (+ x 1.0))))

simplify98.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
06842033
131131784
250021769

prune302.0ms

Filtered
137 candidates to 100 candidates (73.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1370137
Fresh000
Picked011
Done022
Total1373140

Merged error: 0b

Counts
140 → 3

regimes14.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample600.0ms

Algorithm
intervals
Results
226.0ms8000×body80valid
197.0ms7900×body80nan