Details

Time bar (total: 17.4s)

sample335.0ms

Algorithm
intervals
Results
53.0ms445×body80valid
6.0ms17×body640valid
3.0ms12×body320valid
3.0msbody1280valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
010363
137262
2191461
3500261

prune17.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize40.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
3.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
3.9b
(+ (* (* (* 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)))
4.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

rewrite582.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:
73.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
78.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
327.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)))
61.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

series644.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
98.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
348.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)))
127.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

simplify287.0ms

Algorithm
egg-herbie
Counts
435 → 435
Iterations

Useful iterations: 1 (66.0ms)

IterNodesCost
0317526388
1500126228

prune1.5s

Filtered
435 candidates to 192 candidates (55.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New4269435
Fresh011
Picked101
Done000
Total42710437

Merged error: 0.4b

Counts
437 → 10

localize45.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
3.8b
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))
3.9b
(+ (* (* (* 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))))
4.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

rewrite719.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:
71.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
83.0ms
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))
451.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))))
53.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

series612.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
72.0ms
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))))
356.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))))
113.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

simplify344.0ms

Algorithm
egg-herbie
Counts
573 → 573
Iterations

Useful iterations: 1 (70.0ms)

IterNodesCost
0319832447
1500232245

prune1.9s

Filtered
573 candidates to 225 candidates (60.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New5685573
Fresh639
Picked101
Done000
Total5758583

Merged error: 0.4b

Counts
583 → 8

localize47.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
3.8b
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0)))))
3.9b
(+ (* (* (* 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) (sqrt (+ (* x1 x1) 1.0))))) (sqrt (+ (* x1 x1) 1.0))) (* (* x1 x1) (- 6.0))))
4.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

rewrite1.9s

Algorithm
rewrite-expression-head
Rules
835×*-un-lft-identity
385×associate-*l*
269×associate-*r*
262×distribute-lft-out
231×add-sqr-sqrt
208×associate-*r/
204×distribute-lft-out--
184×frac-add
159×times-frac
152×associate-/l*
120×frac-times
95×flip3-+ flip-+
81×add-cube-cbrt
72×un-div-inv
71×flip3-- flip--
66×sqrt-prod
60×associate-*l/
59×unswap-sqr
46×add-exp-log add-cbrt-cube
43×associate-/r*
25×pow1 prod-exp cbrt-unprod
23×difference-of-squares
16×clear-num associate-/l/
14×pow-prod-down
11×add-log-exp
10×*-commutative
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 sqrt-div distribute-rgt-neg-out div-inv
associate--l- diff-log div-sub unsub-neg
Counts
4 → 575
Calls
4 calls:
71.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
98.0ms
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0)))))
1.6s
(+ (* (* (* 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) (sqrt (+ (* x1 x1) 1.0))))) (sqrt (+ (* x1 x1) 1.0))) (* (* x1 x1) (- 6.0))))
61.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

series638.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
108.0ms
(* (* x1 x1) (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0)))))
346.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) (sqrt (+ (* x1 x1) 1.0))))) (sqrt (+ (* x1 x1) 1.0))) (* (* x1 x1) (- 6.0))))
116.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

simplify382.0ms

Algorithm
egg-herbie
Counts
587 → 587
Iterations

Useful iterations: 1 (67.0ms)

IterNodesCost
0339237894
1500137683

prune2.1s

Filtered
587 candidates to 234 candidates (60.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New5834587
Fresh437
Picked101
Done000
Total5887595

Merged error: 0.4b

Counts
595 → 7

localize40.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (* x1 x1) (+ x1 (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))
3.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
3.9b
(+ (* (* (* 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)))
4.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

rewrite535.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:
62.0ms
(* (* x1 x1) (+ x1 (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))
77.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
310.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)))
52.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

series685.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (* x1 x1) (+ x1 (* (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)))
99.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
353.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)))
120.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

simplify275.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 1 (60.0ms)

IterNodesCost
0289925690
1500225579

prune1.4s

Filtered
338 candidates to 160 candidates (52.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3362338
Fresh156
Picked101
Done000
Total3387345

Merged error: 0.4b

Counts
345 → 7

regimes293.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07077
17477
27877
37877

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.3s13957×body80valid
141.0ms389×body640valid
84.0ms313×body320valid
84.0ms165×body1280valid
33.0ms163×body160valid