Details

Time bar (total: 14.1s)

sample349.0ms

Algorithm
intervals
Results
55.0ms445×body80valid
7.0ms17×body640valid
4.0ms12×body320valid
3.0msbody1280valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
010959
141756
2213653
3500152

prune23.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.2b

Counts
2 → 2

localize56.0ms

Local error

Found 4 expressions with local error:

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

rewrite301.0ms

Algorithm
rewrite-expression-head
Rules
1847×*-un-lft-identity
615×associate-*l*
609×prod-diff
573×add-sqr-sqrt
558×times-frac
520×distribute-lft-out
405×associate-*r*
401×add-cube-cbrt
353×distribute-lft-out--
215×distribute-rgt-in distribute-lft-in
61×fma-neg
55×difference-of-squares
31×unswap-sqr
20×associate-/r/
18×pow1 add-exp-log add-cbrt-cube
12×*-commutative
10×flip3-+ flip-+ div-inv
pow-prod-down prod-exp cbrt-unprod
add-log-exp
expm1-log1p-u swap-sqr log1p-expm1-u
sub-neg
flip3-- associate-*r/ flip--
associate--l- diff-log div-sub fma-udef
Counts
4 → 795
Calls
4 calls:
14.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
98.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
71.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
3.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series578.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
100.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
114.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
318.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify210.0ms

Algorithm
egg-herbie
Counts
807 → 807
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
0172318434
1500214761

prune1.5s

Filtered
807 candidates to 154 candidates (80.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New7989807
Fresh011
Picked101
Done000
Total79910809

Merged error: 0.1b

Counts
809 → 10

localize48.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
3.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
7.3b
(fma (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (/ 1 (+ (* x1 x1) 1.0)) (- 3.0))
7.8b
(fma (* (fma (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (/ 1 (+ (* x1 x1) 1.0)) (- 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
1140×*-un-lft-identity
426×prod-diff
405×associate-*r*
399×add-sqr-sqrt
391×associate-*l*
337×times-frac
312×distribute-lft-out
272×add-cube-cbrt
215×distribute-rgt-in distribute-lft-in
212×distribute-lft-out--
33×difference-of-squares
31×unswap-sqr
18×pow1 add-exp-log add-cbrt-cube
12×associate-/r/ *-commutative
pow-prod-down prod-exp cbrt-unprod
flip3-+ flip-+ div-inv
expm1-log1p-u swap-sqr log1p-expm1-u add-log-exp
sub-neg associate-*r/ fma-udef
flip3-- flip--
Counts
4 → 543
Calls
4 calls:
14.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
96.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
1.0ms
(fma (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (/ 1 (+ (* x1 x1) 1.0)) (- 3.0))
1.0ms
(fma (* (fma (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (/ 1 (+ (* x1 x1) 1.0)) (- 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series538.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
103.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
80.0ms
(fma (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (/ 1 (+ (* x1 x1) 1.0)) (- 3.0))
303.0ms
(fma (* (fma (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (/ 1 (+ (* x1 x1) 1.0)) (- 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify163.0ms

Algorithm
egg-herbie
Counts
555 → 555
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0153213902
1500211381

prune1.2s

Filtered
555 candidates to 115 candidates (79.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New5505555
Fresh549
Picked101
Done000
Total5569565

Merged error: 0.1b

Counts
565 → 9

localize51.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
3.8b
(* (* x1 x1) (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))
4.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.8b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* x1 x1) (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (* (* (fma (- 6.0) 1 6.0) x1) x1)))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
723×*-un-lft-identity
260×associate-*l*
221×times-frac
218×add-sqr-sqrt
208×distribute-lft-out
183×prod-diff
145×add-cube-cbrt
141×distribute-lft-out--
61×fma-neg
34×associate-*r*
22×difference-of-squares
18×pow1 add-exp-log add-cbrt-cube
17×unswap-sqr
pow-prod-down prod-exp cbrt-unprod
associate-/r/
*-commutative add-log-exp
expm1-log1p-u flip3-+ swap-sqr flip-+ log1p-expm1-u div-inv
fma-udef
associate--l- distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log div-sub flip--
Counts
4 → 360
Calls
4 calls:
14.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
12.0ms
(* (* x1 x1) (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))
66.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
1.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* x1 x1) (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (* (* (fma (- 6.0) 1 6.0) x1) x1)))

series1.1s

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
89.0ms
(* (* x1 x1) (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))
122.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
883.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* x1 x1) (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (* (* (fma (- 6.0) 1 6.0) x1) x1)))

simplify162.0ms

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
08816432
141334622
250014585

prune1.6s

Filtered
372 candidates to 126 candidates (66.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3702372
Fresh268
Picked101
Done000
Total3738381

Merged error: 0.1b

Counts
381 → 8

localize57.0ms

Local error

Found 4 expressions with local error:

3.0b
(* (* x1 x1) (* (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))))
3.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
4.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
9.9b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* (* x1 x1) (* (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))) (* (* (fma (- 6.0) 1 6.0) x1) x1)))

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
731×*-un-lft-identity
334×add-sqr-sqrt
266×associate-*l*
221×times-frac
208×distribute-lft-out
183×prod-diff
153×add-cube-cbrt
141×distribute-lft-out--
89×unswap-sqr
64×associate-*r*
61×fma-neg
46×cbrt-prod
41×pow1
38×add-cbrt-cube
29×cbrt-unprod
28×swap-sqr
25×add-exp-log
22×difference-of-squares
20×pow-prod-down *-commutative
14×prod-exp
associate-/r/
add-log-exp
expm1-log1p-u flip3-+ pow-plus pow-prod-up flip-+ log1p-expm1-u div-inv
pow2 pow-sqr
associate--l- sub-neg flip3-- diff-log div-sub flip-- fma-udef
Counts
4 → 440
Calls
4 calls:
24.0ms
(* (* x1 x1) (* (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))))
16.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
64.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
1.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* (* x1 x1) (* (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))) (* (* (fma (- 6.0) 1 6.0) x1) x1)))

series1.3s

Counts
4 → 12
Calls
4 calls:
271.0ms
(* (* x1 x1) (* (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))))
48.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
112.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
863.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* (* x1 x1) (* (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1)))))) (cbrt (fma (* 4.0 (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (/ 1 (+ (* x1 x1) 1.0)) (- (* 6.0 1))))) (* (* (fma (- 6.0) 1 6.0) x1) x1)))

simplify127.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0119610324
150018535

prune1.9s

Filtered
452 candidates to 155 candidates (65.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4511452
Fresh167
Picked011
Done000
Total4528460

Merged error: 0.1b

Counts
460 → 8

regimes404.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07188
17888
27888

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.3s13957×body80valid
141.0ms389×body640valid
86.0ms313×body320valid
77.0ms165×body1280valid
29.0ms163×body160valid