Details

Time bar (total: 20.6s)

sample347.0ms

Algorithm
intervals
Results
54.0ms438×body80valid
6.0ms16×body640valid
3.0ms12×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
010363
137262
2191461
3500261

prune18.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize45.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.3b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
5.7b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

rewrite617.0ms

Algorithm
rewrite-expression-head
Rules
535×*-un-lft-identity
337×associate-*r/
281×associate-*l*
184×frac-add
164×distribute-lft-out
163×flip3-- flip--
136×distribute-lft-out--
133×associate-/l*
124×add-sqr-sqrt
120×frac-times
78×associate-*r*
63×un-div-inv
60×times-frac associate-*l/
46×add-cube-cbrt
35×associate-/r*
30×add-exp-log add-cbrt-cube
25×unswap-sqr
18×pow1
17×difference-of-squares
15×prod-exp cbrt-unprod
14×clear-num associate-/l/
pow-prod-down *-commutative
add-log-exp
sub-neg frac-2neg
distribute-rgt-in distribute-lft-in
associate-+l+ associate-+r+ swap-sqr
cbrt-undiv div-exp
flip3-+ associate-/r/ flip-+
+-commutative associate--l- diff-log div-sub sum-log div-inv
Counts
4 → 423
Calls
4 calls:
60.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
345.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
78.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
88.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

series649.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
351.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
66.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
116.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

simplify283.0ms

Algorithm
egg-herbie
Counts
435 → 435
Iterations

Useful iterations: 1 (66.0ms)

IterNodesCost
0317526388
1500226228

prune1.5s

Filtered
435 candidates to 192 candidates (44.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New42510435
Fresh011
Picked101
Done000
Total42611437

Merged error: 0.4b

Counts
437 → 11

localize37.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.3b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) (- 6.0))))
5.7b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.7b
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))

rewrite779.0ms

Algorithm
rewrite-expression-head
Rules
832×*-un-lft-identity
470×associate-*l*
300×distribute-lft-out
202×associate-*r/ associate-*r*
187×add-sqr-sqrt
184×frac-add
183×distribute-lft-out--
152×associate-/l*
120×frac-times times-frac
95×flip3-+ flip-+
72×un-div-inv
71×flip3-- flip--
66×add-cube-cbrt
60×associate-*l/
47×unswap-sqr
46×add-exp-log add-cbrt-cube
40×associate-/r*
25×pow1 prod-exp cbrt-unprod
20×difference-of-squares
17×*-commutative
16×clear-num associate-/l/
14×pow-prod-down
11×add-log-exp
frac-2neg
swap-sqr
cbrt-undiv div-exp
associate-+l+ associate-/r/
sub-neg sum-log
+-commutative distribute-rgt-in associate-+r- associate-+r+ distribute-lft-in distribute-rgt-neg-out div-inv
associate--l- diff-log div-sub unsub-neg
Counts
4 → 561
Calls
4 calls:
56.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
495.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) (- 6.0))))
77.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
92.0ms
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))

series624.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
358.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (* (* x1 x1) (- 6.0))))
71.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
77.0ms
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))

simplify333.0ms

Algorithm
egg-herbie
Counts
573 → 573
Iterations

Useful iterations: 1 (66.0ms)

IterNodesCost
0319832447
1500232245

prune2.0s

Filtered
573 candidates to 225 candidates (39.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New5694573
Fresh5510
Picked101
Done000
Total5759584

Merged error: 0.4b

Counts
584 → 9

localize45.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.3b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (/ (* x1 (* x1 4.0)) (/ (+ (* x1 x1) 1.0) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (* (* x1 x1) (- 6.0))))
5.7b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.8b
(/ (* x1 (* x1 4.0)) (/ (+ (* x1 x1) 1.0) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)))

rewrite2.4s

Algorithm
rewrite-expression-head
Rules
4584×*-un-lft-identity
2666×times-frac
1932×associate-*l*
1466×add-sqr-sqrt
1382×distribute-lft-out
997×associate-*r*
946×distribute-lft-out--
743×add-cube-cbrt
264×unswap-sqr
184×frac-add
160×associate-/l*
151×associate-*r/
130×difference-of-squares
127×*-commutative
120×frac-times
107×associate-/r*
95×flip3-+ flip-+
93×flip3-- flip--
69×associate-/r/
63×un-div-inv
60×associate-*l/
46×add-exp-log add-cbrt-cube
25×div-inv
18×prod-exp cbrt-unprod
16×clear-num associate-/l/
13×pow1
12×cbrt-undiv div-exp
11×add-log-exp
frac-2neg
pow-prod-down
associate-+l+
sub-neg sum-log
+-commutative distribute-rgt-in associate-+r- associate-+r+ distribute-lft-in distribute-rgt-neg-out
associate--l- diff-log div-sub unsub-neg
Counts
4 → 1846
Calls
4 calls:
60.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
1.9s
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (/ (* x1 (* x1 4.0)) (/ (+ (* x1 x1) 1.0) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (* (* x1 x1) (- 6.0))))
84.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
88.0ms
(/ (* x1 (* x1 4.0)) (/ (+ (* x1 x1) 1.0) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)))

series605.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
347.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (/ (* x1 (* x1 4.0)) (/ (+ (* x1 x1) 1.0) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (* (* x1 x1) (- 6.0))))
69.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
75.0ms
(/ (* x1 (* x1 4.0)) (/ (+ (* x1 x1) 1.0) (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)))

simplify594.0ms

Algorithm
egg-herbie
Counts
1858 → 1858
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
0500157890

prune4.5s

Filtered
1858 candidates to 512 candidates (27.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New185621858
Fresh178
Picked101
Done000
Total185891867

Merged error: 0.4b

Counts
1867 → 9

localize39.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.3b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
5.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
5.8b
(* (* x1 x1) (+ x1 (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))

rewrite592.0ms

Algorithm
rewrite-expression-head
Rules
332×*-un-lft-identity
318×associate-*r/
188×associate-*l*
184×frac-add
162×flip3-- flip--
120×frac-times
114×associate-/l*
100×distribute-lft-out
87×distribute-lft-out--
78×add-sqr-sqrt
60×associate-*l/
54×un-div-inv
30×associate-/r*
28×add-cube-cbrt
19×associate-*r*
16×unswap-sqr
14×pow1 add-exp-log add-cbrt-cube
12×clear-num associate-/l/
11×difference-of-squares
*-commutative
distribute-rgt-in distribute-lft-in swap-sqr add-log-exp
sub-neg
frac-2neg pow-prod-down prod-exp cbrt-unprod
associate-+l+ associate-+r+
+-commutative
flip3-+ times-frac flip-+
associate--l- diff-log div-sub sum-log
Counts
4 → 326
Calls
4 calls:
60.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
347.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
87.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
63.0ms
(* (* x1 x1) (+ x1 (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))

series671.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
351.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
101.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
110.0ms
(* (* x1 x1) (+ x1 (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))

simplify277.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 1 (58.0ms)

IterNodesCost
0289925690
1500125579

prune1.2s

Filtered
338 candidates to 160 candidates (47.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3371338
Fresh088
Picked011
Done000
Total33710347

Merged error: 0.4b

Counts
347 → 10

regimes365.0ms

Accuracy

0% (0.1b remaining)

Error of 0.5b against oracle of 0.4b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05561
15561

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.3s13796×body80valid
161.0ms440×body640valid
82.0ms295×body320valid
79.0ms167×body1280valid
34.0ms174×body160valid