Details

Time bar (total: 9.5s)

sample360.0ms

Algorithm
intervals
Results
63.0ms441×body80valid
5.0ms12×body640valid
5.0ms12×body320valid
2.0msbody160valid
1.0msbody1280valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
010959
141756
2213653
3500152

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

Counts
2 → 2

localize54.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.4b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
5.4b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.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)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
91×*-un-lft-identity
69×prod-diff
65×add-cube-cbrt
61×times-frac
21×fma-neg
18×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
associate-/r/
add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
sub-neg
flip3-- associate-*r/ *-commutative flip--
associate--l- diff-log div-sub fma-udef unswap-sqr
Counts
4 → 168
Calls
4 calls:
20.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
18.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.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)))

series541.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
43.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
92.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
301.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)))

simplify116.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08513320
134782548
250022518

prune914.0ms

Filtered
180 candidates to 98 candidates (54.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16911180
Fresh011
Picked101
Done000
Total17012182

Merged error: 0.1b

Counts
182 → 12

localize46.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
63×add-cube-cbrt prod-diff
61×times-frac
21×fma-neg
18×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
associate-/r/
add-log-exp
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
*-commutative
associate--l- sub-neg flip3-- diff-log div-sub flip-- fma-udef
Counts
4 → 155
Calls
4 calls:
6.0ms
(* (* 3.0 x1) x1)
20.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
9.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
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 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

series455.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 x1) x1)
103.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
45.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
282.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 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06672792
125992123
250022096

prune855.0ms

Filtered
167 candidates to 88 candidates (52.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1652167
Fresh01111
Picked101
Done000
Total16613179

Merged error: 0.1b

Counts
179 → 13

localize48.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.3b
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
5.4b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
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)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
63×add-cube-cbrt prod-diff
61×times-frac
23×add-exp-log
21×fma-neg
18×add-cbrt-cube
15×pow1
14×difference-of-squares
13×prod-exp distribute-lft-out--
cbrt-unprod
associate-/r/
pow-prod-down
add-log-exp
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
fma-udef
*-commutative
associate--l- distribute-rgt-in pow-to-exp sub-neg flip3-- distribute-lft-in diff-log div-sub pow-exp flip--
Counts
4 → 158
Calls
4 calls:
19.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
6.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
6.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
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)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

series448.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
44.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
41.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
261.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)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify107.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07672997
131972275
250022248

prune890.0ms

Filtered
170 candidates to 91 candidates (53.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1691170
Fresh11112
Picked101
Done000
Total17112183

Merged error: 0.1b

Counts
183 → 12

localize55.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.2b
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
5.4b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
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)) (+ (/ (fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3)))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
88×*-un-lft-identity
63×prod-diff
62×add-cube-cbrt
61×times-frac
21×fma-neg
14×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube distribute-lft-out--
associate-/r/
pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
associate-*l*
fma-udef
associate--l- sub-neg flip3-- diff-log div-sub associate-*r* *-commutative flip--
Counts
4 → 145
Calls
4 calls:
22.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
1.0ms
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
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)) (+ (/ (fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3)))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
46.0ms
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
44.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
269.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)) (+ (/ (fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3)))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06692889
124422207
250022180

prune937.0ms

Filtered
157 candidates to 85 candidates (54.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1570157
Fresh01111
Picked011
Done000
Total15712169

Merged error: 0.1b

Counts
169 → 12

regimes494.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06854
17254
27654
37654

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s13874×body80valid
181.0ms413×body640valid
103.0ms317×body320valid
102.0ms187×body1280valid
39.0ms180×body160valid